# Resgen is corlib specific tool
basic_SUBDIRS := build jay class
-build_SUBDIRS := build class class/aot-compiler tools
+build_SUBDIRS := build class class/aot-compiler tools ilasm
monodroid_SUBDIRS := build class
monotouch_SUBDIRS := build class
monotouch_watch_SUBDIRS := build class
System.Xml.Linq \
System.Runtime.InteropServices.RuntimeInformation \
Mono.Cecil \
+ Mono.CompilerServices.SymbolWriter \
+ PEAPI \
../tools/cil-stringreplacer
-include ../build/config.make
testing_aot_full_dirs := \
$(mobile_common_dirs) \
- Mono.CompilerServices.SymbolWriter \
Mono.Simd \
$(pcl_facade_dirs)
testing_aot_hybrid_dirs := \
$(mobile_common_dirs) \
- Mono.CompilerServices.SymbolWriter \
Mono.Simd \
$(pcl_facade_dirs)
with_mono_path = MONO_PATH=$(CLASS)
RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper
+TOOLS_RUNTIME = MONO_PATH=$(mcs_topdir)/class/lib/build $(top_builddir)/runtime/mono-wrapper
MKBUNDLE = \
PKG_CONFIG_PATH=$(top_builddir):$(PKG_CONFIG_PATH) \
PROFILE_MCS_FLAGS = -d:MOBILE,MOBILE_LEGACY
endif
-MCS_NO_LIB = $(RUNTIME) $(CSC) -unsafe -debug:portable \
+MCS_NO_LIB = $(TOOLS_RUNTIME) $(CSC) -unsafe -debug:portable \
-noconfig -nologo \
-nowarn:0162 -nowarn:0168 -nowarn:0219 -nowarn:0414 -nowarn:0618 \
-nowarn:0169 -nowarn:1690 -nowarn:0649 -nowarn:0612 -nowarn:3021 \
MCS = $(MCS_NO_LIB) -lib:$(CLASS)
-ILASM = $(RUNTIME) $(CLASS)/ilasm.exe
+ILASM = $(TOOLS_RUNTIME) $(mcs_topdir)/class/lib/build/ilasm.exe
if INSTALL_TESTING_AOT_FULL
TEST_RUNNER = ./test-runner.exe --runtime $(top_builddir)/runtime/mono-wrapper --mono-path "$(CLASS)" --aot-run-flags "$(AOT_RUN_FLAGS)" --aot-build-flags "$(AOT_BUILD_FLAGS)"
-CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)
-
-with_mono_path = MONO_PATH=$(CLASS)
RUNTIME = $(top_builddir)/runtime/mono-wrapper --debug
-MCS = $(with_mono_path) $(RUNTIME) $(CSC) -noconfig -nologo -debug:portable -target:library
+MCS = MONO_PATH=$(mcs_topdir)/class/lib/build $(RUNTIME) $(CSC) -noconfig -nologo -debug:portable -target:library
if INSTALL_TESTING_AOT_FULL
prereq: aot