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