rx: Add -d:HAS_AWAIT options to 4.5 and 2.1 builds.
[mono-project.git] / mcs / class / System.Reactive.Debugger / Makefile
blob8c6dee9af40207a26fe02edc69c121ed6d1292b0
1 thisdir = class/System.Reactive.Debugger
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Reactive.Debugger.dll
6 LIB_MCS_FLAGS = \
7 @more_build_args \
8 -r:System.dll \
9 -r:System.Core.dll \
10 -r:System.Reactive.Interfaces.dll \
11 -r:System.Reactive.Core.dll \
12 -r:System.Reactive.Linq.dll
14 ifeq (2.1, $(FRAMEWORK_VERSION))
15 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
16 endif
18 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
19 ifdef NET_4_5
20 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
21 endif
23 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
25 EXTRA_DISTFILES = more_build_args
27 VALID_PROFILE := $(filter monotouch monodroid net_4_0 net_4_5, $(PROFILE))
28 ifndef VALID_PROFILE
29 LIBRARY_NAME = dummy-System.System.Reactive.Debugger.dll
30 NO_SIGN_ASSEMBLY = yes
31 endif
33 INSTALL_PROFILE := $(filter net_4_5, $(PROFILE))
34 ifndef INSTALL_PROFILE
35 NO_INSTALL = yes
36 endif
38 NO_TEST = yes
40 include ../../build/library.make