[HttpWebRequest] EndGetResponse already does this.
[mono.git] / mcs / class / System.Messaging / Makefile
index 082f02116f213f0d1306c30ad5a5b26713dafaba..681b8835095a4c8eb8fd6db3b03ce9caf56152e8 100644 (file)
@@ -4,12 +4,19 @@ include ../../build/rules.make
 
 LIBRARY = System.Messaging.dll
 LIB_MCS_FLAGS = /resource:System.Messaging/MessageQueue.resx \
-               /r:System.dll \
+               /r:System.dll \
                /r:System.Configuration.Install.dll \
                /r:System.Drawing.dll \
-               /r:System.Windows.Forms.dll
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169
+               /r:System.Windows.Forms.dll \
+               /r:System.Xml \
+               /r:Mono.Messaging.dll
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 \
+               /r:nunit.mocks.dll
 
 EXTRA_DISTFILES = System.Messaging/MessageQueue.resx
 
+ifdef MESSAGING_NO_WINFORMS
+LIB_MCS_FLAGS += -d:NO_WINFORMS_DEPENDENCY
+endif
+
 include ../../build/library.make