add ISafeSerializationData
[mcs.git] / class / System.Web.Mvc2 / Makefile
bloba49cdde358a54d6b13f100124784ff7b958d5751
1 thisdir = class/System.Web.Mvc2
2 SUBDIRS =
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
11 LIB_MCS_FLAGS = \
12 /warnaserror- \
13 /noconfig \
14 /keyfile:../winfx.pub \
15 /r:System.dll \
16 /r:System.Core.dll \
17 /r:System.Configuration.dll \
18 /r:System.Data.dll \
19 /r:System.Xml.dll \
20 /r:System.Web.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
31 endif
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))
37 ifndef VALID_PROFILE
38 LIBRARY_NAME = dummy-System.Web.Mvc.dll
39 NO_INSTALL = yes
40 NO_SIGN_ASSEMBLY = yes
41 NO_TEST = yes
42 else
43 RESOURCES = $(RESX_DIST:.resx=.resources)
44 endif
46 include ../../build/library.make
48 $(build_lib): $(RESOURCES)
50 $(RESOURCES): %.resources: %.resx
51 $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`