Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / class / System.Transactions / Makefile
index e65451c85ed94ea59f8008399abcc88c26a9e127..07672c10b06da81802b6a3ac7188edce5129ee90 100644 (file)
@@ -2,15 +2,15 @@ thisdir = class/System.Transactions
 SUBDIRS = 
 include ../../build/rules.make
 
-MOBILE_PROFILE := $(filter monotouch monodroid mobile, $(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