2018-03-07 21:38:23 +09:00
|
|
|
{
|
|
|
|
'include_dirs': [
|
|
|
|
'openssl/',
|
|
|
|
'openssl/include/',
|
|
|
|
'openssl/crypto/',
|
|
|
|
'openssl/crypto/include/',
|
|
|
|
'openssl/crypto/modes/',
|
2018-05-05 23:49:07 +09:00
|
|
|
'openssl/crypto/ec/curve448',
|
|
|
|
'openssl/crypto/ec/curve448/arch_32',
|
2021-04-14 11:19:54 +02:00
|
|
|
'openssl/providers/common/include',
|
|
|
|
'openssl/providers/implementations/include',
|
2018-03-07 21:38:23 +09:00
|
|
|
'config/',
|
|
|
|
],
|
|
|
|
# build options specific to OS
|
|
|
|
'conditions': [
|
2023-05-18 12:51:19 +01:00
|
|
|
[ 'OS in ("aix", "os400")', {
|
2018-03-07 21:38:23 +09:00
|
|
|
# AIX is missing /usr/include/endian.h
|
|
|
|
'defines': [
|
|
|
|
'__LITTLE_ENDIAN=1234',
|
|
|
|
'__BIG_ENDIAN=4321',
|
|
|
|
'__BYTE_ORDER=__BIG_ENDIAN',
|
|
|
|
'__FLOAT_WORD_ORDER=__BIG_ENDIAN',
|
|
|
|
'OPENSSLDIR="/etc/ssl"',
|
|
|
|
'ENGINESDIR="/dev/null"',
|
|
|
|
],
|
|
|
|
}, 'OS=="win"', {
|
|
|
|
'defines': [
|
|
|
|
## default of Win. See INSTALL in openssl repo.
|
2023-11-14 15:19:00 +01:00
|
|
|
'OPENSSLDIR="C:\\\\Program\\ Files\\\\Common\\ Files\\\\SSL"',
|
2018-03-07 21:38:23 +09:00
|
|
|
'ENGINESDIR="NUL"',
|
|
|
|
'OPENSSL_SYS_WIN32', 'WIN32_LEAN_AND_MEAN', 'L_ENDIAN',
|
|
|
|
'_CRT_SECURE_NO_DEPRECATE', 'UNICODE', '_UNICODE',
|
|
|
|
],
|
|
|
|
'cflags': [
|
|
|
|
'-W3', '-wd4090', '-Gs0', '-GF', '-Gy', '-nologo','/O2',
|
|
|
|
],
|
2020-01-11 05:47:20 +00:00
|
|
|
'msvs_disabled_warnings': [4090],
|
2018-03-07 21:38:23 +09:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lws2_32.lib',
|
|
|
|
'-lgdi32.lib',
|
|
|
|
'-ladvapi32.lib',
|
|
|
|
'-lcrypt32.lib',
|
|
|
|
'-luser32.lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}, 'OS=="mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'WARNING_CFLAGS': ['-Wno-missing-field-initializers']
|
|
|
|
},
|
|
|
|
'defines': [
|
2022-09-08 15:58:54 -04:00
|
|
|
'OPENSSLDIR="/System/Library/OpenSSL/"',
|
2018-03-07 21:38:23 +09:00
|
|
|
'ENGINESDIR="/dev/null"',
|
|
|
|
],
|
|
|
|
}, 'OS=="solaris"', {
|
|
|
|
'defines': [
|
|
|
|
'OPENSSLDIR="/etc/ssl"',
|
|
|
|
'ENGINESDIR="/dev/null"',
|
|
|
|
'__EXTENSIONS__'
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
# linux and others
|
2019-02-06 02:58:43 +01:00
|
|
|
'cflags': ['-Wno-missing-field-initializers',],
|
2018-03-07 21:38:23 +09:00
|
|
|
'defines': [
|
2022-07-05 11:15:31 -04:00
|
|
|
'OPENSSLDIR="/etc/ssl"',
|
2018-03-07 21:38:23 +09:00
|
|
|
'ENGINESDIR="/dev/null"',
|
|
|
|
'TERMIOS',
|
|
|
|
],
|
2019-02-06 02:58:43 +01:00
|
|
|
'conditions': [
|
2024-05-07 13:55:58 +02:00
|
|
|
[ 'clang==0', {
|
2019-02-06 02:58:43 +01:00
|
|
|
'cflags': ['-Wno-old-style-declaration',],
|
|
|
|
}],
|
|
|
|
],
|
2018-03-07 21:38:23 +09:00
|
|
|
}],
|
|
|
|
]
|
|
|
|
}
|