1 thisdir = class/Commons.Xml.Relaxng
3 include ../../build/rules.make
5 RESOURCE_FILES = resources/relaxng.rng
7 OTHER_RES = $(RESOURCE_FILES)
9 LIBRARY = Commons.Xml.Relaxng.dll
10 LIB_REFS = System System.Xml
11 LIB_MCS_FLAGS = /r:$(corlib) \
12 $(foreach r, $(OTHER_RES), /resource:$(r),$(notdir $(r)))
13 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
15 Commons.Xml.Relaxng.Rnc/RncParser.jay \
17 Test/XmlFiles/ChangeLog \
18 $(wildcard Test/XmlFiles/*.rng) \
19 $(wildcard Test/XmlFiles/*.rnc) \
20 $(wildcard Test/XmlFiles/*.nvdl) \
21 $(wildcard Test/XmlFiles/*.xml) \
22 $(wildcard Test/standalone_tests/*.cs) \
25 Commons.Xml.Relaxng.Rnc/RncParser.cs: Commons.Xml.Relaxng.Rnc/RncParser.jay $(topdir)/jay/skeleton.cs
26 $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $(CURDIR)/Commons.Xml.Relaxng.Rnc/RncParser.jay > Commons.Xml.Relaxng.Rnc/RncParser.cs
28 BUILT_SOURCES = Commons.Xml.Relaxng.Rnc/RncParser.cs
30 include ../../build/library.make
32 $(the_lib): $(OTHER_RES)