14 thread_scheme => "(unknown)", # Assume we don't know
17 padlock_asm_src => "",
18 keccak1600_asm_src => "keccak1600.c",
20 unistd => "<unistd.h>",
27 #### Defaults for the benefit of the config targets who don't inherit
28 #### a BASE and assume Unix defaults
29 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
30 build_scheme => [ "unified", "unix" ],
31 build_file => "Makefile",
36 HASHBANGPERL => "/usr/bin/env perl",
37 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
41 #### THESE WILL BE ENABLED IN OpenSSL 1.2
42 #HASHBANGPERL => "PERL", # Only Unix actually cares
54 push @defs, "ZLIB" unless $disabled{zlib};
55 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
61 push @incs, $withargs{zlib_include}
62 if !$disabled{zlib} && $withargs{zlib_include};
68 inherit_from => [ "BASE_common" ],
75 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
77 sub { !defined($disabled{zlib})
78 && defined($disabled{"zlib-dynamic"})
80 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
81 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
85 build_scheme => [ "unified", "unix" ],
86 build_file => "Makefile",
88 perl_platform => 'Unix',
92 inherit_from => [ "BASE_common" ],
98 unless ($disabled{"zlib-dynamic"}) {
99 my $zlib = $withargs{zlib_lib} // "ZLIB1";
100 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
106 unless ($disabled{zlib}) {
107 if (defined($disabled{"zlib-dynamic"})) {
108 return $withargs{zlib_lib} // "ZLIB1";
115 LDFLAGS => "/nologo",
116 ldoutflag => "/out:",
118 ARFLAGS => "/nologo",
119 aroutflag => "/out:",
123 MTFLAGS => "-nologo",
124 mtinflag => "-manifest ",
125 mtoutflag => "-outputresource:",
127 build_file => "makefile",
128 build_scheme => [ "unified", "windows" ],
130 perl_platform => 'Windows',
134 inherit_from => [ "BASE_common" ],
140 # GNV$ZLIB_INCLUDE is the standard logical name for later
142 push @incs, 'GNV$ZLIB_INCLUDE:'
143 if !$disabled{zlib} && !$withargs{zlib_include};
147 build_file => "descrip.mms",
148 build_scheme => [ "unified", "VMS" ],
150 perl_platform => 'VMS',
155 padlock_asm_src => "e_padlock-x86.s",
159 inherit_from => [ "x86_asm" ],
163 padlock_asm_src => "e_padlock-x86_64.s",
164 keccak1600_asm_src => "keccak1600-x86_64.s",
182 inherit_from => [ "mips32_asm" ],
187 keccak1600_asm_src => "keccak1600-s390x.S",
191 keccak1600_asm_src => "keccak1600-armv4.S",
195 keccak1600_asm_src => "keccak1600-armv8.S",
202 inherit_from => [ "parisc11_asm" ],
208 inherit_from => [ "ppc32_asm" ],
210 keccak1600_asm_src => "keccak1600-ppc64.s",