1 thisdir = class/System.Security
3 include ../../build/rules.make
5 LIBRARY = System.Security.dll
6 LIB_MCS_FLAGS = -nowarn:618 \
8 -r:$(corlib) -r:System.dll -r:System.Xml.dll \
9 -r:Mono.Security.dll -nowarn:414
11 LOCAL_MCS_FLAGS = -lib:$(secxml_libdir) -lib:$(bare_libdir)
13 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414,1595
15 VALID_PROFILE := $(filter net_1_1 net_2_0 moonlight_raw net_4_0 net_4_5, $(PROFILE))
18 Test/System.Security.Cryptography.Xml/sample.pfx \
19 Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
20 Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
21 Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml \
22 Test/System.Security.Cryptography.Pkcs/detached.data \
23 Test/System.Security.Cryptography.Pkcs/detached.p7
25 include ../../build/library.make
27 $(build_lib): $(secxml_libdir)/System.dll $(the_libdir_base)/Mono.Security.dll
29 $(secxml_libdir)/System.dll:
30 (cd ../System; $(MAKE) $@)
32 $(the_libdir_base)/Mono.Security.dll:
33 (cd ../Mono.Security; $(MAKE))
35 .NOTPARALLEL: $(secxml_libdir)/System.dll $(bare_libdir)/Mono.Security.dll
37 # run the PKITS tests only if the data was installed/activated, otherwise ignore them
38 ifeq (net_2_0, $(PROFILE))
39 pkits_files := $(wildcard ../System/Test/System.Security.Cryptography.X509Certificates/pkits/hint)
41 TEST_HARNESS_EXCLUDES = -exclude:NotWorking,ValueAdd,CAS,InetAccess,PKITS
42 TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude:NotDotNet,CAS,PKITS