Add [Category ("NotWorking")] to failing test.
[mono.git] / mcs / class / System.Reactive.PlatformServices / Makefile
1 thisdir = class/System.Reactive.PlatformServices
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Reactive.PlatformServices.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
13
14 ifeq (true, $(GENERATE_RESOURCES))
15 LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
16 endif
17
18 RESX_RESOURCES = \
19         Strings_PlatformServices.resources
20
21 CLEAN_FILES += $(RESX_RESOURCES)
22
23 RESOURCES = $(RESX_RESOURCES)
24
25 PREBUILT = $(RESX_RESOURCES:=.prebuilt)
26
27 ifeq (2.1, $(FRAMEWORK_VERSION))
28 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
29 endif
30
31 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
32 ifdef NET_4_5
33 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
34 endif
35
36 NO_TASK_DELAY := $(filter 4.5 2.1, $(FRAMEWORK_VERSION))
37 ifndef NO_TASK_DELAY
38 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
39 endif
40
41 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:Mono.Reactive.Tests.dll
42
43 EXTRA_DISTFILES = more_build_args $(RESX_RESOURCES:.resources=.resx) $(PREBUILT)
44
45 VALID_PROFILE := $(filter monotouch monodroid net_4_0 net_4_5, $(PROFILE))
46 ifndef VALID_PROFILE
47 LIBRARY_NAME = dummy-System.System.Reactive.PlatformServices.dll
48 NO_SIGN_ASSEMBLY = yes
49 endif
50
51 INSTALL_PROFILE := $(filter net_4_5, $(PROFILE))
52 ifndef INSTALL_PROFILE
53 NO_INSTALL = yes
54 endif
55
56 NO_TEST = yes
57
58 include ../../build/library.make
59
60 $(the_lib): $(RESOURCES)
61
62 $(RESX_RESOURCES): %.resources: %.resx
63         $(RESGEN) $< || cp $@.prebuilt $@
64
65 $(PREBUILT): %.prebuilt: %
66         cp $* $@
67
68 dist-default: $(PREBUILT)
69