Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[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.Reactive.Observable.Aliases.dll \
20                 -r:System.Windows.Forms.dll \
21                 -r:WindowsBase.dll \
22                 -r:nunit.framework.dll \
23                 -d:NUNIT -d:MONO -d:DESKTOPCLR
24                 # NO_PERF is required to disable ObservableMultipleTest.Catch_TailRecursive2 which blocked test execution.
25                 # disabled -d:HAS_WINFORMS
26
27 ifeq (2.1, $(FRAMEWORK_VERSION))
28 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
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
34 endif
35
36 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618
37
38 EXTRA_DISTFILES = more_build_args
39
40 VALID_PROFILE := $(filter net_4_0 net_4_5, $(PROFILE))
41 ifndef VALID_PROFILE
42 LIBRARY_NAME = dummy-System.Mono.Reactive.Testing.dll
43 NO_TEST = yes
44 endif
45
46 NO_INSTALL = yes
47 NO_SIGN_ASSEMBLY = yes
48
49 include ../../build/library.make