Merge pull request #845 from meyerrj/master
[mono.git] / mcs / class / System.ComponentModel.DataAnnotations / Makefile
index 189344438985a2dc1f87b4083fe69e1508c47144..713754ccdb374241ad47bb325e7d6979becd184d 100644 (file)
@@ -1,5 +1,5 @@
 thisdir = class/System.ComponentModel.DataAnnotations
-SUBDIRS = Test
+SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.ComponentModel.DataAnnotations.dll
@@ -17,8 +17,10 @@ endif
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
-ifneq (net_2_0, $(PROFILE))
-LIBRARY_NAME = dummy-System.Web.DynamicData.dll
+# This is a .NET 3.5+ assembly
+VALID_PROFILE := $(filter net_2_0 net_4_0 net_4_5 monotouch monodroid xammac mobile_static, $(PROFILE))
+ifndef VALID_PROFILE
+LIBRARY_NAME = dummy-System.ComponentModel.DataAnnotations.dll
 NO_INSTALL = yes
 NO_SIGN_ASSEMBLY = yes
 NO_TEST = yes