X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FCommons.Xml.Relaxng%2FMakefile;h=d63e7af0565267712121ff183e65084bf9ef92b0;hb=22dd4418234f293312118f66dd5bb45fc2836cfc;hp=c43c5f745a9471df194f53316cbdf519718b9a1e;hpb=217ddc29c40bc8b11f8fbd4800e61db7f4f22bbf;p=mono.git diff --git a/mcs/class/Commons.Xml.Relaxng/Makefile b/mcs/class/Commons.Xml.Relaxng/Makefile index c43c5f745a9..d63e7af0565 100644 --- a/mcs/class/Commons.Xml.Relaxng/Makefile +++ b/mcs/class/Commons.Xml.Relaxng/Makefile @@ -7,13 +7,12 @@ RESOURCE_FILES = resources/relaxng.rng OTHER_RES = $(RESOURCE_FILES) LIBRARY = Commons.Xml.Relaxng.dll -LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \ +LIB_REFS = System System.Xml +LIB_MCS_FLAGS = \ $(foreach r, $(OTHER_RES), /resource:$(r),$(notdir $(r))) TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 EXTRA_DISTFILES = \ Commons.Xml.Relaxng.Rnc/RncParser.jay \ - Test/ChangeLog \ - Test/XmlFiles/ChangeLog \ $(wildcard Test/XmlFiles/*.rng) \ $(wildcard Test/XmlFiles/*.rnc) \ $(wildcard Test/XmlFiles/*.nvdl) \ @@ -22,7 +21,7 @@ EXTRA_DISTFILES = \ $(RESOURCE_FILES) Commons.Xml.Relaxng.Rnc/RncParser.cs: Commons.Xml.Relaxng.Rnc/RncParser.jay $(topdir)/jay/skeleton.cs - $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs Commons.Xml.Relaxng.Rnc/RncParser.jay > Commons.Xml.Relaxng.Rnc/RncParser.cs + $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $(CURDIR)/Commons.Xml.Relaxng.Rnc/RncParser.jay > Commons.Xml.Relaxng.Rnc/RncParser.cs BUILT_SOURCES = Commons.Xml.Relaxng.Rnc/RncParser.cs