Implement MachineKey.Protect and MachineKey.Unprotect
[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                 /nowarn:168,169,219,414 \
11                 /r:System.dll \
12                 /r:System.Xml.dll \
13                 /r:System.Core.dll \
14                 $(RESOURCE_FILES:%=/resource:%)
15
16 ifneq (2.1, $(FRAMEWORK_VERSION))
17 LIB_MCS_FLAGS += /d:NET_3_0 /r:System.Data.dll /r:System.Configuration.dll
18 endif
19
20 TEST_RESOURCE_FILES = \
21         Test/Resources/WSDL/collections.wsdl    \
22         Test/Resources/WSDL/custom-collections.wsdl
23
24 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /r:System.ServiceModel.dll /r:System.Web.Services.dll \
25         $(TEST_RESOURCE_FILES:%=/resource:%)
26
27 EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
28         Test/Resources/FrameworkTypes/* \
29         Test/Resources/Schemas/*.xsd \
30         Test/System.Runtime.Serialization/one.xml
31
32 VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
33 ifndef VALID_PROFILE
34 LIBRARY_NAME = dummy-System.Runtime.Serialization.dll
35 NO_INSTALL = yes
36 NO_SIGN_ASSEMBLY = yes
37 NO_TEST = yes
38 endif
39
40 include ../../build/library.make