[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.Security / Makefile
blobfc6482cd06ff3772f128e7f3769cba2caa912cb8
1 thisdir = class/System.Security
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.Security.dll
6 LIB_REFS = System System.Xml Mono.Security
7 LIB_MCS_FLAGS = -nowarn:618 \
8 -d:SECURITY_DEP \
9 -r:$(corlib) \
10 -nowarn:414
12 LOCAL_MCS_FLAGS = -lib:$(secxml_libdir) -lib:$(bare_libdir)
14 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414,1595
16 VALID_PROFILE := $(filter moonlight_raw net_4_5, $(PROFILE))
18 EXTRA_DISTFILES = \
19 Test/System.Security.Cryptography.Xml/sample.pfx \
20 Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
21 Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
22 Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml \
23 Test/System.Security.Cryptography.Pkcs/detached.data \
24 Test/System.Security.Cryptography.Pkcs/detached.p7
26 include ../../build/library.make
28 $(build_lib): $(secxml_libdir)/System.dll $(the_libdir_base)/Mono.Security.dll
30 $(secxml_libdir)/System.dll:
31 (cd ../System; $(MAKE) $@)
33 $(the_libdir_base)/Mono.Security.dll:
34 (cd ../Mono.Security; $(MAKE))
36 .NOTPARALLEL: $(secxml_libdir)/System.dll $(bare_libdir)/Mono.Security.dll