14 thread_scheme => "(unknown)", # Assume we don't know
17 rc5_asm_src => "rc5_enc.c",
18 wp_asm_src => "wp_block.c",
19 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",
21 padlock_asm_src => "",
22 chacha_asm_src => "chacha_enc.c",
23 poly1305_asm_src => "",
24 keccak1600_asm_src => "keccak1600.c",
26 unistd => "<unistd.h>",
33 #### Defaults for the benefit of the config targets who don't inherit
34 #### a BASE and assume Unix defaults
35 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
36 build_scheme => [ "unified", "unix" ],
37 build_file => "Makefile",
42 HASHBANGPERL => "/usr/bin/env perl",
43 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
47 #### THESE WILL BE ENABLED IN OpenSSL 1.2
48 #HASHBANGPERL => "PERL", # Only Unix actually cares
60 push @defs, "ZLIB" unless $disabled{zlib};
61 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
67 push @incs, $withargs{zlib_include}
68 if !$disabled{zlib} && $withargs{zlib_include};
74 inherit_from => [ "BASE_common" ],
81 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
83 sub { !defined($disabled{zlib})
84 && defined($disabled{"zlib-dynamic"})
86 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
87 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
91 build_scheme => [ "unified", "unix" ],
92 build_file => "Makefile",
94 perl_platform => 'Unix',
98 inherit_from => [ "BASE_common" ],
104 unless ($disabled{"zlib-dynamic"}) {
105 my $zlib = $withargs{zlib_lib} // "ZLIB1";
106 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
112 unless ($disabled{zlib}) {
113 if (defined($disabled{"zlib-dynamic"})) {
114 return $withargs{zlib_lib} // "ZLIB1";
121 LDFLAGS => "/nologo",
122 ldoutflag => "/out:",
124 ARFLAGS => "/nologo",
125 aroutflag => "/out:",
129 MTFLAGS => "-nologo",
130 mtinflag => "-manifest ",
131 mtoutflag => "-outputresource:",
133 build_file => "makefile",
134 build_scheme => [ "unified", "windows" ],
136 perl_platform => 'Windows',
140 inherit_from => [ "BASE_common" ],
146 # GNV$ZLIB_INCLUDE is the standard logical name for later
148 push @incs, 'GNV$ZLIB_INCLUDE:'
149 if !$disabled{zlib} && !$withargs{zlib_include};
153 build_file => "descrip.mms",
154 build_scheme => [ "unified", "VMS" ],
156 perl_platform => 'VMS',
161 rc5_asm_src => "rc5-586.s",
162 wp_asm_src => "wp_block.c wp-mmx.s",
163 cmll_asm_src => "cmll-x86.s",
164 modes_asm_src => "ghash-x86.s",
165 padlock_asm_src => "e_padlock-x86.s",
166 chacha_asm_src => "chacha-x86.s",
167 poly1305_asm_src=> "poly1305-x86.s",
171 inherit_from => [ "x86_asm" ],
175 wp_asm_src => "wp-x86_64.s",
176 cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
177 modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
178 padlock_asm_src => "e_padlock-x86_64.s",
179 chacha_asm_src => "chacha-x86_64.s",
180 poly1305_asm_src=> "poly1305-x86_64.s",
181 keccak1600_asm_src => "keccak1600-x86_64.s",
185 modes_asm_src => "ghash-ia64.s",
186 chacha_asm_src => "chacha-ia64.S",
187 poly1305_asm_src=> "asm/poly1305-ia64.S",
191 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S",
192 modes_asm_src => "ghash-sparcv9.S",
193 poly1305_asm_src=> "poly1305-sparcv9.S",
200 modes_asm_src => "ghash-alpha.S",
206 inherit_from => [ "mips32_asm" ],
208 poly1305_asm_src=> "poly1305-mips.S",
212 modes_asm_src => "ghash-s390x.S",
213 chacha_asm_src => "chacha-s390x.S",
214 poly1305_asm_src=> "poly1305-s390x.S",
215 keccak1600_asm_src => "keccak1600-s390x.S",
219 modes_asm_src => "ghash-armv4.S ghashv8-armx.S",
220 chacha_asm_src => "chacha-armv4.S",
221 poly1305_asm_src=> "poly1305-armv4.S",
222 keccak1600_asm_src => "keccak1600-armv4.S",
226 modes_asm_src => "ghashv8-armx.S",
227 chacha_asm_src => "chacha-armv8.S",
228 poly1305_asm_src=> "poly1305-armv8.S",
229 keccak1600_asm_src => "keccak1600-armv8.S",
233 modes_asm_src => "ghash-parisc.s",
237 inherit_from => [ "parisc11_asm" ],
241 modes_asm_src => "ghashp8-ppc.s",
242 chacha_asm_src => "chacha-ppc.s",
243 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
246 inherit_from => [ "ppc32_asm" ],
248 keccak1600_asm_src => "keccak1600-ppc64.s",