SUBDIRS =
include ../../build/rules.make
+MOBILE_PROFILE := $(filter monotouch monodroid mobile, $(PROFILE))
+
LIBRARY = System.Transactions.dll
-LIB_MCS_FLAGS = /nowarn:169 /nowarn:618 \
- /r:$(corlib) /r:System.dll /debug+
+ifdef MOBILE_PROFILE
+LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /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_bootstrap net_2_0, $(PROFILE))
+# This is a .NET 2.0+ only assembly
+VALID_PROFILE := $(filter net_2_0 net_4_0 net_4_5 monotouch monodroid mobile, $(PROFILE))
ifndef VALID_PROFILE
LIBRARY_NAME = dummy-System.Transactions.dll
NO_INSTALL = yes