New tests.
[mono.git] / mcs / class / System.ServiceModel / Makefile
1 thisdir = class/System.ServiceModel
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 RESOURCE_FILES = \
6         resources/WS-Addressing.schema  \
7         resources/ws-addr.xsd
8
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:%)
19
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
33
34 ifeq (moonlight_raw, $(PROFILE))
35 LIB_MCS_FLAGS += /r:System.Net
36 endif
37
38 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
39
40 TEST_EXTRA_FILES = \
41         System.ServiceModel_test_net_3_0.dll.config \
42         Test/config/* \
43         Test/Resources/* \
44         Test/System.ServiceModel.Description/dump.xml
45
46 EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES)
47
48 # Useful for debugging under Visual Studio 2005
49 # NO_SIGN_ASSEMBLY = yes
50
51 VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
52 ifndef VALID_PROFILE
53 LIBRARY_NAME = dummy-System.ServiceModel.dll
54 NO_INSTALL = yes
55 NO_SIGN_ASSEMBLY = yes
56 NO_TEST = yes
57 endif
58
59
60
61 include ../../build/library.make