CMakeLists.darwin-x86_64.txt 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. -D_REENTRANT
  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. libs-openssl-crypto
  41. )
  42. target_sources(contrib-libs-openssl PRIVATE
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_capi.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_padlock.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/bio_ssl.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_lib.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_msg.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_srtp.c
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/methods.c
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/packet.c
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/pqueue.c
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/dtls1_bitmap.c
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/rec_layer_d1.c
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/rec_layer_s3.c
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_buffer.c
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_record.c
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_record_tls13.c
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_cbc.c
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_enc.c
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_lib.c
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_msg.c
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_asn1.c
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_cert.c
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_ciph.c
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_conf.c
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_err.c
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_init.c
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_lib.c
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_mcnf.c
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_rsa.c
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_sess.c
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_stat.c
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_txt.c
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_utst.c
  75. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions.c
  76. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_clnt.c
  77. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_cust.c
  78. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_srvr.c
  79. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem.c
  80. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_clnt.c
  81. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_dtls.c
  82. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_lib.c
  83. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_srvr.c
  84. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_enc.c
  85. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_lib.c
  86. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_trce.c
  87. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/tls13_enc.c
  88. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/tls_srp.c
  89. ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/asm/darwin/engines/e_padlock-x86_64.s
  90. )