14 thread_scheme => "(unknown)", # Assume we don't know
17 padlock_asm_src => "",
18 poly1305_asm_src => "",
19 keccak1600_asm_src => "keccak1600.c",
21 unistd => "<unistd.h>",
28 #### Defaults for the benefit of the config targets who don't inherit
29 #### a BASE and assume Unix defaults
30 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
31 build_scheme => [ "unified", "unix" ],
32 build_file => "Makefile",
37 HASHBANGPERL => "/usr/bin/env perl",
38 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
42 #### THESE WILL BE ENABLED IN OpenSSL 1.2
43 #HASHBANGPERL => "PERL", # Only Unix actually cares
55 push @defs, "ZLIB" unless $disabled{zlib};
56 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
62 push @incs, $withargs{zlib_include}
63 if !$disabled{zlib} && $withargs{zlib_include};
69 inherit_from => [ "BASE_common" ],
76 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
78 sub { !defined($disabled{zlib})
79 && defined($disabled{"zlib-dynamic"})
81 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
82 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
86 build_scheme => [ "unified", "unix" ],
87 build_file => "Makefile",
89 perl_platform => 'Unix',
93 inherit_from => [ "BASE_common" ],
99 unless ($disabled{"zlib-dynamic"}) {
100 my $zlib = $withargs{zlib_lib} // "ZLIB1";
101 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
107 unless ($disabled{zlib}) {
108 if (defined($disabled{"zlib-dynamic"})) {
109 return $withargs{zlib_lib} // "ZLIB1";
116 LDFLAGS => "/nologo",
117 ldoutflag => "/out:",
119 ARFLAGS => "/nologo",
120 aroutflag => "/out:",
124 MTFLAGS => "-nologo",
125 mtinflag => "-manifest ",
126 mtoutflag => "-outputresource:",
128 build_file => "makefile",
129 build_scheme => [ "unified", "windows" ],
131 perl_platform => 'Windows',
135 inherit_from => [ "BASE_common" ],
141 # GNV$ZLIB_INCLUDE is the standard logical name for later
143 push @incs, 'GNV$ZLIB_INCLUDE:'
144 if !$disabled{zlib} && !$withargs{zlib_include};
148 build_file => "descrip.mms",
149 build_scheme => [ "unified", "VMS" ],
151 perl_platform => 'VMS',
156 padlock_asm_src => "e_padlock-x86.s",
157 poly1305_asm_src=> "poly1305-x86.s",
161 inherit_from => [ "x86_asm" ],
165 padlock_asm_src => "e_padlock-x86_64.s",
166 poly1305_asm_src=> "poly1305-x86_64.s",
167 keccak1600_asm_src => "keccak1600-x86_64.s",
171 poly1305_asm_src=> "asm/poly1305-ia64.S",
175 poly1305_asm_src=> "poly1305-sparcv9.S",
187 inherit_from => [ "mips32_asm" ],
189 poly1305_asm_src=> "poly1305-mips.S",
193 poly1305_asm_src=> "poly1305-s390x.S",
194 keccak1600_asm_src => "keccak1600-s390x.S",
198 poly1305_asm_src=> "poly1305-armv4.S",
199 keccak1600_asm_src => "keccak1600-armv4.S",
203 poly1305_asm_src=> "poly1305-armv8.S",
204 keccak1600_asm_src => "keccak1600-armv8.S",
211 inherit_from => [ "parisc11_asm" ],
215 poly1305_asm_src=> "poly1305-ppc.s poly1305-ppcfp.s",
218 inherit_from => [ "ppc32_asm" ],
220 keccak1600_asm_src => "keccak1600-ppc64.s",