Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-02-01 15:52:50 +0300
committerMarek Safar <marek.safar@gmail.com>2011-02-01 15:53:22 +0300
commit5e5b296eaec3af4a024f405e4a517bb287dbe990 (patch)
tree439093d0e390415a66982ba8f05b0f7206a3d7c5 /mcs/class/aot-compiler
parentef49ad4708b604b529e2f869e4b2934a45fe7fa1 (diff)
Make mcs.exe .net4 application
Diffstat (limited to 'mcs/class/aot-compiler')
-rw-r--r--mcs/class/aot-compiler/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/mcs/class/aot-compiler/Makefile b/mcs/class/aot-compiler/Makefile
index 944455866d3..0febe398d84 100644
--- a/mcs/class/aot-compiler/Makefile
+++ b/mcs/class/aot-compiler/Makefile
@@ -10,9 +10,9 @@ include ../../build/rules.make
the_libdir = $(topdir)/class/lib/$(PROFILE)/
-# mcs is in the basic profile, but the aot image should be compiled against the current
+# mcs.exe is only in the build profile, but the aot image should be compiled against the current
# profile
-mcs_exe = $(topdir)/class/lib/basic/mcs.exe
+mcs_exe = $(topdir)/class/lib/build/mcs.exe
mcs_aot_image = $(the_libdir)/mcs.exe$(PLATFORM_AOT_SUFFIX)
mscorlib_dll = $(the_libdir)/mscorlib.dll
@@ -36,12 +36,13 @@ ifdef ENABLE_AOT
clean-local:
-rm -f $(mscorlib_aot_image) $(mcs_aot_image) $(PROFILE)_aot.log
-ifeq ($(PROFILE),basic)
+# AOT build profile mcs to speed up build
+ifeq ($(PROFILE),build)
all-local: $(mscorlib_aot_image) $(mcs_aot_image)
install-local:
endif
-ifeq ($(PROFILE),net_2_0)
+ifeq ($(PROFILE),net_4_0)
all-local: $(mscorlib_aot_image) $(mcs_aot_image)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
@@ -49,8 +50,8 @@ install-local:
$(INSTALL_LIB) $(mcs_aot_image) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
endif
-# No mcs in net 4.0
-ifeq ($(PROFILE),net_4_0)
+# No mcs in net 2.0
+ifeq ($(PROFILE),net_2_0)
all-local: $(mscorlib_aot_image)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)