my $pointer_size_str = $pointer_size == 0 ? "" : "$pointer_size";
$vms_info->{disable_warns} = [ ];
+ $vms_info->{pointer_size} = $pointer_size_str;
if ($pointer_size == 64) {
`PIPE CC /NOCROSS_REFERENCE /NOLIST /NOOBJECT /WARNINGS = DISABLE = ( MAYLOSEDATA3, EMPTYFILE ) NL: 2> NL:`;
if ($? == 0) {
# crypto/sha/sha_lcl.h.
# - originally there were 32-bit hpux-parisc2-* targets. They were
# scrapped, because a) they were not interchangeable with other 32-bit
-# targets; a) when critical 32-bit assembly modules detect if they
-# are executed on PA-RISC 2.0 and thus adequate performance is
-# provided.
+# targets; b) performance-critical 32-bit assembly modules implement
+# even PA-RISC 2.0-specific code paths, which are chosen at run-time,
+# thus adequate performance is provided even with PA-RISC 1.1 build.
# <appro@fy.chalmers.se>
"hpux-parisc-gcc" => {
inherit_from => [ "BASE_unix" ],
return [ @defs ];
}),
coutflag => "/Fo",
- rc => "rc",
- rcoutflag => "/fo",
lib_cflags => add("/Zi /Fdossl_static"),
dso_cflags => "/Zi /Fddso",
bin_cflags => "/Zi /Fdapp",
shared_target => "win-shared", # meaningless except it gives Configure a hint
thread_scheme => "winthreads",
dso_scheme => "win32",
+ apps_aux_src => add("win32_init.c"),
},
"VC-noCE-common" => {
inherit_from => [ "VC-common" ],
shared_rcflag => "--target=pe-i386",
shared_extension => ".dll",
multilib => "",
+ apps_aux_src => add("win32_init.c"),
},
"mingw64" => {
# As for OPENSSL_USE_APPLINK. Applink makes it possible to use
shared_rcflag => "--target=pe-x86-64",
shared_extension => ".dll",
multilib => "64",
+ apps_aux_src => add("win32_init.c"),
},
#### UEFI
dso_scheme => "dlfcn",
shared_target => "linux-shared",
shared_cflag => "-fPIC",
+ shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
},
##### VxWorks for various targets
apps_aux_src => "vms_decc_init.c",
},
- # VMS on VAX is *unsupported*
- #"vms-asm" => {
- # template => 1,
- # bn_obj => "[.asm]vms.obj vms-helper.obj"
- #},
- #"vms-vax" => {
- # inherit_from => [ "vms-generic", asm("vms-asm") ],
- # as => "MACRO",
- # debug_aflags => "/NOOPTIMIZE/DEBUG",
- # release_aflags => "/OPTIMIZE/NODEBUG",
- # bn_opts => "THIRTY_TWO_BIT RC4_CHAR RC4_CHUNK DES_PTR BF_PTR",
- #},
"vms-alpha" => {
inherit_from => [ "vms-generic" ],
cflags => add(sub { my @warnings =
? "LIBZ=\"\"\"".vms_info(0)->{def_zlib}."\"\"\"" : ();
}),
ex_libs => add(sub { return vms_info(0)->{zlib} || (); }),
+ pointer_size => sub { return vms_info(0)->{pointer_size} },
#as => "???",
#debug_aflags => "/NOOPTIMIZE/DEBUG",
#release_aflags => "/OPTIMIZE/NODEBUG",
- bn_opts => "SIXTY_FOUR_BIT RC4_INT RC4_CHUNK_LL DES_PTR BF_PTR",
+ bn_opts => "SIXTY_FOUR_BIT RC4_INT",
},
"vms-alpha-p32" => {
inherit_from => [ "vms-generic" ],
? "LIBZ=\"\"\"".vms_info(32)->{def_zlib}."\"\"\"" : ();
}),
ex_libs => add(sub { return vms_info(32)->{zlib} || (); }),
+ pointer_size => sub { return vms_info(32)->{pointer_size} },
},
"vms-alpha-p64" => {
inherit_from => [ "vms-generic" ],
? "LIBZ=\"\"\"".vms_info(64)->{def_zlib}."\"\"\"" : ();
}),
ex_libs => add(sub { return vms_info(64)->{zlib} || (); }),
+ pointer_size => sub { return vms_info(64)->{pointer_size} },
},
"vms-ia64" => {
inherit_from => [ "vms-generic" ],
? "LIBZ=\"\"\"".vms_info(0)->{def_zlib}."\"\"\"" : ();
}),
ex_libs => add(sub { return vms_info(0)->{zlib} || (); }),
+ pointer_size => sub { return vms_info(0)->{pointer_size} },
#as => "I4S",
#debug_aflags => "/NOOPTIMIZE/DEBUG",
#release_aflags => "/OPTIMIZE/NODEBUG",
- bn_opts => "SIXTY_FOUR_BIT RC4_INT RC4_CHUNK_LL DES_PTR BF_PTR",
+ bn_opts => "SIXTY_FOUR_BIT RC4_INT",
},
"vms-ia64-p32" => {
inherit_from => [ "vms-generic" ],
? "LIBZ=\"\"\"".vms_info(32)->{def_zlib}."\"\"\"" : ();
}),
ex_libs => add(sub { return vms_info(32)->{zlib} || (); }),
+ pointer_size => sub { return vms_info(32)->{pointer_size} },
},
"vms-ia64-p64" => {
inherit_from => [ "vms-generic" ],
? "LIBZ=\"\"\"".vms_info(64)->{def_zlib}."\"\"\"" : ();
}),
ex_libs => add(sub { return vms_info(64)->{zlib} || (); }),
+ pointer_size => sub { return vms_info(64)->{pointer_size} },
},
);