Merge pull request #5313 from lambdageek/corefx-sre-fixup
[mono.git] / mcs / class / Commons.Xml.Relaxng / Makefile
1 thisdir = class/Commons.Xml.Relaxng
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 RESOURCE_FILES = resources/relaxng.rng
6
7 OTHER_RES = $(RESOURCE_FILES)
8
9 LIBRARY = Commons.Xml.Relaxng.dll
10 LIB_REFS = System System.Xml
11 KEYFILE = ../mono.pub
12 LIB_MCS_FLAGS = \
13         $(foreach r, $(OTHER_RES), /resource:$(r),$(notdir $(r)))
14 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
15 EXTRA_DISTFILES = \
16         Commons.Xml.Relaxng.Rnc/RncParser.jay   \
17         $(wildcard Test/XmlFiles/*.rng) \
18         $(wildcard Test/XmlFiles/*.rnc) \
19         $(wildcard Test/XmlFiles/*.nvdl) \
20         $(wildcard Test/XmlFiles/*.xml) \
21         $(wildcard Test/standalone_tests/*.cs) \
22         $(RESOURCE_FILES)
23
24 Commons.Xml.Relaxng.Rnc/RncParser.cs: Commons.Xml.Relaxng.Rnc/RncParser.jay $(topdir)/jay/skeleton.cs
25         $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $(CURDIR)/Commons.Xml.Relaxng.Rnc/RncParser.jay > Commons.Xml.Relaxng.Rnc/RncParser.cs
26
27 BUILT_SOURCES = Commons.Xml.Relaxng.Rnc/RncParser.cs
28
29 include ../../build/library.make
30
31 $(the_lib): $(OTHER_RES)