2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Makefile
index 629d09a7714cd4ce01e19aa5c38e2611fdd149c4..2ca8ea7879dbdbb050c12058317a5ebd6552dfd8 100644 (file)
@@ -4,7 +4,13 @@ include ../../build/rules.make
 
 LIBRARY = System.Xml.dll
 
-LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll
+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 = \
@@ -23,9 +29,11 @@ EXTRA_DISTFILES = \
        Test/XmlFiles/xsd/ChangeLog     \
        Test/XmlFiles/xsl/empty.xsl     \
        Test/XmlFiles/xsl/ChangeLog     \
-       Test/XmlFiles/ChangeLog         \
-       Test/NUnit.Prefs
+       Test/XmlFiles/ChangeLog
+
+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
+CLEAN_FILES = Test/XmlFiles/xsl/result.xml System.Xml.XPath/Parser.cs
 
 include ../../build/library.make