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.
7 # Filler used for when there are no asm files.
8 my $no_asm_filler="::::::::::::::::void";
13 cflags => "-g -DPURIFY -Wall",
14 thread_cflag => "(unknown)",
15 lflags => "-lsocket -lnsl",
19 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
20 thread_cflag => "(unknown)",
25 cflags => "$gcc_devteam_warn -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DDEBUG_SAFESTACK -O2 -pipe",
26 thread_cflag => "(unknown)",
28 "debug-ben-openbsd" => {
30 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",
31 thread_cflag => "(unknown)",
33 "debug-ben-openbsd-debug" => {
35 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",
36 thread_cflag => "(unknown)",
38 "debug-ben-debug" => {
40 cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DOPENSSL_NO_HW_PADLOCK -g3 -O2 -pipe",
41 thread_cflag => "(unknown)",
43 "debug-ben-debug-64" => {
44 inherit_from => [ "x86_64_asm" ],
46 cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe",
47 thread_cflag => "${BSDthreads}",
48 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
49 perlasm_scheme => "elf",
50 dso_scheme => "dlfcn",
51 shared_target => "bsd-gcc-shared",
52 shared_cflag => "-fPIC",
53 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
55 "debug-ben-debug-64-clang" => {
56 inherit_from => [ "x86_64_asm" ],
58 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",
59 thread_cflag => "${BSDthreads}",
60 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
61 perlasm_scheme => "elf",
62 dso_scheme => "dlfcn",
63 shared_target => "bsd-gcc-shared",
64 shared_cflag => "-fPIC",
65 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
67 "debug-ben-debug-64-noopt" => {
68 inherit_from => [ "x86_64_asm" ],
70 cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -pipe",
71 thread_cflag => "${BSDthreads}",
72 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
73 perlasm_scheme => "elf",
74 dso_scheme => "dlfcn",
75 shared_target => "bsd-gcc-shared",
76 shared_cflag => "-fPIC",
77 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
79 "debug-ben-macos" => {
81 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",
82 thread_cflag => "(unknown)",
84 "debug-ben-no-opt" => {
86 cflags => "-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG -Werror -DL_ENDIAN -Wall -g3",
87 thread_cflag => "(unknown)",
89 "debug-ben-strict" => {
91 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",
92 thread_cflag => "(unknown)",
94 "debug-ben-darwin64" => {
95 inherit_from => [ "x86_64_asm" ],
97 cflags => "$gcc_devteam_warn -Wno-language-extension-token -Wno-extended-offsetof -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall",
98 thread_cflag => "-D_REENTRANT",
100 lflags => "-Wl,-search_paths_first%",
101 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
102 perlasm_scheme => "macosx",
103 dso_scheme => "dlfcn",
104 shared_target => "darwin-shared",
105 shared_cflag => "-fPIC -fno-common",
106 shared_ldflag => "-arch x86_64 -dynamiclib",
107 shared_extension => ".\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
110 inherit_from => [ "x86_elf_asm" ],
112 cflags => "-DL_ENDIAN -pipe -O -g -ggdb3 -Wall",
113 thread_cflag => "(unknown)",
114 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
117 inherit_from => [ "x86_64_asm" ],
119 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",
120 thread_cflag => "-D_REENTRANT",
122 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
123 perlasm_scheme => "elf",
124 dso_scheme => "dlfcn",
125 shared_target => "linux-shared",
126 shared_cflag => "-fPIC",
127 shared_ldflag => "-m64",
128 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
131 "debug-erbridge" => {
132 inherit_from => [ "x86_64_asm" ],
134 cflags => "$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g",
135 thread_cflag => "-D_REENTRANT",
137 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
138 perlasm_scheme => "elf",
139 dso_scheme => "dlfcn",
140 shared_target => "linux-shared",
141 shared_cflag => "-fPIC",
142 shared_ldflag => "-m64",
143 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
147 inherit_from => [ "x86_64_asm" ],
149 cflags => "$gcc_devteam_warn -m64 -DL_ENDIAN -DTERMIO -DCONF_DEBUG -DDEBUG_SAFESTACK -Wno-overlength-strings -g",
150 thread_cflag => "-D_REENTRANT",
152 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
153 perlasm_scheme => "elf",
154 dso_scheme => "dlfcn",
155 shared_target => "linux-shared",
156 shared_cflag => "-fPIC",
157 shared_ldflag => "-m64",
158 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
161 inherit_from => [ "x86_elf_asm" ],
163 cflags => "$gcc_devteam_warn -m32 -DL_ENDIAN -DCONF_DEBUG -DDEBUG_SAFESTACK -Wno-overlength-strings -g -pipe",
164 thread_cflag => "-D_REENTRANT",
165 lflags => "-rdynamic -ldl",
166 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
167 dso_scheme => "dlfcn",
168 shared_target => "linux-shared",
169 shared_cflag => "-fPIC",
170 shared_ldflag => "-m32",
171 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
173 "debug-steve-opt" => {
174 inherit_from => [ "x86_64_asm" ],
176 cflags => "$gcc_devteam_warn -m64 -O3 -DL_ENDIAN -DTERMIO -DCONF_DEBUG -DDEBUG_SAFESTACK -Wno-overlength-strings -g",
177 thread_cflag => "-D_REENTRANT",
179 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
180 perlasm_scheme => "elf",
181 dso_scheme => "dlfcn",
182 shared_target => "linux-shared",
183 shared_cflag => "-fPIC",
184 shared_ldflag => "-m64",
185 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
189 "debug-levitte-linux-noasm" => {
190 inherit_from => [ "no_asm_filler" ],
192 cflags => "-DLEVITTE_DEBUG -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -DL_ENDIAN -ggdb -g3 -Wall",
193 thread_cflag => "-D_REENTRANT",
195 bn_ops => "BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT",
196 dso_scheme => "dlfcn",
197 shared_target => "linux-shared",
198 shared_cflag => "-fPIC",
199 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
201 "debug-levitte-linux-elf-extreme" => {
202 inherit_from => [ "x86_elf_asm" ],
204 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",
205 thread_cflag => "-D_REENTRANT",
207 bn_ops => "BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT",
208 perlasm_scheme => "elf",
209 dso_scheme => "dlfcn",
210 shared_target => "linux-shared",
211 shared_cflag => "-fPIC",
212 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
214 "debug-levitte-linux-noasm-extreme" => {
215 inherit_from => [ "no_asm_filler" ],
217 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",
218 thread_cflag => "-D_REENTRANT",
220 bn_ops => "BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT",
221 perlasm_scheme => "void",
222 dso_scheme => "dlfcn",
223 shared_target => "linux-shared",
224 shared_cflag => "-fPIC",
225 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
229 inherit_from => [ "no_asm_filler" ],
231 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",
232 thread_cflag => "-D_REENTRANT",
234 bn_ops => "BN_LLONG",
235 dso_scheme => "dlfcn",
236 shared_target => "linux-shared",
237 shared_cflag => "-fPIC",
238 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
241 inherit_from => [ "no_asm_filler" ],
243 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",
244 thread_cflag => "-D_REENTRANT",
246 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
247 dso_scheme => "dlfcn",
248 shared_target => "linux-shared",
249 shared_cflag => "-fPIC",
250 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
252 "debug-linux-pentium" => {
253 inherit_from => [ "x86_elf_asm" ],
255 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
256 thread_cflag => "-D_REENTRANT",
258 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
259 dso_scheme => "dlfcn",
261 "debug-linux-ppro" => {
262 inherit_from => [ "x86_elf_asm" ],
264 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
265 thread_cflag => "-D_REENTRANT",
267 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
268 dso_scheme => "dlfcn",
270 "debug-linux-elf" => {
271 inherit_from => [ "x86_elf_asm" ],
273 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -march=i486 -Wall",
274 thread_cflag => "-D_REENTRANT",
275 lflags => "-lefence -ldl",
276 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
277 dso_scheme => "dlfcn",
278 shared_target => "linux-shared",
279 shared_cflag => "-fPIC",
280 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
282 "debug-linux-elf-noefence" => {
283 inherit_from => [ "x86_elf_asm" ],
285 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -g -march=i486 -Wall",
286 thread_cflag => "-D_REENTRANT",
288 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
289 dso_scheme => "dlfcn",
290 shared_target => "linux-shared",
291 shared_cflag => "-fPIC",
292 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
294 "debug-linux-ia32-aes" => {
296 cflags => "-DAES_EXPERIMENTAL -DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
297 thread_cflag => "-D_REENTRANT",
299 bn_ops => "BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}",
300 cpuid_obj => "x86cpuid.o",
301 bn_obj => "bn-586.o co-586.o x86-mont.o",
302 des_obj => "des-586.o crypt586.o",
303 aes_obj => "aes_x86core.o aes_cbc.o aesni-x86.o",
304 bf_obj => "bf-586.o",
305 md5_obj => "md5-586.o",
306 sha1_obj => "sha1-586.o sha256-586.o sha512-586.o",
307 cast_obj => "cast-586.o",
308 rc4_obj => "rc4-586.o",
309 rmd160_obj => "rmd-586.o",
310 rc5_obj => "rc5-586.o",
311 wp_obj => "wp_block.o wp-mmx.o",
312 modes_obj => "ghash-x86.o",
313 engines_obj => "e_padlock-x86.o",
314 perlasm_scheme => "elf",
315 dso_scheme => "dlfcn",
316 shared_target => "linux-shared",
317 shared_cflag => "-fPIC",
318 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
320 "debug-linux-generic32" => {
321 inherit_from => [ "no_asm_filler" ],
323 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -g -Wall",
324 thread_cflag => "-D_REENTRANT",
326 bn_ops => "BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
327 dso_scheme => "dlfcn",
328 shared_target => "linux-shared",
329 shared_cflag => "-fPIC",
330 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
332 "debug-linux-generic64" => {
333 inherit_from => [ "no_asm_filler" ],
335 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -g -Wall",
336 thread_cflag => "-D_REENTRANT",
338 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
339 dso_scheme => "dlfcn",
340 shared_target => "linux-shared",
341 shared_cflag => "-fPIC",
342 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
344 "debug-linux-x86_64" => {
345 inherit_from => [ "x86_64_asm" ],
347 cflags => "-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -g -Wall",
348 thread_cflag => "-D_REENTRANT",
350 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
351 perlasm_scheme => "elf",
352 dso_scheme => "dlfcn",
353 shared_target => "linux-shared",
354 shared_cflag => "-fPIC",
355 shared_ldflag => "-m64",
356 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
362 thread_cflag => "(unknown)",
364 "debug-test-64-clang" => {
365 inherit_from => [ "x86_64_asm" ],
367 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",
368 thread_cflag => "${BSDthreads}",
369 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
370 perlasm_scheme => "elf",
371 dso_scheme => "dlfcn",
372 shared_target => "bsd-gcc-shared",
373 shared_cflag => "-fPIC",
374 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
376 "darwin64-debug-test-64-clang" => {
377 inherit_from => [ "x86_64_asm" ],
379 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",
380 thread_cflag => "${BSDthreads}",
382 bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL",
383 perlasm_scheme => "macosx",
384 dso_scheme => "dlfcn",
385 shared_target => "darwin-shared",
386 shared_cflag => "-fPIC -fno-common",
387 shared_ldflag => "-arch x86_64 -dynamiclib",
388 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",