* Makefile: Add a dist-local target and distribute all DbLinq sources.
[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                 /d:MONO_STRICT /d:MONO_DEPLOY
12
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 -nowarn:1720
16 endif
17
18 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
19
20 EXTRA_DISTFILES =
21
22 ifneq (net_2_0, $(PROFILE))
23 LIBRARY_NAME = dummy-System.Data.Linq.dll
24 NO_INSTALL = yes
25 NO_SIGN_ASSEMBLY = yes
26 NO_TEST = yes
27 endif
28
29 include ../../build/library.make
30
31 dist-local: dist-default
32         find src -name '*.cs' -o -name '*.snk' -o -name '*.xml' > .files ; \
33         tar cTf .files - | (cd $(distdir); tar xf -) ; \
34         rm .files
35