[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.Interactive.Async / Makefile
blob8fa6632c72a584dd7d63db07471fa7004b1d2b3a
1 thisdir = class/System.Interactive.Async
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Interactive.Async.dll
6 LIB_REFS = System System.Core
7 LIB_MCS_FLAGS = @more_build_args
9 ifeq (2.1, $(FRAMEWORK_VERSION))
10 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
11 endif
13 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
14 ifdef NET_4_5
15 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
16 endif
18 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
20 EXTRA_DISTFILES = more_build_args
22 VALID_PROFILE := $(filter monotouch monodroid mobile mobile_static xammac net_4_5, $(PROFILE))
23 ifndef VALID_PROFILE
24 LIBRARY_NAME = dummy-System.System.Interactive.Async.dll
25 NO_SIGN_ASSEMBLY = yes
26 endif
28 INSTALL_PROFILE := $(filter net_4_5, $(PROFILE))
29 ifndef INSTALL_PROFILE
30 NO_INSTALL = yes
31 endif
33 NO_TEST = yes
35 include ../../build/library.make