Some old versions of mono/mcs (e.g., mono-core-1.1.2-1.ximian.8.1)
[mono.git] / mcs / class / System.XML / Makefile
1 thisdir = class/System.XML
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Xml.dll
6 LIBRARY_USE_INTERMEDIATE_FILE = yes
7
8 ifeq ($(PROFILE),atomic)
9 SCARY_LIB=
10 else
11 SCARY_LIB=/lib:$(prefix)/lib /noconfig
12 endif
13
14 LIB_MCS_FLAGS = $(SCARY_LIB) /unsafe /r:$(corlib) /r:System.dll /nowarn:0162 /nowarn:0618 /nowarn:0612
15 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
16
17 EXTRA_DISTFILES = \
18         Mono.System.XML.csproj          \
19         Mono.System.XML.sln             \
20         README                          \
21         System.Xml.Schema/BUGS-MS.txt   \
22         System.Xml.Schema/BUGS.txt      \
23         $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
24         $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
25         System.Xml.XPath/Parser.jay     \
26         System.Xml.Query/XQueryParser.jay       \
27         Test/Microsoft.Test.csproj      \
28         Test/Mono.Test.csproj           \
29         Test/MonoMicro.Test.csproj      \
30         Test/XmlFiles/xsd/xml.xsd       \
31         Test/XmlFiles/xsd/ChangeLog     \
32         Test/XmlFiles/xsl/empty.xsl     \
33         Test/XmlFiles/xsl/ChangeLog     \
34         Test/XmlFiles/ChangeLog
35
36 System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
37         $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
38
39 System.Xml.Query/XQueryParser.cs: System.Xml.Query/XQueryParser.jay System.Xml.Query/skeleton-2.0.cs
40         $(topdir)/jay/jay -ct < System.Xml.Query/skeleton-2.0.cs $< >$@
41
42 CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.XPath/Parser.cs System.Xml.Query/XQueryParser.cs
43
44 include ../../build/library.make