1 thisdir = class/System.Core
3 include ../../build/rules.make
5 LIBRARY = System.Core.dll
7 REFERENCE_SOURCES_FLAGS = -d:FEATURE_PAL,PFX_LEGACY_3_5,FEATURE_NETCORE
9 LIB_MCS_FLAGS = $(REFERENCE_SOURCES_FLAGS) -d:INSIDE_SYSCORE -d:LIBC -unsafe -nowarn:436
10 TXT_RESOURCE_STRINGS = ../referencesource/System.Core/System.Core.txt
11 RESX_RESOURCE_STRING = \
12 ../../../external/corefx/src/System.Linq.Expressions/src/Resources/Strings.resx \
13 ../../../external/corefx/src/System.Linq/src/Resources/Strings.resx \
14 ../../../external/corefx/src/System.Linq.Parallel/src/Resources/Strings.resx \
15 ../../../external/corefx/src/System.Linq.Queryable/src/Resources/Strings.resx
17 ifneq (2.1, $(FRAMEWORK_VERSION))
18 LIB_MCS_FLAGS += -d:NET_3_5
21 ifdef AOT_FRIENDLY_PROFILE
22 extra_test_flags := -exclude:NotWorkingInterpreter
23 LIB_MCS_FLAGS += -d:NO_FEATURE_STATIC_DELEGATE,FEATURE_MAKE_RUN_METHODS
25 LIB_MCS_FLAGS += -d:FEATURE_COMPILE,FEATURE_COMPILE_TO_METHODBUILDER,FEATURE_PDB_GENERATOR
28 ifeq (monotouch_runtime, $(PROFILE))
29 LIB_MCS_FLAGS += -d:FULL_AOT_RUNTIME
32 ifneq (basic, $(PROFILE))
33 CLR_PROFILE := $(filter 2.0 4.0 4.5, $(FRAMEWORK_VERSION))
37 LIB_REFS += Mono.Posix
40 CC_PROFILE := $(filter monotouch% xammac, $(PROFILE))
43 ../corlib/CommonCrypto/AesManaged.g.cs \
44 ../corlib/CommonCrypto/AesCryptoServiceProvider.g.cs
46 ../corlib/CommonCrypto/%.g.cs:
47 $(MAKE) -C ../corlib/CommonCrypto
50 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
52 include ../../build/library.make
54 TEST_HARNESS_EXCLUDES += $(extra_test_flags)
56 ifneq ($(PROFILE),basic)