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/XQueryParser.jay \
44 System.Xml.Query/skeleton-2.0.cs \
45 Test/Microsoft.Test.csproj \
46 Test/Mono.Test.csproj \
47 Test/MonoMicro.Test.csproj \
48 Test/XmlFiles/xsd/xml.xsd \
49 Test/XmlFiles/xsd/ChangeLog \
50 Test/XmlFiles/xsl/empty.xsl \
51 Test/XmlFiles/xsl/ChangeLog \
52 Test/XmlFiles/ChangeLog
54 System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
55 $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
57 System.Xml.Query/XQueryParser.cs: System.Xml.Query/XQueryParser.jay System.Xml.Query/skeleton-2.0.cs
58 $(topdir)/jay/jay -ct < System.Xml.Query/skeleton-2.0.cs $< >$@
60 BUILT_SOURCES = System.Xml.XPath/Parser.cs #System.Xml.Query/XQueryParser.cs
61 CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.Query/XQueryParser.cs
63 include ../../build/library.make