Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
  9. LIB_MCS_FLAGS += -r:Mono.Security.dll -nowarn:414
  10. TEST_MCS_FLAGS += -nowarn:168,183,414
  11. endif
  12. VALID_PROFILE := $(filter net_1_1 net_2_0 net_2_1_raw net_4_0, $(PROFILE))
  13. ifndef VALID_PROFILE
  14. # @echo "** Warning: System.Security.dll built without parts that depend on: Mono.Security.dll "
  15. else
  16. LIB_MCS_FLAGS += -d:SECURITY_DEP
  17. endif
  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. include ../../build/library.make
  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