GenericParameter.cs: override Module properly
[mcs.git] / class / System.Web.Mvc / Makefile
blob8f8ce46a161b4b5b4fa7c79cd6f296e9f6b11674
1 thisdir = class/System.Web.Mvc
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Web.Mvc.dll
6 LIBRARY_USE_INTERMEDIATE_FILE = yes
7 LIBRARY_COMPAT = yes
9 RESX_DIST = System.Web.Mvc/Resources/MvcResources.resx
11 LIB_MCS_FLAGS = \
12 /r:System.dll \
13 /r:System.Core.dll \
14 /r:System.Configuration.dll \
15 /r:System.Data.dll \
16 /r:System.Xml.dll \
17 /r:System.Web.dll \
18 /r:System.Web.Abstractions.dll \
19 /r:System.Web.Routing.dll \
20 /r:System.Web.Extensions.dll \
21 $(foreach r, $(RESOURCES), /resource:$(r),System.Web.Mvc.Resources.$(notdir $(r)))
23 ifeq (2.0, $(FRAMEWORK_VERSION))
24 # This is a .NET 3.5 only assembly, but built during the 2.0 build
25 LIB_MCS_FLAGS += -d:NET_3_5 -d:MONO
26 endif
28 EXTRA_DISTFILES = $(RESX_DIST) license.htm
30 # This is a .NET 3.5+ assembly - it must be built ONLY in the 2.0 profile
31 VALID_PROFILE := $(filter net_2_0, $(PROFILE))
32 ifndef VALID_PROFILE
33 LIBRARY_NAME = dummy-System.Web.Mvc.dll
34 NO_INSTALL = yes
35 NO_SIGN_ASSEMBLY = yes
36 NO_TEST = yes
37 else
38 RESOURCES = $(RESX_DIST:.resx=.resources)
39 endif
41 include ../../build/library.make
43 $(build_lib): $(RESOURCES)
45 $(RESOURCES): %.resources: %.resx
46 $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`