1 thisdir = class/System.Data
3 include ../../build/rules.make
5 # I have *no idea* why I need to do this.
7 ifeq ($(PROFILE),atomic)
10 system = $(topdir)/class/lib/$(PROFILE)/System.dll
13 ifeq (net_2_0, $(PROFILE))
14 OTHER_LIB_MCS_FLAGS = -r:System.Configuration.dll
17 LIBRARY = System.Data.dll
19 -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 \
26 ifeq (net_1_1_java, $(PROFILE))
27 OTHER_RES = $(RESOURCE_FILES)
31 $(OTHER_LIB_MCS_FLAGS) \
34 OLEDBSTRINGS = System.Data.ProviderBase.jvm/System.Data.System.Data.ProviderBase.jvm.OleDbStrings.resources
35 SQLCLIENTSTRINGS = System.Data.ProviderBase.jvm/System.Data.System.Data.ProviderBase.jvm.SqlClientStrings.resources
36 SQLCOMMAND = System.Data.SqlClient.jvm/System.Data.SqlClient.SqlCommand.resources
37 SQLCONNECTION = System.Data.SqlClient.jvm/System.Data.SqlClient.SqlConnection.resources
46 -r:System.EnterpriseServices.dll \
47 -r:Mono.Data.Tds.dll \
48 $(OTHER_LIB_MCS_FLAGS)
51 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
55 Test/System.Data/region.xml \
56 Test/System.Data/store.xsd \
57 Test/System.Data/own_schema.xsd \
58 Test/System.Xml/2books.xml \
59 Test/System.Xml/region.xml \
60 Test/System.Xml/region.xsd \
61 Test/System.Xml/store.xsd \
62 Mono.Data.SqlExpressions/Parser.jay \
65 BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
67 Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
68 $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
70 include ../../build/library.make
72 $(the_lib) : $(OLEDBSTRINGS) $(SQLCLIENTSTRINGS) $(SQLCOMMAND) $(SQLCONNECTION)
73 $(OLEDBSTRINGS) : System.Data.ProviderBase.jvm/OleDbStrings.resx
75 $(SQLCLIENTSTRINGS) : System.Data.ProviderBase.jvm/SqlClientStrings.resx
77 $(SQLCOMMAND) : System.Data.SqlClient.jvm/SqlCommand.resx
79 $(SQLCONNECTION) : System.Data.SqlClient.jvm/SqlConnection.resx
81 ifeq (net_2_0, $(PROFILE))
82 $(test_lib): $(test_lib).config
84 $(test_lib).config: app_test_2.0.config