2005-07-23 Iain McCoy <iain@mccoy.id.au>
[mono.git] / mcs / class / PresentationFramework / Makefile
index c7011cf42ece33ccdf5d96122aa20039d231c60f..85ee60e45cf5b87dd09f6a2fa8636300c287f986 100644 (file)
@@ -3,7 +3,16 @@ include ../../build/rules.make
 
 LIBRARY = PresentationFramework.dll
 
-LIB_MCS_FLAGS = -r:System.Xml.dll -r:WindowsBase.dll
-NO_TEST = yes
+LIB_MCS_FLAGS = -r:System.Xml.dll -r:WindowsBase.dll -r:System.dll
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:TestVocab.dll -r:System.dll
+TEST_MONO_PATH = .
+
+Test/XamlParser.cs: Test/TestVocab.dll
+
+Test/TestVocab.dll: ../../tools/xamlc/demo/TestVocab/*.cs
+       echo $(MONO_PATH)
+       (cd ../../tools/xamlc/demo; make TestVocab.dll)
+       cp ../../tools/xamlc/demo/TestVocab.dll Test/TestVocab.dll
+       cp Test/TestVocab.dll TestVocab.dll
 
 include ../../build/library.make