2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Makefile
index f1942c871851f886829927b14d55a9f09b28f77f..2ca8ea7879dbdbb050c12058317a5ebd6552dfd8 100644 (file)
@@ -4,7 +4,13 @@ include ../../build/rules.make
 
 LIBRARY = System.Xml.dll
 
-LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:649 /nowarn:169
+ifeq ($(PROFILE),atomic)
+SCARY_LIB=
+else
+SCARY_LIB=/lib:$(prefix)/lib /noconfig
+endif
+
+LIB_MCS_FLAGS = $(SCARY_LIB) /unsafe /r:$(corlib) /r:System.dll 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = \
@@ -25,6 +31,9 @@ EXTRA_DISTFILES = \
        Test/XmlFiles/xsl/ChangeLog     \
        Test/XmlFiles/ChangeLog
 
-CLEAN_FILES = Test/XmlFiles/xsl/result.xml
+System.Xml.XPath/Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
+       $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
+
+CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.XPath/Parser.cs
 
 include ../../build/library.make