Makefile 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. thisdir = class/System.Data
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. # I have *no idea* why I need to do this.
  5. ifeq ($(PROFILE),atomic)
  6. system = System.dll
  7. else
  8. system = $(topdir)/class/lib/$(PROFILE)/System.dll
  9. endif
  10. ifeq (net_2_0, $(PROFILE))
  11. OTHER_LIB_MCS_FLAGS = -r:System.Configuration.dll \
  12. -r:System.Transactions.dll
  13. endif
  14. LIBRARY = System.Data.dll
  15. LIB_MCS_FLAGS = \
  16. -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 \
  17. -unsafe \
  18. -r:$(corlib) \
  19. -r:$(system) \
  20. -r:System.Xml.dll \
  21. ifeq (net_1_1_java, $(PROFILE))
  22. OTHER_RES = $(RESOURCE_FILES)
  23. LIB_MCS_FLAGS += \
  24. -r:rt.dll \
  25. -r:J2SE.Helpers.dll \
  26. $(OTHER_LIB_MCS_FLAGS)
  27. else
  28. LIB_MCS_FLAGS += \
  29. -r:System.EnterpriseServices.dll \
  30. -r:Mono.Data.Tds.dll \
  31. $(OTHER_LIB_MCS_FLAGS)
  32. endif
  33. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
  34. TEST_MONO_PATH = .
  35. EXTRA_DISTFILES = \
  36. TODO \
  37. Test/System.Data/region.xml \
  38. Test/System.Data/store.xsd \
  39. Test/System.Data/own_schema.xsd \
  40. Test/System.Xml/2books.xml \
  41. Test/System.Xml/region.xml \
  42. Test/System.Xml/region.xsd \
  43. Test/System.Xml/store.xsd \
  44. Test/System.Data/schemas/bug77248.xsd \
  45. Test/System.Data/schemas/ChangeLog \
  46. Test/System.Data/schemas/test001.xsd \
  47. Test/System.Data/schemas/test002.xsd \
  48. Test/System.Data/schemas/test003.xsd \
  49. Test/System.Data/schemas/test004.xsd \
  50. Test/System.Data/schemas/test005.xsd \
  51. Test/System.Data/schemas/test006.xsd \
  52. Test/System.Data/schemas/test007.xsd \
  53. Test/System.Data/schemas/test008.xsd \
  54. Test/System.Data/schemas/test009.xsd \
  55. Test/System.Data/schemas/test010.xsd \
  56. Test/System.Data/schemas/test011.xsd \
  57. Test/System.Data/schemas/test012.xsd \
  58. Test/System.Data/schemas/test013.xsd \
  59. Test/System.Data/schemas/test014.xsd \
  60. Test/System.Data/schemas/test015.xsd \
  61. Test/System.Data/schemas/test016.xsd \
  62. Test/System.Data/schemas/test017.xsd \
  63. Test/System.Data/schemas/test101.xsd \
  64. Test/System.Data/schemas/test102.xsd \
  65. Test/System.Data/schemas/test103.xsd \
  66. Test/System.Data/TypedDataSet.xml \
  67. Mono.Data.SqlExpressions/Parser.jay \
  68. app_test_2.0.config
  69. BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
  70. Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
  71. $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
  72. include ../../build/library.make
  73. ifeq (net_2_0, $(PROFILE))
  74. $(test_lib): $(test_lib).config
  75. $(test_lib).config: app_test_2.0.config
  76. cp $< $@
  77. endif