14 thread_scheme => "(unknown)", # Assume we don't know
17 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",
19 padlock_asm_src => "",
20 chacha_asm_src => "chacha_enc.c",
21 poly1305_asm_src => "",
22 keccak1600_asm_src => "keccak1600.c",
24 unistd => "<unistd.h>",
31 #### Defaults for the benefit of the config targets who don't inherit
32 #### a BASE and assume Unix defaults
33 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
34 build_scheme => [ "unified", "unix" ],
35 build_file => "Makefile",
40 HASHBANGPERL => "/usr/bin/env perl",
41 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
45 #### THESE WILL BE ENABLED IN OpenSSL 1.2
46 #HASHBANGPERL => "PERL", # Only Unix actually cares
58 push @defs, "ZLIB" unless $disabled{zlib};
59 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
65 push @incs, $withargs{zlib_include}
66 if !$disabled{zlib} && $withargs{zlib_include};
72 inherit_from => [ "BASE_common" ],
79 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
81 sub { !defined($disabled{zlib})
82 && defined($disabled{"zlib-dynamic"})
84 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
85 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
89 build_scheme => [ "unified", "unix" ],
90 build_file => "Makefile",
92 perl_platform => 'Unix',
96 inherit_from => [ "BASE_common" ],
102 unless ($disabled{"zlib-dynamic"}) {
103 my $zlib = $withargs{zlib_lib} // "ZLIB1";
104 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
110 unless ($disabled{zlib}) {
111 if (defined($disabled{"zlib-dynamic"})) {
112 return $withargs{zlib_lib} // "ZLIB1";
119 LDFLAGS => "/nologo",
120 ldoutflag => "/out:",
122 ARFLAGS => "/nologo",
123 aroutflag => "/out:",
127 MTFLAGS => "-nologo",
128 mtinflag => "-manifest ",
129 mtoutflag => "-outputresource:",
131 build_file => "makefile",
132 build_scheme => [ "unified", "windows" ],
134 perl_platform => 'Windows',
138 inherit_from => [ "BASE_common" ],
144 # GNV$ZLIB_INCLUDE is the standard logical name for later
146 push @incs, 'GNV$ZLIB_INCLUDE:'
147 if !$disabled{zlib} && !$withargs{zlib_include};
151 build_file => "descrip.mms",
152 build_scheme => [ "unified", "VMS" ],
154 perl_platform => 'VMS',
159 cmll_asm_src => "cmll-x86.s",
160 modes_asm_src => "ghash-x86.s",
161 padlock_asm_src => "e_padlock-x86.s",
162 chacha_asm_src => "chacha-x86.s",
163 poly1305_asm_src=> "poly1305-x86.s",
167 inherit_from => [ "x86_asm" ],
171 cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
172 modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
173 padlock_asm_src => "e_padlock-x86_64.s",
174 chacha_asm_src => "chacha-x86_64.s",
175 poly1305_asm_src=> "poly1305-x86_64.s",
176 keccak1600_asm_src => "keccak1600-x86_64.s",
180 modes_asm_src => "ghash-ia64.s",
181 chacha_asm_src => "chacha-ia64.S",
182 poly1305_asm_src=> "asm/poly1305-ia64.S",
186 cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S",
187 modes_asm_src => "ghash-sparcv9.S",
188 poly1305_asm_src=> "poly1305-sparcv9.S",
195 modes_asm_src => "ghash-alpha.S",
201 inherit_from => [ "mips32_asm" ],
203 poly1305_asm_src=> "poly1305-mips.S",
207 modes_asm_src => "ghash-s390x.S",
208 chacha_asm_src => "chacha-s390x.S",
209 poly1305_asm_src=> "poly1305-s390x.S",
210 keccak1600_asm_src => "keccak1600-s390x.S",
214 modes_asm_src => "ghash-armv4.S ghashv8-armx.S",
215 chacha_asm_src => "chacha-armv4.S",
216 poly1305_asm_src=> "poly1305-armv4.S",
217 keccak1600_asm_src => "keccak1600-armv4.S",
221 modes_asm_src => "ghashv8-armx.S",
222 chacha_asm_src => "chacha-armv8.S",
223 poly1305_asm_src=> "poly1305-armv8.S",
224 keccak1600_asm_src => "keccak1600-armv8.S",
228 modes_asm_src => "ghash-parisc.s",
232 inherit_from => [ "parisc11_asm" ],
236 modes_asm_src => "ghashp8-ppc.s",
237 chacha_asm_src => "chacha-ppc.s",
238 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
241 inherit_from => [ "ppc32_asm" ],
243 keccak1600_asm_src => "keccak1600-ppc64.s",