2004-12-03 Marek Safar <marek.safar@seznam.cz>
[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 ifdef USE_BOOT_COMPILE
15 LIBRARY_COMPILE = $(BOOT_COMPILE)
16 endif
17
18 LIB_MCS_FLAGS = $(SCARY_LIB) /unsafe /r:$(corlib) /r:System.dll /nowarn:0162 /nowarn:0618 /nowarn:0612
19 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
20
21 EXTRA_DISTFILES = \
22         Mono.System.XML.csproj          \
23         Mono.System.XML.sln             \
24         README                          \
25         System.Xml.Schema/BUGS-MS.txt   \
26         System.Xml.Schema/BUGS.txt      \
27         $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
28         $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
29         System.Xml.XPath/Parser.jay     \
30         System.Xml.Query/XQueryParser.jay       \
31         Test/Microsoft.Test.csproj      \
32         Test/Mono.Test.csproj           \
33         Test/MonoMicro.Test.csproj      \
34         Test/XmlFiles/xsd/xml.xsd       \
35         Test/XmlFiles/xsd/ChangeLog     \
36         Test/XmlFiles/xsl/empty.xsl     \
37         Test/XmlFiles/xsl/ChangeLog     \
38         Test/XmlFiles/ChangeLog
39
40 System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
41         $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
42
43 System.Xml.Query/XQueryParser.cs: System.Xml.Query/XQueryParser.jay System.Xml.Query/skeleton-2.0.cs
44         $(topdir)/jay/jay -ct < System.Xml.Query/skeleton-2.0.cs $< >$@
45
46 CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.XPath/Parser.cs System.Xml.Query/XQueryParser.cs
47
48 include ../../build/library.make