Merge pull request #524 from pruiz/mvc-allowhtml-fix
[mono.git] / mcs / class / System.Messaging / Makefile
index 9b6980cf8937e7f44bf0dd9e4f1885f0dbe292a8..681b8835095a4c8eb8fd6db3b03ce9caf56152e8 100644 (file)
@@ -4,11 +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
+               /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