[bcl] Specify the name of the key file on the command line instead of using the Assem...
[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 KEYFILE = ../ecma.pub
8 LIB_MCS_FLAGS = \
9                 /resource:./src/DbLinq/Schema/Dbml/DbmlSchema.xsd,DbLinq.Schema.Dbml.DbmlSchema.xsd \
10                 /d:MONO_STRICT /d:MONO_DEPLOY -warn:1
11
12 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
13
14 EXTRA_DISTFILES = src/DbLinq/Schema/Dbml/DbmlSchema.xsd
15
16 include ../../build/library.make
17
18 dist-local: dist-default dist-DbLinq
19
20 dist-DbLinq:
21         find src -name '*.cs' -o -name '*.snk' -o -name '*.xml' -o -name '*.txt' > .files ; \
22         tar cTf .files - | (cd $(distdir); tar xf -) ; \
23         rm .files
24
25 RSYNC_EXCLUDES = \
26         --exclude '*.cache'         \
27         --exclude '*.csproj.*.txt'  \
28         --exclude '*.dll'           \
29         --exclude '*.exe'           \
30         --exclude '*.force'         \
31         --exclude '*.pdb'           \
32         --exclude '*.pidb'          \
33         --exclude '*.suo'           \
34         --exclude '*.user'          \
35         --exclude '*.userprefs'     \
36         --exclude '*.usertasks'     \
37         --exclude '.svn' 
38
39 update-dblinq:
40         rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/src/ src/
41         rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/tests/ tests/
42         rsync -avz $(RSYNC_EXCLUDES) $$HOME/Development/mono-HEAD/dblinq2007/examples/ examples/
43