14 thread_scheme => "(unknown)", # Assume we don't know
17 padlock_asm_src => "",
18 chacha_asm_src => "chacha_enc.c",
19 poly1305_asm_src => "",
20 keccak1600_asm_src => "keccak1600.c",
22 unistd => "<unistd.h>",
29 #### Defaults for the benefit of the config targets who don't inherit
30 #### a BASE and assume Unix defaults
31 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
32 build_scheme => [ "unified", "unix" ],
33 build_file => "Makefile",
38 HASHBANGPERL => "/usr/bin/env perl",
39 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
43 #### THESE WILL BE ENABLED IN OpenSSL 1.2
44 #HASHBANGPERL => "PERL", # Only Unix actually cares
56 push @defs, "ZLIB" unless $disabled{zlib};
57 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
63 push @incs, $withargs{zlib_include}
64 if !$disabled{zlib} && $withargs{zlib_include};
70 inherit_from => [ "BASE_common" ],
77 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
79 sub { !defined($disabled{zlib})
80 && defined($disabled{"zlib-dynamic"})
82 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
83 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
87 build_scheme => [ "unified", "unix" ],
88 build_file => "Makefile",
90 perl_platform => 'Unix',
94 inherit_from => [ "BASE_common" ],
100 unless ($disabled{"zlib-dynamic"}) {
101 my $zlib = $withargs{zlib_lib} // "ZLIB1";
102 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
108 unless ($disabled{zlib}) {
109 if (defined($disabled{"zlib-dynamic"})) {
110 return $withargs{zlib_lib} // "ZLIB1";
117 LDFLAGS => "/nologo",
118 ldoutflag => "/out:",
120 ARFLAGS => "/nologo",
121 aroutflag => "/out:",
125 MTFLAGS => "-nologo",
126 mtinflag => "-manifest ",
127 mtoutflag => "-outputresource:",
129 build_file => "makefile",
130 build_scheme => [ "unified", "windows" ],
132 perl_platform => 'Windows',
136 inherit_from => [ "BASE_common" ],
142 # GNV$ZLIB_INCLUDE is the standard logical name for later
144 push @incs, 'GNV$ZLIB_INCLUDE:'
145 if !$disabled{zlib} && !$withargs{zlib_include};
149 build_file => "descrip.mms",
150 build_scheme => [ "unified", "VMS" ],
152 perl_platform => 'VMS',
157 padlock_asm_src => "e_padlock-x86.s",
158 chacha_asm_src => "chacha-x86.s",
159 poly1305_asm_src=> "poly1305-x86.s",
163 inherit_from => [ "x86_asm" ],
167 padlock_asm_src => "e_padlock-x86_64.s",
168 chacha_asm_src => "chacha-x86_64.s",
169 poly1305_asm_src=> "poly1305-x86_64.s",
170 keccak1600_asm_src => "keccak1600-x86_64.s",
174 chacha_asm_src => "chacha-ia64.S",
175 poly1305_asm_src=> "asm/poly1305-ia64.S",
179 poly1305_asm_src=> "poly1305-sparcv9.S",
191 inherit_from => [ "mips32_asm" ],
193 poly1305_asm_src=> "poly1305-mips.S",
197 chacha_asm_src => "chacha-s390x.S",
198 poly1305_asm_src=> "poly1305-s390x.S",
199 keccak1600_asm_src => "keccak1600-s390x.S",
203 chacha_asm_src => "chacha-armv4.S",
204 poly1305_asm_src=> "poly1305-armv4.S",
205 keccak1600_asm_src => "keccak1600-armv4.S",
209 chacha_asm_src => "chacha-armv8.S",
210 poly1305_asm_src=> "poly1305-armv8.S",
211 keccak1600_asm_src => "keccak1600-armv8.S",
218 inherit_from => [ "parisc11_asm" ],
222 chacha_asm_src => "chacha-ppc.s",
223 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
226 inherit_from => [ "ppc32_asm" ],
228 keccak1600_asm_src => "keccak1600-ppc64.s",