[System.IO.KeventWatcher] Disable the watcher when the root directory is deleted...
[mono.git] / mcs / class / WindowsBase / Makefile
index 83b73153a4e540c3e764fe61769d941da78bc672..172a501446ed8ef2cdff39eaa58e4ce4ab20906d 100644 (file)
@@ -3,11 +3,16 @@ include ../../build/rules.make
 
 LIBRARY = WindowsBase.dll
 
-LIB_MCS_FLAGS = -unsafe -r:System -r:System.Xml
-TEST_MCS_FLAGS = -unsafe -r:WindowsBase.dll
+LIB_REFS = System System.Xml
+LIB_MCS_FLAGS = -unsafe
+TEST_MCS_FLAGS = -unsafe -r:WindowsBase.dll -r:System.dll -r:System.Xml.dll -r:System.Core.dll
 
 ifeq (2.0, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -d:NET_3_0
 endif
+ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
+LIB_REFS += System.Xaml
+TEST_MCS_FLAGS += -r:System.Xaml.dll
+endif
 
 include ../../build/library.make