mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
If you pass the option MESSAGING_NO_WINFORMS=1 to make, System.Messaging will be compiled without the dependency to System.Windows.Forms. The dependency is needed just by the System.Messaging.Design.QueuePathDialog class which is both a stub and not used anywhere by Mono.
23 lines
588 B
Makefile
23 lines
588 B
Makefile
thisdir = class/System.Messaging
|
|
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 \
|
|
/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
|