Merge pull request #249 from pcc/xgetinputfocus
[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 LIBRARY_USE_INTERMEDIATE_FILE = yes
8
9 RESX_DIST =  Mvc/Resources/MvcResources.resx
10
11 LIB_MCS_FLAGS = \
12                 /warn:1 \
13                 /noconfig \
14                 /keyfile:../winfx.pub \
15                 /d:MONO \
16                 /delaysign \
17                 /r:Microsoft.Web.Infrastructure.dll \
18                 /r:System.dll \
19                 /r:System.Core.dll \
20                 /r:System.Configuration.dll \
21                 /r:System.Data.dll \
22                 /r:System.Xml.dll \
23                 /r:System.Web.dll \
24                 /r:System.Web.Abstractions.dll \
25                 /r:System.Web.Routing.dll \
26                 /r:System.Web.Extensions.dll \
27                 /r:System.ComponentModel.DataAnnotations.dll \
28                 /r:System.Data.Linq.dll \
29                 /r:System.Runtime.Caching.dll \
30                 /r:System.Web.Razor.dll \
31                 /r:System.Web.WebPages.Razor.dll \
32                 /r:System.Web.WebPages.dll \
33                 $(foreach r, $(RESOURCES), /resource:$(r),System.Web.Mvc.Resources.$(notdir $(r)))
34
35 EXTRA_DISTFILES = $(RESX_DIST)
36 RESOURCES = $(RESX_DIST:.resx=.resources)
37 include ../../build/library.make
38
39 $(build_lib): $(RESOURCES)
40
41 $(RESOURCES): %.resources: %.resx
42         $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`