* Makefile: Build the make-map.exe in Mono.Unix.Native; add /nowarn:0618 to
[mono.git] / mcs / class / System.Data / Makefile
1 thisdir = class/System.Data
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 # I have *no idea* why I need to do this.
6
7 ifeq ($(PROFILE),atomic)
8 system = System.dll
9 else
10 system = $(topdir)/class/lib/$(PROFILE)/System.dll
11 endif
12
13 ifeq (net_2_0, $(PROFILE))
14 OTHER_LIB_MCS_FLAGS = -r:System.Configuration.dll
15 endif
16
17 LIBRARY = System.Data.dll
18 LIB_MCS_FLAGS = \
19         -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 \
20         -unsafe \
21         -r:$(corlib)                            \
22         -r:$(system)                            \
23         -r:System.Xml.dll                       \
24         -r:System.EnterpriseServices.dll        \
25         -r:Mono.Data.Tds.dll \
26         $(OTHER_LIB_MCS_FLAGS)
27
28 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
29
30 EXTRA_DISTFILES = \
31         TODO                                    \
32         Test/System.Data/region.xml             \
33         Test/System.Data/store.xsd              \
34         Test/System.Data/own_schema.xsd         \
35         Test/System.Xml/2books.xml              \
36         Test/System.Xml/region.xml              \
37         Test/System.Xml/region.xsd              \
38         Test/System.Xml/store.xsd               \
39         Mono.Data.SqlExpressions/Parser.jay     \
40         app_test_2.0.config
41
42 BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
43
44 Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
45         $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
46
47 include ../../build/library.make
48
49 ifeq (net_2_0, $(PROFILE))
50 $(test_lib): $(test_lib).config
51
52 $(test_lib).config: app_test_2.0.config
53         cp $< $@
54 endif
55