SUBDIRS =
include ../../build/rules.make
-System.Json.Properties.Resources.resources: System.Json/Properties/Resources.resx
+System.Json/Properties/Resources.resources: System.Json/Properties/Resources.resx
$(RESGEN) "$<" "$@"
LIBRARY = System.Json.Microsoft.dll
+LIB_REFS = System System.Xml System.Core System.Runtime.Serialization
LIB_MCS_FLAGS = /d:ASPNETMVC -keyfile:../winfx.pub -delaysign \
- /r:System.dll \
- /r:System.Xml.dll \
- /r:System.Core.dll \
- /r:System.Runtime.Serialization.dll \
- /resource:System.Json.Properties.Resources.resources
+ /resource:System.Json/Properties/Resources.resources,System.Json.Properties.Resources.resources
EXTRA_DISTFILES = System.Json/Properties/Resources.resx
ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
-LIB_MCS_FLAGS += /r:Microsoft.CSharp.dll -d:FEATURE_DYNAMIC
-endif
-
-ifeq (monodroid, $(PROFILE))
+LIB_REFS += Microsoft.CSharp
LIB_MCS_FLAGS += -d:FEATURE_DYNAMIC
endif
-ifeq (xammac, $(PROFILE))
+ifdef MOBILE_DYNAMIC
LIB_MCS_FLAGS += -d:FEATURE_DYNAMIC
endif
include ../../build/library.make
-$(the_lib): System.Json.Properties.Resources.resources
+$(the_lib): System.Json/Properties/Resources.resources