this one has been passing for quite a while now
[mcs.git] / class / System.Data.Linq / Makefile
blobb3e19b279f69fae91ce3b218fdfd095137b20aaa
1 thisdir = class/System.Data.Linq
2 SUBDIRS =
3 include ../../build/rules.make
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
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
19 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
21 EXTRA_DISTFILES =
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
32 include ../../build/library.make
34 dist-local: dist-default dist-DbLinq
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
41 RSYNC_EXCLUDES = \
42 --exclude '*.cache' \
43 --exclude '*.csproj.*.txt' \
44 --exclude '*.dll' \
45 --exclude '*.exe' \
46 --exclude '*.force' \
47 --exclude '*.pdb' \
48 --exclude '*.pidb' \
49 --exclude '*.suo' \
50 --exclude '*.user' \
51 --exclude '*.userprefs' \
52 --exclude '*.usertasks' \
53 --exclude '.svn'
55 update-dblinq:
56 rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/src/ src/
57 rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/tests/ tests/
58 rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/examples/ examples/