Merge pull request #524 from pruiz/mvc-allowhtml-fix
[mono.git] / mcs / class / System.Messaging / Makefile
index 14f8d5737d268a8c225d4f08db3b9644ca684305..681b8835095a4c8eb8fd6db3b03ce9caf56152e8 100644 (file)
@@ -3,9 +3,20 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Messaging.dll
-LIB_MCS_FLAGS = /resource:System.Messaging/MessageQueue.resx /r:System.dll /r:System.Configuration.Install.dll
-NO_TEST = yes
+LIB_MCS_FLAGS = /resource:System.Messaging/MessageQueue.resx \
+               /r:System.dll \
+               /r:System.Configuration.Install.dll \
+               /r:System.Drawing.dll \
+               /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