Makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. thisdir = class/System.XML
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.Xml.dll
  5. LIBRARY_USE_INTERMEDIATE_FILE = yes
  6. ifeq ($(PROFILE),atomic)
  7. SCARY_LIB=
  8. else
  9. SCARY_LIB=/lib:$(prefix)/lib /noconfig
  10. endif
  11. lib_file := $(wildcard ../lib/$(PROFILE)/System.Xml.dll)
  12. ifndef lib_file
  13. # In the basic profile, System.Xml.dll is _not_ a dependency of mcs.exe. So, don't use boot compilation.
  14. # In other profiles, it _is_ a dependency of mcs.exe. So, use boot compilation.
  15. ifneq (basic, $(PROFILE))
  16. USE_BOOT_COMPILE = yes
  17. endif
  18. endif
  19. ifeq (net_2_0, $(PROFILE))
  20. BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
  21. endif
  22. ifdef USE_BOOT_COMPILE
  23. LIBRARY_COMPILE = $(BOOT_COMPILE)
  24. endif
  25. LIB_MCS_FLAGS = $(SCARY_LIB) /unsafe /r:$(corlib) /r:System.dll /nowarn:0162 /nowarn:0618 /nowarn:0612
  26. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
  27. EXTRA_DISTFILES = \
  28. Mono.System.XML.csproj \
  29. Mono.System.XML.sln \
  30. README \
  31. System.Xml.Schema/BUGS-MS.txt \
  32. System.Xml.Schema/BUGS.txt \
  33. $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
  34. $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
  35. System.Xml.XPath/Parser.jay \
  36. System.Xml.Query/XQueryParser.jay \
  37. System.Xml.Query/skeleton-2.0.cs \
  38. Test/Microsoft.Test.csproj \
  39. Test/Mono.Test.csproj \
  40. Test/MonoMicro.Test.csproj \
  41. Test/XmlFiles/xsd/xml.xsd \
  42. Test/XmlFiles/xsd/ChangeLog \
  43. Test/XmlFiles/xsl/empty.xsl \
  44. Test/XmlFiles/xsl/ChangeLog \
  45. Test/XmlFiles/ChangeLog
  46. System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
  47. $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
  48. System.Xml.Query/XQueryParser.cs: System.Xml.Query/XQueryParser.jay System.Xml.Query/skeleton-2.0.cs
  49. $(topdir)/jay/jay -ct < System.Xml.Query/skeleton-2.0.cs $< >$@
  50. BUILT_SOURCES = System.Xml.XPath/Parser.cs #System.Xml.Query/XQueryParser.cs
  51. CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.Query/XQueryParser.cs
  52. include ../../build/library.make