GenericParameter.cs: override Module properly
[mcs.git] / class / Mono.Xml.Ext / Makefile
blob20b70c83ecd850c8df402d754cad0c3e193eac22
1 thisdir = class/Mono.Xml.Ext
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = Mono.Xml.Ext.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 /r:System.Xml.dll
15 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
17 EXTRA_DISTFILES = \
18 Mono.Xml.XPath2/XQueryParser.jay
20 SKELETON = $(topdir)/jay/skeleton.cs
22 Mono.Xml.XPath2/XPath2Parser.jay: Mono.Xml.XPath2/ParserBase.jay $(SKELETON)
23 sed "s/%start Module/%start Expr/" $< | sed "/\#XQueryStart/,/\#XQueryEnd/d" | sed "/\#XPath2Start/d" | sed "/\#XPath2End/d" >$@
25 Mono.Xml.XPath2/XQueryParser.jay: Mono.Xml.XPath2/ParserBase.jay $(SKELETON)
26 sed "/\#XPath2Start/,/\#XPath2End/d" $< | sed "/\#XQueryStart/d" | sed "/\#XQueryEnd/d" >$@
28 Mono.Xml.XPath2/XPath2Parser.cs: Mono.Xml.XPath2/XPath2Parser.jay
29 echo "#define XPATH2_PARSER" > $@
30 echo "#if NET_2_0" >> $@
31 $(topdir)/jay/jay -ct < $(SKELETON) $< >>$@
32 echo "#endif" >> $@
34 Mono.Xml.XPath2/XQueryParser.cs: Mono.Xml.XPath2/XQueryParser.jay $(SKELETON)
35 echo "#define XQUERY_PARSER" > $@
36 echo "#if NET_2_0" >> $@
37 $(topdir)/jay/jay -ct < $(SKELETON) $< >>$@
38 echo "#endif" >> $@
40 Mono.Xml.XPath2/XPath2Tokenizer.cs: Mono.Xml.XPath2/TokenizerBase.cs
41 echo "#define XPATH2_PARSER" > $@
42 cat $< >>$@
44 Mono.Xml.XPath2/XQueryTokenizer.cs: Mono.Xml.XPath2/TokenizerBase.cs
45 echo "#define XQUERY_PARSER" > $@
46 cat $< >>$@
48 BUILT_SOURCES = Mono.Xml.XPath2/XPath2Parser.cs \
49 Mono.Xml.XPath2/XPath2Tokenizer.cs \
50 Mono.Xml.XPath2/XQueryParser.cs \
51 Mono.Xml.XPath2/XQueryTokenizer.cs
53 CLEAN_FILES = Mono.Xml.Ext.pdb \
54 Mono.Xml.XPath2/XPath2Parser.jay \
55 Mono.Xml.XPath2/XPath2Parser.cs \
56 Mono.Xml.XPath2/XQueryParser.cs \
57 y.output
59 include ../../build/library.make