[System*] Throw a PlatformNotSupported exception when using the managed networking...
[mono.git] / mcs / class / System.Security / Makefile
1 thisdir = class/System.Security
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 ifndef NO_MONO_SECURITY
6 MONO_SECURITY_DLL=$(the_libdir_base)/Mono.Security.dll
7 MONO_SECURITY=Mono.Security
8 endif
9
10 LIBRARY = System.Security.dll
11 LIB_REFS = secxml/System bare/System.Xml $(MONO_SECURITY)
12 LIB_MCS_FLAGS = -nowarn:618 \
13         -d:SECURITY_DEP \
14         -nowarn:414
15
16 LOCAL_MCS_FLAGS =
17
18 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414
19
20 EXTRA_DISTFILES = \
21         Test/System.Security.Cryptography.Xml/sample.pfx \
22         Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
23         Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
24         Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml \
25         Test/System.Security.Cryptography.Pkcs/detached.data \
26         Test/System.Security.Cryptography.Pkcs/detached.p7
27
28 include ../../build/library.make
29
30 $(build_lib): $(secxml_libdir)/System.dll $(MONO_SECURITY_DLL)
31
32 $(secxml_libdir)/System.dll:
33         (cd ../System; $(MAKE) $@)
34
35 $(the_libdir_base)/Mono.Security.dll:
36         (cd ../Mono.Security; $(MAKE))
37
38 .NOTPARALLEL: $(secxml_libdir)/System.dll $(bare_libdir)/Mono.Security.dll