diff options
author | Marek Safar <marek.safar@gmail.com> | 2016-12-12 17:48:36 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2016-12-12 17:48:36 +0300 |
commit | cfccb41b25a996b9d6ab0c2d9c24f1b32c6fed63 (patch) | |
tree | d13eecb12a3977a4797235e18203aace9c161fab /runtime | |
parent | 56f1d451006c9194af19b7a5bf9c37d65ed8051c (diff) |
[System] Always use mcs as CodeDOM backend compiler
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 7af06ebeee5..5224c91837f 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -29,7 +29,7 @@ build_profiles = if INSTALL_4_x build_profiles += binary_reference_assemblies net_4_x xbuild_12 xbuild_14 -al_profile = net_4_x +net_profile = net_4_x endif if INSTALL_MONODROID @@ -92,7 +92,7 @@ clean-local: endif BUILD_MCS -TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/ilasm $(tmpinst)/bin/csc $(tmpinst)/bin/al +TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/ilasm $(tmpinst)/bin/csc $(tmpinst)/bin/mcs $(tmpinst)/bin/al mcs-do-test-profiles: cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(test_profiles)' test-profiles @@ -187,6 +187,12 @@ $(tmpinst)/bin/csc: $(tmpinst)/bin/mono Makefile echo 'exec "'"$$r/$(tmpinst)/bin/mono"'" "'"$(CSC)"'" "$$@"' >> $@ ; \ chmod +x $@ +$(tmpinst)/bin/mcs: $(tmpinst)/bin/mono Makefile + echo '#! /bin/sh' > $@ ; \ + r=`pwd`; m=`cd $(mcs_topdir) && pwd`; \ + echo 'exec "'"$$r/$(tmpinst)/bin/mono"'" "'"$$m/class/lib/$(net_profile)/mcs.exe"'" "$$@"' >> $@ ; \ + chmod +x $@ + $(tmpinst)/bin/ilasm: $(tmpinst)/bin/mono Makefile echo '#! /bin/sh' > $@ ; \ r=`pwd`; m=`cd $(mcs_topdir) && pwd`; \ @@ -196,7 +202,7 @@ $(tmpinst)/bin/ilasm: $(tmpinst)/bin/mono Makefile $(tmpinst)/bin/al: $(tmpinst)/bin/mono Makefile echo '#! /bin/sh' > $@ ; \ r=`pwd`; m=`cd $(mcs_topdir) && pwd`; \ - echo 'exec "'"$$r/$(tmpinst)/bin/mono"'" "'"$$m/class/lib/$(al_profile)/al.exe"'" "$$@"' >> $@ ; \ + echo 'exec "'"$$r/$(tmpinst)/bin/mono"'" "'"$$m/class/lib/$(net_profile)/al.exe"'" "$$@"' >> $@ ; \ chmod +x $@ test-support-files: $(TEST_SUPPORT_FILES) |