Fix bugs in sizing TableLayoutPanel (Xamarin bug 18638)
[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 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
14 OTHER_LIB_MCS_FLAGS = -r:System.Configuration.dll \
15                         -r:System.Transactions.dll
16 endif
17
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                       \
25
26
27 MOBILE := $(filter monotouch monodroid xammac mobile mobile_static, $(PROFILE))
28 ifdef MOBILE
29 LIB_MCS_FLAGS += \
30         -r:Mono.Data.Tds.dll \
31         -r:System.Transactions.dll
32 else
33 LIB_MCS_FLAGS += \
34         -r:System.EnterpriseServices.dll        \
35         -r:Mono.Data.Tds.dll \
36         $(OTHER_LIB_MCS_FLAGS)
37 endif
38
39 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:System.Core.dll -r:Mono.Data.Sqlite.dll -nowarn:618,169,612,219,168
40
41 TEST_MONO_PATH = .
42
43 EXTRA_DISTFILES = \
44         TODO                                    \
45         $(wildcard Test/System.Data/*.xml)              \
46         $(wildcard Test/System.Data/*.xsd)              \
47         $(wildcard Test/System.Xml/*.xml)               \
48         $(wildcard Test/System.Xml/*.xsd)               \
49         Test/System.Data/schemas/ChangeLog      \
50         $(wildcard Test/System.Data/schemas/*.xsd)              \
51         Mono.Data.SqlExpressions/Parser.jay     \
52         app_test_net_2_0.config                 \
53         app_test_net_4_5.config                 \
54         Test/System.Data/binserialize/*.bin     \
55         SqliteTest.db
56
57 BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
58
59 Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
60         $(topdir)/jay/jay -vct < $(topdir)/jay/skeleton.cs $(CURDIR)/$< >$@
61         rm -f y.output
62
63 include ../../build/library.make
64
65 $(test_lib): $(test_lib).config
66
67 $(test_lib).config: app_test_$(PROFILE).config
68         cp $< $@