Merge pull request #498 from Unroll-Me/master
[mono.git] / mcs / class / Mono.Reactive.Testing / Makefile
1 thisdir = class/Mono.Reactive.Testing
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = Mono.Reactive.Testing.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                 -r:System.Reactive.PlatformServices.dll \
14                 -r:System.Reactive.Providers.dll \
15                 -r:System.Reactive.Runtime.Remoting.dll \
16                 -r:System.Reactive.Experimental.dll \
17                 -r:System.Reactive.Windows.Forms.dll \
18                 -r:System.Reactive.Windows.Threading.dll \
19                 -r:System.Windows.Forms.dll \
20                 -r:WindowsBase.dll \
21                 -r:nunit.framework.dll \
22                 -d:NUNIT -d:MONO -d:DESKTOPCLR
23                 # NO_PERF is required to disable ObservableMultipleTest.Catch_TailRecursive2 which blocked test execution.
24                 # disabled -d:HAS_WINFORMS
25
26 ifeq (2.1, $(FRAMEWORK_VERSION))
27 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
28 endif
29
30 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
31 ifdef NET_4_5
32 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC
33 endif
34
35 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618
36
37 EXTRA_DISTFILES = more_build_args
38
39 VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
40 ifndef VALID_PROFILE
41 LIBRARY_NAME = dummy-System.Mono.Reactive.Testing.dll
42 NO_INSTALL = yes
43 NO_TEST = yes
44 endif
45
46 NO_SIGN_ASSEMBLY = yes
47
48 include ../../build/library.make