Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. thisdir = class/System.Security
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = System.Security.dll
  5. LIB_MCS_FLAGS = -nowarn:618 \
  6. -r:$(corlib) -r:System.dll -r:System.Xml.dll
  7. TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:169,219,1595
  8. ifeq (2.0, $(FRAMEWORK_VERSION))
  9. LIB_MCS_FLAGS += -r:Mono.Security.dll -nowarn:414
  10. TEST_MCS_FLAGS += -nowarn:168,183,414
  11. endif
  12. EXTRA_DISTFILES = \
  13. Test/System.Security.Cryptography.Xml/sample.pfx \
  14. Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
  15. Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
  16. Test/System.Security.Cryptography.Xml/EncryptedXmlSample3.xml
  17. include ../../build/library.make
  18. # run the PKITS tests only if the data was installed/activated, otherwise ignore them
  19. ifeq (net_2_0, $(PROFILE))
  20. pkits_files := $(wildcard ../System/Test/System.Security.Cryptography.X509Certificates/pkits/hint)
  21. ifndef pkits_files
  22. TEST_HARNESS_EXCLUDES = -exclude:NotWorking,ValueAdd,CAS,InetAccess,PKITS
  23. TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude:NotDotNet,CAS,PKITS
  24. endif
  25. endif