1 thisdir = class/System.Web.Mvc2
3 include ../../build/rules.make
5 LIBRARY = System.Web.Mvc2.dll
6 LIBRARY_NAME = System.Web.Mvc.dll
7 LIBRARY_USE_INTERMEDIATE_FILE = yes
9 RESX_DIST = System.Web.Mvc/Resources/MvcResources.resx
14 /keyfile:../winfx.pub \
17 /r:System.Configuration.dll \
21 /r:System.Web.Abstractions.dll \
22 /r:System.Web.Routing.dll \
23 /r:System.Web.Extensions.dll \
24 /r:System.ComponentModel.DataAnnotations.dll \
25 /r:System.Data.Linq.dll \
26 $(foreach r, $(RESOURCES), /resource:$(r),System.Web.Mvc.Resources.$(notdir $(r)))
28 ifeq (2.0, $(FRAMEWORK_VERSION))
29 # This is a .NET 3.5 only assembly, but built during the 2.0 build
30 LIB_MCS_FLAGS += -d:NET_3_5 -d:MONO
33 EXTRA_DISTFILES = $(RESX_DIST)
35 # This is a .NET 3.5+ assembly - it must be built ONLY in the 2.0 profile
36 VALID_PROFILE := $(filter net_2_0, $(PROFILE))
38 LIBRARY_NAME = dummy-System.Web.Mvc.dll
40 NO_SIGN_ASSEMBLY = yes
43 RESOURCES = $(RESX_DIST:.resx=.resources)
46 include ../../build/library.make
48 $(build_lib): $(RESOURCES)
50 $(RESOURCES): %.resources: %.resx
51 $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`