14 thread_scheme => "(unknown)", # Assume we don't know
18 rc5_asm_src => "rc5_enc.c",
19 wp_asm_src => "wp_block.c",
20 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",
22 padlock_asm_src => "",
23 chacha_asm_src => "chacha_enc.c",
24 poly1305_asm_src => "",
25 keccak1600_asm_src => "keccak1600.c",
27 unistd => "<unistd.h>",
34 #### Defaults for the benefit of the config targets who don't inherit
35 #### a BASE and assume Unix defaults
36 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
37 build_scheme => [ "unified", "unix" ],
38 build_file => "Makefile",
43 HASHBANGPERL => "/usr/bin/env perl",
44 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
48 #### THESE WILL BE ENABLED IN OpenSSL 1.2
49 #HASHBANGPERL => "PERL", # Only Unix actually cares
61 push @defs, "ZLIB" unless $disabled{zlib};
62 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
68 push @incs, $withargs{zlib_include}
69 if !$disabled{zlib} && $withargs{zlib_include};
75 inherit_from => [ "BASE_common" ],
82 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
84 sub { !defined($disabled{zlib})
85 && defined($disabled{"zlib-dynamic"})
87 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
88 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
92 build_scheme => [ "unified", "unix" ],
93 build_file => "Makefile",
95 perl_platform => 'Unix',
99 inherit_from => [ "BASE_common" ],
105 unless ($disabled{"zlib-dynamic"}) {
106 my $zlib = $withargs{zlib_lib} // "ZLIB1";
107 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
113 unless ($disabled{zlib}) {
114 if (defined($disabled{"zlib-dynamic"})) {
115 return $withargs{zlib_lib} // "ZLIB1";
122 LDFLAGS => "/nologo",
123 ldoutflag => "/out:",
125 ARFLAGS => "/nologo",
126 aroutflag => "/out:",
130 MTFLAGS => "-nologo",
131 mtinflag => "-manifest ",
132 mtoutflag => "-outputresource:",
134 build_file => "makefile",
135 build_scheme => [ "unified", "windows" ],
137 perl_platform => 'Windows',
141 inherit_from => [ "BASE_common" ],
147 # GNV$ZLIB_INCLUDE is the standard logical name for later
149 push @incs, 'GNV$ZLIB_INCLUDE:'
150 if !$disabled{zlib} && !$withargs{zlib_include};
154 build_file => "descrip.mms",
155 build_scheme => [ "unified", "VMS" ],
157 perl_platform => 'VMS',
162 rmd160_asm_src => "rmd-586.s",
163 rc5_asm_src => "rc5-586.s",
164 wp_asm_src => "wp_block.c wp-mmx.s",
165 cmll_asm_src => "cmll-x86.s",
166 modes_asm_src => "ghash-x86.s",
167 padlock_asm_src => "e_padlock-x86.s",
168 chacha_asm_src => "chacha-x86.s",
169 poly1305_asm_src=> "poly1305-x86.s",
173 inherit_from => [ "x86_asm" ],
177 wp_asm_src => "wp-x86_64.s",
178 cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
179 modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
180 padlock_asm_src => "e_padlock-x86_64.s",
181 chacha_asm_src => "chacha-x86_64.s",
182 poly1305_asm_src=> "poly1305-x86_64.s",
183 keccak1600_asm_src => "keccak1600-x86_64.s",
187 modes_asm_src => "ghash-ia64.s",
188 chacha_asm_src => "chacha-ia64.S",
189 poly1305_asm_src=> "asm/poly1305-ia64.S",
193 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S",
194 modes_asm_src => "ghash-sparcv9.S",
195 poly1305_asm_src=> "poly1305-sparcv9.S",
202 modes_asm_src => "ghash-alpha.S",
208 inherit_from => [ "mips32_asm" ],
210 poly1305_asm_src=> "poly1305-mips.S",
214 modes_asm_src => "ghash-s390x.S",
215 chacha_asm_src => "chacha-s390x.S",
216 poly1305_asm_src=> "poly1305-s390x.S",
217 keccak1600_asm_src => "keccak1600-s390x.S",
221 modes_asm_src => "ghash-armv4.S ghashv8-armx.S",
222 chacha_asm_src => "chacha-armv4.S",
223 poly1305_asm_src=> "poly1305-armv4.S",
224 keccak1600_asm_src => "keccak1600-armv4.S",
228 modes_asm_src => "ghashv8-armx.S",
229 chacha_asm_src => "chacha-armv8.S",
230 poly1305_asm_src=> "poly1305-armv8.S",
231 keccak1600_asm_src => "keccak1600-armv8.S",
235 modes_asm_src => "ghash-parisc.s",
239 inherit_from => [ "parisc11_asm" ],
243 modes_asm_src => "ghashp8-ppc.s",
244 chacha_asm_src => "chacha-ppc.s",
245 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
248 inherit_from => [ "ppc32_asm" ],
250 keccak1600_asm_src => "keccak1600-ppc64.s",