ya.make 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Generated by devtools/yamaker.
  2. LIBRARY()
  3. LICENSE(BSL-1.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. PEERDIR(
  6. contrib/libs/openssl
  7. contrib/libs/poco/Foundation
  8. )
  9. ADDINCL(
  10. GLOBAL contrib/libs/poco/Crypto/include
  11. contrib/libs/poco/Crypto/src
  12. contrib/libs/poco/Foundation/include
  13. )
  14. NO_COMPILER_WARNINGS()
  15. NO_UTIL()
  16. CFLAGS(
  17. -DPOCO_ENABLE_CPP11
  18. -DPOCO_ENABLE_CPP14
  19. -DPOCO_NO_AUTOMATIC_LIBS
  20. -DPOCO_UNBUNDLED
  21. )
  22. IF (OS_DARWIN)
  23. CFLAGS(
  24. -DPOCO_OS_FAMILY_UNIX
  25. -DPOCO_NO_STAT64
  26. )
  27. ELSEIF (OS_LINUX)
  28. CFLAGS(
  29. -DPOCO_OS_FAMILY_UNIX
  30. -DPOCO_HAVE_FD_EPOLL
  31. )
  32. ELSEIF (OS_WINDOWS)
  33. CFLAGS(
  34. -DPOCO_OS_FAMILY_WINDOWS
  35. )
  36. ENDIF()
  37. SRCS(
  38. src/Cipher.cpp
  39. src/CipherFactory.cpp
  40. src/CipherImpl.cpp
  41. src/CipherKey.cpp
  42. src/CipherKeyImpl.cpp
  43. src/CryptoException.cpp
  44. src/CryptoStream.cpp
  45. src/CryptoTransform.cpp
  46. src/DigestEngine.cpp
  47. src/ECDSADigestEngine.cpp
  48. src/ECKey.cpp
  49. src/ECKeyImpl.cpp
  50. src/EVPPKey.cpp
  51. src/KeyPair.cpp
  52. src/KeyPairImpl.cpp
  53. src/OpenSSLInitializer.cpp
  54. src/PKCS12Container.cpp
  55. src/RSACipherImpl.cpp
  56. src/RSADigestEngine.cpp
  57. src/RSAKey.cpp
  58. src/RSAKeyImpl.cpp
  59. src/X509Certificate.cpp
  60. )
  61. END()