[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / class / System.Reactive.Windows.Forms / Makefile
index bc427b92a19e358efaa0acc2e53a41d36f646e31..ef3327d3e3e3dd39af41698bb97d9b7ef7d9d372 100644 (file)
@@ -3,14 +3,9 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Reactive.Windows.Forms.dll
+LIB_REFS = System System.Core System.Reactive.Interfaces System.Reactive.Core System.Reactive.Linq System.Windows.Forms
 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.Windows.Forms.dll
+               @more_build_args
 
 ifeq (2.1, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
@@ -25,13 +20,7 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = more_build_args
 
-VALID_PROFILE := $(filter net_4_0 net_4_5, $(PROFILE))
-ifndef VALID_PROFILE
-LIBRARY_NAME = dummy-System.System.Reactive.Windows.Forms.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