Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. thisdir = class/System.Data
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.Data.dll
  5. LIB_MCS_FLAGS = \
  6. -nowarn:649 \
  7. -unsafe \
  8. -r:System \
  9. -r:System.Xml.dll \
  10. -r:System.Core.dll
  11. MOBILE := $(filter monotouch monodroid xammac mobile mobile_static, $(PROFILE))
  12. ifdef MOBILE
  13. LIB_MCS_FLAGS += \
  14. -r:Mono.Data.Tds.dll \
  15. -r:System.Transactions.dll
  16. else
  17. LIB_MCS_FLAGS += \
  18. -r:System.EnterpriseServices.dll \
  19. -r:Mono.Data.Tds.dll \
  20. -r:System.Configuration.dll \
  21. -r:System.Transactions.dll
  22. endif
  23. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:System.Core.dll -r:Mono.Data.Sqlite.dll -nowarn:618,169,612,219,168
  24. TEST_MONO_PATH = .
  25. EXTRA_DISTFILES = \
  26. TODO \
  27. $(wildcard Test/System.Data/*.xml) \
  28. $(wildcard Test/System.Data/*.xsd) \
  29. $(wildcard Test/System.Xml/*.xml) \
  30. $(wildcard Test/System.Xml/*.xsd) \
  31. Test/System.Data/schemas/ChangeLog \
  32. $(wildcard Test/System.Data/schemas/*.xsd) \
  33. Mono.Data.SqlExpressions/Parser.jay \
  34. app_test_net_2_0.config \
  35. app_test_net_4_5.config \
  36. Test/System.Data/binserialize/*.bin \
  37. SqliteTest.db
  38. BUILT_SOURCES = Mono.Data.SqlExpressions/Parser.cs
  39. Mono.Data.SqlExpressions/Parser.cs: Mono.Data.SqlExpressions/Parser.jay $(topdir)/jay/skeleton.cs
  40. $(topdir)/jay/jay -vct < $(topdir)/jay/skeleton.cs $(CURDIR)/$< >$@
  41. rm -f y.output
  42. include ../../build/library.make
  43. $(test_lib): $(test_lib).config
  44. $(test_lib).config: app_test_$(PROFILE).config
  45. cp $< $@