**** Merged from MCS ****
[mono-project.git] / mcs / class / System.XML / Makefile
blob964fced2967b58ad8001765e289f9d0be21dd2ba
1 thisdir = class/System.XML
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Xml.dll
6 LIBRARY_USE_INTERMEDIATE_FILE = yes
8 ifeq ($(PROFILE),atomic)
9 SCARY_LIB=
10 else
11 SCARY_LIB=/lib:$(prefix)/lib /noconfig
12 endif
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)
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
36 System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
37 $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
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 $< >$@
42 CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.XPath/Parser.cs System.Xml.Query/XQueryParser.cs
44 include ../../build/library.make