Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. endif
  13. LIBRARY = System.Data.dll
  14. LIB_MCS_FLAGS = \
  15. -nowarn:649 -nowarn:169 -nowarn:219 -nowarn:168 -nowarn:1595 \
  16. -r:$(corlib) \
  17. -r:$(system) \
  18. -r:System.Xml.dll \
  19. -r:System.EnterpriseServices.dll \
  20. -r:Mono.Data.Tds.dll \
  21. $(OTHER_LIB_MCS_FLAGS)
  22. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:618
  23. EXTRA_DISTFILES = \
  24. TODO \
  25. Test/System.Data/region.xml \
  26. Test/System.Data/store.xsd \
  27. Test/System.Data/own_schema.xsd \
  28. Test/System.Xml/2books.xml \
  29. Test/System.Xml/region.xml \
  30. Test/System.Xml/region.xsd \
  31. Test/System.Xml/store.xsd \
  32. Mono.Data.SqlExpressions/Parser.jay \
  33. app_test_2.0.config
  34. BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
  35. Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
  36. $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
  37. include ../../build/library.make
  38. ifeq (net_2_0, $(PROFILE))
  39. $(test_lib): $(test_lib).config
  40. $(test_lib).config: app_test_2.0.config
  41. cp $< $@
  42. endif