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-linux-ia32-aes" => {
60 inherit_from => [ 'BASE_unix' ],
62 cflags => combine("-DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
63 threads("-D_REENTRANT")),
64 ex_libs => add(" ","-ldl"),
66 cpuid_asm_src => "x86cpuid.s",
67 bn_asm_src => "bn-586.s co-586.s x86-mont.s",
68 des_asm_src => "des-586.s crypt586.s",
69 aes_asm_src => "aes_x86core.s aes_cbc.s aesni-x86.s",
70 bf_asm_src => "bf-586.s",
71 md5_asm_src => "md5-586.s",
72 sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
73 cast_asm_src => "cast-586.s",
74 rc4_asm_src => "rc4-586.s",
75 rmd160_asm_src => "rmd-586.s",
76 rc5_asm_src => "rc5-586.s",
77 wp_asm_src => "wp_block.s wp-mmx.s",
78 modes_asm_src => "ghash-x86.s",
79 padlock_asm_src => "e_padlock-x86.s",
80 thread_scheme => "pthreads",
81 perlasm_scheme => "elf",
82 dso_scheme => "dlfcn",
83 shared_target => "linux-shared",
84 shared_cflag => "-fPIC",
86 "debug-test-64-clang" => {
87 inherit_from => [ 'BASE_unix', "x86_64_asm" ],
89 cflags => combine(join(' ', @gcc_devteam_warn),
90 "-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",
91 threads("${BSDthreads}")),
92 bn_ops => "SIXTY_FOUR_BIT_LONG",
93 thread_scheme => "pthreads",
95 perlasm_scheme => "elf",
96 dso_scheme => "dlfcn",
97 shared_target => "bsd-gcc-shared",
98 shared_cflag => "-fPIC",
100 "darwin64-debug-test-64-clang" => {
101 inherit_from => [ 'BASE_unix', "x86_64_asm" ],
103 cflags => combine("-arch x86_64 -DL_ENDIAN",
104 join(' ', @gcc_devteam_warn),
105 "-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",
106 threads("${BSDthreads}")),
108 bn_ops => "SIXTY_FOUR_BIT_LONG",
109 thread_scheme => "pthreads",
110 asm_arch => 'x86_64',
111 perlasm_scheme => "macosx",
112 dso_scheme => "dlfcn",
113 shared_target => "darwin-shared",
114 shared_cflag => "-fPIC -fno-common",
115 shared_ldflag => "-arch x86_64 -dynamiclib",
116 shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",