2014-08-13 10:39:27 +01:00
|
|
|
thisdir = class/System.XML
|
|
|
|
SUBDIRS =
|
|
|
|
include ../../build/rules.make
|
|
|
|
|
|
|
|
LIBRARY = System.Xml.dll
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
TXT_RESOURCE_STRINGS = \
|
|
|
|
../referencesource/System.Xml/System.Xml.txt \
|
|
|
|
../referencesource/System.Data.SqlXml/System.Xml.Utils.txt
|
2018-10-09 08:20:59 +00:00
|
|
|
RESX_RESOURCE_STRING = \
|
|
|
|
../../../external/corefx/src/System.Private.Xml/src/Resources/Strings.resx
|
2015-08-26 07:17:56 -04:00
|
|
|
|
2019-04-12 14:10:50 +00:00
|
|
|
LIB_MCS_FLAGS = -nowarn:219,414,618,649,1717 -unsafe -d:ASYNC
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
ifeq (2.1, $(FRAMEWORK_VERSION))
|
2019-04-12 14:10:50 +00:00
|
|
|
LIB_MCS_FLAGS += -d:DISABLE_XSLT_COMPILER -d:DISABLE_XSLT_SCRIPT,MONO_HYBRID_SYSTEM_XML
|
2014-08-13 10:39:27 +01:00
|
|
|
endif
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
TEST_LIB_REFS = System.Data System.Core
|
|
|
|
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
|
2018-10-18 08:28:44 +00:00
|
|
|
XTEST_LIB_REFS = System System.Core System.Xml System.Xml.Linq Facades/System.Threading.Tasks System.Runtime.Serialization Facades/System.Text.Encoding.CodePages
|
|
|
|
|
2019-04-12 14:10:50 +00:00
|
|
|
ifneq (,$(filter build net_4_x, $(PROFILE)))
|
2018-10-18 08:28:44 +00:00
|
|
|
XTEST_LIB_REFS += System.Drawing
|
|
|
|
endif
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2018-01-24 17:04:36 +00:00
|
|
|
LIBRARY_WARN_AS_ERROR = yes
|
|
|
|
|
2018-05-10 08:37:03 +00:00
|
|
|
LIB_REFS = System
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
ifndef MOBILE_PROFILE
|
2018-05-10 08:37:03 +00:00
|
|
|
API_BIN_REFS += System.Configuration
|
2016-08-03 10:59:49 +00:00
|
|
|
LIB_MCS_FLAGS += -d:CONFIGURATION_DEP
|
|
|
|
endif
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
nist_dom_files = \
|
2019-02-04 20:11:37 +00:00
|
|
|
ITest.cs readme.txt util.cs
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2019-02-04 20:11:37 +00:00
|
|
|
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) \
|
2014-08-13 10:39:27 +01:00
|
|
|
$(wildcard Test/XmlFiles/xsd/*.xml) \
|
|
|
|
$(wildcard Test/XmlFiles/xsd/*.xsd) \
|
|
|
|
$(wildcard Test/XmlFiles/xsl/*.xml) \
|
|
|
|
$(wildcard Test/XmlFiles/xsl/*.xsl) \
|
2019-02-04 20:11:37 +00:00
|
|
|
$(wildcard Test/XmlFiles/XsdValidation/*.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_RESOURCE_FILES) \
|
2014-08-13 10:39:27 +01:00
|
|
|
$(nist_dom_files:%=Test/System.Xml/nist_dom/%)
|
|
|
|
|
|
|
|
include ../../build/library.make
|