12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- # This file was generated by the build system used internally in the Yandex monorepo.
- # Only simple modifications are allowed (adding source-files to targets, adding simple properties
- # like target_include_directories). These modifications will be ported to original
- # ya.make files by maintainers. Any complex modifications which can't be ported back to the
- # original buildsystem will not be accepted.
- add_subdirectory(crypto)
- add_library(contrib-libs-openssl)
- target_compile_options(contrib-libs-openssl PRIVATE
- -DAESNI_ASM
- -DOPENSSL_BN_ASM_MONT
- -DOPENSSL_CPUID_OBJ
- -DSHA1_ASM
- -DSHA256_ASM
- -DSHA512_ASM
- -DECP_NISTZ256_ASM
- -DPOLY1305_ASM
- -DKECCAK1600_ASM
- -DENGINESDIR="/usr/local/lib/engines-1.1"
- -DOPENSSLDIR="/usr/local/ssl"
- -DGHASH_ASM
- -DL_ENDIAN
- -DMD5_ASM
- -DOPENSSL_BN_ASM_GF2m
- -DOPENSSL_BN_ASM_MONT5
- -DOPENSSL_IA32_SSE2
- -DPADLOCK_ASM
- -DRC4_ASM
- -DX25519_ASM
- -D_REENTRANT
- -DVPAES_ASM
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(contrib-libs-openssl PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/include
- )
- target_include_directories(contrib-libs-openssl PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl
- )
- target_link_libraries(contrib-libs-openssl PUBLIC
- libs-openssl-crypto
- )
- target_sources(contrib-libs-openssl PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_capi.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/engines/e_padlock.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/bio_ssl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_lib.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_msg.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/d1_srtp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/methods.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/packet.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/pqueue.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/dtls1_bitmap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/rec_layer_d1.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/rec_layer_s3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_buffer.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_record.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/record/ssl3_record_tls13.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_cbc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_enc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_lib.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/s3_msg.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_asn1.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_cert.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_ciph.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_conf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_err.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_init.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_lib.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_mcnf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_rsa.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_sess.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_stat.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_txt.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/ssl_utst.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_clnt.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_cust.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/extensions_srvr.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_clnt.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_dtls.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_lib.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/statem/statem_srvr.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_enc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_lib.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/t1_trce.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/tls13_enc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/ssl/tls_srp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/openssl/asm/darwin/engines/e_padlock-x86_64.s
- )
|