[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.Reactive.Interfaces / Makefile
blob5962757a17f4468184567e362352a683231befb6
1 thisdir = class/System.Reactive.Interfaces
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Reactive.Interfaces.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 xammac mobile mobile_static net_4_5, $(PROFILE))
23 ifndef VALID_PROFILE
24 LIBRARY_NAME = dummy-System.System.Reactive.Interfaces.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