MemoryMappedFile support on Windows
[mono.git] / mcs / class / Mono.Reactive.Testing / Makefile
index c02117a6ddfff63514ab1995939e04f71b4f23fb..ae7afa670cb5380ad33e9656aace557e13adde50 100644 (file)
@@ -3,22 +3,9 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = Mono.Reactive.Testing.dll
+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
 LIB_MCS_FLAGS = \
                @more_build_args \
-               -r:System.dll \
-               -r:System.Core.dll \
-               -r:System.Reactive.Interfaces.dll \
-               -r:System.Reactive.Core.dll \
-               -r:System.Reactive.Linq.dll \
-               -r:System.Reactive.PlatformServices.dll \
-               -r:System.Reactive.Providers.dll \
-               -r:System.Reactive.Runtime.Remoting.dll \
-               -r:System.Reactive.Experimental.dll \
-               -r:System.Reactive.Windows.Forms.dll \
-               -r:System.Reactive.Windows.Threading.dll \
-               -r:System.Windows.Forms.dll \
-               -r:WindowsBase.dll \
-               -r:nunit.framework.dll \
                -d:NUNIT -d:MONO -d:DESKTOPCLR
                # NO_PERF is required to disable ObservableMultipleTest.Catch_TailRecursive2 which blocked test execution.
                # disabled -d:HAS_WINFORMS
@@ -36,13 +23,13 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618
 
 EXTRA_DISTFILES = more_build_args
 
-VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
+VALID_PROFILE := $(filter net_4_x, $(PROFILE))
 ifndef VALID_PROFILE
 LIBRARY_NAME = dummy-System.Mono.Reactive.Testing.dll
-NO_INSTALL = yes
 NO_TEST = yes
 endif
 
+NO_INSTALL = yes
 NO_SIGN_ASSEMBLY = yes
 
 include ../../build/library.make