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)
17 ../../../external/referencesource/System.Xml/System.Xml.txt \
18 ../../../external/referencesource/System.Data.SqlXml/System.Xml.Utils.txt
21 LIB_MCS_FLAGS = -r:$(corlib) -nowarn:219,414,649,1717 -unsafe -d:ASYNC
23 ifeq (2.1, $(FRAMEWORK_VERSION))
24 LIB_MCS_FLAGS += -d:AGCLR -d:NET_2_1_HACK -d:DISABLE_XSLT_COMPILER -d:DISABLE_XSLT_SCRIPT,MONO_HYBRID_SYSTEM_XML -d:DISABLE_CAS_USE
26 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 -r:System.Data.dll -r:System.Core.dll
29 FINAL_MCS_FLAGS = -r:System.Configuration.dll -d:CONFIGURATION_DEP
32 ifneq (bare/,$(intermediate))
33 LIB_MCS_FLAGS += $(FINAL_MCS_FLAGS)
36 LOCAL_MCS_FLAGS += -lib:$(bare_libdir)
39 ChangeLog ITest.cs readme.txt util.cs \
40 fundamental/ChangeLog \
41 files/ChangeLog files/noDTDXMLfile.xml files/otherDoc.xml files/staff.dtd files/staff.html files/staff.xml
44 ChangeLog nested-included.dtd literal-data.xml nested-dtd-test.dtd nested-dtd-test.xml simple.xml \
45 xsl/ChangeLog xsl/empty.xsl \
46 XsdValidation/ChangeLog XsdValidation/1.xsd XsdValidation/2.xsd XsdValidation/3.xsd XsdValidation/4.xsd \
47 xsd/ChangeLog 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) \
53 Test/Microsoft.Test.csproj \
54 Test/Mono.Test.csproj \
55 Test/MonoMicro.Test.csproj \
56 Test/XmlFiles/76102.xml \
57 Test/XmlFiles/79683.dtd \
58 Test/XmlFiles/496192.xml \
60 $(wildcard Test/XmlFiles/xsd/*.xml) \
61 $(wildcard Test/XmlFiles/xsd/*.xsd) \
62 $(wildcard Test/XmlFiles/xsl/*.xml) \
63 $(wildcard Test/XmlFiles/xsl/*.xsl) \
64 Test/XmlFiles/xsl/current-in-select.ref \
65 Test/XmlFiles/xsl/ChangeLog \
66 $(xmlfiles_files:%=Test/XmlFiles/%) \
67 $(nist_dom_files:%=Test/System.Xml/nist_dom/%)
69 include ../../build/library.make
71 ifeq (bare/,$(intermediate))
74 $(bare_libdir)/System.Xml.dll:
75 $(MAKE) intermediate=bare/ $(bare_libdir)/System.Xml.dll
78 system_xml_library_deps := \
79 $(bare_libdir)/System.dll \
80 $(bare_libdir)/System.Xml.dll
83 system_xml_library_deps += $(the_libdir_base)System.Configuration.dll
86 artifacts = $(system_xml_library_deps) \
87 $(the_libdir_base)System.Configuration.dll
89 .NOTPARALLEL: $(artifacts)
91 CLEAN_FILES = $(bare_libdir)/System.Xml.dll $(bare_libdir)/System.Xml.dll.pdb
92 $(the_libdir_base)System.Xml.dll: $(system_xml_library_deps)
93 $(bare_libdir)/System.dll:
94 (cd ../System; $(MAKE) $@)
95 $(bare_libdir)/System.Xml.dll: $(bare_libdir)/System.dll
97 $(the_libdir_base)System.Configuration.dll:
98 (cd ../System.Configuration; $(MAKE) $@)
102 ifneq ($(PROFILE),basic)
104 $(MAKE) csproj-local intermediate=bare/