13 lib_defines => [ 'OPENSSL_BUILDING_OPENSSL' ],
14 thread_scheme => "(unknown)", # Assume we don't know
17 unistd => "<unistd.h>",
24 #### Defaults for the benefit of the config targets who don't inherit
25 #### a BASE and assume Unix defaults
26 #### THESE WILL DISAPPEAR IN OpenSSL 1.2
27 build_scheme => [ "unified", "unix" ],
28 build_file => "Makefile",
33 HASHBANGPERL => "/usr/bin/env perl",
34 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
38 #### THESE WILL BE ENABLED IN OpenSSL 1.2
39 #HASHBANGPERL => "PERL", # Only Unix actually cares
51 push @defs, "ZLIB" unless $disabled{zlib};
52 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
58 push @incs, $withargs{zlib_include}
59 if !$disabled{zlib} && $withargs{zlib_include};
65 inherit_from => [ "BASE_common" ],
72 sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
74 sub { !defined($disabled{zlib})
75 && defined($disabled{"zlib-dynamic"})
77 HASHBANGPERL => "/usr/bin/env perl", # Only Unix actually cares
78 RANLIB => sub { which("$config{cross_compile_prefix}ranlib")
82 build_scheme => [ "unified", "unix" ],
83 build_file => "Makefile",
85 perl_platform => 'Unix',
89 inherit_from => [ "BASE_common" ],
95 unless ($disabled{"zlib-dynamic"}) {
96 my $zlib = $withargs{zlib_lib} // "ZLIB1";
97 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
103 unless ($disabled{zlib}) {
104 if (defined($disabled{"zlib-dynamic"})) {
105 return $withargs{zlib_lib} // "ZLIB1";
112 LDFLAGS => "/nologo",
113 ldoutflag => "/out:",
115 ARFLAGS => "/nologo",
116 aroutflag => "/out:",
120 MTFLAGS => "-nologo",
121 mtinflag => "-manifest ",
122 mtoutflag => "-outputresource:",
124 build_file => "makefile",
125 build_scheme => [ "unified", "windows" ],
127 perl_platform => 'Windows',
131 inherit_from => [ "BASE_common" ],
137 # GNV$ZLIB_INCLUDE is the standard logical name for later
139 push @incs, 'GNV$ZLIB_INCLUDE:'
140 if !$disabled{zlib} && !$withargs{zlib_include};
144 build_file => "descrip.mms",
145 build_scheme => [ "unified", "VMS" ],
147 perl_platform => 'VMS',