Merge pull request #1936 from esdrubal/DotNetRelativeOrAbsolute
[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                 -d:NUNIT -d:MONO -d:DESKTOPCLR
10                 # NO_PERF is required to disable ObservableMultipleTest.Catch_TailRecursive2 which blocked test execution.
11                 # disabled -d:HAS_WINFORMS
12
13 ifeq (2.1, $(FRAMEWORK_VERSION))
14 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
15 endif
16
17 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
18 ifdef NET_4_5
19 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC
20 endif
21
22 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618
23
24 EXTRA_DISTFILES = more_build_args
25
26 VALID_PROFILE := $(filter net_4_x, $(PROFILE))
27 ifndef VALID_PROFILE
28 LIBRARY_NAME = dummy-System.Mono.Reactive.Testing.dll
29 NO_TEST = yes
30 endif
31
32 NO_INSTALL = yes
33 NO_SIGN_ASSEMBLY = yes
34
35 include ../../build/library.make