prepend $(CURDIR) to jay input files so that the debugging info references the right...
[mono-project/dkf.git] / mcs / class / System.Data / Makefile
blob8990125c76923e5edc0570631c79d00e980b93bc
1 thisdir = class/System.Data
2 SUBDIRS =
3 include ../../build/rules.make
5 # I have *no idea* why I need to do this.
7 ifeq ($(PROFILE),atomic)
8 system = System.dll
9 else
10 system = $(topdir)/class/lib/$(PROFILE)/System.dll
11 endif
13 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
14 OTHER_LIB_MCS_FLAGS = -r:System.Configuration.dll \
15 -r:System.Transactions.dll
16 endif
18 LIBRARY = System.Data.dll
19 LIB_MCS_FLAGS = \
20 -nowarn:649 \
21 -unsafe \
22 -r:$(corlib) \
23 -r:$(system) \
24 -r:System.Xml.dll \
27 ifeq (net_1_1_java, $(PROFILE))
28 OTHER_RES = $(RESOURCE_FILES)
29 LIB_MCS_FLAGS += \
30 -r:rt.dll \
31 -r:J2SE.Helpers.dll \
32 $(OTHER_LIB_MCS_FLAGS)
33 else
34 MOBILE := $(filter monotouch monodroid, $(PROFILE))
35 ifdef MOBILE
36 LIB_MCS_FLAGS += \
37 -r:Mono.Data.Tds.dll \
38 -r:System.Transactions.dll
39 else
40 LIB_MCS_FLAGS += \
41 -r:System.EnterpriseServices.dll \
42 -r:Mono.Data.Tds.dll \
43 $(OTHER_LIB_MCS_FLAGS)
44 endif
45 endif
47 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618,169,612,219,168
49 TEST_MONO_PATH = .
51 EXTRA_DISTFILES = \
52 TODO \
53 $(wildcard Test/System.Data/*.xml) \
54 $(wildcard Test/System.Data/*.xsd) \
55 $(wildcard Test/System.Xml/*.xml) \
56 $(wildcard Test/System.Xml/*.xsd) \
57 Test/System.Data/schemas/ChangeLog \
58 $(wildcard Test/System.Data/schemas/*.xsd) \
59 Mono.Data.SqlExpressions/Parser.jay \
60 app_test_2.0.config \
61 Test/System.Data/binserialize/*.bin
63 BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
65 Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
66 $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $(CURDIR)/$< >$@
68 include ../../build/library.make
70 ifeq (net_2_0, $(PROFILE))
71 $(test_lib): $(test_lib).config
73 $(test_lib).config: app_test_2.0.config
74 cp $< $@
75 endif