Configure (72613) | Configure (76866) |
---|---|
1: 2eval 'exec perl -S $0 ${1+"$@"}' 3 if $running_under_some_shell; 4## 5## Configure -- OpenSSL source tree configuration script 6## 7 8require 5.000; --- 75 unchanged lines hidden (view full) --- 84my $bits1="THIRTY_TWO_BIT "; 85my $bits2="SIXTY_FOUR_BIT "; 86 87my $x86_sol_asm="asm/bn86-sol.o asm/co86-sol.o:asm/dx86-sol.o asm/yx86-sol.o:asm/bx86-sol.o:asm/mx86-sol.o:asm/sx86-sol.o:asm/cx86-sol.o:asm/rx86-sol.o:asm/rm86-sol.o:asm/r586-sol.o"; 88my $x86_elf_asm="asm/bn86-elf.o asm/co86-elf.o:asm/dx86-elf.o asm/yx86-elf.o:asm/bx86-elf.o:asm/mx86-elf.o:asm/sx86-elf.o:asm/cx86-elf.o:asm/rx86-elf.o:asm/rm86-elf.o:asm/r586-elf.o"; 89my $x86_out_asm="asm/bn86-out.o asm/co86-out.o:asm/dx86-out.o asm/yx86-out.o:asm/bx86-out.o:asm/mx86-out.o:asm/sx86-out.o:asm/cx86-out.o:asm/rx86-out.o:asm/rm86-out.o:asm/r586-out.o"; 90my $x86_bsdi_asm="asm/bn86bsdi.o asm/co86bsdi.o:asm/dx86bsdi.o asm/yx86bsdi.o:asm/bx86bsdi.o:asm/mx86bsdi.o:asm/sx86bsdi.o:asm/cx86bsdi.o:asm/rx86bsdi.o:asm/rm86bsdi.o:asm/r586bsdi.o"; 91 | 1: 2eval 'exec perl -S $0 ${1+"$@"}' 3 if $running_under_some_shell; 4## 5## Configure -- OpenSSL source tree configuration script 6## 7 8require 5.000; --- 75 unchanged lines hidden (view full) --- 84my $bits1="THIRTY_TWO_BIT "; 85my $bits2="SIXTY_FOUR_BIT "; 86 87my $x86_sol_asm="asm/bn86-sol.o asm/co86-sol.o:asm/dx86-sol.o asm/yx86-sol.o:asm/bx86-sol.o:asm/mx86-sol.o:asm/sx86-sol.o:asm/cx86-sol.o:asm/rx86-sol.o:asm/rm86-sol.o:asm/r586-sol.o"; 88my $x86_elf_asm="asm/bn86-elf.o asm/co86-elf.o:asm/dx86-elf.o asm/yx86-elf.o:asm/bx86-elf.o:asm/mx86-elf.o:asm/sx86-elf.o:asm/cx86-elf.o:asm/rx86-elf.o:asm/rm86-elf.o:asm/r586-elf.o"; 89my $x86_out_asm="asm/bn86-out.o asm/co86-out.o:asm/dx86-out.o asm/yx86-out.o:asm/bx86-out.o:asm/mx86-out.o:asm/sx86-out.o:asm/cx86-out.o:asm/rx86-out.o:asm/rm86-out.o:asm/r586-out.o"; 90my $x86_bsdi_asm="asm/bn86bsdi.o asm/co86bsdi.o:asm/dx86bsdi.o asm/yx86bsdi.o:asm/bx86bsdi.o:asm/mx86bsdi.o:asm/sx86bsdi.o:asm/cx86bsdi.o:asm/rx86bsdi.o:asm/rm86bsdi.o:asm/r586bsdi.o"; 91 |
92my $mips3_irix_asm="asm/mips3.o::::::::"; 93# There seems to be boundary faults in asm/alpha.s. 94#my $alpha_asm="asm/alpha.o::::::::"; 95my $alpha_asm="::::::::"; 96 |
|
92# -DB_ENDIAN slows things down on a sparc for md5, but helps sha1. 93# So the md5_locl.h file has an undef B_ENDIAN if sun is defined 94 95#config-string $cc : $cflags : $unistd : $thread_cflag : $lflags : $bn_ops : $bn_obj : $des_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $dso_scheme : $shared_target : $shared_cflag 96 97my %table=( 98# File 'TABLE' (created by 'make TABLE') contains the data from this list, 99# formatted for better readability. --- 22 unchanged lines hidden (view full) --- 122"cc", "cc:-O::(unknown):::::", 123 124#### Solaris x86 setups 125# -DNO_INLINE_ASM switches off inline assembler. We have to do it 126# here because whenever GNU C instantiates an assembler template it 127# surrounds it with #APP #NO_APP comment pair which (at least Solaris 128# 7_x86) /usr/ccs/bin/as fails to assemble with "Illegal mnemonic" 129# error message. | 97# -DB_ENDIAN slows things down on a sparc for md5, but helps sha1. 98# So the md5_locl.h file has an undef B_ENDIAN if sun is defined 99 100#config-string $cc : $cflags : $unistd : $thread_cflag : $lflags : $bn_ops : $bn_obj : $des_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $dso_scheme : $shared_target : $shared_cflag 101 102my %table=( 103# File 'TABLE' (created by 'make TABLE') contains the data from this list, 104# formatted for better readability. --- 22 unchanged lines hidden (view full) --- 127"cc", "cc:-O::(unknown):::::", 128 129#### Solaris x86 setups 130# -DNO_INLINE_ASM switches off inline assembler. We have to do it 131# here because whenever GNU C instantiates an assembler template it 132# surrounds it with #APP #NO_APP comment pair which (at least Solaris 133# 7_x86) /usr/ccs/bin/as fails to assemble with "Illegal mnemonic" 134# error message. |
130"solaris-x86-gcc","gcc:-O3 -fomit-frame-pointer -m486 -Wall -DL_ENDIAN -DNO_INLINE_ASM::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_sol_asm}:dlfcn:solaris-shared:-fPIC", | 135"solaris-x86-gcc","gcc:-O3 -fomit-frame-pointer -m486 -Wall -DL_ENDIAN -DNO_INLINE_ASM::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_sol_asm}:dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
131 132#### SPARC Solaris with GNU C setups | 136 137#### SPARC Solaris with GNU C setups |
133"solaris-sparcv7-gcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-fPIC", 134"solaris-sparcv8-gcc","gcc:-mv8 -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:solaris-shared:-fPIC", 135"solaris-sparcv9-gcc","gcc:-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:solaris-shared:-fPIC", | 138"solaris-sparcv7-gcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 139"solaris-sparcv8-gcc","gcc:-mv8 -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 140"solaris-sparcv9-gcc","gcc:-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
136# gcc pre-2.8 doesn't understand -mcpu=ultrasparc, so fall down to -mv8 137# but keep the assembler modules. | 141# gcc pre-2.8 doesn't understand -mcpu=ultrasparc, so fall down to -mv8 142# but keep the assembler modules. |
138"solaris-sparcv9-gcc27","gcc:-mv8 -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus-gcc27.o:::asm/md5-sparcv8plus-gcc27.o::::::dlfcn:solaris-shared:-fPIC", | 143"solaris-sparcv9-gcc27","gcc:-mv8 -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus-gcc27.o:::asm/md5-sparcv8plus-gcc27.o::::::dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
139#### | 144#### |
140"debug-solaris-sparcv8-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mv8 -Wall -DB_ENDIAN::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:solaris-shared:-fPIC", 141"debug-solaris-sparcv9-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::::::::dlfcn:solaris-shared:-fPIC", | 145"debug-solaris-sparcv8-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mv8 -Wall -DB_ENDIAN::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 146"debug-solaris-sparcv9-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mcpu=ultrasparc -Wall -DB_ENDIAN::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::::::::dlfcn:gnu-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
142 143#### SPARC Solaris with Sun C setups 144# DO NOT use /xO[34] on sparc with SC3.0. It is broken, and will not pass the tests | 147 148#### SPARC Solaris with Sun C setups 149# DO NOT use /xO[34] on sparc with SC3.0. It is broken, and will not pass the tests |
145"solaris-sparc-sc3","cc:-fast -O -Xa -DB_ENDIAN::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC", | 150"solaris-sparc-sc3","cc:-fast -O -Xa -DB_ENDIAN::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
146# SC4.0 doesn't pass 'make test', upgrade to SC5.0 or SC4.2. 147# SC4.2 is ok, better than gcc even on bn as long as you tell it -xarch=v8 148# SC5.0 note: Compiler common patch 107357-01 or later is required! | 151# SC4.0 doesn't pass 'make test', upgrade to SC5.0 or SC4.2. 152# SC4.2 is ok, better than gcc even on bn as long as you tell it -xarch=v8 153# SC5.0 note: Compiler common patch 107357-01 or later is required! |
149"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", 150"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", 151"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", 152"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", | 154"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:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 155"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:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 156"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:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 157"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:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):/usr/ccs/bin/ar rs", |
153#### | 158#### |
154"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", 155"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", | 159"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:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 160"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:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
156 157#### SPARC Linux setups 158"linux-sparcv7","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::", 159# Ray Miller <ray.miller@computing-services.oxford.ac.uk> has patiently 160# assisted with debugging of following two configs. 161"linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o::::", 162# it's a real mess with -mcpu=ultrasparc option under Linux, but 163# -Wa,-Av8plus should do the trick no matter what. --- 9 unchanged lines hidden (view full) --- 173#### IRIX 5.x configs 174# -mips2 flag is added by ./config when appropriate. 175"irix-gcc","gcc:-O3 -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::", 176"irix-cc", "cc:-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC2 DES_UNROLL BF_PTR:::", 177#### IRIX 6.x configs 178# Only N32 and N64 ABIs are supported. If you need O32 ABI build, invoke 179# './Configure irix-[g]cc' manually. 180# -mips4 flag is added by ./config when appropriate. | 161 162#### SPARC Linux setups 163"linux-sparcv7","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::", 164# Ray Miller <ray.miller@computing-services.oxford.ac.uk> has patiently 165# assisted with debugging of following two configs. 166"linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o::::", 167# it's a real mess with -mcpu=ultrasparc option under Linux, but 168# -Wa,-Av8plus should do the trick no matter what. --- 9 unchanged lines hidden (view full) --- 178#### IRIX 5.x configs 179# -mips2 flag is added by ./config when appropriate. 180"irix-gcc","gcc:-O3 -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::", 181"irix-cc", "cc:-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC2 DES_UNROLL BF_PTR:::", 182#### IRIX 6.x configs 183# Only N32 and N64 ABIs are supported. If you need O32 ABI build, invoke 184# './Configure irix-[g]cc' manually. 185# -mips4 flag is added by ./config when appropriate. |
181"irix-mips3-gcc","gcc:-mabi=n32 -mmips-as -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL DES_RISC2 DES_PTR BF_PTR SIXTY_FOUR_BIT:asm/mips3.o::", 182"irix-mips3-cc", "cc:-n32 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL BF_PTR SIXTY_FOUR_BIT:asm/mips3.o::", | 186"irix-mips3-gcc","gcc:-mabi=n32 -mmips-as -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL DES_RISC2 DES_PTR BF_PTR SIXTY_FOUR_BIT:${mips3_irix_asm}", 187"irix-mips3-cc", "cc:-n32 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL BF_PTR SIXTY_FOUR_BIT:${mips3_irix_asm}", |
183# N64 ABI builds. | 188# N64 ABI builds. |
184"irix64-mips4-gcc","gcc:-mabi=64 -mips4 -mmips-as -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:asm/mips3.o::", 185"irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:asm/mips3.o::", | 189"irix64-mips4-gcc","gcc:-mabi=64 -mips4 -mmips-as -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:${mips3_irix_asm}", 190"irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:${mips3_irix_asm}", |
186 187#### Unified HP-UX ANSI C configs. 188# Special notes: 189# - Originally we were optimizing at +O4 level. It should be noted 190# that the only difference between +O3 and +O4 is global inter- 191# procedural analysis. As it has to be performed during the link 192# stage the compiler leaves behind certain pseudo-code in lib*.a 193# which might be release or even patch level specific. Generating --- 63 unchanged lines hidden (view full) --- 257# Use unified settings above instead. 258 259#### HP MPE/iX http://jazz.external.hp.com/src/openssl/ 260"MPE/iX-gcc", "gcc:-D_ENDIAN -DBN_DIV2W -O3 -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB::(unknown):-L/SYSLOG/PUB -lsyslog -lsocket -lcurses:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", 261 262# Dec Alpha, OSF/1 - the alpha164-cc is the flags for a 21164A with 263# the new compiler 264# For gcc, the following gave a %50 speedup on a 164 over the 'DES_INT' version | 191 192#### Unified HP-UX ANSI C configs. 193# Special notes: 194# - Originally we were optimizing at +O4 level. It should be noted 195# that the only difference between +O3 and +O4 is global inter- 196# procedural analysis. As it has to be performed during the link 197# stage the compiler leaves behind certain pseudo-code in lib*.a 198# which might be release or even patch level specific. Generating --- 63 unchanged lines hidden (view full) --- 262# Use unified settings above instead. 263 264#### HP MPE/iX http://jazz.external.hp.com/src/openssl/ 265"MPE/iX-gcc", "gcc:-D_ENDIAN -DBN_DIV2W -O3 -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB::(unknown):-L/SYSLOG/PUB -lsyslog -lsocket -lcurses:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", 266 267# Dec Alpha, OSF/1 - the alpha164-cc is the flags for a 21164A with 268# the new compiler 269# For gcc, the following gave a %50 speedup on a 164 over the 'DES_INT' version |
265"alpha-gcc","gcc:-O3::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_RISC1:asm/alpha.o:::::::::dlfcn:true64-shared", 266"alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK:asm/alpha.o:::::::::dlfcn:true64-shared", 267"alpha164-cc", "cc:-std1 -tune host -fast -readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK:asm/alpha.o:::::::::dlfcn:true64-shared", 268"FreeBSD-alpha","gcc:-DTERMIOS -O -fomit-frame-pointer::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC2:::", | 270"alpha-gcc","gcc:-O3::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_RISC1:${alpha_asm}:dlfcn:tru64-shared::.so", 271"alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:tru64-shared::.so", 272"alpha164-cc", "cc:-std1 -tune host -fast -readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:tru64-shared::.so", 273"FreeBSD-alpha","gcc:-DTERMIOS -O -fomit-frame-pointer::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC2::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
269 270#### Alpha Linux with GNU C and Compaq C setups 271# Special notes: 272# - linux-alpha+bwx-gcc is ment to be used from ./config only. If you 273# ought to run './Configure linux-alpha+bwx-gcc' manually, do 274# complement the command line with -mcpu=ev56, -mcpu=ev6 or whatever 275# which is appropriate. 276# - If you use ccc keep in mind that -fast implies -arch host and the 277# compiler is free to issue instructions which gonna make elder CPU 278# choke. If you wish to build "blended" toolkit, add -arch generic 279# *after* -fast and invoke './Configure linux-alpha-ccc' manually. 280# 281# <appro@fy.chalmers.se> 282# | 274 275#### Alpha Linux with GNU C and Compaq C setups 276# Special notes: 277# - linux-alpha+bwx-gcc is ment to be used from ./config only. If you 278# ought to run './Configure linux-alpha+bwx-gcc' manually, do 279# complement the command line with -mcpu=ev56, -mcpu=ev6 or whatever 280# which is appropriate. 281# - If you use ccc keep in mind that -fast implies -arch host and the 282# compiler is free to issue instructions which gonna make elder CPU 283# choke. If you wish to build "blended" toolkit, add -arch generic 284# *after* -fast and invoke './Configure linux-alpha-ccc' manually. 285# 286# <appro@fy.chalmers.se> 287# |
283"linux-alpha-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT:-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:asm/alpha.o:::::::::dlfcn:linux-shared:-fPIC", 284"linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT:-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:asm/alpha.o:::::::::dlfcn:linux-shared:-fPIC", 285"linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:asm/alpha.o::", 286"linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:asm/alpha.o::", | 288"linux-alpha-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT:-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 289"linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT:-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 290"linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", 291"linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", |
287 288# assembler versions -- currently defunct: | 292 293# assembler versions -- currently defunct: |
289##"OpenBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown):SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:asm/alpha.o::", | 294##"OpenBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown):SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:${alpha_asm}", |
290 291# The intel boxes :-), It would be worth seeing if bsdi-gcc can use the 292# bn86-elf.o file file since it is hand tweaked assembler. | 295 296# The intel boxes :-), It would be worth seeing if bsdi-gcc can use the 297# bn86-elf.o file file since it is hand tweaked assembler. |
293"linux-elf", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall::-D_REENTRANT:-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC", | 298"linux-elf", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall::-D_REENTRANT:-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
294"debug-linux-elf","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall::-D_REENTRANT:-lefence -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", 295"debug-linux-elf-noefence","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall::-D_REENTRANT:-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", 296"linux-aout", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", 297"linux-mips", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown)::BN_LLONG:::", 298"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", 299"linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", 300"linux-s390", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", 301"linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown)::SIXTY_FOUR_BIT_LONG::", | 299"debug-linux-elf","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall::-D_REENTRANT:-lefence -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", 300"debug-linux-elf-noefence","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall::-D_REENTRANT:-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", 301"linux-aout", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", 302"linux-mips", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown)::BN_LLONG:::", 303"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", 304"linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", 305"linux-s390", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", 306"linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown)::SIXTY_FOUR_BIT_LONG::", |
302"NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::", 303"NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::", 304"NetBSD-x86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:", 305"FreeBSD-elf", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", | 307"NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 308"NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 309"NetBSD-x86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 310"FreeBSD-elf", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
306"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", 307"bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown)::RSA_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_bsdi_asm}", | 311"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", 312"bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown)::RSA_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_bsdi_asm}", |
308"bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", | 313"bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
309"nextstep", "cc:-O -Wall:<libc.h>:(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", 310"nextstep3.3", "cc:-O3 -Wall:<libc.h>:(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", 311# NCR MP-RAS UNIX ver 02.03.01 312"ncr-scde","cc:-O6 -Xa -Hoff=BEHAVED -686 -Hwide -Hiw::(unknown):-lsocket -lnsl:${x86_gcc_des} ${x86_gcc_opts}:::", 313 314# QNX 4 315"qnx4", "cc:-DL_ENDIAN -DTERMIO::(unknown)::${x86_gcc_des} ${x86_gcc_opts}:", 316 317# Linux on ARM | 314"nextstep", "cc:-O -Wall:<libc.h>:(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", 315"nextstep3.3", "cc:-O3 -Wall:<libc.h>:(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", 316# NCR MP-RAS UNIX ver 02.03.01 317"ncr-scde","cc:-O6 -Xa -Hoff=BEHAVED -686 -Hwide -Hiw::(unknown):-lsocket -lnsl:${x86_gcc_des} ${x86_gcc_opts}:::", 318 319# QNX 4 320"qnx4", "cc:-DL_ENDIAN -DTERMIO::(unknown)::${x86_gcc_des} ${x86_gcc_opts}:", 321 322# Linux on ARM |
318"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::::::::::dlfcn:linux-shared:-fPIC", | 323"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::::::::::dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
319 | 324 |
320# UnixWare 2.0 321"unixware-2.0","cc:-O -DFILIO_H::(unknown):-lsocket -lnsl:${x86_gcc_des} ${x86_gcc_opts}:::", 322"unixware-2.0-pentium","cc:-O -DFILIO_H -Kpentium -Kthread::(unknown):-lsocket -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::", | 325# UnixWare 2.0x fails destest with -O 326"unixware-2.0","cc:-DFILIO_H::-Kthread:-lsocket -lnsl -lx:${x86_gcc_des} ${x86_gcc_opts}:::", 327"unixware-2.0-pentium","cc:-DFILIO_H -Kpentium::-Kthread:-lsocket -lnsl -lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::", |
323 | 328 |
329# UnixWare 2.1 330"unixware-2.1","cc:-O -DFILIO_H::-Kthread:-lsocket -lnsl -lx:${x86_gcc_des} ${x86_gcc_opts}:::", 331"unixware-2.1-pentium","cc:-O -DFILIO_H -Kpentium::-Kthread:-lsocket -lnsl -lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::", 332"unixware-2.1-p6","cc:-O -DFILIO_H -Kp6::-Kthread:-lsocket -lnsl -lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::", 333 |
|
324# UnixWare 7 | 334# UnixWare 7 |
325"unixware-7","cc:-O -DFILIO_H -Kalloca::-Kthread:-lsocket -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::", | 335"unixware-7","cc:-O -DFILIO_H -Kalloca::-Kthread:-lsocket -lnsl:BN_LLONG MD2_CHAR RC4_INDEX ${x86_gcc_des}::", 336"unixware-7-pentium","cc:-O -DFILIO_H -Kalloca -Kpentium::-Kthread:-lsocket -lnsl:BN_LLONG MD2_CHAR RC4_INDEX ${x86_gcc_des}::", 337"unixware-7-pentium_pro","cc:-O -DFILIO_H -Kalloca -Kpentium_pro::-Kthread:-lsocket -lnsl:BN_LLONG MD2_CHAR RC4_INDEX ${x86_gcc_des}::", |
326 327# IBM's AIX. 328"aix-cc", "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384::(unknown)::BN_LLONG RC4_CHAR:::", 329"aix-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR:::", | 338 339# IBM's AIX. 340"aix-cc", "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384::(unknown)::BN_LLONG RC4_CHAR:::", 341"aix-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR:::", |
342"aix43-cc", "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384::(unknown)::BN_LLONG RC4_CHAR::::::::::dlfcn:", 343"aix43-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR::::::::::dlfcn:", |
|
330 331# 332# Cray T90 (SDSC) 333# It's Big-endian, but the algorithms work properly when B_ENDIAN is NOT 334# defined. The T90 ints and longs are 8 bytes long, and apparently the 335# B_ENDIAN code assumes 4 byte ints. Fortunately, the non-B_ENDIAN and 336# non L_ENDIAN code aligns the bytes in each word correctly. 337# --- 10 unchanged lines hidden (view full) --- 348# another use. Basically, the problem is that the T3E uses some bit fields 349# for some st_addr stuff, and then sizeof and address-of fails 350# I could not use the ams/alpha.o option because the Cray assembler, 'cam' 351# did not like it. 352"cray-t3e", "cc: -DBIT_FIELD_LIMITS -DTERMIOS::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:::", 353 354# DGUX, 88100. 355"dgux-R3-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown)::RC4_INDEX DES_UNROLL:::", | 344 345# 346# Cray T90 (SDSC) 347# It's Big-endian, but the algorithms work properly when B_ENDIAN is NOT 348# defined. The T90 ints and longs are 8 bytes long, and apparently the 349# B_ENDIAN code assumes 4 byte ints. Fortunately, the non-B_ENDIAN and 350# non L_ENDIAN code aligns the bytes in each word correctly. 351# --- 10 unchanged lines hidden (view full) --- 362# another use. Basically, the problem is that the T3E uses some bit fields 363# for some st_addr stuff, and then sizeof and address-of fails 364# I could not use the ams/alpha.o option because the Cray assembler, 'cam' 365# did not like it. 366"cray-t3e", "cc: -DBIT_FIELD_LIMITS -DTERMIOS::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:::", 367 368# DGUX, 88100. 369"dgux-R3-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown)::RC4_INDEX DES_UNROLL:::", |
356"dgux-R4-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lnsl -lsocket:RC4_INDEX:RC4_INDEX DES_UNROLL:::", | 370"dgux-R4-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lnsl -lsocket:RC4_INDEX DES_UNROLL:::", |
357"dgux-R4-x86-gcc", "gcc:-O3 -fomit-frame-pointer -DL_ENDIAN::(unknown):-lnsl -lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", 358 | 371"dgux-R4-x86-gcc", "gcc:-O3 -fomit-frame-pointer -DL_ENDIAN::(unknown):-lnsl -lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", 372 |
373# SCO 3 - Tim Rice <tim@multitalents.net> 374"sco3-gcc", "gcc:-O3 -fomit-frame-pointer -Dssize_t=int -DNO_SYS_UN_H::(unknown):-lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ... 375 |
|
359# SCO 5 - Ben Laurie <ben@algroup.co.uk> says the -O breaks the 360# SCO cc. 361"sco5-cc", "cc:::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:::", # des options? | 376# SCO 5 - Ben Laurie <ben@algroup.co.uk> says the -O breaks the 377# SCO cc. 378"sco5-cc", "cc:::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:::", # des options? |
379"sco5-cc-pentium", "cc:-Kpentium::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:::", # des options? |
|
362"sco5-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ... 363 364# Sinix/ReliantUNIX RM400 365# NOTE: The CDS++ Compiler up to V2.0Bsomething has the IRIX_CC_BUG optimizer problem. Better use -g */ 366"ReliantUNIX","cc:-KPIC -g -DSNI -DTERMIOS -DB_ENDIAN::-Kthread:-lsocket -lnsl -lc -L/usr/ucblib -lucb:BN_LLONG DES_PTR DES_RISC2 DES_UNROLL BF_PTR:::", 367"SINIX","cc:-O -DSNI::(unknown):-lsocket -lnsl -lc -L/usr/ucblib -lucb:RC4_INDEX RC4_CHAR:::", 368"SINIX-N","/usr/ucb/cc:-O2 -misaligned::(unknown):-lucb:RC4_INDEX RC4_CHAR:::", 369 --- 23 unchanged lines hidden (view full) --- 393 394# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at> 395"ultrix-cc","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::(unknown)::::::", 396"ultrix-gcc","gcc:-O3 -DL_ENDIAN::(unknown)::::::", 397# K&R C is no longer supported; you need gcc on old Ultrix installations 398##"ultrix","cc:-O2 -DNOPROTO -DNOCONST -DL_ENDIAN::(unknown)::::::", 399 400# Some OpenBSD from Bob Beck <beck@obtuse.com> | 380"sco5-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ... 381 382# Sinix/ReliantUNIX RM400 383# NOTE: The CDS++ Compiler up to V2.0Bsomething has the IRIX_CC_BUG optimizer problem. Better use -g */ 384"ReliantUNIX","cc:-KPIC -g -DSNI -DTERMIOS -DB_ENDIAN::-Kthread:-lsocket -lnsl -lc -L/usr/ucblib -lucb:BN_LLONG DES_PTR DES_RISC2 DES_UNROLL BF_PTR:::", 385"SINIX","cc:-O -DSNI::(unknown):-lsocket -lnsl -lc -L/usr/ucblib -lucb:RC4_INDEX RC4_CHAR:::", 386"SINIX-N","/usr/ucb/cc:-O2 -misaligned::(unknown):-lucb:RC4_INDEX RC4_CHAR:::", 387 --- 23 unchanged lines hidden (view full) --- 411 412# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at> 413"ultrix-cc","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::(unknown)::::::", 414"ultrix-gcc","gcc:-O3 -DL_ENDIAN::(unknown)::::::", 415# K&R C is no longer supported; you need gcc on old Ultrix installations 416##"ultrix","cc:-O2 -DNOPROTO -DNOCONST -DL_ENDIAN::(unknown)::::::", 417 418# Some OpenBSD from Bob Beck <beck@obtuse.com> |
401"OpenBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown)::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:::", 402"OpenBSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -m486::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn", 403"OpenBSD", "gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown)::BN_LLONG RC2_CHAR RC4_INDEX DES_UNROLL:::", 404"OpenBSD-mips","gcc:-O2 -DL_ENDIAN::(unknown):BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR::::", | 419"OpenBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown)::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 420"OpenBSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -m486::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 421"OpenBSD", "gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown)::BN_LLONG RC2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", 422"OpenBSD-mips","gcc:-O2 -DL_ENDIAN::(unknown):BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
405 406##### MacOS X (a.k.a. Rhapsody) setup 407"rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::", 408 409##### Sony NEWS-OS 4.x 410"newsos4-gcc","gcc:-O -DB_ENDIAN -DNEWS4::(unknown):-lmld -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::", 411 412); 413 414my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32 415 BC-16 Mingw32); 416 417my $prefix=""; 418my $openssldir=""; | 423 424##### MacOS X (a.k.a. Rhapsody) setup 425"rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::", 426 427##### Sony NEWS-OS 4.x 428"newsos4-gcc","gcc:-O -DB_ENDIAN -DNEWS4::(unknown):-lmld -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::", 429 430); 431 432my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32 433 BC-16 Mingw32); 434 435my $prefix=""; 436my $openssldir=""; |
437my $exe_ext=""; |
|
419my $install_prefix=""; 420my $no_threads=0; 421my $no_shared=1; 422my $threads=0; 423my $no_asm=0; 424my $no_dso=0; 425my @skip=(); 426my $Makefile="Makefile.ssl"; --- 11 unchanged lines hidden (view full) --- 438my $bf_enc ="bf_enc.o"; 439my $cast_enc="c_enc.o"; 440my $rc4_enc="rc4_enc.o"; 441my $rc5_enc="rc5_enc.o"; 442my $md5_obj=""; 443my $sha1_obj=""; 444my $rmd160_obj=""; 445my $processor=""; | 438my $install_prefix=""; 439my $no_threads=0; 440my $no_shared=1; 441my $threads=0; 442my $no_asm=0; 443my $no_dso=0; 444my @skip=(); 445my $Makefile="Makefile.ssl"; --- 11 unchanged lines hidden (view full) --- 457my $bf_enc ="bf_enc.o"; 458my $cast_enc="c_enc.o"; 459my $rc4_enc="rc4_enc.o"; 460my $rc5_enc="rc5_enc.o"; 461my $md5_obj=""; 462my $sha1_obj=""; 463my $rmd160_obj=""; 464my $processor=""; |
446my $ranlib; | 465my $default_ranlib; |
447my $perl; 448 | 466my $perl; 467 |
449$ranlib=&which("ranlib") or $ranlib="true"; | 468$default_ranlib= &which("ranlib") or $default_ranlib="true"; |
450$perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl") 451 or $perl="perl"; 452 453&usage if ($#ARGV < 0); 454 455my $flags; 456my $depflags; 457my $openssl_algorithm_defines; --- 157 unchanged lines hidden (view full) --- 615} 616 617print "Configuring for $target\n"; 618 619&usage if (!defined($table{$target})); 620 621my $IsWindows=scalar grep /^$target$/,@WinTargets; 622 | 469$perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl") 470 or $perl="perl"; 471 472&usage if ($#ARGV < 0); 473 474my $flags; 475my $depflags; 476my $openssl_algorithm_defines; --- 157 unchanged lines hidden (view full) --- 634} 635 636print "Configuring for $target\n"; 637 638&usage if (!defined($table{$target})); 639 640my $IsWindows=scalar grep /^$target$/,@WinTargets; 641 |
642$exe_ext=".exe" if ($target eq "CygWin32"); |
|
623$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq ""); 624$prefix=$openssldir if $prefix eq ""; 625 626chop $openssldir if $openssldir =~ /\/$/; 627chop $prefix if $prefix =~ /\/$/; 628 629$openssldir=$prefix . "/ssl" if $openssldir eq ""; 630$openssldir=$prefix . "/" . $openssldir if $openssldir !~ /^\//; 631 632 633print "IsWindows=$IsWindows\n"; 634 635(my $cc,my $cflags,my $unistd,my $thread_cflag,my $lflags,my $bn_ops,my $bn_obj,my $des_obj,my $bf_obj, | 643$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq ""); 644$prefix=$openssldir if $prefix eq ""; 645 646chop $openssldir if $openssldir =~ /\/$/; 647chop $prefix if $prefix =~ /\/$/; 648 649$openssldir=$prefix . "/ssl" if $openssldir eq ""; 650$openssldir=$prefix . "/" . $openssldir if $openssldir !~ /^\//; 651 652 653print "IsWindows=$IsWindows\n"; 654 655(my $cc,my $cflags,my $unistd,my $thread_cflag,my $lflags,my $bn_ops,my $bn_obj,my $des_obj,my $bf_obj, |
636 $md5_obj,$sha1_obj,my $cast_obj,my $rc4_obj,$rmd160_obj,my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag)= 637 split(/\s*:\s*/,$table{$target} . ":" x 22 , -1); | 656 $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 $shared_extension,my $ranlib)= 657 split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); |
638$cflags="$flags$cflags" if ($flags ne ""); 639 640# The DSO code currently always implements all functions so that no 641# applications will have to worry about that from a compilation point 642# of view. However, the "method"s may return zero unless that platform 643# has support compiled in for them. Currently each method is enabled 644# by a define "DSO_<name>" ... we translate the "dso_scheme" config 645# string entry into using the following logic; --- 58 unchanged lines hidden (view full) --- 704 705if ($threads) 706 { 707 $cflags=$thread_cflags; 708 $openssl_thread_defines .= $thread_defines; 709 } 710 711# You will find shlib_mark1 and shlib_mark2 explained in Makefile.org | 658$cflags="$flags$cflags" if ($flags ne ""); 659 660# The DSO code currently always implements all functions so that no 661# applications will have to worry about that from a compilation point 662# of view. However, the "method"s may return zero unless that platform 663# has support compiled in for them. Currently each method is enabled 664# by a define "DSO_<name>" ... we translate the "dso_scheme" config 665# string entry into using the following logic; --- 58 unchanged lines hidden (view full) --- 724 725if ($threads) 726 { 727 $cflags=$thread_cflags; 728 $openssl_thread_defines .= $thread_defines; 729 } 730 731# You will find shlib_mark1 and shlib_mark2 explained in Makefile.org |
712my $shared_mark1 = ""; 713my $shared_mark2 = ""; 714if ($shared_cflag ne "") | 732my $shared_mark = ""; 733if ($shared_target ne "") |
715 { | 734 { |
716 $cflags = "$shared_cflag $cflags"; | 735 if ($shared_cflag ne "") 736 { 737 $cflags = "$shared_cflag $cflags"; 738 } |
717 if (!$no_shared) 718 { | 739 if (!$no_shared) 740 { |
719 $shared_mark1 = ".shlib-clean."; 720 $shared_mark2 = ".shlib."; | 741 #$shared_mark = "\$(SHARED_LIBS)"; |
721 } 722 } 723else 724 { 725 $no_shared = 1; 726 } 727 | 742 } 743 } 744else 745 { 746 $no_shared = 1; 747 } 748 |
749if ($ranlib eq "") 750 { 751 $ranlib = $default_ranlib; 752 } 753 |
|
728#my ($bn1)=split(/\s+/,$bn_obj); 729#$bn1 = "" unless defined $bn1; 730#$bn1=$bn_asm unless ($bn1 =~ /\.o$/); 731#$bn_obj="$bn1"; 732 733$bn_obj = $bn_asm unless $bn_obj ne ""; 734 735$des_obj=$des_enc unless ($des_obj =~ /\.o$/); --- 64 unchanged lines hidden (view full) --- 800 $sdirs = 0 unless /\\$/; 801 s/^VERSION=.*/VERSION=$version/; 802 s/^MAJOR=.*/MAJOR=$major/; 803 s/^MINOR=.*/MINOR=$minor/; 804 s/^SHLIB_VERSION_NUMBER=.*/SHLIB_VERSION_NUMBER=$shlib_version_number/; 805 s/^SHLIB_VERSION_HISTORY=.*/SHLIB_VERSION_HISTORY=$shlib_version_history/; 806 s/^SHLIB_MAJOR=.*/SHLIB_MAJOR=$shlib_major/; 807 s/^SHLIB_MINOR=.*/SHLIB_MINOR=$shlib_minor/; | 754#my ($bn1)=split(/\s+/,$bn_obj); 755#$bn1 = "" unless defined $bn1; 756#$bn1=$bn_asm unless ($bn1 =~ /\.o$/); 757#$bn_obj="$bn1"; 758 759$bn_obj = $bn_asm unless $bn_obj ne ""; 760 761$des_obj=$des_enc unless ($des_obj =~ /\.o$/); --- 64 unchanged lines hidden (view full) --- 826 $sdirs = 0 unless /\\$/; 827 s/^VERSION=.*/VERSION=$version/; 828 s/^MAJOR=.*/MAJOR=$major/; 829 s/^MINOR=.*/MINOR=$minor/; 830 s/^SHLIB_VERSION_NUMBER=.*/SHLIB_VERSION_NUMBER=$shlib_version_number/; 831 s/^SHLIB_VERSION_HISTORY=.*/SHLIB_VERSION_HISTORY=$shlib_version_history/; 832 s/^SHLIB_MAJOR=.*/SHLIB_MAJOR=$shlib_major/; 833 s/^SHLIB_MINOR=.*/SHLIB_MINOR=$shlib_minor/; |
834 s/^SHLIB_EXT=.*/SHLIB_EXT=$shared_extension/; |
|
808 s/^INSTALLTOP=.*$/INSTALLTOP=$prefix/; 809 s/^OPENSSLDIR=.*$/OPENSSLDIR=$openssldir/; 810 s/^INSTALL_PREFIX=.*$/INSTALL_PREFIX=$install_prefix/; 811 s/^PLATFORM=.*$/PLATFORM=$target/; 812 s/^OPTIONS=.*$/OPTIONS=$options/; 813 s/^CONFIGURE_ARGS=.*$/CONFIGURE_ARGS=$argvstring/; 814 s/^CC=.*$/CC= $cc/; 815 s/^CFLAG=.*$/CFLAG= $cflags/; 816 s/^DEPFLAG=.*$/DEPFLAG= $depflags/; 817 s/^EX_LIBS=.*$/EX_LIBS= $lflags/; | 835 s/^INSTALLTOP=.*$/INSTALLTOP=$prefix/; 836 s/^OPENSSLDIR=.*$/OPENSSLDIR=$openssldir/; 837 s/^INSTALL_PREFIX=.*$/INSTALL_PREFIX=$install_prefix/; 838 s/^PLATFORM=.*$/PLATFORM=$target/; 839 s/^OPTIONS=.*$/OPTIONS=$options/; 840 s/^CONFIGURE_ARGS=.*$/CONFIGURE_ARGS=$argvstring/; 841 s/^CC=.*$/CC= $cc/; 842 s/^CFLAG=.*$/CFLAG= $cflags/; 843 s/^DEPFLAG=.*$/DEPFLAG= $depflags/; 844 s/^EX_LIBS=.*$/EX_LIBS= $lflags/; |
845 s/^EXE_EXT=.*$/EXE_EXT= $exe_ext/; |
|
818 s/^BN_ASM=.*$/BN_ASM= $bn_obj/; 819 s/^DES_ENC=.*$/DES_ENC= $des_obj/; 820 s/^BF_ENC=.*$/BF_ENC= $bf_obj/; 821 s/^CAST_ENC=.*$/CAST_ENC= $cast_obj/; 822 s/^RC4_ENC=.*$/RC4_ENC= $rc4_obj/; 823 s/^RC5_ENC=.*$/RC5_ENC= $rc5_obj/; 824 s/^MD5_ASM_OBJ=.*$/MD5_ASM_OBJ= $md5_obj/; 825 s/^SHA1_ASM_OBJ=.*$/SHA1_ASM_OBJ= $sha1_obj/; 826 s/^RMD160_ASM_OBJ=.*$/RMD160_ASM_OBJ= $rmd160_obj/; 827 s/^PROCESSOR=.*/PROCESSOR= $processor/; 828 s/^RANLIB=.*/RANLIB= $ranlib/; 829 s/^PERL=.*/PERL= $perl/; 830 s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/; | 846 s/^BN_ASM=.*$/BN_ASM= $bn_obj/; 847 s/^DES_ENC=.*$/DES_ENC= $des_obj/; 848 s/^BF_ENC=.*$/BF_ENC= $bf_obj/; 849 s/^CAST_ENC=.*$/CAST_ENC= $cast_obj/; 850 s/^RC4_ENC=.*$/RC4_ENC= $rc4_obj/; 851 s/^RC5_ENC=.*$/RC5_ENC= $rc5_obj/; 852 s/^MD5_ASM_OBJ=.*$/MD5_ASM_OBJ= $md5_obj/; 853 s/^SHA1_ASM_OBJ=.*$/SHA1_ASM_OBJ= $sha1_obj/; 854 s/^RMD160_ASM_OBJ=.*$/RMD160_ASM_OBJ= $rmd160_obj/; 855 s/^PROCESSOR=.*/PROCESSOR= $processor/; 856 s/^RANLIB=.*/RANLIB= $ranlib/; 857 s/^PERL=.*/PERL= $perl/; 858 s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/; |
831 s/^SHLIB_MARK1=.*/SHLIB_MARK1=$shared_mark1/; 832 s/^SHLIB_MARK2=.*/SHLIB_MARK2=$shared_mark2/; 833 s/^LIBS=.*/LIBS=libcrypto\.so\* libssl\.so\*/ if (!$no_shared); | 859 s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/; 860 s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared); 861 s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.so.\$(SHLIB_MAJOR) .so/ if ($shared_extension ne "" && $shared_extension !~ /^\.s[ol]$/); |
834 print OUT $_."\n"; 835 } 836close(IN); 837close(OUT); 838 839print "CC =$cc\n"; 840print "CFLAG =$cflags\n"; 841print "EX_LIBS =$lflags\n"; --- 270 unchanged lines hidden (view full) --- 1112 1113sub print_table_entry 1114 { 1115 my $target = shift; 1116 1117 (my $cc,my $cflags,my $unistd,my $thread_cflag,my $lflags,my $bn_ops, 1118 my $bn_obj,my $des_obj,my $bf_obj, 1119 my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj, | 862 print OUT $_."\n"; 863 } 864close(IN); 865close(OUT); 866 867print "CC =$cc\n"; 868print "CFLAG =$cflags\n"; 869print "EX_LIBS =$lflags\n"; --- 270 unchanged lines hidden (view full) --- 1140 1141sub print_table_entry 1142 { 1143 my $target = shift; 1144 1145 (my $cc,my $cflags,my $unistd,my $thread_cflag,my $lflags,my $bn_ops, 1146 my $bn_obj,my $des_obj,my $bf_obj, 1147 my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj, |
1120 my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag)= 1121 split(/\s*:\s*/,$table{$target} . ":" x 22 , -1); | 1148 my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag, 1149 my $shared_extension,my $ranlib)= 1150 split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); |
1122 1123 print <<EOF 1124 1125*** $target 1126\$cc = $cc 1127\$cflags = $cflags 1128\$unistd = $unistd 1129\$thread_cflag = $thread_cflag --- 6 unchanged lines hidden (view full) --- 1136\$sha1_obj = $sha1_obj 1137\$cast_obj = $cast_obj 1138\$rc4_obj = $rc4_obj 1139\$rmd160_obj = $rmd160_obj 1140\$rc5_obj = $rc5_obj 1141\$dso_scheme = $dso_scheme 1142\$shared_target= $shared_target 1143\$shared_cflag = $shared_cflag | 1151 1152 print <<EOF 1153 1154*** $target 1155\$cc = $cc 1156\$cflags = $cflags 1157\$unistd = $unistd 1158\$thread_cflag = $thread_cflag --- 6 unchanged lines hidden (view full) --- 1165\$sha1_obj = $sha1_obj 1166\$cast_obj = $cast_obj 1167\$rc4_obj = $rc4_obj 1168\$rmd160_obj = $rmd160_obj 1169\$rc5_obj = $rc5_obj 1170\$dso_scheme = $dso_scheme 1171\$shared_target= $shared_target 1172\$shared_cflag = $shared_cflag |
1173\$shared_extension = $shared_extension 1174\$ranlib = $ranlib |
|
1144EOF 1145 } | 1175EOF 1176 } |