2009-09-03 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.ComponentModel.DataAnnotations / Makefile
blob96b33a7397d818b3ef8acaa9b123f8e9aaaf1087
1 thisdir = class/System.ComponentModel.DataAnnotations
2 SUBDIRS = Test
3 include ../../build/rules.make
5 LIBRARY = System.ComponentModel.DataAnnotations.dll
6 LIB_MCS_FLAGS = \
7 /r:System.dll \
8 /r:System.Core.dll \
9 /r:System.Data.dll \
10 /r:System.Xml.dll \
13 ifeq (2.0, $(FRAMEWORK_VERSION))
14 # This is a .NET 3.5 only assembly, but built during the 2.0 build
15 LIB_MCS_FLAGS += -d:NET_3_5
16 endif
18 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
20 # This is a .NET 3.5+ assembly
21 VALID_PROFILE := $(filter net_2_0 net_4_0, $(PROFILE))
22 ifndef VALID_PROFILE
23 LIBRARY_NAME = dummy-System.ComponentModel.DataAnnotations.dll
24 NO_INSTALL = yes
25 NO_SIGN_ASSEMBLY = yes
26 NO_TEST = yes
27 endif
29 include ../../build/library.make