1thisdir = class/System.Data
2SUBDIRS =
3include ../../build/rules.make
4
5LIBRARY = System.Data.dll
6
7LIB_REFS = System System.Xml System.Core System.Numerics System.Transactions
8KEYFILE = ../ecma.pub
9LIB_MCS_FLAGS = \
10	-nowarn:219,414,649,619 \
11	-d:COREFX	\
12	-d:PLATFORM_UNIX \
13	-d:USEOFFSET \
14	-d:MONO_PARTIAL_DATA_IMPORT \
15	-resource:../../../external/corefx/src/System.Data.SqlClient/src/Resources/System.Data.SqlClient.SqlMetaData.xml	\
16	-unsafe
17
18ifdef MOBILE_PROFILE
19LIB_MCS_FLAGS += -d:NO_CODEDOM -d:NO_OLEDB -d:NO_ODBC -d:NO_CONFIGURATION
20else
21LIB_REFS += System.EnterpriseServices System.Configuration
22endif
23
24ifdef MONO_FEATURE_APPLETLS
25LIB_MCS_FLAGS += -d:MONO_FEATURE_APPLETLS
26endif
27
28ifndef PROFILE_DISABLE_BTLS
29ifdef HAVE_BTLS
30LIB_MCS_FLAGS += -d:MONO_FEATURE_BTLS
31endif
32endif
33
34TXT_RESOURCE_STRINGS = ../referencesource/System.Data/system.data.txt
35RESX_RESOURCE_STRING = \
36	../../../external/corefx/src/System.Data.Common/src/Resources/Strings.resx	\
37	../../../external/corefx/src/System.Data.SqlClient/src/Resources/Strings.resx	\
38	../../../external/corefx/src/System.Data.Odbc/src/Resources/Strings.resx
39
40TEST_LIB_REFS = System.Core Mono.Data.Sqlite
41TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618,169,612,219,168
42
43TEST_NUNITLITE_APP_CONFIG_GLOBAL=Test/test-config-file
44
45USE_XTEST_REMOTE_EXECUTOR = YES
46XTEST_LIB_REFS = System System.Core System.Xml Facades/System.Text.Encoding.CodePages Facades/System.Threading.Tasks Facades/System.Runtime.InteropServices.RuntimeInformation
47
48TEST_MONO_PATH = .
49
50EXTRA_DISTFILES = \
51	$(wildcard Test/System.Data/*.xml)		\
52	$(wildcard Test/System.Data/*.xsd)		\
53	$(wildcard Test/System.Xml/*.xml)		\
54	$(wildcard Test/System.Xml/*.xsd)		\
55	$(wildcard Test/System.Data/schemas/*.xsd)		\
56	Test/test-config-file			\
57	Test/System.Data/binserialize/*.bin	\
58	Test/ProviderTests/sql/*.sql	\
59	SqliteTest.db	\
60	corefx.common.sources	\
61	corefx.unix.sources
62
63include ../../build/library.make
64