1 thisdir = class/System.Reactive.PlatformServices
3 include ../../build/rules.make
5 LIBRARY = System.Reactive.PlatformServices.dll
10 -r:System.Reactive.Interfaces.dll \
11 -r:System.Reactive.Core.dll \
12 -r:System.Reactive.Linq.dll
14 ifeq (true, $(GENERATE_RESOURCES))
15 LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
19 Strings_PlatformServices.resources
21 CLEAN_FILES += $(RESX_RESOURCES)
23 RESOURCES = $(RESX_RESOURCES)
25 PREBUILT = $(RESX_RESOURCES:=.prebuilt)
27 ifeq (2.1, $(FRAMEWORK_VERSION))
28 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
31 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
33 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
36 NO_TASK_DELAY := $(filter 4.5 2.1, $(FRAMEWORK_VERSION))
38 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
41 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:Mono.Reactive.Tests.dll
43 EXTRA_DISTFILES = more_build_args $(RESX_RESOURCES:.resources=.resx) $(PREBUILT)
45 VALID_PROFILE := $(filter monotouch monodroid xammac net_4_0 net_4_5, $(PROFILE))
47 LIBRARY_NAME = dummy-System.System.Reactive.PlatformServices.dll
48 NO_SIGN_ASSEMBLY = yes
51 INSTALL_PROFILE := $(filter net_4_5, $(PROFILE))
52 ifndef INSTALL_PROFILE
58 include ../../build/library.make
60 $(the_lib): $(RESOURCES)
62 $(RESX_RESOURCES): %.resources: %.resx
63 $(RESGEN) $< || cp $@.prebuilt $@
65 $(PREBUILT): %.prebuilt: %
68 dist-default: $(PREBUILT)