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:
authorJb Evain <jbevain@gmail.com>2008-03-26 18:33:36 +0300
committerJb Evain <jbevain@gmail.com>2008-03-26 18:33:36 +0300
commit48ce09af1f6cdf6f1ea8184c5c74bd57a769ca7f (patch)
tree6dcf60bf9d205f96ec5808c82d27723af375c396 /mcs/class/System.XML/Makefile
parenta91d4e40fbb6d61ae01d3e8754bf88463683b056 (diff)
2008-03-26 Jb Evain <jbevain@novell.com>
* net_2_1_bootstrap_System.Xml.dll.sources, * net_2_1_raw_System.Xml.dll.sources, * Makefile: Files for the SL2 version of System.Xml. svn path=/branches/jb/ml2/mcs/; revision=99037
Diffstat (limited to 'mcs/class/System.XML/Makefile')
-rw-r--r--mcs/class/System.XML/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/System.XML/Makefile b/mcs/class/System.XML/Makefile
index ab94431399c..49a92d38d82 100644
--- a/mcs/class/System.XML/Makefile
+++ b/mcs/class/System.XML/Makefile
@@ -31,6 +31,9 @@ LIB_MCS_FLAGS += \
-r:unresolved.dll \
/lib:../../class/lib/$(PROFILE)
endif
+ifeq (2.1, $(FRAMEWORK_VERSION))
+LIB_MCS_FLAGS += -unsafe -d:AGCLR -d:NET_2_1_HACK
+endif
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
ifeq (2.0, $(FRAMEWORK_VERSION))
@@ -116,6 +119,7 @@ Mono.Xml.Xsl/PatternTokenizer.cs: System.Xml.XPath/Tokenizer.cs
echo "#define XSLT_PATTERN" > $@
cat $< >>$@
+ifneq (2.1, $(FRAMEWORK_VERSION))
BUILT_SOURCES = System.Xml.XPath/Parser.cs \
Mono.Xml.Xsl/PatternParser.cs \
Mono.Xml.Xsl/PatternTokenizer.cs
@@ -124,5 +128,6 @@ CLEAN_FILES = Test/XmlFiles/xsl/result.xml \
System.Xml.XPath/Parser.cs \
Mono.Xml.Xsl/PatternParser.cs \
Mono.Xml.Xsl/PatternTokenizer.cs
+endif
include ../../build/library.make