Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.XML/Makefile')
-rw-r--r--mcs/class/System.XML/Makefile36
1 files changed, 19 insertions, 17 deletions
diff --git a/mcs/class/System.XML/Makefile b/mcs/class/System.XML/Makefile
index 871bdae89e6..691948cc2a6 100644
--- a/mcs/class/System.XML/Makefile
+++ b/mcs/class/System.XML/Makefile
@@ -30,28 +30,30 @@ LIB_MCS_FLAGS += -d:CONFIGURATION_DEP
endif
nist_dom_files = \
- ITest.cs readme.txt util.cs \
- files/noDTDXMLfile.xml files/otherDoc.xml files/staff.dtd files/staff.html files/staff.xml
+ ITest.cs readme.txt util.cs
+
+TEST_RESOURCE_FILES = \
+ Test/System.Xml/nist_dom/files/noDTDXMLfile.xml \
+ Test/System.Xml/nist_dom/files/otherDoc.xml \
+ Test/System.Xml/nist_dom/files/staff.dtd \
+ Test/System.Xml/nist_dom/files/staff.html \
+ Test/System.Xml/nist_dom/files/staff.xml \
+ Test/XmlFiles/xsl/current-in-select.ref \
+ $(wildcard Test/XmlFiles/*.xsd) \
+ $(wildcard Test/XmlFiles/*.xml) \
+ $(wildcard Test/XmlFiles/*.dtd) \
+ $(wildcard Test/XmlFiles/xsd/*.xml) \
+ $(wildcard Test/XmlFiles/xsd/*.xsd) \
+ $(wildcard Test/XmlFiles/xsl/*.xml) \
+ $(wildcard Test/XmlFiles/xsl/*.xsl) \
+ $(wildcard Test/XmlFiles/XsdValidation/*.xsd)
-xmlfiles_files = \
- nested-included.dtd literal-data.xml nested-dtd-test.dtd nested-dtd-test.xml simple.xml \
- xsl/empty.xsl \
- XsdValidation/1.xsd XsdValidation/2.xsd XsdValidation/3.xsd XsdValidation/4.xsd \
- xsd/1.xsd xsd/2.xsd xsd/3.xsd xsd/4.xsd xsd/5.xsd xsd/6.xsd xsd/xml.xsd xsd/81360.xsd xsd/81360inc1.xsd xsd/81360inc2.xsd
+TEST_MCS_FLAGS += $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
EXTRA_DISTFILES = \
$(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
$(wildcard System.Xml.Serialization/standalone_tests/*.output) \
- Test/XmlFiles/76102.xml \
- Test/XmlFiles/79683.dtd \
- Test/XmlFiles/496192.xml \
- Test/XmlFiles/*.xsd \
- $(wildcard Test/XmlFiles/xsd/*.xml) \
- $(wildcard Test/XmlFiles/xsd/*.xsd) \
- $(wildcard Test/XmlFiles/xsl/*.xml) \
- $(wildcard Test/XmlFiles/xsl/*.xsl) \
- Test/XmlFiles/xsl/current-in-select.ref \
- $(xmlfiles_files:%=Test/XmlFiles/%) \
+ $(TEST_RESOURCE_FILES) \
$(nist_dom_files:%=Test/System.Xml/nist_dom/%)
include ../../build/library.make