2015-02-24 22:40:22 +00:00
|
|
|
## Build configuration targets for openssl-team members
|
|
|
|
##
|
|
|
|
## If you edit this file, run this command before committing
|
|
|
|
## make -f Makefile.org TABLE
|
|
|
|
## This file is interpolated by the Configure script.
|
|
|
|
|
|
|
|
%targets = (
|
2015-03-10 23:58:50 +00:00
|
|
|
"purify" => {
|
|
|
|
cc => "purify gcc",
|
|
|
|
cflags => "-g -DPURIFY -Wall",
|
|
|
|
thread_cflag => "(unknown)",
|
|
|
|
lflags => "-lsocket -lnsl",
|
|
|
|
},
|
|
|
|
"debug" => {
|
|
|
|
cc => "gcc",
|
|
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
|
|
|
|
thread_cflag => "(unknown)",
|
|
|
|
lflags => "-lefence",
|
|
|
|
},
|
|
|
|
"debug-erbridge" => {
|
|
|
|
inherit_from => [ "x86_64_asm" ],
|
|
|
|
cc => "gcc",
|
|
|
|
cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g",
|
|
|
|
thread_cflag => "-D_REENTRANT",
|
|
|
|
lflags => "-ldl",
|
|
|
|
bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
|
|
|
|
perlasm_scheme => "elf",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
shared_target => "linux-shared",
|
|
|
|
shared_cflag => "-fPIC",
|
|
|
|
shared_ldflag => "-m64",
|
|
|
|
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
|
|
|
multilib => "64",
|
|
|
|
},
|
|
|
|
"debug-linux-pentium" => {
|
|
|
|
inherit_from => [ "x86_elf_asm" ],
|
|
|
|
cc => "gcc",
|
|
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
|
|
|
|
thread_cflag => "-D_REENTRANT",
|
|
|
|
lflags => "-ldl",
|
|
|
|
bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
},
|
|
|
|
"debug-linux-ppro" => {
|
|
|
|
inherit_from => [ "x86_elf_asm" ],
|
|
|
|
cc => "gcc",
|
|
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
|
|
|
|
thread_cflag => "-D_REENTRANT",
|
|
|
|
lflags => "-ldl",
|
|
|
|
bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
},
|
|
|
|
"debug-linux-elf-noefence" => {
|
|
|
|
inherit_from => [ "x86_elf_asm" ],
|
|
|
|
cc => "gcc",
|
|
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -march=i486 -Wall",
|
|
|
|
thread_cflag => "-D_REENTRANT",
|
|
|
|
lflags => "-ldl",
|
|
|
|
bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
shared_target => "linux-shared",
|
|
|
|
shared_cflag => "-fPIC",
|
|
|
|
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
|
|
|
},
|
|
|
|
"debug-linux-ia32-aes" => {
|
|
|
|
cc => "gcc",
|
|
|
|
cflags => "-DAES_EXPERIMENTAL -DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
|
|
|
|
thread_cflag => "-D_REENTRANT",
|
|
|
|
lflags => "-ldl",
|
|
|
|
bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
|
|
|
|
cpuid_obj => "x86cpuid.o",
|
|
|
|
bn_obj => "bn-586.o co-586.o x86-mont.o",
|
|
|
|
des_obj => "des-586.o crypt586.o",
|
|
|
|
aes_obj => "aes_x86core.o aes_cbc.o aesni-x86.o",
|
|
|
|
bf_obj => "bf-586.o",
|
|
|
|
md5_obj => "md5-586.o",
|
|
|
|
sha1_obj => "sha1-586.o sha256-586.o sha512-586.o",
|
|
|
|
cast_obj => "cast-586.o",
|
|
|
|
rc4_obj => "rc4-586.o",
|
|
|
|
rmd160_obj => "rmd-586.o",
|
|
|
|
rc5_obj => "rc5-586.o",
|
|
|
|
wp_obj => "wp_block.o wp-mmx.o",
|
|
|
|
modes_obj => "ghash-x86.o",
|
|
|
|
engines_obj => "e_padlock-x86.o",
|
|
|
|
perlasm_scheme => "elf",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
shared_target => "linux-shared",
|
|
|
|
shared_cflag => "-fPIC",
|
|
|
|
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
|
|
|
},
|
|
|
|
"dist" => {
|
|
|
|
cc => "cc",
|
|
|
|
cflags => "-O",
|
|
|
|
thread_cflag => "(unknown)",
|
|
|
|
},
|
|
|
|
"debug-test-64-clang" => {
|
|
|
|
inherit_from => [ "x86_64_asm" ],
|
|
|
|
cc => "clang",
|
|
|
|
cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
|
|
|
|
thread_cflag => "${BSDthreads}",
|
|
|
|
bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
|
|
|
|
perlasm_scheme => "elf",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
shared_target => "bsd-gcc-shared",
|
|
|
|
shared_cflag => "-fPIC",
|
|
|
|
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
|
|
|
},
|
|
|
|
"darwin64-debug-test-64-clang" => {
|
|
|
|
inherit_from => [ "x86_64_asm" ],
|
|
|
|
cc => "clang",
|
|
|
|
cflags => "-arch x86_64 -DL_ENDIAN $gcc_devteam_warn -Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
|
|
|
|
thread_cflag => "${BSDthreads}",
|
|
|
|
sys_id => "MACOSX",
|
|
|
|
bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
|
|
|
|
perlasm_scheme => "macosx",
|
|
|
|
dso_scheme => "dlfcn",
|
|
|
|
shared_target => "darwin-shared",
|
|
|
|
shared_cflag => "-fPIC -fno-common",
|
|
|
|
shared_ldflag => "-arch x86_64 -dynamiclib",
|
|
|
|
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
|
|
|
|
},
|
2015-02-24 22:40:22 +00:00
|
|
|
);
|