1 thisdir = class/System.XML
3 include ../../build/rules.make
5 LIBRARY = System.Xml.dll
6 LIBRARY_USE_INTERMEDIATE_FILE = yes
8 lib_file := $(wildcard ../lib/$(PROFILE)/System.Xml.dll)
10 USE_BOOT_COMPILE = yes
13 ifdef USE_BOOT_COMPILE
14 LIBRARY_COMPILE = $(BOOT_COMPILE)
17 LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -nowarn:0618,0612,0642
18 ifeq (net_1_1_java, $(PROFILE))
24 /lib:../../class/lib/$(PROFILE)
26 ifeq (2.1, $(FRAMEWORK_VERSION))
27 LIB_MCS_FLAGS += -unsafe -d:AGCLR -d:NET_2_1_HACK
29 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 -r:System.Data.dll -r:System.Core.dll
31 ifeq (2.0, $(FRAMEWORK_VERSION))
32 # Happens on net_2_0_bootstrap and net_2_0 profiles
33 CONFIGURATION_DEP := System.Configuration.dll
34 CONFIGURATION_DEP_FILE := $(wildcard ../lib/$(PROFILE)/$(CONFIGURATION_DEP))
35 CYCLIC_DEPS += $(CONFIGURATION_DEP)
36 CYCLIC_DEP_FILES += $(CONFIGURATION_DEP_FILE)
37 TEST_MCS_FLAGS += -r:System.Configuration
40 ifdef CONFIGURATION_DEP_FILE
41 LIB_MCS_FLAGS += -define:CONFIGURATION_DEP -r:$(CONFIGURATION_DEP)
42 $(the_lib): $(CONFIGURATION_DEP_FILE)
46 ChangeLog ITest.cs readme.txt util.cs \
47 fundamental/ChangeLog \
48 files/ChangeLog files/noDTDXMLfile.xml files/otherDoc.xml files/staff.dtd files/staff.html files/staff.xml
51 ChangeLog nested-included.dtd literal-data.xml nested-dtd-test.dtd nested-dtd-test.xml simple.xml \
52 xsl/ChangeLog xsl/empty.xsl \
53 XsdValidation/ChangeLog XsdValidation/1.xsd XsdValidation/2.xsd XsdValidation/3.xsd XsdValidation/4.xsd \
54 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
57 System.Xml.Schema/BUGS-MS.txt \
58 System.Xml.Schema/BUGS.txt \
59 $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
60 $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
61 System.Xml.XPath/Parser.jay \
63 Test/Microsoft.Test.csproj \
64 Test/Mono.Test.csproj \
65 Test/MonoMicro.Test.csproj \
66 Test/XmlFiles/76102.xml \
67 Test/XmlFiles/79683.dtd \
68 Test/XmlFiles/496192.xml \
70 $(wildcard Test/XmlFiles/xsd/*.xml) \
71 $(wildcard Test/XmlFiles/xsd/*.xsd) \
72 $(wildcard Test/XmlFiles/xsl/*.xml) \
73 $(wildcard Test/XmlFiles/xsl/*.xsl) \
74 Test/XmlFiles/xsl/current-in-select.ref \
75 Test/XmlFiles/xsl/ChangeLog \
76 $(xmlfiles_files:%=Test/XmlFiles/%) \
77 $(nist_dom_files:%=Test/System.Xml/nist_dom/%)
79 System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
80 $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
82 Mono.Xml.Xsl/PatternParser.jay: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
83 sed "s/\%start Expr/\%start Pattern/" $< >$@
85 Mono.Xml.Xsl/PatternParser.cs: Mono.Xml.Xsl/PatternParser.jay $(topdir)/jay/skeleton.cs
86 echo "#define XSLT_PATTERN" > $@
87 $(topdir)/jay/jay -ct $< < $(topdir)/jay/skeleton.cs >>$@
89 Mono.Xml.Xsl/PatternTokenizer.cs: System.Xml.XPath/Tokenizer.cs
90 echo "#define XSLT_PATTERN" > $@
93 ifneq (moonlight_raw, $(PROFILE))
94 BUILT_SOURCES = System.Xml.XPath/Parser.cs \
95 Mono.Xml.Xsl/PatternParser.cs \
96 Mono.Xml.Xsl/PatternTokenizer.cs
98 CLEAN_FILES = Test/XmlFiles/xsl/result.xml \
99 System.Xml.XPath/Parser.cs \
100 Mono.Xml.Xsl/PatternParser.cs \
101 Mono.Xml.Xsl/PatternTokenizer.cs
104 include ../../build/library.make