prepend $(CURDIR) to jay input files so that the debugging info references the right...
[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_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
11         $(foreach r, $(OTHER_RES), /resource:$(r),$(notdir $(r)))
12 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
13 EXTRA_DISTFILES = \
14         Commons.Xml.Relaxng.Rnc/RncParser.jay   \
15         Test/ChangeLog          \
16         Test/XmlFiles/ChangeLog \
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)