14 thread_scheme => "(unknown)", # Assume we don't know
17 wp_asm_src => "wp_block.c",
18 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",
20 padlock_asm_src => "",
21 chacha_asm_src => "chacha_enc.c",
22 poly1305_asm_src => "",
23 keccak1600_asm_src => "keccak1600.c",
25 unistd => "<unistd.h>",
32 #### Defaults for the benefit of the config targets who don't inherit
33 #### a BASE and assume Unix defaults
34 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
35 build_scheme => [ "unified", "unix" ],
36 build_file => "Makefile",
41 HASHBANGPERL => "/usr/bin/env perl",
42 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
46 #### THESE WILL BE ENABLED IN OpenSSL 1.2
47 #HASHBANGPERL => "PERL", # Only Unix actually cares
59 push @defs, "ZLIB" unless $disabled{zlib};
60 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
66 push @incs, $withargs{zlib_include}
67 if !$disabled{zlib} && $withargs{zlib_include};
73 inherit_from => [ "BASE_common" ],
80 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
82 sub { !defined($disabled{zlib})
83 && defined($disabled{"zlib-dynamic"})
85 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
86 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
90 build_scheme => [ "unified", "unix" ],
91 build_file => "Makefile",
93 perl_platform => 'Unix',
97 inherit_from => [ "BASE_common" ],
103 unless ($disabled{"zlib-dynamic"}) {
104 my $zlib = $withargs{zlib_lib} // "ZLIB1";
105 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
111 unless ($disabled{zlib}) {
112 if (defined($disabled{"zlib-dynamic"})) {
113 return $withargs{zlib_lib} // "ZLIB1";
120 LDFLAGS => "/nologo",
121 ldoutflag => "/out:",
123 ARFLAGS => "/nologo",
124 aroutflag => "/out:",
128 MTFLAGS => "-nologo",
129 mtinflag => "-manifest ",
130 mtoutflag => "-outputresource:",
132 build_file => "makefile",
133 build_scheme => [ "unified", "windows" ],
135 perl_platform => 'Windows',
139 inherit_from => [ "BASE_common" ],
145 # GNV$ZLIB_INCLUDE is the standard logical name for later
147 push @incs, 'GNV$ZLIB_INCLUDE:'
148 if !$disabled{zlib} && !$withargs{zlib_include};
152 build_file => "descrip.mms",
153 build_scheme => [ "unified", "VMS" ],
155 perl_platform => 'VMS',
160 wp_asm_src => "wp_block.c wp-mmx.s",
161 cmll_asm_src => "cmll-x86.s",
162 modes_asm_src => "ghash-x86.s",
163 padlock_asm_src => "e_padlock-x86.s",
164 chacha_asm_src => "chacha-x86.s",
165 poly1305_asm_src=> "poly1305-x86.s",
169 inherit_from => [ "x86_asm" ],
173 wp_asm_src => "wp-x86_64.s",
174 cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
175 modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
176 padlock_asm_src => "e_padlock-x86_64.s",
177 chacha_asm_src => "chacha-x86_64.s",
178 poly1305_asm_src=> "poly1305-x86_64.s",
179 keccak1600_asm_src => "keccak1600-x86_64.s",
183 modes_asm_src => "ghash-ia64.s",
184 chacha_asm_src => "chacha-ia64.S",
185 poly1305_asm_src=> "asm/poly1305-ia64.S",
189 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S",
190 modes_asm_src => "ghash-sparcv9.S",
191 poly1305_asm_src=> "poly1305-sparcv9.S",
198 modes_asm_src => "ghash-alpha.S",
204 inherit_from => [ "mips32_asm" ],
206 poly1305_asm_src=> "poly1305-mips.S",
210 modes_asm_src => "ghash-s390x.S",
211 chacha_asm_src => "chacha-s390x.S",
212 poly1305_asm_src=> "poly1305-s390x.S",
213 keccak1600_asm_src => "keccak1600-s390x.S",
217 modes_asm_src => "ghash-armv4.S ghashv8-armx.S",
218 chacha_asm_src => "chacha-armv4.S",
219 poly1305_asm_src=> "poly1305-armv4.S",
220 keccak1600_asm_src => "keccak1600-armv4.S",
224 modes_asm_src => "ghashv8-armx.S",
225 chacha_asm_src => "chacha-armv8.S",
226 poly1305_asm_src=> "poly1305-armv8.S",
227 keccak1600_asm_src => "keccak1600-armv8.S",
231 modes_asm_src => "ghash-parisc.s",
235 inherit_from => [ "parisc11_asm" ],
239 modes_asm_src => "ghashp8-ppc.s",
240 chacha_asm_src => "chacha-ppc.s",
241 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
244 inherit_from => [ "ppc32_asm" ],
246 keccak1600_asm_src => "keccak1600-ppc64.s",