diff options
author | Marek Safar <marek.safar@gmail.com> | 2011-01-11 18:45:17 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2011-01-11 18:46:04 +0300 |
commit | fbe5b6a90bcf500a3bd45018662da333b8373293 (patch) | |
tree | 06b0cbfe4ed616ee3b11849a207ed15d6c45da84 /scripts | |
parent | 1b0acda60e8f799e6266c0ba4dc2e0b2447e3dfb (diff) |
Install new ikvm based C# compiler as mcs
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 14 | ||||
-rw-r--r-- | scripts/mcs.in | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index e95e2a76c7d..54b470f7203 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -31,11 +31,11 @@ bin_SCRIPTS = \ $(scripts_service) \ $(scripts_nunit) \ $(scripts_rpmhelpers) \ - $(scripts_mcs) \ $(MDOC_SUBCOMMANDS) \ $(MDOC_COMPAT) \ mono-test-install \ peverify \ + mcs \ mono-heapviz \ $(scripts_mono_configuration_crypto) @@ -132,10 +132,9 @@ scripts_defaults = \ scripts_service = mono-service mono-service2 scripts_nunit = nunit-console$(SCRIPT_SUFFIX) nunit-console2$(SCRIPT_SUFFIX) scripts_rpmhelpers = mono-find-provides mono-find-requires -scripts_mcs = mcs$(SCRIPT_SUFFIX) scripts_mono_configuration_crypto = mono-configuration-crypto$(SCRIPT_SUFFIX) -CLEANFILES = $(scripts_mono_configuration_crypto) $(scripts_mcs) $(scripts_4_0_umask) $(scripts_2_0) $(scripts_defaults) $(scripts_4_0) mono-service mono-service2 nunit-console nunit-console2 mono-find-provides mono-find-requires mod $(MDOC_SUBCOMMANDS) +CLEANFILES = $(scripts_mono_configuration_crypto) $(scripts_4_0_umask) $(scripts_2_0) $(scripts_defaults) $(scripts_4_0) mono-service mono-service2 nunit-console nunit-console2 mono-find-provides mono-find-requires mod $(MDOC_SUBCOMMANDS) DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers) EXTRA_DIST = \ @@ -148,6 +147,7 @@ EXTRA_DIST = \ mono-find-provides.in \ mono-find-requires.in \ peverify.in \ + mcs.in \ mono-test-install \ mono-heapviz \ $(MDOC_COMPAT) \ @@ -197,6 +197,10 @@ peverify: peverify.in Makefile $(REWRITE_COMMON) $(srcdir)/peverify.in > $@.tmp mv -f $@.tmp $@ +mcs: mcs.in Makefile + $(REWRITE_COMMON) $(srcdir)/mcs.in > $@.tmp + mv -f $@.tmp $@ + mono-service: mono-service.in Makefile $(REWRITE4) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp mv -f $@.tmp $@ @@ -224,10 +228,6 @@ $(scripts_4_0_umask): script_umask.in Makefile $(REWRITE4) -e "s,@""exe_name@,$$n,g" $(srcdir)/script_umask.in | $(FILTER) > $@.tmp mv -f $@.tmp $@ -mcs$(SCRIPT_SUFFIX): $(SCRIPT_IN) Makefile - $(REWRITE2) -e "s,@exe_name@,gmcs,g" $(srcdir)/$(SCRIPT_IN) > $@.tmp - mv -f $@.tmp $@ - $(scripts_defaults): $(SCRIPT_IN) Makefile n=`echo $@ | sed 's,$(COMPAT_4_0_SUFFIX)$$,,'`; \ $(REWRITE4) -e "s,@""exe_name@,$$n,g" $(srcdir)/$(SCRIPT_IN) | $(FILTER) > $@.tmp diff --git a/scripts/mcs.in b/scripts/mcs.in new file mode 100644 index 00000000000..32498fa4278 --- /dev/null +++ b/scripts/mcs.in @@ -0,0 +1,2 @@ +#!/bin/sh +exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/2.0/mcs.exe -lib:@mono_instdir@/2.0 -lib:@mono_instdir@/3.5 "$@" |