ya.make 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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/Crypto
  8. contrib/libs/poco/Foundation
  9. contrib/libs/poco/JSON
  10. contrib/libs/poco/Net
  11. contrib/libs/poco/Util
  12. contrib/libs/poco/XML
  13. )
  14. ADDINCL(
  15. GLOBAL contrib/libs/poco/NetSSL_OpenSSL/include
  16. contrib/libs/poco/Crypto/include
  17. contrib/libs/poco/Foundation/include
  18. contrib/libs/poco/Net/include
  19. contrib/libs/poco/NetSSL_OpenSSL/src
  20. contrib/libs/poco/Util/include
  21. )
  22. NO_COMPILER_WARNINGS()
  23. NO_UTIL()
  24. CFLAGS(
  25. -DPOCO_ENABLE_CPP11
  26. -DPOCO_ENABLE_CPP14
  27. -DPOCO_NO_AUTOMATIC_LIBS
  28. -DPOCO_UNBUNDLED
  29. )
  30. IF (OS_DARWIN)
  31. CFLAGS(
  32. -DPOCO_OS_FAMILY_UNIX
  33. -DPOCO_NO_STAT64
  34. )
  35. ELSEIF (OS_LINUX)
  36. CFLAGS(
  37. -DPOCO_OS_FAMILY_UNIX
  38. -DPOCO_HAVE_FD_EPOLL
  39. )
  40. ELSEIF (OS_WINDOWS)
  41. CFLAGS(
  42. -DPOCO_OS_FAMILY_WINDOWS
  43. )
  44. ENDIF()
  45. SRCS(
  46. src/AcceptCertificateHandler.cpp
  47. src/CertificateHandlerFactory.cpp
  48. src/CertificateHandlerFactoryMgr.cpp
  49. src/ConsoleCertificateHandler.cpp
  50. src/Context.cpp
  51. src/HTTPSClientSession.cpp
  52. src/HTTPSSessionInstantiator.cpp
  53. src/HTTPSStreamFactory.cpp
  54. src/InvalidCertificateHandler.cpp
  55. src/KeyConsoleHandler.cpp
  56. src/KeyFileHandler.cpp
  57. src/PrivateKeyFactory.cpp
  58. src/PrivateKeyFactoryMgr.cpp
  59. src/PrivateKeyPassphraseHandler.cpp
  60. src/RejectCertificateHandler.cpp
  61. src/SSLException.cpp
  62. src/SSLManager.cpp
  63. src/SecureSMTPClientSession.cpp
  64. src/SecureServerSocket.cpp
  65. src/SecureServerSocketImpl.cpp
  66. src/SecureSocketImpl.cpp
  67. src/SecureStreamSocket.cpp
  68. src/SecureStreamSocketImpl.cpp
  69. src/Session.cpp
  70. src/Utility.cpp
  71. src/VerificationErrorArgs.cpp
  72. src/X509Certificate.cpp
  73. )
  74. END()