[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / class / System.Data / Makefile
blobfb2eca01d3e35c6b665f4b52c2c0e83d3de23024
1 thisdir = class/System.Data
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Data.dll
7 LIB_REFS = System System.Xml System.Core System.Numerics System.Transactions
8 KEYFILE = ../ecma.pub
9 LIB_MCS_FLAGS = \
10 -nowarn:219,414,649,619,436 \
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
18 ifdef MOBILE_PROFILE
19 LIB_MCS_FLAGS += -d:NO_CODEDOM -d:NO_OLEDB -d:NO_ODBC -d:NO_CONFIGURATION
20 else
21 LIB_REFS += System.EnterpriseServices System.Configuration
22 endif
24 ifndef NO_MONO_SECURITY
25 LIB_REFS += Mono.Security
26 endif
28 ifdef MONO_FEATURE_APPLETLS
29 LIB_MCS_FLAGS += -d:MONO_FEATURE_APPLETLS
30 endif
32 ifndef PROFILE_DISABLE_BTLS
33 ifdef HAVE_BTLS
34 LIB_MCS_FLAGS += -d:MONO_FEATURE_BTLS
35 endif
36 endif
38 TXT_RESOURCE_STRINGS = ../referencesource/System.Data/system.data.txt
39 RESX_RESOURCE_STRING = \
40 ../../../external/corefx/src/System.Data.Common/src/Resources/Strings.resx \
41 ../../../external/corefx/src/System.Data.SqlClient/src/Resources/Strings.resx \
42 ../../../external/corefx/src/System.Data.Odbc/src/Resources/Strings.resx
44 TEST_RESOURCE_FILES = \
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 $(wildcard Test/System.Data/schemas/*.xml) \
50 $(wildcard Test/System.Data/schemas/*.xsd) \
51 $(wildcard Test/System.Data/binserialize/*.bin) \
52 $(wildcard Test/ProviderTests/sql/*.sql) \
53 Test/Mono.Data.SqlExpressions/dateComparisonTest.xml \
54 Test/System.Data.Common/SqliteTest.db
56 TEST_LIB_REFS = System.Core
57 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618,169,612,219,168 $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
59 TEST_NUNITLITE_APP_CONFIG_GLOBAL=Test/test-config-file
61 USE_XTEST_REMOTE_EXECUTOR = YES
62 XTEST_LIB_REFS = System System.Core System.Xml Facades/System.Text.Encoding.CodePages Facades/System.Threading.Tasks Facades/System.Runtime.InteropServices.RuntimeInformation Facades/System.Text.RegularExpressions
64 EXTRA_DISTFILES = \
65 $(TEST_RESOURCE_FILES) \
66 Test/test-config-file
68 include ../../build/library.make