Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2016-06-14 23:57:09 +0300
committerGitHub <noreply@github.com>2016-06-14 23:57:09 +0300
commitaff1a51a389f09ca1865e54c16cfff4741435c8e (patch)
tree53e628ad93f7ce1e25957e45561c381cfe926113 /mcs/class/System.Web.Mvc3
parent6b3a592de0eb47d9d92ce3a012ac771319afb868 (diff)
WIP [library.make] Make resource usage declarative in the class libraries (#3159)
[library.make] Make resource usage declarative in the class libraries
Diffstat (limited to 'mcs/class/System.Web.Mvc3')
-rw-r--r--mcs/class/System.Web.Mvc3/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/mcs/class/System.Web.Mvc3/Makefile b/mcs/class/System.Web.Mvc3/Makefile
index 024e52e89ea..e5418545d96 100644
--- a/mcs/class/System.Web.Mvc3/Makefile
+++ b/mcs/class/System.Web.Mvc3/Makefile
@@ -5,6 +5,7 @@ include ../../build/rules.make
LIBRARY = System.Web.Mvc3.dll
LIBRARY_NAME = System.Web.Mvc.dll
+RESOURCE_DEFS = System.Web.Mvc.Resources.MvcResources,Mvc/Resources/MvcResources.resx
RESX_DIST = Mvc/Resources/MvcResources.resx
LIB_REFS = Microsoft.Web.Infrastructure System System.Core System.Configuration System.Data System.Xml System.Web System.Web.Abstractions System.Web.Routing System.Web.Extensions System.ComponentModel.DataAnnotations System.Data.Linq System.Runtime.Caching System.Web.Razor System.Web.WebPages.Razor System.Web.WebPages
@@ -12,14 +13,9 @@ LIB_MCS_FLAGS = \
/warn:1 \
/keyfile:../winfx.pub \
/d:MONO \
- /delaysign \
- $(foreach r, $(RESOURCES), /resource:$(r),System.Web.Mvc.Resources.$(notdir $(r)))
+ /delaysign
EXTRA_DISTFILES = $(RESX_DIST)
-RESOURCES = $(RESX_DIST:.resx=.resources)
-include ../../build/library.make
-$(build_lib): $(RESOURCES)
+include ../../build/library.make
-$(RESOURCES): %.resources: %.resx
- $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`