2009-08-27 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / System.Core / Makefile
blobec76f51df6d32d850a9f0f724397164c2a21fca6
1 thisdir = class/System.Core
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Core.dll
7 LIB_MCS_FLAGS = -d:LIBC /r:$(corlib) /r:System
9 ifneq (2.1, $(FRAMEWORK_VERSION))
10 LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720
11 endif
13 ifeq (4.0, $(FRAMEWORK_VERSION))
14 LIB_MCS_FLAGS += -d:CODEPLEX_40
15 endif
17 CLR_PROFILE := $(filter 2.0 4.0, $(FRAMEWORK_VERSION))
18 ifdef CLR_PROFILE
19 LIB_MCS_FLAGS += -r:Mono.Posix
20 endif
22 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
24 # This is a .NET 2.0+ only assembly
25 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
26 ifndef VALID_PROFILE
27 LIBRARY_NAME = dummy-System.Core.dll
28 NO_INSTALL = yes
29 NO_SIGN_ASSEMBLY = yes
30 NO_TEST = yes
31 endif
33 include ../../build/library.make