1 ## Build configuration targets for openssl-team members
3 ## If you edit this file, run this command before committing
4 ## make -f Makefile.org TABLE
5 ## This file is interpolated by the Configure script.
10 cflags => "-g -DPURIFY -Wall",
11 thread_cflag => "(unknown)",
12 lflags => "-lsocket -lnsl",
16 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
17 thread_cflag => "(unknown)",
22 cflags => "$gcc_devteam_warn -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DDEBUG_SAFESTACK -O2 -pipe",
23 thread_cflag => "(unknown)",
25 "debug-ben-openbsd" => {
27 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -O2 -pedantic -Wall -Wshadow -Werror -pipe",
28 thread_cflag => "(unknown)",
30 "debug-ben-openbsd-debug" => {
32 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe",
33 thread_cflag => "(unknown)",
35 "debug-ben-debug" => {
37 cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DOPENSSL_NO_HW_PADLOCK -g3 -O2 -pipe",
38 thread_cflag => "(unknown)",
40 "debug-ben-debug-64" => {
41 inherit_from => [ "x86_64_asm" ],
43 cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
44 thread_cflag => "${BSDthreads}",
45 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
46 perlasm_scheme => "elf",
47 dso_scheme => "dlfcn",
48 shared_target => "bsd-gcc-shared",
49 shared_cflag => "-fPIC",
50 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
52 "debug-ben-debug-64-clang" => {
53 inherit_from => [ "x86_64_asm" ],
55 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",
56 thread_cflag => "${BSDthreads}",
57 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
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-debug-64-noopt" => {
65 inherit_from => [ "x86_64_asm" ],
67 cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -pipe",
68 thread_cflag => "${BSDthreads}",
69 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
70 perlasm_scheme => "elf",
71 dso_scheme => "dlfcn",
72 shared_target => "bsd-gcc-shared",
73 shared_cflag => "-fPIC",
74 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
76 "debug-ben-macos" => {
78 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",
79 thread_cflag => "(unknown)",
81 "debug-ben-no-opt" => {
83 cflags => "-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG -Werror -DL_ENDIAN -Wall -g3",
84 thread_cflag => "(unknown)",
86 "debug-ben-strict" => {
88 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe",
89 thread_cflag => "(unknown)",
91 "debug-ben-darwin64" => {
92 inherit_from => [ "x86_64_asm" ],
94 cflags => "$gcc_devteam_warn -Wno-language-extension-token -Wno-extended-offsetof -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall",
95 thread_cflag => "-D_REENTRANT",
97 lflags => "-Wl,-search_paths_first%",
98 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
99 perlasm_scheme => "macosx",
100 dso_scheme => "dlfcn",
101 shared_target => "darwin-shared",
102 shared_cflag => "-fPIC -fno-common",
103 shared_ldflag => "-arch x86_64 -dynamiclib",
104 shared_extension => ".\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
107 inherit_from => [ "x86_elf_asm" ],
109 cflags => "-DL_ENDIAN -pipe -O -g -ggdb3 -Wall",
110 thread_cflag => "(unknown)",
111 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
114 inherit_from => [ "x86_64_asm" ],
116 cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DBN_DEBUG_RAND -DCONF_DEBUG -DBIO_PAIR_DEBUG -m64 -DL_ENDIAN -DTERMIO -g -DMD32_REG_T=int",
117 thread_cflag => "-D_REENTRANT",
119 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
120 perlasm_scheme => "elf",
121 dso_scheme => "dlfcn",
122 shared_target => "linux-shared",
123 shared_cflag => "-fPIC",
124 shared_ldflag => "-m64",
125 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
128 "debug-erbridge" => {
129 inherit_from => [ "x86_64_asm" ],
131 cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g",
132 thread_cflag => "-D_REENTRANT",
134 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
135 perlasm_scheme => "elf",
136 dso_scheme => "dlfcn",
137 shared_target => "linux-shared",
138 shared_cflag => "-fPIC",
139 shared_ldflag => "-m64",
140 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
144 inherit_from => [ "x86_64_asm" ],
146 cflags => "$gcc_devteam_warn -m64 -DL_ENDIAN -DTERMIO -DCONF_DEBUG -DDEBUG_SAFESTACK -Wno-overlength-strings -g",
147 thread_cflag => "-D_REENTRANT",
149 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
150 perlasm_scheme => "elf",
151 dso_scheme => "dlfcn",
152 shared_target => "linux-shared",
153 shared_cflag => "-fPIC",
154 shared_ldflag => "-m64",
155 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
158 inherit_from => [ "x86_elf_asm" ],
160 cflags => "$gcc_devteam_warn -m32 -DL_ENDIAN -DCONF_DEBUG -DDEBUG_SAFESTACK -Wno-overlength-strings -g -pipe",
161 thread_cflag => "-D_REENTRANT",
162 lflags => "-rdynamic -ldl",
163 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
164 dso_scheme => "dlfcn",
165 shared_target => "linux-shared",
166 shared_cflag => "-fPIC",
167 shared_ldflag => "-m32",
168 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
170 "debug-steve-opt" => {
171 inherit_from => [ "x86_64_asm" ],
173 cflags => "$gcc_devteam_warn -m64 -O3 -DL_ENDIAN -DTERMIO -DCONF_DEBUG -DDEBUG_SAFESTACK -Wno-overlength-strings -g",
174 thread_cflag => "-D_REENTRANT",
176 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
177 perlasm_scheme => "elf",
178 dso_scheme => "dlfcn",
179 shared_target => "linux-shared",
180 shared_cflag => "-fPIC",
181 shared_ldflag => "-m64",
182 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
186 "debug-levitte-linux-noasm" => {
187 inherit_from => [ "no_asm_filler" ],
189 cflags => "-DLEVITTE_DEBUG -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -DL_ENDIAN -ggdb -g3 -Wall",
190 thread_cflag => "-D_REENTRANT",
192 bn_ops => "BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT",
193 dso_scheme => "dlfcn",
194 shared_target => "linux-shared",
195 shared_cflag => "-fPIC",
196 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
198 "debug-levitte-linux-elf-extreme" => {
199 inherit_from => [ "x86_elf_asm" ],
201 cflags => "-DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_DEBUG -DBN_DEBUG_RAND -DCRYPTO_MDEBUG -DENGINE_CONF_DEBUG -DL_ENDIAN -DPEDANTIC -ggdb -g3 -pedantic -ansi -Wall -W -Wundef -Wshadow -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wundef -Wconversion -pipe",
202 thread_cflag => "-D_REENTRANT",
204 bn_ops => "BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT",
205 perlasm_scheme => "elf",
206 dso_scheme => "dlfcn",
207 shared_target => "linux-shared",
208 shared_cflag => "-fPIC",
209 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
211 "debug-levitte-linux-noasm-extreme" => {
212 inherit_from => [ "no_asm_filler" ],
214 cflags => "-DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_DEBUG -DBN_DEBUG_RAND -DCRYPTO_MDEBUG -DENGINE_CONF_DEBUG -DOPENSSL_NO_ASM -DL_ENDIAN -DPEDANTIC -ggdb -g3 -pedantic -ansi -Wall -W -Wundef -Wshadow -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wundef -Wconversion -pipe",
215 thread_cflag => "-D_REENTRANT",
217 bn_ops => "BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT",
218 perlasm_scheme => "void",
219 dso_scheme => "dlfcn",
220 shared_target => "linux-shared",
221 shared_cflag => "-fPIC",
222 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
226 inherit_from => [ "no_asm_filler" ],
228 cflags => "-DBN_DEBUG -DBN_DEBUG_RAND -DBN_STRICT -DPURIFY -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DL_ENDIAN -DTERMIO -DPEDANTIC -O1 -ggdb2 -Wall -Werror -Wundef -pedantic -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Wmissing-prototypes -Wmissing-declarations -Wno-long-long",
229 thread_cflag => "-D_REENTRANT",
231 bn_ops => "BN_LLONG",
232 dso_scheme => "dlfcn",
233 shared_target => "linux-shared",
234 shared_cflag => "-fPIC",
235 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
238 inherit_from => [ "no_asm_filler" ],
240 cflags => "-DBN_DEBUG -DBN_DEBUG_RAND -DBN_STRICT -DPURIFY -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DL_ENDIAN -DTERMIO -DPEDANTIC -O1 -ggdb2 -Wall -Werror -Wundef -pedantic -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Wmissing-prototypes -Wmissing-declarations -Wno-long-long",
241 thread_cflag => "-D_REENTRANT",
243 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
244 dso_scheme => "dlfcn",
245 shared_target => "linux-shared",
246 shared_cflag => "-fPIC",
247 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
249 "debug-linux-pentium" => {
250 inherit_from => [ "x86_elf_asm" ],
252 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
253 thread_cflag => "-D_REENTRANT",
255 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
256 dso_scheme => "dlfcn",
258 "debug-linux-ppro" => {
259 inherit_from => [ "x86_elf_asm" ],
261 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
262 thread_cflag => "-D_REENTRANT",
264 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
265 dso_scheme => "dlfcn",
267 "debug-linux-elf-noefence" => {
268 inherit_from => [ "x86_elf_asm" ],
270 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -march=i486 -Wall",
271 thread_cflag => "-D_REENTRANT",
273 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
274 dso_scheme => "dlfcn",
275 shared_target => "linux-shared",
276 shared_cflag => "-fPIC",
277 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
279 "debug-linux-ia32-aes" => {
281 cflags => "-DAES_EXPERIMENTAL -DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
282 thread_cflag => "-D_REENTRANT",
284 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
285 cpuid_obj => "x86cpuid.o",
286 bn_obj => "bn-586.o co-586.o x86-mont.o",
287 des_obj => "des-586.o crypt586.o",
288 aes_obj => "aes_x86core.o aes_cbc.o aesni-x86.o",
289 bf_obj => "bf-586.o",
290 md5_obj => "md5-586.o",
291 sha1_obj => "sha1-586.o sha256-586.o sha512-586.o",
292 cast_obj => "cast-586.o",
293 rc4_obj => "rc4-586.o",
294 rmd160_obj => "rmd-586.o",
295 rc5_obj => "rc5-586.o",
296 wp_obj => "wp_block.o wp-mmx.o",
297 modes_obj => "ghash-x86.o",
298 engines_obj => "e_padlock-x86.o",
299 perlasm_scheme => "elf",
300 dso_scheme => "dlfcn",
301 shared_target => "linux-shared",
302 shared_cflag => "-fPIC",
303 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
308 thread_cflag => "(unknown)",
310 "debug-test-64-clang" => {
311 inherit_from => [ "x86_64_asm" ],
313 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",
314 thread_cflag => "${BSDthreads}",
315 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
316 perlasm_scheme => "elf",
317 dso_scheme => "dlfcn",
318 shared_target => "bsd-gcc-shared",
319 shared_cflag => "-fPIC",
320 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
322 "darwin64-debug-test-64-clang" => {
323 inherit_from => [ "x86_64_asm" ],
325 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",
326 thread_cflag => "${BSDthreads}",
328 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
329 perlasm_scheme => "macosx",
330 dso_scheme => "dlfcn",
331 shared_target => "darwin-shared",
332 shared_cflag => "-fPIC -fno-common",
333 shared_ldflag => "-arch x86_64 -dynamiclib",
334 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",