2 ## Build configuration targets for openssl-team members
6 inherit_from => [ 'BASE_unix' ],
9 thread_scheme => "(unknown)",
10 ex_libs => add(" ","-lsocket -lnsl"),
13 inherit_from => [ 'BASE_unix' ],
15 cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
16 thread_scheme => "(unknown)",
19 inherit_from => [ 'BASE_unix', "x86_64_asm" ],
21 cflags => combine(join(' ', @gcc_devteam_warn),
22 "-DBN_DEBUG -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g",
23 threads("-D_REENTRANT")),
24 ex_libs => add(" ","-ldl"),
25 bn_ops => "SIXTY_FOUR_BIT_LONG",
26 thread_scheme => "pthreads",
28 perlasm_scheme => "elf",
29 dso_scheme => "dlfcn",
30 shared_target => "linux-shared",
31 shared_cflag => "-fPIC",
32 shared_ldflag => "-m64",
35 "debug-linux-pentium" => {
36 inherit_from => [ 'BASE_unix', "x86_elf_asm" ],
38 cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
39 threads("-D_REENTRANT")),
40 ex_libs => add(" ","-ldl"),
43 perlasm_scheme => 'elf',
44 thread_scheme => "pthreads",
45 dso_scheme => "dlfcn",
47 "debug-linux-ppro" => {
48 inherit_from => [ 'BASE_unix', "x86_elf_asm" ],
50 cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
51 threads("-D_REENTRANT")),
52 ex_libs => add(" ","-ldl"),
55 perlasm_scheme => 'elf',
56 thread_scheme => "pthreads",
57 dso_scheme => "dlfcn",
59 "debug-test-64-clang" => {
60 inherit_from => [ 'BASE_unix', "x86_64_asm" ],
62 cflags => combine(join(' ', @gcc_devteam_warn),
63 "-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_UNUSED -g3 -O3 -pipe",
64 threads("${BSDthreads}")),
65 bn_ops => "SIXTY_FOUR_BIT_LONG",
66 thread_scheme => "pthreads",
68 perlasm_scheme => "elf",
69 dso_scheme => "dlfcn",
70 shared_target => "bsd-gcc-shared",
71 shared_cflag => "-fPIC",
73 "darwin64-debug-test-64-clang" => {
74 inherit_from => [ 'BASE_unix', "x86_64_asm" ],
76 cflags => combine("-arch x86_64 -DL_ENDIAN",
77 join(' ', @gcc_devteam_warn),
78 "-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_UNUSED -g3 -O3 -pipe",
79 threads("${BSDthreads}")),
81 bn_ops => "SIXTY_FOUR_BIT_LONG",
82 thread_scheme => "pthreads",
84 perlasm_scheme => "macosx",
85 dso_scheme => "dlfcn",
86 shared_target => "darwin-shared",
87 shared_cflag => "-fPIC -fno-common",
88 shared_ldflag => "-arch x86_64 -dynamiclib",
89 shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",