Merge pull request #2611 from akoeplinger/cleanup
[mono.git] / mcs / class / System.Interactive / Makefile
index 2d6248e7bad3a0629417f044354180f2e2cad51d..83def3c2ea594b55e99e703e640fbe41593f5a87 100644 (file)
@@ -3,10 +3,8 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Interactive.dll
-LIB_MCS_FLAGS = \
-               @more_build_args \
-               -r:System.dll \
-               -r:System.Core.dll
+LIB_REFS = System System.Core
+LIB_MCS_FLAGS = @more_build_args
 
 ifeq (2.1, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
@@ -21,13 +19,7 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = more_build_args
 
-VALID_PROFILE := $(filter monotouch monodroid net_4_0 net_4_5, $(PROFILE))
-ifndef VALID_PROFILE
-LIBRARY_NAME = dummy-System.System.Interactive.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