new error tests
[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 LIBRARY = System.Data.dll
14 LIB_MCS_FLAGS = \
15         /nowarn:649 /nowarn:169 /nowarn:219 /nowarn:168 /nowarn:1595 \
16         /r:$(corlib)                            \
17         /r:$(system)                            \
18         /r:System.Xml.dll                       \
19         /r:System.EnterpriseServices.dll        \
20         /r:Mono.Data.Tds.dll
21
22 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
23
24 EXTRA_DISTFILES = \
25         TODO                                    \
26         Test/System.Data/region.xml             \
27         Test/System.Data/store.xsd              \
28         Test/System.Data/own_schema.xsd         \
29         Test/System.Xml/2books.xml              \
30         Test/System.Xml/region.xml              \
31         Test/System.Xml/region.xsd              \
32         Test/System.Xml/store.xsd               \
33         Mono.Data.SqlExpressions/Parser.jay     \
34         app_test_2.0.config
35
36 BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
37
38 Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
39         $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
40
41 include ../../build/library.make
42
43 ifeq (net_2_0, $(PROFILE))
44 $(test_lib): $(test_lib).config
45
46 $(test_lib).config: app_test_2.0.config
47         cp $< $@
48 endif
49