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 # In the basic profile, System.Xml.dll is _not_ a dependency of mcs.exe. So, don't use boot compilation.
11 # In other profiles, it _is_ a dependency of mcs.exe. So, use boot compilation.
12 ifneq (basic, $(PROFILE))
13 USE_BOOT_COMPILE = yes
17 ifeq (net_2_0, $(PROFILE))
18 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 ifdef USE_BOOT_COMPILE
22 LIBRARY_COMPILE = $(BOOT_COMPILE)
25 LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:0162 /nowarn:0618 /nowarn:0612
26 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
29 Mono.System.XML.csproj \
32 System.Xml.Schema/BUGS-MS.txt \
33 System.Xml.Schema/BUGS.txt \
34 $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
35 $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
36 System.Xml.XPath/Parser.jay \
37 Test/Microsoft.Test.csproj \
38 Test/Mono.Test.csproj \
39 Test/MonoMicro.Test.csproj \
40 Test/XmlFiles/xsd/xml.xsd \
41 Test/XmlFiles/xsd/ChangeLog \
42 Test/XmlFiles/xsl/empty.xsl \
43 Test/XmlFiles/xsl/ChangeLog \
44 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 $< >$@
49 Mono.Xml.Xsl/PatternParser.jay: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
50 sed "s/\%start Expr/\%start Pattern/" $< >$@
52 Mono.Xml.Xsl/PatternParser.cs: Mono.Xml.Xsl/PatternParser.jay $(topdir)/jay/skeleton.cs
53 echo "#define XSLT_PATTERN" > $@
54 $(topdir)/jay/jay -ct $< < $(topdir)/jay/skeleton.cs >>$@
56 Mono.Xml.Xsl/PatternTokenizer.cs: System.Xml.XPath/Tokenizer.cs
57 echo "#define XSLT_PATTERN" > $@
60 BUILT_SOURCES = System.Xml.XPath/Parser.cs \
61 Mono.Xml.Xsl/PatternParser.cs \
62 Mono.Xml.Xsl/PatternTokenizer.cs
64 CLEAN_FILES = Test/XmlFiles/xsl/result.xml \
65 System.Xml.XPath/Parser.cs \
66 Mono.Xml.Xsl/PatternParser.cs \
67 Mono.Xml.Xsl/PatternTokenizer.cs
69 include ../../build/library.make