Merge pull request #2379 from xmcclure/babysitter-contd
[mono.git] / mcs / class / System.Web.Mvc3 / Makefile
1 thisdir = class/System.Web.Mvc3
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Web.Mvc3.dll
6 LIBRARY_NAME = System.Web.Mvc.dll
7
8 RESX_DIST =  Mvc/Resources/MvcResources.resx
9
10 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
11 LIB_MCS_FLAGS = \
12                 /warn:1 \
13                 /keyfile:../winfx.pub \
14                 /d:MONO \
15                 /delaysign \
16                 $(foreach r, $(RESOURCES), /resource:$(r),System.Web.Mvc.Resources.$(notdir $(r)))
17
18 EXTRA_DISTFILES = $(RESX_DIST)
19 RESOURCES = $(RESX_DIST:.resx=.resources)
20 include ../../build/library.make
21
22 $(build_lib): $(RESOURCES)
23
24 $(RESOURCES): %.resources: %.resx
25         $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`