2008-09-23 Marek Safar <marek.safar@gmail.com>
[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 ifeq (2.0, $(FRAMEWORK_VERSION))
12 LIB_MCS_FLAGS += -r:Mono.Security.dll -nowarn:414
13 TEST_MCS_FLAGS += -nowarn:168,183,414
14 endif
15
16 EXTRA_DISTFILES = \
17         Test/System.Security.Cryptography.Xml/sample.pfx \
18         Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
19         Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
20         Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml
21
22 include ../../build/library.make
23
24 # run the PKITS tests only if the data was installed/activated, otherwise ignore them
25 ifeq (net_2_0, $(PROFILE))
26 pkits_files := $(wildcard ../System/Test/System.Security.Cryptography.X509Certificates/pkits/hint)
27 ifndef pkits_files
28 TEST_HARNESS_EXCLUDES = /exclude:NotWorking,ValueAdd,CAS,InetAccess,PKITS
29 TEST_HARNESS_EXCLUDES_ONDOTNET = /exclude:NotDotNet,CAS,PKITS
30 endif
31 endif