aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/openssl/CMakeLists.linux-aarch64.txt
blob: cb4acae2de8ada7f67abf65bc762f5bb1af49349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# 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"
  -DOPENSSL_USE_NODELETE
  -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
  contrib-libs-linux-headers
  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/engines/e_afalg.c
)