1 thisdir = class/System.Core
3 include ../../build/rules.make
5 LIBRARY = System.Core.dll
7 ifeq ($(PROFILE),build)
8 CSC_RUNTIME_FLAGS=--profile=aot:output=$(topdir)/class/lib/$(PROFILE)/csc.$(LIBRARY).aotprofile
11 REFERENCE_SOURCES_FLAGS = -d:FEATURE_PAL,PFX_LEGACY_3_5,FEATURE_NETCORE
13 LIB_MCS_FLAGS = $(REFERENCE_SOURCES_FLAGS) -d:INSIDE_SYSCORE -d:LIBC -unsafe -nowarn:436
14 TXT_RESOURCE_STRINGS = ../referencesource/System.Core/System.Core.txt
15 RESX_RESOURCE_STRING = \
16 ../../../external/corefx/src/System.Linq.Expressions/src/Resources/Strings.resx \
17 ../../../external/corefx/src/System.Linq/src/Resources/Strings.resx \
18 ../../../external/corefx/src/System.Linq.Parallel/src/Resources/Strings.resx \
19 ../../../external/corefx/src/System.Linq.Queryable/src/Resources/Strings.resx
21 ifneq (2.1, $(FRAMEWORK_VERSION))
22 LIB_MCS_FLAGS += -d:NET_3_5
25 ifdef AOT_FRIENDLY_PROFILE
26 extra_test_flags := -exclude:NotWorkingInterpreter
27 LIB_MCS_FLAGS += -d:NO_FEATURE_STATIC_DELEGATE,FEATURE_MAKE_RUN_METHODS
29 LIB_MCS_FLAGS += -d:FEATURE_COMPILE,FEATURE_COMPILE_TO_METHODBUILDER,FEATURE_PDB_GENERATOR
32 ifeq (monotouch_runtime, $(PROFILE))
33 LIB_MCS_FLAGS += -d:FULL_AOT_RUNTIME
36 ifneq (basic, $(PROFILE))
37 ifneq (2.1, $(FRAMEWORK_VERSION))
38 LIB_REFS += Mono.Posix
42 CC_PROFILE := $(filter monotouch% xammac, $(PROFILE))
45 ../corlib/CommonCrypto/AesManaged.g.cs \
46 ../corlib/CommonCrypto/AesCryptoServiceProvider.g.cs
48 ../corlib/CommonCrypto/%.g.cs:
49 $(MAKE) -C ../corlib/CommonCrypto
52 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
54 include ../../build/library.make
56 TEST_HARNESS_EXCLUDES += $(extra_test_flags)