[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.ServiceModel.Web.Extensions / Makefile
blob489cdd451f4b40bef0815d8316ae0c19702ef0c6
1 thisdir = class/System.ServiceModel.Web.Extensions
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.ServiceModel.Web.Extensions.dll
6 LIB_REFS = System System.Xml System.Runtime.Serialization System.ServiceModel System.Core System.ServiceModel.Web
7 LIB_MCS_FLAGS =
9 ifeq (2.1, $(FRAMEWORK_VERSION))
10 LIB_REFS += System.Xml.Serialization System.Net
11 endif
13 ifneq (2.1, $(FRAMEWORK_VERSION))
14 LIB_REFS += System.Configuration
15 endif
17 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
19 EXTRA_DISTFILES = $(RESOURCE_FILES)
21 VALID_PROFILE := $(filter 2.1, $(FRAMEWORK_VERSION))
22 ifndef VALID_PROFILE
23 LIBRARY_NAME = dummy-System.ServiceModel.Web.Extensions.dll
24 NO_INSTALL = yes
25 NO_SIGN_ASSEMBLY = yes
26 endif
28 include ../../build/library.make