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:
authorZoltan Varga <vargaz@gmail.com>2010-08-31 20:39:15 +0400
committerZoltan Varga <vargaz@gmail.com>2010-08-31 20:39:39 +0400
commit3b3e5af9549e99042ddb59a397b168a191a0b9c1 (patch)
tree55bc5a8f5b1d335773ee5ff56acaf839d87995b1 /mcs/class/aot-compiler
parentfcf6cc6955b113e25c8b345565fa6cd7123d2e18 (diff)
AOT mscorlib along with gmcs.
Diffstat (limited to 'mcs/class/aot-compiler')
-rw-r--r--mcs/class/aot-compiler/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/mcs/class/aot-compiler/Makefile b/mcs/class/aot-compiler/Makefile
index eddfaa6f6f7..48d76e7d597 100644
--- a/mcs/class/aot-compiler/Makefile
+++ b/mcs/class/aot-compiler/Makefile
@@ -11,33 +11,41 @@ include ../../build/rules.make
the_libdir = $(topdir)/class/lib/$(PROFILE)/
ifeq (net_2_0, $(PROFILE))
-mcs_exe = $(topdir)/class/lib/$(PROFILE)/gmcs.exe
+mcs_exe = $(the_libdir)/gmcs.exe
else ifeq (net_4_0, $(PROFILE))
-mcs_exe = $(topdir)/class/lib/$(PROFILE)/dmcs.exe
+mcs_exe = $(the_libdir)/dmcs.exe
endif
mcs_aot_image = $(mcs_exe)$(PLATFORM_AOT_SUFFIX)
+mscorlib_dll = $(the_libdir)/mscorlib.dll
+mscorlib_aot_image = $(mscorlib_dll)$(PLATFORM_AOT_SUFFIX)
+
PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
+LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
ifdef PLATFORM_AOT_SUFFIX
Q_AOT=$(if $(V),,@echo "AOT [$(PROFILE)] $(notdir $(@))";)
$(mcs_aot_image): $(mcs_exe)
$(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mcs_exe)
+$(mscorlib_aot_image): $(mscorlib_dll)
+ $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mscorlib_dll)
+
ifeq (net_2_0, $(PROFILE))
-all-local: $(mcs_aot_image)
+all-local: $(mscorlib_aot_image) $(mcs_aot_image)
endif
ifeq (net_4_0, $(PROFILE))
-all-local: $(mcs_aot_image)
+all-local: $(mscorlib_aot_image) $(mcs_aot_image)
endif
clean-local:
- -rm -f $(mcs_aot_image)
+ -rm -f $(mscorlib_aot_image) $(mcs_aot_image)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
+ $(INSTALL_LIB) $(mscorlib_aot_image) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
$(INSTALL_LIB) $(mcs_aot_image) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
endif