2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.ServiceModel / Makefile
blobd16d22d9e5b2e41d8e6dcc4507e78e91a43c7033
1 thisdir = class/System.ServiceModel
2 SUBDIRS =
3 include ../../build/rules.make
5 RESOURCE_FILES = \
6 resources/WS-Addressing.schema \
7 resources/ws-addr.xsd
9 LIBRARY = System.ServiceModel.dll
10 LIB_MCS_FLAGS = \
11 /nowarn:414,169,67,3005,436,219,618 \
12 /unsafe \
13 /r:System.dll \
14 /r:System.Xml.dll \
15 /r:System.Core.dll \
16 /r:System.Runtime.Serialization.dll \
17 $(RESOURCE_FILES:%=/resource:%)
19 ifneq (2.1, $(FRAMEWORK_VERSION))
20 LIB_MCS_FLAGS += /d:NET_3_0 \
21 /r:System.Configuration.dll \
22 /r:System.Data.dll \
23 /r:System.Security.dll \
24 /r:System.IdentityModel.dll \
25 /r:System.IdentityModel.Selectors.dll \
26 /r:System.Transactions.dll \
27 /r:System.Messaging.dll \
28 /r:System.Web.dll \
29 /r:System.Web.Services.dll \
30 /r:Mono.Security.dll
31 endif
33 ifeq (2.1, $(FRAMEWORK_VERSION))
34 LIB_MCS_FLAGS += /r:System.Net
35 endif
37 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
39 TEST_EXTRA_FILES = \
40 System.ServiceModel_test_net_3_0.dll.config \
41 Test/config/* \
42 Test/Resources/* \
43 Test/System.ServiceModel.Description/dump.xml
45 EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
47 # Useful for debugging under Visual Studio 2005
48 # NO_SIGN_ASSEMBLY = yes
50 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
51 ifndef VALID_PROFILE
52 LIBRARY_NAME = dummy-System.ServiceModel.dll
53 NO_INSTALL = yes
54 NO_SIGN_ASSEMBLY = yes
55 NO_TEST = yes
56 endif
60 include ../../build/library.make