Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / class / System.Reactive.PlatformServices / Makefile
index 46317bdfd8ccdc146d86708fd8040cf1f30ac5e2..0333c27f2e74bd531e34c5af1666da5275c76ed4 100644 (file)
@@ -3,13 +3,9 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Reactive.PlatformServices.dll
+LIB_REFS = System System.Core System.Reactive.Interfaces System.Reactive.Core System.Reactive.Linq
 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
+               @more_build_args
 
 ifeq (true, $(GENERATE_RESOURCES))
 LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
@@ -38,17 +34,12 @@ ifndef NO_TASK_DELAY
 LIB_MCS_FLAGS += -d:NO_TASK_DELAY
 endif
 
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:Mono.Reactive.Tests.dll
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
+TEST_LIB_REFS = Mono.Reactive.Tests
 
 EXTRA_DISTFILES = more_build_args $(RESX_RESOURCES:.resources=.resx) $(PREBUILT)
 
-VALID_PROFILE := $(filter monotouch monodroid xammac mobile mobile_static net_4_5, $(PROFILE))
-ifndef VALID_PROFILE
-LIBRARY_NAME = dummy-System.System.Reactive.PlatformServices.dll
-NO_SIGN_ASSEMBLY = yes
-endif
-
-INSTALL_PROFILE := $(filter net_4_5, $(PROFILE))
+INSTALL_PROFILE := $(filter net_4_x, $(PROFILE))
 ifndef INSTALL_PROFILE
 NO_INSTALL = yes
 endif