[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / class / System.Transactions / Makefile
index 95696e807507d11fc0856bb5130a6cae5edd9cb3..07672c10b06da81802b6a3ac7188edce5129ee90 100644 (file)
@@ -2,25 +2,15 @@ thisdir = class/System.Transactions
 SUBDIRS = 
 include ../../build/rules.make
 
-MOBILE_PROFILE := $(filter monotouch monodroid, $(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
-endif
-
-TEST_MCS_FLAGS = /nowarn:1595 $(LIB_MCS_FLAGS)
-
-# This is a .NET 2.0+ only assembly
-VALID_PROFILE := $(filter net_2_0 net_4_0 monotouch monodroid, $(PROFILE))
-ifndef VALID_PROFILE
-LIBRARY_NAME = dummy-System.Transactions.dll
-NO_INSTALL = yes
-NO_SIGN_ASSEMBLY = yes
-NO_TEST = yes
+LIB_REFS = System System.Configuration
+LIB_MCS_FLAGS =
 endif
 
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 include ../../build/library.make