| 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 |
|
| 15 |
TEST_RESOURCE_FILES = \ |
| 16 |
$(wildcard Test/XmlFiles/*.rng) \ |
| 17 |
$(wildcard Test/XmlFiles/*.rnc) \ |
| 18 |
$(wildcard Test/XmlFiles/*.nvdl) \ |
| 19 |
$(wildcard Test/XmlFiles/*.xml) |
| 20 |
|
| 21 |
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r)) |
| 22 |
|
| 23 |
EXTRA_DISTFILES = \ |
| 24 |
Commons.Xml.Relaxng.Rnc/RncParser.jay \ |
| 25 |
$(wildcard Test/standalone_tests/*.cs) \ |
| 26 |
$(RESOURCE_FILES) \ |
| 27 |
$(TEST_RESOURCE_FILES) |
| 28 |
|
| 29 |
Commons.Xml.Relaxng.Rnc/RncParser.cs: Commons.Xml.Relaxng.Rnc/RncParser.jay $(topdir)/jay/skeleton.cs |
| 30 |
$(topdir)/jay/jay -ctv -o Commons.Xml.Relaxng.Rnc/RncParser.cs $< < $(topdir)/jay/skeleton.cs |
| 31 |
|
| 32 |
BUILT_SOURCES = Commons.Xml.Relaxng.Rnc/RncParser.cs |
| 33 |
|
| 34 |
include ../../build/library.make |
| 35 |
|
| 36 |
$(the_lib): $(OTHER_RES) |