More work on 4.0 profile
[mono.git] / mcs / class / System.Data.Linq / Makefile
1 thisdir = class/System.Data.Linq
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Data.Linq.dll
6 LIB_MCS_FLAGS = \
7                 /r:System.dll \
8                 /r:System.Core.dll \
9                 /r:System.Xml.dll \
10                 /r:System.Data.dll \
11                 /r:System.Runtime.Serialization.dll \
12                 /d:MONO_STRICT /d:MONO_DEPLOY
13
14 ifeq (2.0, $(FRAMEWORK_VERSION))
15 # This is a .NET 3.5 only assembly, but built during the 2.0 build
16 LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720
17 endif
18
19 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
20
21 EXTRA_DISTFILES =
22
23 # This is a .NET 3.5+ assembly
24 VALID_PROFILE := $(filter net_2_0 net_4_0, $(PROFILE))
25 ifndef VALID_PROFILE
26 LIBRARY_NAME = dummy-System.Data.Linq.dll
27 NO_INSTALL = yes
28 NO_SIGN_ASSEMBLY = yes
29 NO_TEST = yes
30 endif
31
32 include ../../build/library.make
33
34 dist-local: dist-default dist-DbLinq
35
36 dist-DbLinq:
37         find src -name '*.cs' -o -name '*.snk' -o -name '*.xml' -o -name '*.txt' > .files ; \
38         tar cTf .files - | (cd $(distdir); tar xf -) ; \
39         rm .files
40
41 update-dblinq:
42         rsync -avz --exclude '.svn' --exclude '*.user' $$HOME/Development/mono-HEAD/dblinq2007/src/ src/
43