Makefile 2.1 KB

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