CMakeLists.linux-x86_64.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_subdirectory(crypto)
  7. add_library(contrib-libs-openssl)
  8. target_compile_options(contrib-libs-openssl PRIVATE
  9. -DAESNI_ASM
  10. -DOPENSSL_BN_ASM_MONT
  11. -DOPENSSL_CPUID_OBJ
  12. -DSHA1_ASM
  13. -DSHA256_ASM
  14. -DSHA512_ASM
  15. -DECP_NISTZ256_ASM
  16. -DPOLY1305_ASM
  17. -DKECCAK1600_ASM
  18. -DENGINESDIR="/usr/local/lib/engines-1.1"
  19. -DOPENSSLDIR="/usr/local/ssl"
  20. -DGHASH_ASM
  21. -DL_ENDIAN
  22. -DMD5_ASM
  23. -DOPENSSL_BN_ASM_GF2m
  24. -DOPENSSL_BN_ASM_MONT5
  25. -DOPENSSL_IA32_SSE2
  26. -DPADLOCK_ASM
  27. -DRC4_ASM
  28. -DX25519_ASM
  29. -DOPENSSL_USE_NODELETE
  30. -DVPAES_ASM
  31. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  32. )
  33. target_include_directories(contrib-libs-openssl PUBLIC
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/include
  35. )
  36. target_include_directories(contrib-libs-openssl PRIVATE
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl
  38. )
  39. target_link_libraries(contrib-libs-openssl PUBLIC
  40. contrib-libs-linux-headers
  41. libs-openssl-crypto
  42. )
  43. target_sources(contrib-libs-openssl PRIVATE
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_capi.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_padlock.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/bio_ssl.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_lib.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_msg.c
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_srtp.c
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/methods.c
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/packet.c
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/pqueue.c
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/dtls1_bitmap.c
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/rec_layer_d1.c
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/rec_layer_s3.c
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_buffer.c
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_record.c
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_record_tls13.c
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_cbc.c
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_enc.c
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_lib.c
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_msg.c
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_asn1.c
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_cert.c
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_ciph.c
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_conf.c
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_err.c
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_init.c
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_lib.c
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_mcnf.c
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_rsa.c
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_sess.c
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_stat.c
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_txt.c
  75. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_utst.c
  76. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions.c
  77. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_clnt.c
  78. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_cust.c
  79. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_srvr.c
  80. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem.c
  81. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_clnt.c
  82. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_dtls.c
  83. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_lib.c
  84. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_srvr.c
  85. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_enc.c
  86. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_lib.c
  87. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_trce.c
  88. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/tls13_enc.c
  89. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/tls_srp.c
  90. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_afalg.c
  91. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/asm/linux/engines/e_padlock-x86_64.s
  92. )