[bcl] Specify the name of the key file on the command line instead of using the Assem...
[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 KEYFILE = ../msfinal.pub
13 LIB_MCS_FLAGS = \
14         -nowarn:414,618 \
15         -d:SECURITY_DEP,SYSTEM_SECURITY_DLL
16
17 LOCAL_MCS_FLAGS =
18
19 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414
20
21 EXTRA_DISTFILES = \
22         Test/System.Security.Cryptography.Xml/sample.pfx \
23         Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
24         Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
25         Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml \
26         Test/System.Security.Cryptography.Pkcs/detached.data \
27         Test/System.Security.Cryptography.Pkcs/detached.p7
28
29 RESX_RESOURCE_STRING = ../../../external/corefx/src/System.Security.Cryptography.Xml/src/Resources/Strings.resx
30
31 include ../../build/library.make
32
33 $(build_lib): $(secxml_libdir)/System.dll $(MONO_SECURITY_DLL)
34
35 $(secxml_libdir)/System.dll:
36         (cd ../System; $(MAKE) $@)
37
38 $(the_libdir_base)/Mono.Security.dll:
39         (cd ../Mono.Security; $(MAKE))
40
41 .NOTPARALLEL: $(secxml_libdir)/System.dll $(bare_libdir)/Mono.Security.dll