7f738e49655f0a90867fdbf52318a3bf57b5669f
[openssl.git] / Configurations / 90-team.norelease.conf
1 ## -*- mode: perl; -*-
2 ## Build configuration targets for openssl-team members
3
4 my %targets = (
5     "purify" => {
6         inherit_from     => [ 'BASE_unix' ],
7         cc               => "purify gcc",
8         CFLAGS           => "-g -Wall",
9         thread_scheme    => "(unknown)",
10         ex_libs          => add(" ","-lsocket -lnsl"),
11     },
12     "debug" => {
13         inherit_from     => [ 'BASE_unix' ],
14         cc               => "gcc",
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)",
17     },
18     "debug-erbridge" => {
19         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
20         cc               => "gcc",
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",
27         perlasm_scheme   => "elf",
28         dso_scheme       => "dlfcn",
29         shared_target    => "linux-shared",
30         shared_cflag     => "-fPIC",
31         shared_ldflag    => "-m64",
32         multilib         => "64",
33     },
34     "debug-linux-pentium" => {
35         inherit_from     => [ 'BASE_unix', "x86_elf_asm" ],
36         cc               => "gcc",
37         cflags           => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
38                                     threads("-D_REENTRANT")),
39         ex_libs          => add(" ","-ldl"),
40         bn_ops           => "BN_LLONG",
41         thread_scheme    => "pthreads",
42         dso_scheme       => "dlfcn",
43     },
44     "debug-linux-ppro" => {
45         inherit_from     => [ 'BASE_unix', "x86_elf_asm" ],
46         cc               => "gcc",
47         cflags           => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
48                                     threads("-D_REENTRANT")),
49         ex_libs          => add(" ","-ldl"),
50         bn_ops           => "BN_LLONG",
51         thread_scheme    => "pthreads",
52         dso_scheme       => "dlfcn",
53     },
54     "debug-linux-ia32-aes" => {
55         inherit_from     => [ 'BASE_unix' ],
56         cc               => "gcc",
57         cflags           => combine("-DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
58                                     threads("-D_REENTRANT")),
59         ex_libs          => add(" ","-ldl"),
60         bn_ops           => "BN_LLONG",
61         cpuid_asm_src    => "x86cpuid.s",
62         bn_asm_src       => "bn-586.s co-586.s x86-mont.s",
63         des_asm_src      => "des-586.s crypt586.s",
64         aes_asm_src      => "aes_x86core.s aes_cbc.s aesni-x86.s",
65         bf_asm_src       => "bf-586.s",
66         md5_asm_src      => "md5-586.s",
67         sha1_asm_src     => "sha1-586.s sha256-586.s sha512-586.s",
68         cast_asm_src     => "cast-586.s",
69         rc4_asm_src      => "rc4-586.s",
70         rmd160_asm_src   => "rmd-586.s",
71         rc5_asm_src      => "rc5-586.s",
72         wp_asm_src       => "wp_block.s wp-mmx.s",
73         modes_asm_src    => "ghash-x86.s",
74         padlock_asm_src  => "e_padlock-x86.s",
75         thread_scheme    => "pthreads",
76         perlasm_scheme   => "elf",
77         dso_scheme       => "dlfcn",
78         shared_target    => "linux-shared",
79         shared_cflag     => "-fPIC",
80     },
81     "debug-test-64-clang" => {
82         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
83         cc               => "clang",
84         cflags           => combine(join(' ', @gcc_devteam_warn),
85                                     "-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",
86                                     threads("${BSDthreads}")),
87         bn_ops           => "SIXTY_FOUR_BIT_LONG",
88         thread_scheme    => "pthreads",
89         perlasm_scheme   => "elf",
90         dso_scheme       => "dlfcn",
91         shared_target    => "bsd-gcc-shared",
92         shared_cflag     => "-fPIC",
93     },
94     "darwin64-debug-test-64-clang" => {
95         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
96         cc               => "clang",
97         cflags           => combine("-arch x86_64 -DL_ENDIAN",
98                                     join(' ', @gcc_devteam_warn),
99                                     "-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",
100                                     threads("${BSDthreads}")),
101         sys_id           => "MACOSX",
102         bn_ops           => "SIXTY_FOUR_BIT_LONG",
103         thread_scheme    => "pthreads",
104         perlasm_scheme   => "macosx",
105         dso_scheme       => "dlfcn",
106         shared_target    => "darwin-shared",
107         shared_cflag     => "-fPIC -fno-common",
108         shared_ldflag    => "-arch x86_64 -dynamiclib",
109         shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",
110     },
111 );