2 ## Personal configuration targets
7 cflags => "$gcc_devteam_warn -DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DDEBUG_SAFESTACK -O2 -pipe",
8 thread_scheme => "(unknown)",
10 "debug-ben-openbsd" => {
12 cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -O2 -pedantic -Wall -Wshadow -Werror -pipe",
13 thread_scheme => "(unknown)",
15 "debug-ben-openbsd-debug" => {
17 cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe",
18 thread_scheme => "(unknown)",
20 "debug-ben-debug" => {
22 cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DOPENSSL_NO_HW_PADLOCK -g3 -O2 -pipe",
23 thread_scheme => "(unknown)",
25 "debug-ben-debug-64" => {
26 inherit_from => [ "x86_64_asm" ],
28 cflags => combine("$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
29 threads("${BSDthreads}")),
30 bn_ops => "SIXTY_FOUR_BIT_LONG",
31 thread_scheme => "pthreads",
32 perlasm_scheme => "elf",
33 dso_scheme => "dlfcn",
34 shared_target => "bsd-gcc-shared",
35 shared_cflag => "-fPIC",
36 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
38 "debug-ben-debug-64-clang" => {
39 inherit_from => [ "x86_64_asm" ],
41 cflags => combine("$gcc_devteam_warn -Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
42 threads("${BSDthreads}")),
43 bn_ops => "SIXTY_FOUR_BIT_LONG",
44 thread_scheme => "pthreads",
45 perlasm_scheme => "elf",
46 dso_scheme => "dlfcn",
47 shared_target => "bsd-gcc-shared",
48 shared_cflag => "-fPIC",
49 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
51 "debug-ben-debug-64-noopt" => {
52 inherit_from => [ "x86_64_asm" ],
54 cflags => combine("$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -pipe",
55 threads("${BSDthreads}")),
56 bn_ops => "SIXTY_FOUR_BIT_LONG",
57 thread_scheme => "pthreads",
58 perlasm_scheme => "elf",
59 dso_scheme => "dlfcn",
60 shared_target => "bsd-gcc-shared",
61 shared_cflag => "-fPIC",
62 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
64 "debug-ben-macos" => {
66 cflags => "$gcc_devteam_warn -DOPENSSL_NO_ASM -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 -O3 -DL_ENDIAN -g3 -pipe",
67 thread_scheme => "(unknown)",
69 "debug-ben-no-opt" => {
71 cflags => " -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DDEBUG_SAFESTACK -Werror -DL_ENDIAN -Wall -g3",
72 thread_scheme => "(unknown)",
74 "debug-ben-strict" => {
76 cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe",
77 thread_scheme => "(unknown)",
79 "debug-ben-darwin64" => {
80 inherit_from => [ "x86_64_asm" ],
82 cflags => combine("$gcc_devteam_warn -Wno-language-extension-token -Wno-extended-offsetof -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall",
83 threads("-D_REENTRANT")),
85 plib_lflags => "-Wl,-search_paths_first",
86 bn_ops => "SIXTY_FOUR_BIT_LONG",
87 thread_scheme => "pthreads",
88 perlasm_scheme => "macosx",
89 dso_scheme => "dlfcn",
90 shared_target => "darwin-shared",
91 shared_cflag => "-fPIC -fno-common",
92 shared_ldflag => "-arch x86_64 -dynamiclib",
93 shared_extension => ".\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",