LIB_REFS = System.Core System.Xml System
LIB_MCS_FLAGS =
-ifdef MOBILE_STATIC
+ifdef AOT_FRIENDLY_PROFILE
LIB_MCS_FLAGS += -d:IOS_REFLECTION
endif
-TEST_MCS_FLAGS = -r:System.Core.dll
+ifndef NO_THREAD_ABORT
+REFERENCE_SOURCES_FLAGS += -d:MONO_FEATURE_THREAD_ABORT
+endif
+
+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