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 = \
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