"solaris-sparcv7-cc","cc:-xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC",
"solaris-sparcv8-cc","cc:-xarch=v8 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:solaris-shared:-KPIC",
"solaris-sparcv9-cc","cc:-xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:solaris-shared:-KPIC",
-"solaris64-sparcv9-cc","cc:-xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::asm/md5-sparcv9.o::::::dlfcn:solaris-shared:-KPIC",
+"solaris64-sparcv9-cc","cc:-xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::asm/md5-sparcv9.o::::::dlfcn:solaris-shared:-KPIC:/usr/ccs/bin/ar rs",
####
"debug-solaris-sparcv8-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -xarch=v8 -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:solaris-shared:-KPIC",
"debug-solaris-sparcv9-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -xtarget=ultra -xarch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:solaris-shared:-KPIC",
my $sha1_obj="";
my $rmd160_obj="";
my $processor="";
-my $ranlib;
+my $default_ranlib;
my $perl;
-$ranlib=&which("ranlib") or $ranlib="true";
+$default_ranlib= &which("ranlib") or $default_ranlib="true";
$perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl")
or $perl="perl";
print "IsWindows=$IsWindows\n";
(my $cc,my $cflags,my $unistd,my $thread_cflag,my $lflags,my $bn_ops,my $bn_obj,my $des_obj,my $bf_obj,
- $md5_obj,$sha1_obj,my $cast_obj,my $rc4_obj,$rmd160_obj,my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag)=
+ $md5_obj,$sha1_obj,my $cast_obj,my $rc4_obj,$rmd160_obj,my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag, my $ranlib)=
split(/\s*:\s*/,$table{$target} . ":" x 22 , -1);
$cflags="$flags$cflags" if ($flags ne "");
$no_shared = 1;
}
+if ($ranlib eq "")
+ {
+ $ranlib = $default_ranlib;
+ }
+
#my ($bn1)=split(/\s+/,$bn_obj);
#$bn1 = "" unless defined $bn1;
#$bn1=$bn_asm unless ($bn1 =~ /\.o$/);
(my $cc,my $cflags,my $unistd,my $thread_cflag,my $lflags,my $bn_ops,
my $bn_obj,my $des_obj,my $bf_obj,
my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj,
- my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag)=
+ my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag,my $ranlib)=
split(/\s*:\s*/,$table{$target} . ":" x 22 , -1);
print <<EOF
\$dso_scheme = $dso_scheme
\$shared_target= $shared_target
\$shared_cflag = $shared_cflag
+\$ranlib = $ranlib
EOF
}
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** BC-32
$cc = bcc32
$dso_scheme = win32
$shared_target=
$shared_cflag =
+$ranlib =
*** BS2000-OSD
$cc = c89
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** CygWin32
$cc = gcc
$dso_scheme = win32
$shared_target=
$shared_cflag =
+$ranlib =
*** FreeBSD
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** FreeBSD-alpha
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** FreeBSD-elf
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** MPE/iX-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** Mingw32
$cc = gcc
$dso_scheme = win32
$shared_target=
$shared_cflag =
+$ranlib =
*** NetBSD-m68
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** NetBSD-sparc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** NetBSD-x86
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** OpenBSD
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** OpenBSD-alpha
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** OpenBSD-mips
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** OpenBSD-x86
$cc = gcc
$dso_scheme = dlfcn
$shared_target=
$shared_cflag =
+$ranlib =
*** ReliantUNIX
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** SINIX
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** SINIX-N
$cc = /usr/ucb/cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** VC-MSDOS
$cc = cl
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** VC-NT
$cc = cl
$dso_scheme = win32
$shared_target=
$shared_cflag =
+$ranlib =
*** VC-W31-16
$cc = cl
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** VC-W31-32
$cc = cl
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** VC-WIN16
$cc = cl
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** VC-WIN32
$cc = cl
$dso_scheme = win32
$shared_target=
$shared_cflag =
+$ranlib =
*** aix-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** aix-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** alpha-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= true64-shared
$shared_cflag =
+$ranlib =
*** alpha-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= true64-shared
$shared_cflag =
+$ranlib =
*** alpha164-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= true64-shared
$shared_cflag =
+$ranlib =
*** bsdi-elf-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** bsdi-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** cray-t3e
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** cray-t90-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-ben
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-ben-debug
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-ben-strict
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-bodo
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-levitte-linux-elf
$cc = gcc
$dso_scheme = dlfcn
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-linux-elf
$cc = gcc
$dso_scheme = dlfcn
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-linux-elf-noefence
$cc = gcc
$dso_scheme = dlfcn
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-rse
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-solaris-sparcv8-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib =
*** debug-solaris-sparcv8-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** debug-solaris-sparcv9-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib =
*** debug-solaris-sparcv9-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** debug-steve
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** debug-ulf
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** dgux-R3-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** dgux-R4-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** dgux-R4-x86-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** dist
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-brokencc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-brokengcc
$cc = gcc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-cc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-gcc
$cc = gcc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-parisc-cc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-parisc-cc-o4
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-parisc-gcc
$cc = gcc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-parisc1_1-cc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux-parisc2-cc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux10-brokencc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux10-brokengcc
$cc = gcc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux10-cc
$cc = cc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux10-gcc
$cc = gcc
$dso_scheme = dl
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux64-parisc-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target=
$shared_cflag =
+$ranlib =
*** hpux64-parisc2-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target=
$shared_cflag =
+$ranlib =
*** irix-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** irix-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** irix-mips3-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** irix-mips3-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** irix64-mips4-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** irix64-mips4-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-alpha+bwx-ccc
$cc = ccc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-alpha+bwx-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
+$ranlib =
*** linux-alpha-ccc
$cc = ccc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-alpha-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
+$ranlib =
*** linux-aout
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-elf
$cc = gcc
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
+$ranlib =
*** linux-elf-arm
$cc = gcc
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
+$ranlib =
*** linux-ia64
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-m68k
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-mips
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-ppc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-s390
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-sparcv7
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-sparcv8
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** linux-sparcv9
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** ncr-scde
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** newsos4-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** nextstep
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** nextstep3.3
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** purify
$cc = purify gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** qnx4
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** rhapsody-ppc-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** sco5-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** sco5-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** solaris-sparc-sc3
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib =
*** solaris-sparcv7-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib =
*** solaris-sparcv7-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** solaris-sparcv8-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib =
*** solaris-sparcv8-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** solaris-sparcv9-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib =
*** solaris-sparcv9-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** solaris-sparcv9-gcc27
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** solaris-x86-gcc
$cc = gcc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -fPIC
+$ranlib =
*** solaris64-sparcv9-cc
$cc = cc
$dso_scheme = dlfcn
$shared_target= solaris-shared
$shared_cflag = -KPIC
+$ranlib = /usr/ccs/bin/ar rs
*** sunos-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** ultrix-cc
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** ultrix-gcc
$cc = gcc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** unixware-2.0
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** unixware-2.0-pentium
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =
*** unixware-7
$cc = cc
$dso_scheme =
$shared_target=
$shared_cflag =
+$ranlib =