2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / System.ServiceModel / Makefile
blob3e4763cf5805f8104984aad44574fb1d6a473f6a
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 /d:USE_DATA_CONTRACT_IMPORTER \
12 /nowarn:414,169,67,3005,436,219,618 \
13 /unsafe \
14 /r:System.dll \
15 /r:System.Xml.dll \
16 /r:System.Core.dll \
17 /r:System.Runtime.Serialization.dll \
18 $(RESOURCE_FILES:%=/resource:%)
20 ifneq (2.1, $(FRAMEWORK_VERSION))
21 LIB_MCS_FLAGS += /d:NET_3_0 \
22 /r:System.Configuration.dll \
23 /r:System.Data.dll \
24 /r:System.Security.dll \
25 /r:System.IdentityModel.dll \
26 /r:System.IdentityModel.Selectors.dll \
27 /r:System.Transactions.dll \
28 /r:System.Messaging.dll \
29 /r:System.Web.dll \
30 /r:System.Web.Services.dll \
31 /r:Mono.Security.dll
32 endif
34 ifeq (moonlight_raw, $(PROFILE))
35 LIB_MCS_FLAGS += /r:System.Net
36 endif
38 ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
39 LIB_MCS_FLAGS += /r:System.Web.ApplicationServices.dll
40 endif
42 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
44 TEST_EXTRA_FILES = \
45 System.ServiceModel_test_net_3_0.dll.config \
46 Test/config/* \
47 Test/Resources/* \
48 Test/System.ServiceModel.Description/dump.xml
50 EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
52 # Useful for debugging under Visual Studio 2005
53 # NO_SIGN_ASSEMBLY = yes
55 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
56 ifndef VALID_PROFILE
57 LIBRARY_NAME = dummy-System.ServiceModel.dll
58 NO_INSTALL = yes
59 NO_SIGN_ASSEMBLY = yes
60 NO_TEST = yes
61 endif
65 include ../../build/library.make