6d1cbfcfef8857341ca6b76df62b05d0a0493d7f
[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         asm_arch         => 'x86_64',
28         perlasm_scheme   => "elf",
29         dso_scheme       => "dlfcn",
30         shared_target    => "linux-shared",
31         shared_cflag     => "-fPIC",
32         shared_ldflag    => "-m64",
33         multilib         => "64",
34     },
35     "debug-linux-pentium" => {
36         inherit_from     => [ 'BASE_unix', "x86_elf_asm" ],
37         cc               => "gcc",
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"),
41         bn_ops           => "BN_LLONG",
42         asm_arch         => 'x86',
43         perlasm_scheme   => 'elf',
44         thread_scheme    => "pthreads",
45         dso_scheme       => "dlfcn",
46     },
47     "debug-linux-ppro" => {
48         inherit_from     => [ 'BASE_unix', "x86_elf_asm" ],
49         cc               => "gcc",
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"),
53         bn_ops           => "BN_LLONG",
54         asm_arch         => 'x86',
55         perlasm_scheme   => 'elf',
56         thread_scheme    => "pthreads",
57         dso_scheme       => "dlfcn",
58     },
59     "debug-linux-ia32-aes" => {
60         inherit_from     => [ 'BASE_unix' ],
61         cc               => "gcc",
62         cflags           => combine("-DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
63                                     threads("-D_REENTRANT")),
64         ex_libs          => add(" ","-ldl"),
65         bn_ops           => "BN_LLONG",
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",
85     },
86     "debug-test-64-clang" => {
87         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
88         cc               => "clang",
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",
94         asm_arch         => 'x86_64',
95         perlasm_scheme   => "elf",
96         dso_scheme       => "dlfcn",
97         shared_target    => "bsd-gcc-shared",
98         shared_cflag     => "-fPIC",
99     },
100     "darwin64-debug-test-64-clang" => {
101         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
102         cc               => "clang",
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}")),
107         sys_id           => "MACOSX",
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",
117     },
118 );