2 ## Build configuration targets for openssl-team members
6 return sub { add($disabled{threads} ? () : @flags)->(); }
11 return sub { add(@stuff)->(); }
18 thread_scheme => "(unknown)",
19 ex_libs => add(" ","-lsocket -lnsl"),
23 cflags => "-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror",
24 thread_scheme => "(unknown)",
25 ex_libs => add(" ","-lefence"),
28 inherit_from => [ "x86_64_asm" ],
30 cflags => combine("$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g",
31 threads("-D_REENTRANT")),
32 ex_libs => add(" ","-ldl"),
33 bn_ops => "SIXTY_FOUR_BIT_LONG",
34 thread_scheme => "pthreads",
35 perlasm_scheme => "elf",
36 dso_scheme => "dlfcn",
37 shared_target => "linux-shared",
38 shared_cflag => "-fPIC",
39 shared_ldflag => "-m64",
40 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
43 "debug-linux-pentium" => {
44 inherit_from => [ "x86_elf_asm" ],
46 cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentium -Wall",
47 threads("-D_REENTRANT")),
48 ex_libs => add(" ","-ldl"),
50 thread_scheme => "pthreads",
51 dso_scheme => "dlfcn",
53 "debug-linux-ppro" => {
54 inherit_from => [ "x86_elf_asm" ],
56 cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -mcpu=pentiumpro -Wall",
57 threads("-D_REENTRANT")),
58 ex_libs => add(" ","-ldl"),
60 thread_scheme => "pthreads",
61 dso_scheme => "dlfcn",
63 "debug-linux-elf-noefence" => {
64 inherit_from => [ "x86_elf_asm" ],
66 cflags => combine("-DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DL_ENDIAN -g -Wall",
67 threads("-D_REENTRANT")),
68 ex_libs => add(" ","-ldl"),
70 thread_scheme => "pthreads",
71 dso_scheme => "dlfcn",
72 shared_target => "linux-shared",
73 shared_cflag => "-fPIC",
74 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
76 "debug-linux-ia32-aes" => {
78 cflags => combine("-DL_ENDIAN -O3 -fomit-frame-pointer -Wall",
79 threads("-D_REENTRANT")),
80 ex_libs => add(" ","-ldl"),
82 cpuid_asm_src => "x86cpuid.s",
83 bn_asm_src => "bn-586.s co-586.s x86-mont.s",
84 des_asm_src => "des-586.s crypt586.s",
85 aes_asm_src => "aes_x86core.s aes_cbc.s aesni-x86.s",
86 bf_asm_src => "bf-586.s",
87 md5_asm_src => "md5-586.s",
88 sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
89 cast_asm_src => "cast-586.s",
90 rc4_asm_src => "rc4-586.s",
91 rmd160_asm_src => "rmd-586.s",
92 rc5_asm_src => "rc5-586.s",
93 wp_asm_src => "wp_block.s wp-mmx.s",
94 modes_asm_src => "ghash-x86.s",
95 padlock_asm_src => "e_padlock-x86.s",
96 thread_scheme => "pthreads",
97 perlasm_scheme => "elf",
98 dso_scheme => "dlfcn",
99 shared_target => "linux-shared",
100 shared_cflag => "-fPIC",
101 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
106 thread_scheme => "(unknown)",
108 "debug-test-64-clang" => {
109 inherit_from => [ "x86_64_asm" ],
111 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",
112 threads("${BSDthreads}")),
113 bn_ops => "SIXTY_FOUR_BIT_LONG",
114 thread_scheme => "pthreads",
115 perlasm_scheme => "elf",
116 dso_scheme => "dlfcn",
117 shared_target => "bsd-gcc-shared",
118 shared_cflag => "-fPIC",
119 shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
121 "darwin64-debug-test-64-clang" => {
122 inherit_from => [ "x86_64_asm" ],
124 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",
125 threads("${BSDthreads}")),
127 bn_ops => "SIXTY_FOUR_BIT_LONG",
128 thread_scheme => "pthreads",
129 perlasm_scheme => "macosx",
130 dso_scheme => "dlfcn",
131 shared_target => "darwin-shared",
132 shared_cflag => "-fPIC -fno-common",
133 shared_ldflag => "-arch x86_64 -dynamiclib",
134 shared_extension => ".\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",