New test.
[mono.git] / mcs / class / System.Security / Makefile
1 thisdir = class/System.Security
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Security.dll
6 LIB_MCS_FLAGS = -nowarn:618 \
7         -r:$(corlib) -r:System.dll -r:System.Xml.dll
8
9 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:169,219,1595
10
11 ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
12 LIB_MCS_FLAGS += -r:Mono.Security.dll -nowarn:414
13 TEST_MCS_FLAGS += -nowarn:168,183,414
14 endif
15
16 VALID_PROFILE := $(filter net_1_1 net_2_0 moonlight_raw net_4_0, $(PROFILE))
17 ifndef VALID_PROFILE
18 # @echo "** Warning: System.Security.dll built without parts that depend on: Mono.Security.dll "
19 else
20  LIB_MCS_FLAGS += -d:SECURITY_DEP
21 endif
22
23 EXTRA_DISTFILES = \
24         Test/System.Security.Cryptography.Xml/sample.pfx \
25         Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
26         Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
27         Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml
28
29 include ../../build/library.make
30
31 # run the PKITS tests only if the data was installed/activated, otherwise ignore them
32 ifeq (net_2_0, $(PROFILE))
33 pkits_files := $(wildcard ../System/Test/System.Security.Cryptography.X509Certificates/pkits/hint)
34 ifndef pkits_files
35 TEST_HARNESS_EXCLUDES = -exclude:NotWorking,ValueAdd,CAS,InetAccess,PKITS
36 TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude:NotDotNet,CAS,PKITS
37 endif
38 endif