Merge pull request #1582 from zevane/patch-1
[mono.git] / mcs / class / System.Runtime.Serialization / Makefile
1 thisdir = class/System.Runtime.Serialization
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 RESOURCE_FILES = \
6         resources/mstypes.schema
7
8 LIBRARY = System.Runtime.Serialization.dll
9 LIB_MCS_FLAGS = \
10                 -unsafe \
11                 /nowarn:168,169,219,414 \
12                 /r:System.dll \
13                 /r:System.Xml.dll \
14                 /r:System.Core.dll \
15                 $(RESOURCE_FILES:%=/resource:%)
16
17 RESOURCE_STRINGS = ../../../external/referencesource/System.Runtime.Serialization/System.Runtime.Serialization.txt
18
19 ifneq (2.1, $(FRAMEWORK_VERSION))
20 LIB_MCS_FLAGS += /d:NET_3_0 /r:System.Data.dll /r:System.Configuration.dll
21 endif
22
23 TEST_RESOURCE_FILES = \
24         Test/Resources/WSDL/collections.wsdl    \
25         Test/Resources/WSDL/custom-collections.wsdl
26
27 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /r:System.ServiceModel.dll /r:System.Web.Services.dll \
28         $(TEST_RESOURCE_FILES:%=/resource:%)
29
30 EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
31         Test/Resources/FrameworkTypes/* \
32         Test/Resources/Schemas/*.xsd \
33         Test/System.Runtime.Serialization/one.xml
34
35 include ../../build/library.make