Merge pull request #5313 from lambdageek/corefx-sre-fixup
[mono.git] / mcs / class / System.Web.Mvc3 / Makefile
index 05e234d38a2747d23ca756bf05ea9e72f43f1c48..20b0edc232545317146e55d57abab7cc45df9b1b 100644 (file)
@@ -5,36 +5,17 @@ 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
+KEYFILE = ../winfx.pub
 LIB_MCS_FLAGS = \
                /warn:1 \
-               /keyfile:../winfx.pub \
                /d:MONO \
-               /delaysign \
-               /r:Microsoft.Web.Infrastructure.dll \
-               /r:System.dll \
-               /r:System.Core.dll \
-               /r:System.Configuration.dll \
-               /r:System.Data.dll \
-               /r:System.Xml.dll \
-               /r:System.Web.dll \
-               /r:System.Web.Abstractions.dll \
-               /r:System.Web.Routing.dll \
-               /r:System.Web.Extensions.dll \
-               /r:System.ComponentModel.DataAnnotations.dll \
-               /r:System.Data.Linq.dll \
-               /r:System.Runtime.Caching.dll \
-               /r:System.Web.Razor.dll \
-               /r:System.Web.WebPages.Razor.dll \
-               /r:System.Web.WebPages.dll \
-               $(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)`