mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
9fe2bb77c4
The "unified" build scheme revolves around small information files, build.info, which each describe their own bit of everything that needs to be built, using a mini-language described in Configurations/README. The information in build.info file contain references to source files and final result. Object files are not mentioned at all, they are simply from source files. Because of this, all the *_obj items in Configurations/*.conf are renamed to *_asm_src and the files listed in the values are change from object files to their corresponding source files. For the sake of the other build schemes, Configure generates corresponding *_obj entries in %target. Furthermore, the "unified" build scheme supports having a build directory tree separate from the source directry tree. All paths in a build.info file is assumed to be relative to its location, either within the source tree or within the build tree. Reviewed-by: Andy Polyakov <appro@openssl.org>
124 lines
5.5 KiB
Perl
124 lines
5.5 KiB
Perl
## -*- mode: perl; -*-
|
|
## Build configuration targets for openssl-team members
|
|
##
|
|
## If you edit this file, run this command before committing
|
|
## make -f Makefile.in TABLE
|
|
## This file is interpolated by the Configure script.
|
|
|
|
%targets = (
|
|
"purify" => {
|
|
cc => "purify gcc",
|
|
cflags => "-g -Wall",
|
|
thread_cflag => "(unknown)",
|
|
ex_libs => "-lsocket -lnsl",
|
|
},
|
|
"debug" => {
|
|
cc => "gcc",
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
|
|
thread_cflag => "(unknown)",
|
|
ex_libs => "-lefence",
|
|
},
|
|
"debug-erbridge" => {
|
|
inherit_from => [ "x86_64_asm" ],
|
|
cc => "gcc",
|
|
cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g",
|
|
thread_cflag => "-D_REENTRANT",
|
|
ex_libs => "-ldl",
|
|
bn_ops => "SIXTY_FOUR_BIT_LONG",
|
|
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 -DL_ENDIAN -g -mcpu=pentium -Wall",
|
|
thread_cflag => "-D_REENTRANT",
|
|
ex_libs => "-ldl",
|
|
bn_ops => "BN_LLONG",
|
|
dso_scheme => "dlfcn",
|
|
},
|
|
"debug-linux-ppro" => {
|
|
inherit_from => [ "x86_elf_asm" ],
|
|
cc => "gcc",
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
|
|
thread_cflag => "-D_REENTRANT",
|
|
ex_libs => "-ldl",
|
|
bn_ops => "BN_LLONG",
|
|
dso_scheme => "dlfcn",
|
|
},
|
|
"debug-linux-elf-noefence" => {
|
|
inherit_from => [ "x86_elf_asm" ],
|
|
cc => "gcc",
|
|
cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -march=i486 -Wall",
|
|
thread_cflag => "-D_REENTRANT",
|
|
ex_libs => "-ldl",
|
|
bn_ops => "BN_LLONG",
|
|
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",
|
|
ex_libs => "-ldl",
|
|
bn_ops => "BN_LLONG",
|
|
cpuid_asm_src => "x86cpuid.s",
|
|
bn_asm_src => "bn-586.s co-586.s x86-mont.s",
|
|
des_asm_src => "des-586.s crypt586.s",
|
|
aes_asm_src => "aes_x86core.s aes_cbc.s aesni-x86.s",
|
|
bf_asm_src => "bf-586.s",
|
|
md5_asm_src => "md5-586.s",
|
|
sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
|
|
cast_asm_src => "cast-586.s",
|
|
rc4_asm_src => "rc4-586.s",
|
|
rmd160_asm_src => "rmd-586.s",
|
|
rc5_asm_src => "rc5-586.s",
|
|
wp_asm_src => "wp_block.s wp-mmx.s",
|
|
modes_asm_src => "ghash-x86.s",
|
|
padlock_asm_src => "e_padlock-x86.s",
|
|
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",
|
|
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",
|
|
perlasm_scheme => "macosx",
|
|
dso_scheme => "dlfcn",
|
|
shared_target => "darwin-shared",
|
|
shared_cflag => "-fPIC -fno-common",
|
|
shared_ldflag => "-arch x86_64 -dynamiclib",
|
|
shared_extension => ".\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
|
|
},
|
|
);
|