1 thisdir = class/System.XML
3 include ../../build/rules.make
5 LIBRARY = System.Xml.dll
6 LIBRARY_USE_INTERMEDIATE_FILE = yes
8 ifeq ($(PROFILE),atomic)
11 SCARY_LIB=/lib:$(prefix)/lib /noconfig
14 lib_file := $(wildcard ../lib/$(PROFILE)/System.Xml.dll)
16 # In the basic profile, System.Xml.dll is _not_ a dependency of mcs.exe. So, don't use boot compilation.
17 # In other profiles, it _is_ a dependency of mcs.exe. So, use boot compilation.
18 ifneq (basic, $(PROFILE))
19 USE_BOOT_COMPILE = yes
23 ifeq (net_2_0, $(PROFILE))
24 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)
27 ifdef USE_BOOT_COMPILE
28 LIBRARY_COMPILE = $(BOOT_COMPILE)
31 LIB_MCS_FLAGS = $(SCARY_LIB) /unsafe /r:$(corlib) /r:System.dll /nowarn:0162 /nowarn:0618 /nowarn:0612
32 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
35 Mono.System.XML.csproj \
38 System.Xml.Schema/BUGS-MS.txt \
39 System.Xml.Schema/BUGS.txt \
40 $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
41 $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
42 System.Xml.XPath/Parser.jay \
43 System.Xml.Query/skeleton-2.0.cs \
44 Test/Microsoft.Test.csproj \
45 Test/Mono.Test.csproj \
46 Test/MonoMicro.Test.csproj \
47 Test/XmlFiles/xsd/xml.xsd \
48 Test/XmlFiles/xsd/ChangeLog \
49 Test/XmlFiles/xsl/empty.xsl \
50 Test/XmlFiles/xsl/ChangeLog \
51 Test/XmlFiles/ChangeLog
53 System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
54 $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
56 Mono.Xml.Xsl/PatternParser.jay: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
57 sed "s/\%start Expr/\%start Pattern/" $< >$@
59 Mono.Xml.Xsl/PatternParser.cs: Mono.Xml.Xsl/PatternParser.jay $(topdir)/jay/skeleton.cs
60 echo "#define XSLT_PATTERN" > $@
61 $(topdir)/jay/jay -ct $< < $(topdir)/jay/skeleton.cs >>$@
63 Mono.Xml.Xsl/PatternTokenizer.cs: System.Xml.XPath/Tokenizer.cs
64 echo "#define XSLT_PATTERN" > $@
67 BUILT_SOURCES = System.Xml.XPath/Parser.cs \
68 Mono.Xml.Xsl/PatternParser.cs \
69 Mono.Xml.Xsl/PatternTokenizer.cs
71 CLEAN_FILES = Test/XmlFiles/xsl/result.xml \
72 System.Xml.XPath/Parser.cs \
73 Mono.Xml.Xsl/PatternParser.cs \
74 Mono.Xml.Xsl/PatternTokenizer.cs
76 include ../../build/library.make