28beee9b4b0958bffdbcb4be5dc9b4a35038427a
[openssl.git] / Configurations / 99-personal-ben.conf
1 ## -*- mode: perl; -*-
2 ## Personal configuration targets
3 ##
4 ## If you edit this file, run this command before committing
5 ##      make -f Makefile.org TABLE
6 ## This file is interpolated by the Configure script.
7
8 %targets = (
9     "debug-ben" => {
10         cc               => "gcc",
11         cflags           => "$gcc_devteam_warn -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DDEBUG_SAFESTACK -O2 -pipe",
12         thread_cflag     => "(unknown)",
13     },
14     "debug-ben-openbsd" => {
15         cc               => "gcc",
16         cflags           => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -O2 -pedantic -Wall -Wshadow -Werror -pipe",
17         thread_cflag     => "(unknown)",
18     },
19     "debug-ben-openbsd-debug" => {
20         cc               => "gcc",
21         cflags           => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe",
22         thread_cflag     => "(unknown)",
23     },
24     "debug-ben-debug" => {
25         cc               => "gcc",
26         cflags           => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DOPENSSL_NO_HW_PADLOCK -g3 -O2 -pipe",
27         thread_cflag     => "(unknown)",
28     },
29     "debug-ben-debug-64" => {
30         inherit_from     => [ "x86_64_asm" ],
31         cc               => "gcc",
32         cflags           => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
33         thread_cflag     => "${BSDthreads}",
34         bn_ops           => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
35         perlasm_scheme   => "elf",
36         dso_scheme       => "dlfcn",
37         shared_target    => "bsd-gcc-shared",
38         shared_cflag     => "-fPIC",
39         shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
40     },
41     "debug-ben-debug-64-clang" => {
42         inherit_from     => [ "x86_64_asm" ],
43         cc               => "clang",
44         cflags           => "$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",
45         thread_cflag     => "${BSDthreads}",
46         bn_ops           => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
47         perlasm_scheme   => "elf",
48         dso_scheme       => "dlfcn",
49         shared_target    => "bsd-gcc-shared",
50         shared_cflag     => "-fPIC",
51         shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
52     },
53     "debug-ben-debug-64-noopt" => {
54         inherit_from     => [ "x86_64_asm" ],
55         cc               => "gcc",
56         cflags           => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -pipe",
57         thread_cflag     => "${BSDthreads}",
58         bn_ops           => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
59         perlasm_scheme   => "elf",
60         dso_scheme       => "dlfcn",
61         shared_target    => "bsd-gcc-shared",
62         shared_cflag     => "-fPIC",
63         shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
64     },
65     "debug-ben-macos" => {
66         cc               => "cc",
67         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",
68         thread_cflag     => "(unknown)",
69     },
70     "debug-ben-no-opt" => {
71         cc               => "gcc",
72         cflags           => " -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DDEBUG_SAFESTACK -Werror -DL_ENDIAN -Wall -g3",
73         thread_cflag     => "(unknown)",
74     },
75     "debug-ben-strict" => {
76         cc               => "gcc",
77         cflags           => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe",
78         thread_cflag     => "(unknown)",
79     },
80     "debug-ben-darwin64" => {
81         inherit_from     => [ "x86_64_asm" ],
82         cc               => "cc",
83         cflags           => "$gcc_devteam_warn -Wno-language-extension-token -Wno-extended-offsetof -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall",
84         thread_cflag     => "-D_REENTRANT",
85         sys_id           => "MACOSX",
86         lflags           => "-Wl,-search_paths_first%",
87         bn_ops           => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
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",
94     },
95 );