2009-07-22 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.Core / Makefile
blob407fd19ed6b6cd6c563674842369e7a8bbf87bbe
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 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
19 # This is a .NET 2.0+ only assembly
20 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
21 ifndef VALID_PROFILE
22 LIBRARY_NAME = dummy-System.Core.dll
23 NO_INSTALL = yes
24 NO_SIGN_ASSEMBLY = yes
25 NO_TEST = yes
26 endif
28 include ../../build/library.make