[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / class / System.Transactions / Makefile
index 11d78be67c40d35e59541b8cb03254bd18170913..07672c10b06da81802b6a3ac7188edce5129ee90 100644 (file)
@@ -2,15 +2,15 @@ thisdir = class/System.Transactions
 SUBDIRS = 
 include ../../build/rules.make
 
-MOBILE_PROFILE := $(filter monotouch monodroid xammac mobile mobile_static, $(PROFILE))
-
 LIBRARY = System.Transactions.dll
 ifdef MOBILE_PROFILE
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /define:MOBILE
+LIB_REFS = System
+LIB_MCS_FLAGS = /define:MOBILE
 else
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Configuration.dll
+LIB_REFS = System System.Configuration
+LIB_MCS_FLAGS =
 endif
 
-TEST_MCS_FLAGS = /nowarn:1595 $(LIB_MCS_FLAGS)
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 include ../../build/library.make