Rename the mobile_static profile to aot_only
[mono.git] / mcs / class / Mono.CSharp / Makefile
index 5fe1a18705aa43e4600800f4ed850a216c73066b..6fab6abe3ae363eabf1d395eb5a507ae67c01218 100644 (file)
@@ -7,7 +7,7 @@ LIBRARY = Mono.CSharp.dll
 LIB_REFS = System.Core System.Xml System
 LIB_MCS_FLAGS =
 
-ifdef MOBILE_STATIC
+ifdef AOT_FRIENDLY_PROFILE
 LIB_MCS_FLAGS += -d:IOS_REFLECTION
 endif
 
@@ -15,9 +15,14 @@ ifndef NO_THREAD_ABORT
 REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
 endif
 
-TEST_MCS_FLAGS = -r:System.Core.dll
+TEST_MCS_FLAGS =
+TEST_LIB_REFS = System.Core
 
 LIB_MCS_FLAGS += $(REFERENCE_SOURCES_FLAGS)
 
 include ../../build/library.make
 
+$(topdir)/mcs/cs-parser.cs:
+       $(MAKE) -C $(topdir)/mcs cs-parser.cs
+
+$(the_lib): $(topdir)/mcs/cs-parser.cs