[build] Fresh new csproj files based on the updated build system.
[mono.git] / mcs / class / System.Json / Makefile
index ea9811a433b6d816477092aa3b99c58abde3763c..8ef352d0aff71179429d9f44ac3719c974a61537 100644 (file)
@@ -2,31 +2,23 @@ thisdir = class/System.Json
 SUBDIRS = 
 include ../../build/rules.make
 
-System.Json.Properties.Resources.resources: System.Json/Properties/Resources.resx
-       $(RESGEN) "$<" "$@"
-
 LIBRARY = System.Json.dll
-LIB_MCS_FLAGS = /d:ASPNETMVC -keyfile:../winfx.pub -delaysign \
+LIB_MCS_FLAGS = \
                /r:System.dll \
                /r:System.Xml.dll \
-               /r:System.Core.dll \
-               /r:System.Runtime.Serialization.dll \
-               /r:System.ServiceModel.Web.dll \
-               /resource:System.Json.Properties.Resources.resources
-               
+               /r:System.Core.dll
 
-EXTRA_DISTFILES = System.Json/Properties/Resources.resx
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
-ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
-LIB_MCS_FLAGS += /r:Microsoft.CSharp.dll -d:FEATURE_DYNAMIC
-endif
+EXTRA_DISTFILES =
 
-ifeq (monodroid, $(PROFILE))
-LIB_MCS_FLAGS += -d:FEATURE_DYNAMIC
-endif
+VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
 
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
+ifndef VALID_PROFILE
+LIBRARY_NAME = dummy-System.Json.dll
+NO_INSTALL = yes
+NO_SIGN_ASSEMBLY = yes
+NO_TEST = yes
+endif
 
 include ../../build/library.make
-
-$(the_lib): System.Json.Properties.Resources.resources