1 thisdir = class/System.XML
3 include ../../build/rules.make
5 LIBRARY = System.Xml.dll
7 lib_file := $(wildcard ../lib/$(PROFILE)/System.Xml.dll)
12 ifdef USE_BOOT_COMPILE
13 LIBRARY_COMPILE = $(BOOT_COMPILE)
16 TXT_RESOURCE_STRINGS = \
17 ../referencesource/System.Xml/System.Xml.txt \
18 ../referencesource/System.Data.SqlXml/System.Xml.Utils.txt
20 LIB_MCS_FLAGS = -nowarn:219,414,649,1717 -unsafe -d:ASYNC
22 ifeq (2.1, $(FRAMEWORK_VERSION))
23 LIB_MCS_FLAGS += -d:AGCLR -d:DISABLE_XSLT_COMPILER -d:DISABLE_XSLT_SCRIPT,MONO_HYBRID_SYSTEM_XML -d:DISABLE_CAS_USE
26 TEST_LIB_REFS = System.Data System.Core
27 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
29 ifneq (bare/,$(intermediate))
30 LIB_REFS += secxml/System
32 LIB_REFS += System.Configuration
33 LIB_MCS_FLAGS += -d:CONFIGURATION_DEP
36 LIB_REFS += $(intermediate)System
40 ITest.cs readme.txt util.cs \
41 files/noDTDXMLfile.xml files/otherDoc.xml files/staff.dtd files/staff.html files/staff.xml
44 nested-included.dtd literal-data.xml nested-dtd-test.dtd nested-dtd-test.xml simple.xml \
46 XsdValidation/1.xsd XsdValidation/2.xsd XsdValidation/3.xsd XsdValidation/4.xsd \
47 xsd/1.xsd xsd/2.xsd xsd/3.xsd xsd/4.xsd xsd/5.xsd xsd/6.xsd xsd/xml.xsd xsd/81360.xsd xsd/81360inc1.xsd xsd/81360inc2.xsd
50 $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
51 $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
52 Test/Microsoft.Test.csproj \
53 Test/Mono.Test.csproj \
54 Test/MonoMicro.Test.csproj \
55 Test/XmlFiles/76102.xml \
56 Test/XmlFiles/79683.dtd \
57 Test/XmlFiles/496192.xml \
59 $(wildcard Test/XmlFiles/xsd/*.xml) \
60 $(wildcard Test/XmlFiles/xsd/*.xsd) \
61 $(wildcard Test/XmlFiles/xsl/*.xml) \
62 $(wildcard Test/XmlFiles/xsl/*.xsl) \
63 Test/XmlFiles/xsl/current-in-select.ref \
64 $(xmlfiles_files:%=Test/XmlFiles/%) \
65 $(nist_dom_files:%=Test/System.Xml/nist_dom/%)
67 include ../../build/library.make
69 ifeq (bare/,$(intermediate))
72 $(bare_libdir)/System.Xml.dll:
73 $(MAKE) intermediate=bare/ $(bare_libdir)/System.Xml.dll
76 system_xml_library_deps := \
77 $(bare_libdir)/System.dll \
78 $(bare_libdir)/System.Xml.dll
81 system_xml_library_deps += $(the_libdir_base)System.Configuration.dll
84 artifacts = $(system_xml_library_deps) \
85 $(the_libdir_base)System.Configuration.dll
87 .NOTPARALLEL: $(artifacts)
89 CLEAN_FILES = $(bare_libdir)/System.Xml.dll $(bare_libdir)/System.Xml.dll.pdb
90 $(the_libdir_base)System.Xml.dll: $(system_xml_library_deps)
91 $(bare_libdir)/System.dll:
92 (cd ../System; $(MAKE) $@)
93 $(bare_libdir)/System.Xml.dll: $(bare_libdir)/System.dll
95 $(the_libdir_base)System.Configuration.dll:
96 (cd ../System.Configuration; $(MAKE) $@)
100 ifneq ($(PROFILE),basic)
102 $(MAKE) csproj-local intermediate=bare/