Merge pull request #1514 from directhex/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_REFS = System System.Core System.Reactive.Interfaces System.Reactive.Core System.Reactive.Linq System.Reactive.PlatformServices System.Reactive.Providers System.Reactive.Runtime.Remoting System.Reactive.Experimental System.Reactive.Windows.Forms System.Reactive.Windows.Threading System.Reactive.Observable.Aliases System.Windows.Forms WindowsBase nunit.framework
7 LIB_MCS_FLAGS = \
8                 @more_build_args \
9                 -r:System.dll \
10                 -r:System.Core.dll \
11                 -r:System.Reactive.Interfaces.dll \
12                 -r:System.Reactive.Core.dll \
13                 -r:System.Reactive.Linq.dll \
14                 -r:System.Reactive.PlatformServices.dll \
15                 -r:System.Reactive.Providers.dll \
16                 -r:System.Reactive.Runtime.Remoting.dll \
17                 -r:System.Reactive.Experimental.dll \
18                 -r:System.Reactive.Windows.Forms.dll \
19                 -r:System.Reactive.Windows.Threading.dll \
20                 -r:System.Reactive.Observable.Aliases.dll \
21                 -r:System.Windows.Forms.dll \
22                 -r:WindowsBase.dll \
23                 -r:nunit.framework.dll \
24                 -d:NUNIT -d:MONO -d:DESKTOPCLR
25                 # NO_PERF is required to disable ObservableMultipleTest.Catch_TailRecursive2 which blocked test execution.
26                 # disabled -d:HAS_WINFORMS
27
28 ifeq (2.1, $(FRAMEWORK_VERSION))
29 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
30 endif
31
32 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
33 ifdef NET_4_5
34 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC
35 endif
36
37 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618
38
39 EXTRA_DISTFILES = more_build_args
40
41 VALID_PROFILE := $(filter net_4_5, $(PROFILE))
42 ifndef VALID_PROFILE
43 LIBRARY_NAME = dummy-System.Mono.Reactive.Testing.dll
44 NO_TEST = yes
45 endif
46
47 NO_INSTALL = yes
48 NO_SIGN_ASSEMBLY = yes
49
50 include ../../build/library.make