Removed use of obsolete System.Data.Tests.Mainsoft/GHTUtils.
[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         /r:$(corlib)                            \
21         /r:$(system)                            \
22         /r:System.Xml.dll                       \
23         /r:System.EnterpriseServices.dll        \
24         /r:Mono.Data.Tds.dll \
25         $(OTHER_LIB_MCS_FLAGS)
26
27 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
28
29 EXTRA_DISTFILES = \
30         TODO                                    \
31         Test/System.Data/region.xml             \
32         Test/System.Data/store.xsd              \
33         Test/System.Data/own_schema.xsd         \
34         Test/System.Xml/2books.xml              \
35         Test/System.Xml/region.xml              \
36         Test/System.Xml/region.xsd              \
37         Test/System.Xml/store.xsd               \
38         Mono.Data.SqlExpressions/Parser.jay     \
39         app_test_2.0.config
40
41 BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
42
43 Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
44         $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
45
46 include ../../build/library.make
47
48 ifeq (net_2_0, $(PROFILE))
49 $(test_lib): $(test_lib).config
50
51 $(test_lib).config: app_test_2.0.config
52         cp $< $@
53 endif
54