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
|
EXTRA_DIST = script.in
bin2_scripts_real = xsp2 mod-mono-server2 fastcgi-mono-server2
bin2_scripts = $(bin2_scripts_real)
tool2_scripts = asp-state2 dbsessmgr2
if NET_4_0
bin4_scripts = xsp4 mod-mono-server4 fastcgi-mono-server4
tool4_scripts = asp-state4 dbsessmgr4
endif
bin_scripts = xsp mod-mono-server fastcgi-mono-server
tool_scripts = asp-state dbsessmgr
binplain_scripts = mono-fpm
bin_SCRIPTS = $(bin2_scripts) $(tool2_scripts) $(tool_scripts) $(bin_scripts) $(bin4_scripts) $(tool4_scripts) $(binplain_scripts)
CLEANFILES = $(bin2_scripts_real) $(tool2_scripts) $(bin_scripts) $(tool_scripts) $(bin4_scripts) $(tool4_scripts) $(binplain_scripts)
plat_bindir2 = $(prefix)/lib/mono/2.0
plat_tooldir2 = $(prefix)/lib/xsp/2.0
if NET_4_0
plat_bindir4 = $(prefix)/lib/mono/4.5
plat_tooldir4 = $(prefix)/lib/xsp/4.0
endif
REWRITE2 = sed \
-e 's,@''plat_bindir@,$(plat_bindir2),g' \
-e 's,@''exe_file@,'`basename $@ 2`'2.exe,g' \
-e 's,@''RUNTIME@,@RUNTIME@,g'
REWRITE_TOOLS2 = echo dd $@ dd; sed \
-e 's,@''plat_bindir@,$(plat_tooldir2),g' \
-e 's,@''exe_file@,'`basename $@ 2`'2.exe,g' \
-e 's,@''RUNTIME@,@RUNTIME@,g'
REWRITEPLAIN = sed \
-e 's,@''plat_bindir@,$(plat_bindir4),g' \
-e 's,@''exe_file@,'`basename $@ 4`'.exe,g' \
-e 's,@''RUNTIME@,@RUNTIME@,g'
if NET_4_0
REWRITE4 = sed \
-e 's,@''plat_bindir@,$(plat_bindir4),g' \
-e 's,@''exe_file@,'`basename $@ 4`'4.exe,g' \
-e 's,@''RUNTIME@,@RUNTIME@,g'
REWRITE_TOOLS4 = echo dd $@ dd; sed \
-e 's,@''plat_bindir@,$(plat_tooldir4),g' \
-e 's,@''exe_file@,'`basename $@ 4`'4.exe,g' \
-e 's,@''RUNTIME@,@RUNTIME@,g'
endif
$(bin2_scripts): $(srcdir)/script.in Makefile.am
$(REWRITE2) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(tool2_scripts): $(srcdir)/script.in Makefile.am
$(REWRITE_TOOLS2) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(bin_scripts): $(srcdir)/script.in Makefile.am
$(REWRITE2) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(binplain_scripts): $(srcdir)/script.in Makefile.am
$(REWRITEPLAIN) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(tool_scripts): $(srcdir)/script.in Makefile.am
$(REWRITE_TOOLS2) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
if NET_4_0
$(bin4_scripts): $(srcdir)/script.in Makefile.am
$(REWRITE4) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
$(tool4_scripts): $(srcdir)/script.in Makefile.am
$(REWRITE_TOOLS4) $(srcdir)/script.in > $@.tmp
mv $@.tmp $@
endif
|