Don't use CPP in Configurations/unix-Makefile.tmpl
[openssl.git] / Configurations / 90-team.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("$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g",
22                                     threads("-D_REENTRANT")),
23         ex_libs          => add(" ","-ldl"),
24         bn_ops           => "SIXTY_FOUR_BIT_LONG",
25         thread_scheme    => "pthreads",
26         perlasm_scheme   => "elf",
27         dso_scheme       => "dlfcn",
28         shared_target    => "linux-shared",
29         shared_cflag     => "-fPIC",
30         shared_ldflag    => "-m64",
31         shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
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         shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
81     },
82     "dist" => {
83         inherit_from     => [ 'BASE_unix' ],
84         CC               => "cc",
85         CFLAGS           => "-O",
86         thread_scheme    => "(unknown)",
87     },
88     "debug-test-64-clang" => {
89         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
90         cc               => "clang",
91         cflags           => combine("$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",
92                                     threads("${BSDthreads}")),
93         bn_ops           => "SIXTY_FOUR_BIT_LONG",
94         thread_scheme    => "pthreads",
95         perlasm_scheme   => "elf",
96         dso_scheme       => "dlfcn",
97         shared_target    => "bsd-gcc-shared",
98         shared_cflag     => "-fPIC",
99         shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
100     },
101     "darwin64-debug-test-64-clang" => {
102         inherit_from     => [ 'BASE_unix', "x86_64_asm" ],
103         cc               => "clang",
104         cflags           => combine("-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",
105                                     threads("${BSDthreads}")),
106         sys_id           => "MACOSX",
107         bn_ops           => "SIXTY_FOUR_BIT_LONG",
108         thread_scheme    => "pthreads",
109         perlasm_scheme   => "macosx",
110         dso_scheme       => "dlfcn",
111         shared_target    => "darwin-shared",
112         shared_cflag     => "-fPIC -fno-common",
113         shared_ldflag    => "-arch x86_64 -dynamiclib",
114         shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",
115     },
116 );