Merge pull request #1936 from esdrubal/DotNetRelativeOrAbsolute
[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_REFS = System System.Core System.Xml System.Data System.Runtime.Serialization
7 LIB_MCS_FLAGS = \
8                 /resource:./src/DbLinq/Schema/Dbml/DbmlSchema.xsd,DbLinq.Schema.Dbml.DbmlSchema.xsd \
9                 /d:MONO_STRICT /d:MONO_DEPLOY -warn:1
10
11 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
12
13 EXTRA_DISTFILES = src/DbLinq/Schema/Dbml/DbmlSchema.xsd
14
15 include ../../build/library.make
16
17 dist-local: dist-default dist-DbLinq
18
19 dist-DbLinq:
20         find src -name '*.cs' -o -name '*.snk' -o -name '*.xml' -o -name '*.txt' > .files ; \
21         tar cTf .files - | (cd $(distdir); tar xf -) ; \
22         rm .files
23
24 RSYNC_EXCLUDES = \
25         --exclude '*.cache'         \
26         --exclude '*.csproj.*.txt'  \
27         --exclude '*.dll'           \
28         --exclude '*.exe'           \
29         --exclude '*.force'         \
30         --exclude '*.pdb'           \
31         --exclude '*.pidb'          \
32         --exclude '*.suo'           \
33         --exclude '*.user'          \
34         --exclude '*.userprefs'     \
35         --exclude '*.usertasks'     \
36         --exclude '.svn' 
37
38 update-dblinq:
39         rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/src/ src/
40         rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/tests/ tests/
41         rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/examples/ examples/
42