mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
31 lines
768 B
Cheetah
31 lines
768 B
Cheetah
|
{
|
||
|
'variables': {
|
||
|
'openssl_defines_%%-$arch-%%': [
|
||
|
%%- foreach $define (@{$config{defines}}) {
|
||
|
$OUT .= " '$define',\n";
|
||
|
} -%% ],
|
||
|
'openssl_cflags_%%-$arch-%%': [
|
||
|
'%%-$target{cflags}-%%',
|
||
|
],
|
||
|
'openssl_ex_libs_%%-$arch-%%': [
|
||
|
'%%-$target{ex_libs}-%%',
|
||
|
],
|
||
|
'openssl_cli_srcs_%%-$arch-%%': [
|
||
|
%%- foreach $src (@apps_openssl_srcs) {
|
||
|
$OUT .= " 'openssl/$src',\n";
|
||
|
}
|
||
|
foreach $src (@libapps_srcs) {
|
||
|
$OUT .= " 'openssl/$src',\n";
|
||
|
} -%% ],
|
||
|
},
|
||
|
'defines': ['<@(openssl_defines_%%-$arch-%%)'],
|
||
|
'include_dirs': [
|
||
|
'./include',
|
||
|
],
|
||
|
%%- if (!$is_win) {
|
||
|
$OUT = " 'cflags' : ['<@(openssl_cflags_$arch)'],
|
||
|
'libraries': ['<@(openssl_ex_libs_$arch)'],";
|
||
|
} -%%
|
||
|
'sources': ['<@(openssl_cli_srcs_%%-$arch-%%)'],
|
||
|
}
|