Merge pull request #2834 from xmcclure/inflated_method_header_leak_followup
[mono.git] / mcs / class / System.Reactive.Debugger / Makefile
index c603f89a68a1e6a9b4d22b32d54e0f59ab4184c7..f616cad1f09f94dc43db9d12cfc0865c3f2789a5 100644 (file)
@@ -3,13 +3,8 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Reactive.Debugger.dll
-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
+LIB_REFS = System System.Core System.Reactive.Interfaces System.Reactive.Core System.Reactive.Linq
+LIB_MCS_FLAGS = @more_build_args
 
 ifeq (2.1, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
@@ -24,13 +19,7 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = more_build_args
 
-VALID_PROFILE := $(filter monotouch monodroid xammac net_4_0 net_4_5, $(PROFILE))
-ifndef VALID_PROFILE
-LIBRARY_NAME = dummy-System.System.Reactive.Debugger.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