14 thread_scheme => "(unknown)", # Assume we don't know
17 cast_asm_src => "c_enc.c",
18 rc4_asm_src => "rc4_enc.c rc4_skey.c",
20 rc5_asm_src => "rc5_enc.c",
21 wp_asm_src => "wp_block.c",
22 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",
24 padlock_asm_src => "",
25 chacha_asm_src => "chacha_enc.c",
26 poly1305_asm_src => "",
27 keccak1600_asm_src => "keccak1600.c",
29 unistd => "<unistd.h>",
36 #### Defaults for the benefit of the config targets who don't inherit
37 #### a BASE and assume Unix defaults
38 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
39 build_scheme => [ "unified", "unix" ],
40 build_file => "Makefile",
45 HASHBANGPERL => "/usr/bin/env perl",
46 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
50 #### THESE WILL BE ENABLED IN OpenSSL 1.2
51 #HASHBANGPERL => "PERL", # Only Unix actually cares
63 push @defs, "ZLIB" unless $disabled{zlib};
64 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
70 push @incs, $withargs{zlib_include}
71 if !$disabled{zlib} && $withargs{zlib_include};
77 inherit_from => [ "BASE_common" ],
84 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
86 sub { !defined($disabled{zlib})
87 && defined($disabled{"zlib-dynamic"})
89 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
90 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
94 build_scheme => [ "unified", "unix" ],
95 build_file => "Makefile",
97 perl_platform => 'Unix',
101 inherit_from => [ "BASE_common" ],
107 unless ($disabled{"zlib-dynamic"}) {
108 my $zlib = $withargs{zlib_lib} // "ZLIB1";
109 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
115 unless ($disabled{zlib}) {
116 if (defined($disabled{"zlib-dynamic"})) {
117 return $withargs{zlib_lib} // "ZLIB1";
124 LDFLAGS => "/nologo",
125 ldoutflag => "/out:",
127 ARFLAGS => "/nologo",
128 aroutflag => "/out:",
132 MTFLAGS => "-nologo",
133 mtinflag => "-manifest ",
134 mtoutflag => "-outputresource:",
136 build_file => "makefile",
137 build_scheme => [ "unified", "windows" ],
139 perl_platform => 'Windows',
143 inherit_from => [ "BASE_common" ],
149 # GNV$ZLIB_INCLUDE is the standard logical name for later
151 push @incs, 'GNV$ZLIB_INCLUDE:'
152 if !$disabled{zlib} && !$withargs{zlib_include};
156 build_file => "descrip.mms",
157 build_scheme => [ "unified", "VMS" ],
159 perl_platform => 'VMS',
164 cast_asm_src => "cast-586.s",
165 rc4_asm_src => "rc4-586.s",
166 rmd160_asm_src => "rmd-586.s",
167 rc5_asm_src => "rc5-586.s",
168 wp_asm_src => "wp_block.c wp-mmx.s",
169 cmll_asm_src => "cmll-x86.s",
170 modes_asm_src => "ghash-x86.s",
171 padlock_asm_src => "e_padlock-x86.s",
172 chacha_asm_src => "chacha-x86.s",
173 poly1305_asm_src=> "poly1305-x86.s",
177 inherit_from => [ "x86_asm" ],
181 rc4_asm_src => "rc4-x86_64.s rc4-md5-x86_64.s",
182 wp_asm_src => "wp-x86_64.s",
183 cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
184 modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
185 padlock_asm_src => "e_padlock-x86_64.s",
186 chacha_asm_src => "chacha-x86_64.s",
187 poly1305_asm_src=> "poly1305-x86_64.s",
188 keccak1600_asm_src => "keccak1600-x86_64.s",
192 modes_asm_src => "ghash-ia64.s",
193 chacha_asm_src => "chacha-ia64.S",
194 poly1305_asm_src=> "asm/poly1305-ia64.S",
198 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S",
199 modes_asm_src => "ghash-sparcv9.S",
200 poly1305_asm_src=> "poly1305-sparcv9.S",
207 modes_asm_src => "ghash-alpha.S",
213 inherit_from => [ "mips32_asm" ],
215 poly1305_asm_src=> "poly1305-mips.S",
219 rc4_asm_src => "rc4-s390x.s",
220 modes_asm_src => "ghash-s390x.S",
221 chacha_asm_src => "chacha-s390x.S",
222 poly1305_asm_src=> "poly1305-s390x.S",
223 keccak1600_asm_src => "keccak1600-s390x.S",
227 modes_asm_src => "ghash-armv4.S ghashv8-armx.S",
228 chacha_asm_src => "chacha-armv4.S",
229 poly1305_asm_src=> "poly1305-armv4.S",
230 keccak1600_asm_src => "keccak1600-armv4.S",
234 modes_asm_src => "ghashv8-armx.S",
235 chacha_asm_src => "chacha-armv8.S",
236 poly1305_asm_src=> "poly1305-armv8.S",
237 keccak1600_asm_src => "keccak1600-armv8.S",
241 rc4_asm_src => "rc4-parisc.s",
242 modes_asm_src => "ghash-parisc.s",
246 inherit_from => [ "parisc11_asm" ],
250 modes_asm_src => "ghashp8-ppc.s",
251 chacha_asm_src => "chacha-ppc.s",
252 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
255 inherit_from => [ "ppc32_asm" ],
257 keccak1600_asm_src => "keccak1600-ppc64.s",