Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
[mono.git] / mcs / class / System.Transactions / Makefile
index eefde82a339ebfcf03866e7381701f7c99e58d31..a89f1d4c83fda4af45556e48f0ba1f1b86412a45 100644 (file)
@@ -2,20 +2,15 @@ thisdir = class/System.Transactions
 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