1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
bin_SCRIPTS = \
$(scripts_1_0) \
$(scripts_1_0_umask) \
$(scripts_2_0) \
$(scripts_service) \
$(scripts_nunit) \
$(scripts_rpmhelpers)
scripts_1_0 = \
al \
caspol \
cert2spc \
certmgr \
chktrust \
cilc \
disco \
dtd2xsd \
dtd2rng \
gacutil \
genxs \
ilasm \
macpack \
mbas \
mcs \
mjs \
mkbundle \
monop \
mono-shlib-cop \
mono-xmltool \
mozroots \
permview \
prj2make \
resgen \
secutil \
setreg \
signcode \
soapsuds \
sqlsharp \
wsdl \
xsd
scripts_1_0_umask = \
makecert \
sn
scripts_2_0 = \
gmcs \
ilasm2 \
mkbundle2 \
monop2 \
resgen2 \
wsdl2 \
sgen \
xbuild
scripts_service = mono-service mono-service2
scripts_nunit = nunit-console nunit-console2
scripts_rpmhelpers = mono-find-provides mono-find-requires
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= mono-nunit.pc
CLEANFILES = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service mono-service2
DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers)
EXTRA_DIST = \
script.in \
script_umask.in \
mono-service.in \
mono-nunit.pc.in \
mono-find-provides.in \
mono-find-requires.in
if USE_JIT
mono_interp = mono
else
mono_interp = mint
endif
if PLATFORM_WIN32
plat_bindir = $(shell cygpath -m $(libdir))
mono_instdir = $(shell cygpath -m $(libdir))/mono
else
plat_bindir = $(bindir)
mono_instdir = $(prefix)/lib/mono
endif
REWRITE_COMMON = sed \
-e 's,@''bindir@,$(bindir),g' \
-e 's,@''plat_bindir@,$(plat_bindir),g' \
-e 's,@''mono_instdir@,$(mono_instdir),g' \
-e 's,@''gtkdir@,$(gtkdir),g'
REWRITE = $(REWRITE_COMMON) -e 's,@''mono_interp@,$(mono_interp),g'
REWRITE_DEBUG = $(REWRITE_COMMON) -e 's,@''mono_interp@,$(mono_interp) --debug,g'
REWRITE1 = $(REWRITE) -e 's,@''framework_version@,1.0,g'
REWRITE2 = $(REWRITE) -e 's,@''framework_version@,2.0,g'
REWRITE1_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,1.0,g'
REWRITE2_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g'
mono-service: mono-service.in Makefile
$(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp
mv $@.tmp $@
mono-service2: mono-service.in Makefile
$(REWRITE2) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp
mv $@.tmp $@
nunit-console: script.in Makefile
$(REWRITE1_DEBUG) -e 's,@''exe_name@,nunit-console,g' $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
nunit-console2: script.in Makefile
$(REWRITE2_DEBUG) -e 's,@''exe_name@,nunit-console,g' $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(scripts_1_0): script.in Makefile
$(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(scripts_1_0_umask): script_umask.in Makefile
$(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script_umask.in > $@.tmp
mv $@.tmp $@
$(scripts_2_0): script.in Makefile
n=`echo $@ | sed 's,2$$,,'`; \
$(REWRITE2) -e "s,@""exe_name@,$$n,g" $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
|