Merge pull request #2834 from xmcclure/inflated_method_header_leak_followup
[mono.git] / mcs / class / System.Reactive.Debugger / Makefile
index 7e1d9ad2dcff9a5bde0825c7ff0a1bbb65c9b628..f616cad1f09f94dc43db9d12cfc0865c3f2789a5 100644 (file)
@@ -3,32 +3,25 @@ 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
+LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
 endif
 
 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
 ifdef NET_4_5
-LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC
+LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
 endif
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = more_build_args
 
-VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
-ifndef VALID_PROFILE
-LIBRARY_NAME = dummy-System.System.Reactive.Debugger.dll
+INSTALL_PROFILE := $(filter net_4_x, $(PROFILE))
+ifndef INSTALL_PROFILE
 NO_INSTALL = yes
-NO_SIGN_ASSEMBLY = yes
 endif
 
 NO_TEST = yes