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