blob: 1b88da02367982edeef55d0509d70c614152fe31 (
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# 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
-DGHASH_ASM
-DL_ENDIAN
-DMD5_ASM
-DOPENSSL_BN_ASM_GF2m
-DOPENSSL_BN_ASM_MONT5
-DOPENSSL_IA32_SSE2
-DPADLOCK_ASM
-DRC4_ASM
-DX25519_ASM
-DENGINESDIR="C:\\Program\ Files\\OpenSSL\\lib\\engines-1_1"
-DOPENSSLDIR="C:\\Program\ Files\\Common\ Files\\SSL"
-DOPENSSL_SYS_WIN32
-DUNICODE
-DWIN32_LEAN_AND_MEAN
-D_CRT_SECURE_NO_DEPRECATE
-D_UNICODE
-D_WINSOCK_DEPRECATED_NO_WARNINGS
/GF
-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/windows/engines/e_padlock-x86_64.masm
)
|