[system.xml] Resource string from reference sources
[mono.git] / mcs / class / System.XML / Makefile
index cac430470ce59150df94c042502d3364888967e0..a945136671e34bb6023b76830de0edcdbf74bf81 100644 (file)
@@ -13,14 +13,14 @@ ifdef USE_BOOT_COMPILE
 LIBRARY_COMPILE = $(BOOT_COMPILE)
 endif
 
-# FIXME: use below, once mcs got fixed.
-#RESOURCE_STRINGS = ../../../external/referencesource/System.Xml/System.Xml.txt
-#      ../../../external/referencesource/System.Data.SqlXml/System.Xml.Utils.txt
+RESOURCE_STRINGS = \
+       ../../../external/referencesource/System.Xml/System.Xml.txt \
+       ../../../external/referencesource/System.Data.SqlXml/System.Xml.Utils.txt
 
 PROFILE_ANY_MOBILE := $(filter monotouch monotouch_runtime monodroid xammac mobile mobile_static, $(PROFILE))
 
 LIB_REFS = System
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -nowarn:0618,0612,0642 -unsafe -d:ASYNC -d:DISABLE_CAS_USE -d:MONO_HYBRID_SYSTEM_XML
+LIB_MCS_FLAGS = -r:$(corlib)  -nowarn:219,414,0612,0642,649 -unsafe -d:ASYNC -d:DISABLE_CAS_USE -d:MONO_HYBRID_SYSTEM_XML
 
 ifeq (2.1, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -unsafe -d:AGCLR -d:NET_2_1_HACK -d:DISABLE_XSLT_COMPILER -d:DISABLE_XSLT_SCRIPT
@@ -49,11 +49,8 @@ xmlfiles_files = \
        xsd/ChangeLog 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
 
 EXTRA_DISTFILES = \
-       System.Xml.Schema/BUGS-MS.txt   \
-       System.Xml.Schema/BUGS.txt      \
        $(wildcard System.Xml.Serialization/standalone_tests/*.cs) \
        $(wildcard System.Xml.Serialization/standalone_tests/*.output) \
-       System.Xml.XPath/Parser.jay     \
        Test/ChangeLog                  \
        Test/Microsoft.Test.csproj      \
        Test/Mono.Test.csproj           \