my $bits1="THIRTY_TWO_BIT ";
my $bits2="SIXTY_FOUR_BIT ";
-my $x86_asm="x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes_ctr.o aes-586.o aesni-x86.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o:cmll-x86.o";
+my $x86_asm="x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes_ctr.o aes-586.o aesni-x86.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o:cmll-x86.o:ghash-x86.o";
my $x86_elf_asm="$x86_asm:elf";
-my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o::aes_ctr.o aes-x86_64.o aesni-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o";
-my $ia64_asm="ia64cpuid.o:bn-ia64.o ia64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o:::::void";
-my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o:des_enc-sparc.o fcrypt_b.o:aes_core.o aes_cbc.o aes_ctr.o aes-sparcv9.o:::sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o:::::::void";
-my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::::void";
-my $alpha_asm="alphacpuid.o:bn_asm.o alpha-mont.o:::::sha1-alpha.o:::::::void";
-my $mips3_asm=":bn-mips3.o::::::::::::void";
-my $s390x_asm="s390xcap.o s390xcpuid.o:bn-s390x.o s390x-mont.o::aes_ctr.o aes-s390x.o:::sha1-s390x.o sha256-s390x.o sha512-s390x.o::rc4-s390x.o:::::void";
-my $armv4_asm=":bn_asm.o armv4-mont.o::aes_cbc.o aes_ctr.o aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o sha512-armv4.o:::::::void";
-my $parisc11_asm="pariscid.o:bn_asm.o parisc-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-parisc.o:::sha1-parisc.o sha256-parisc.o sha512-parisc.o::rc4-parisc.o:::::32";
-my $parisc20_asm="pariscid.o:pa-risc2W.o parisc-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-parisc.o:::sha1-parisc.o sha256-parisc.o sha512-parisc.o::rc4-parisc.o:::::64";
-my $ppc32_asm="ppccpuid.o ppccap.o:bn-ppc.o ppc-mont.o ppc64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ppc.o:::sha1-ppc.o sha256-ppc.o::::::";
-my $ppc64_asm="ppccpuid.o ppccap.o:bn-ppc.o ppc-mont.o ppc64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ppc.o:::sha1-ppc.o sha256-ppc.o sha512-ppc.o::::::";
-my $no_asm=":::::::::::::void";
+my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o::aes_ctr.o aes-x86_64.o aesni-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o:ghash-x86_64.o";
+my $ia64_asm="ia64cpuid.o:bn-ia64.o ia64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o:::::ghash-ia64.o:void";
+my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o:des_enc-sparc.o fcrypt_b.o:aes_core.o aes_cbc.o aes_ctr.o aes-sparcv9.o:::sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o:::::::ghash-sparcv9.o:void";
+my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o::::::::::::void";
+my $alpha_asm="alphacpuid.o:bn_asm.o alpha-mont.o:::::sha1-alpha.o:::::::ghash-alpha.o:void";
+my $mips3_asm=":bn-mips3.o:::::::::::::void";
+my $s390x_asm="s390xcap.o s390xcpuid.o:bn-s390x.o s390x-mont.o::aes_ctr.o aes-s390x.o:::sha1-s390x.o sha256-s390x.o sha512-s390x.o::rc4-s390x.o::::::void";
+my $armv4_asm=":bn_asm.o armv4-mont.o::aes_cbc.o aes_ctr.o aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o sha512-armv4.o::::::::void";
+my $parisc11_asm="pariscid.o:bn_asm.o parisc-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-parisc.o:::sha1-parisc.o sha256-parisc.o sha512-parisc.o::rc4-parisc.o::::::32";
+my $parisc20_asm="pariscid.o:pa-risc2W.o parisc-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-parisc.o:::sha1-parisc.o sha256-parisc.o sha512-parisc.o::rc4-parisc.o::::::64";
+my $ppc32_asm="ppccpuid.o ppccap.o:bn-ppc.o ppc-mont.o ppc64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ppc.o:::sha1-ppc.o sha256-ppc.o:::::::";
+my $ppc64_asm="ppccpuid.o ppccap.o:bn-ppc.o ppc-mont.o ppc64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ppc.o:::sha1-ppc.o sha256-ppc.o sha512-ppc.o:::::::";
+my $no_asm="::::::::::::::void";
# As for $BSDthreads. Idea is to maintain "collective" set of flags,
# which would cover all BSD flavors. -pthread applies to them all,
# seems to be sufficient?
my $BSDthreads="-pthread -D_THREAD_SAFE -D_REENTRANT";
-#config-string $cc : $cflags : $unistd : $thread_cflag : $sys_id : $lflags : $bn_ops : $cpuid_obj : $bn_obj : $des_obj : $aes_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $wp_obj : $cmll_obj : $dso_scheme : $shared_target : $shared_cflag : $shared_ldflag : $shared_extension : $ranlib : $arflags : $multilib
+#config-string $cc : $cflags : $unistd : $thread_cflag : $sys_id : $lflags : $bn_ops : $cpuid_obj : $bn_obj : $des_obj : $aes_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $wp_obj : $cmll_obj : $modes_obj : $dso_scheme : $shared_target : $shared_cflag : $shared_ldflag : $shared_extension : $ranlib : $arflags : $multilib
my %table=(
# File 'TABLE' (created by 'make TABLE') contains the data from this list,
"debug-linux-ppro","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -mcpu=pentiumpro -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn",
"debug-linux-elf","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -march=i486 -Wall::-D_REENTRANT::-lefence -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"debug-linux-elf-noefence","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -march=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
-"debug-linux-ia32-aes", "gcc:-DAES_EXPERIMENTAL -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes_x86core.o aes_cbc.o aes_ctr.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o::elf:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"debug-linux-ia32-aes", "gcc:-DAES_EXPERIMENTAL -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes_x86core.o aes_cbc.o aes_ctr.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o::ghash-x86.o:elf:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"debug-linux-generic32","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"debug-linux-generic64","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"debug-linux-x86_64","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64",
# Since there is mention of this in shlib/hpux10-cc.sh
"hpux-parisc-cc-o4","cc:-Ae +O4 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::-D_REENTRANT::-ldld:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:${no_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"hpux-parisc-gcc","gcc:-O3 -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-Wl,+s -ldld:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:${no_asm}:dl:hpux-shared:-fPIC:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
-"hpux-parisc2-gcc","gcc:-march=2.0 -O3 -DB_ENDIAN -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL DES_RISC1::pa-risc2.o::::::::::::void:dl:hpux-shared:-fPIC:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
-"hpux64-parisc2-gcc","gcc:-O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o::::::::::::void:dlfcn:hpux-shared:-fpic:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64",
+"hpux-parisc2-gcc","gcc:-march=2.0 -O3 -DB_ENDIAN -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL DES_RISC1::pa-risc2.o:::::::::::::void:dl:hpux-shared:-fPIC:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"hpux64-parisc2-gcc","gcc:-O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o:::::::::::::void:dlfcn:hpux-shared:-fpic:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64",
# More attempts at unified 10.X and 11.X targets for HP C compiler.
#
# Kevin Steves <ks@hp.se>
"hpux-parisc-cc","cc:+O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::-D_REENTRANT::-Wl,+s -ldld:MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:${no_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"hpux-parisc1_1-cc","cc:+DA1.1 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY::-D_REENTRANT::-Wl,+s -ldld:MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:${parisc11_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa1.1",
-"hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2.o::::::::::::void:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2.o:::::::::::::void:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"hpux64-parisc2-cc","cc:+DD64 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:${parisc20_asm}:dlfcn:hpux-shared:+Z:+DD64 -b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64",
# HP/UX IA-64 targets
# Visual C targets
#
# Win64 targets, WIN64I denotes IA-64 and WIN64A - AMD64
-"VC-WIN64I","cl:-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64I::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:ia64cpuid.o:ia64.o ia64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o:::::::ias:win32",
-"VC-WIN64A","cl:-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64A::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:x86_64cpuid.o:bn_asm.o x86_64-mont.o::aes_ctr.o aes-x86_64.o aesni-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o:auto:win32",
+"VC-WIN64I","cl:-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64I::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:ia64cpuid.o:ia64.o ia64-mont.o::aes_core.o aes_cbc.o aes_ctr.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o:::::::ghash-ia64.o:ias:win32",
+"VC-WIN64A","cl:-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64A::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:x86_64cpuid.o:bn_asm.o x86_64-mont.o::aes_ctr.o aes-x86_64.o aesni-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o:ghash-x86_64.o:auto:win32",
# x86 Win32 target defaults to ANSI API, if you want UNICODE, complement
# 'perl Configure VC-WIN32' with '-DUNICODE -D_UNICODE'
"VC-WIN32","cl:-W3 -WX -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE:::WIN32::BN_LLONG RC4_INDEX EXPORT_VAR_AS_FN ${x86_gcc_opts}:${x86_asm}:win32n:win32",
"tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::",
# uClinux
-"uClinux-dist","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):BN_LLONG:::::::::::::::$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::",
-"uClinux-dist64","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):SIXTY_FOUR_BIT_LONG:::::::::::::::$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::",
+"uClinux-dist","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):BN_LLONG:${no_asm}:$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::",
+"uClinux-dist64","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):SIXTY_FOUR_BIT_LONG:${no_asm}:$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::",
);
my $idx_rc5_obj = $idx++;
my $idx_wp_obj = $idx++;
my $idx_cmll_obj = $idx++;
+my $idx_modes_obj = $idx++;
my $idx_perlasm_scheme = $idx++;
my $idx_dso_scheme = $idx++;
my $idx_shared_target = $idx++;
my $rc5_obj = $fields[$idx_rc5_obj];
my $wp_obj = $fields[$idx_wp_obj];
my $cmll_obj = $fields[$idx_cmll_obj];
+my $modes_obj = $fields[$idx_modes_obj];
my $perlasm_scheme = $fields[$idx_perlasm_scheme];
my $dso_scheme = $fields[$idx_dso_scheme];
my $shared_target = $fields[$idx_shared_target];
{
$cpuid_obj=$bn_obj=
$des_obj=$aes_obj=$bf_obj=$cast_obj=$rc4_obj=$rc5_obj=$cmll_obj=
- $sha1_obj=$md5_obj=$rmd160_obj=$wp_obj="";
+ $modes_obj=$sha1_obj=$md5_obj=$rmd160_obj=$wp_obj="";
}
if (!$no_shared)
$wp_obj="wp_block.o";
}
$cmll_obj=$cmll_enc unless ($cmll_obj =~ /.o$/);
+if ($modes_obj =~ /ghash/)
+ {
+ $cflags.=" -DGHASH_ASM";
+ }
# "Stringify" the C flags string. This permits it to be made part of a string
# and works as well on command lines.
s/^RMD160_ASM_OBJ=.*$/RMD160_ASM_OBJ= $rmd160_obj/;
s/^WP_ASM_OBJ=.*$/WP_ASM_OBJ= $wp_obj/;
s/^CMLL_ENC=.*$/CMLL_ENC= $cmll_obj/;
+ s/^MODES_ASM_OBJ.=*$/MODES_ASM_OBJ= $modes_obj/;
s/^PERLASM_SCHEME=.*$/PERLASM_SCHEME= $perlasm_scheme/;
s/^PROCESSOR=.*/PROCESSOR= $processor/;
s/^ARFLAGS=.*/ARFLAGS= $arflags/;
print "MD5_OBJ_ASM =$md5_obj\n";
print "SHA1_OBJ_ASM =$sha1_obj\n";
print "RMD160_OBJ_ASM=$rmd160_obj\n";
-print "CMLL_ENC= =$cmll_obj\n";
+print "CMLL_ENC =$cmll_obj\n";
+print "MODES_OBJ =$modes_obj\n";
print "PROCESSOR =$processor\n";
print "RANLIB =$ranlib\n";
print "ARFLAGS =$arflags\n";
(my $cc,my $cflags,my $unistd,my $thread_cflag,my $sys_id,my $lflags,
my $bn_ops,my $cpuid_obj,my $bn_obj,my $des_obj,my $aes_obj, my $bf_obj,
my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj,
- my $rc5_obj,my $wp_obj,my $cmll_obj,my $perlasm_scheme,my $dso_scheme,my $shared_target,my $shared_cflag,
+ my $rc5_obj,my $wp_obj,my $cmll_obj,my $modes_obj,my $perlasm_scheme,my $dso_scheme,my $shared_target,my $shared_cflag,
my $shared_ldflag,my $shared_extension,my $ranlib,my $arflags,my $multilib)=
split(/\s*:\s*/,$table{$target} . ":" x 30 , -1);
\$rc5_obj = $rc5_obj
\$wp_obj = $wp_obj
\$cmll_obj = $cmll_obj
+\$modes_obj = $modes_obj
\$perlasm_scheme = $perlasm_scheme
\$dso_scheme = $dso_scheme
\$shared_target= $shared_target
RMD160_ASM_OBJ=
WP_ASM_OBJ=
CMLL_ENC=
+MODES_ASM_OBJ=
PERLASM_SCHEME=
# KRB5 stuff
MD5_ASM_OBJ='$(MD5_ASM_OBJ)' \
RMD160_ASM_OBJ='$(RMD160_ASM_OBJ)' \
WP_ASM_OBJ='$(WP_ASM_OBJ)' \
+ MODES_ASM_OBJ='$(MODES_ASM_OBJ)' \
PERLASM_SCHEME='$(PERLASM_SCHEME)' \
THIS=$${THIS:-$@} MAKEFILE=Makefile MAKEOVERRIDES=
# MAKEOVERRIDES= effectively "equalizes" GNU-ish and SysV-ish make flavors,
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = win32
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = a.out
$dso_scheme = dlfcn
$shared_target= bsd-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= bsd-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = coff
$dso_scheme = dlfcn
$shared_target= cygwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = win32
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = a.out
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= reliantunix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = win32
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = win32
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = win32n
$dso_scheme = win32
$shared_target=
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = auto
$dso_scheme = win32
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = ias
$dso_scheme = win32
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = aix32
$dso_scheme = dlfcn
$shared_target= aix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = aix32
$dso_scheme = dlfcn
$shared_target= aix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = aix64
$dso_scheme = dlfcn
$shared_target= aix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = aix64
$dso_scheme = dlfcn
$shared_target= aix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = beos
$shared_target= beos-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = beos
$shared_target= beos-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= bsd-gcc-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = macosx
$dso_scheme = dlfcn
$shared_target= darwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = osx32
$dso_scheme = dlfcn
$shared_target= darwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = osx64
$dso_scheme = dlfcn
$shared_target= darwin-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = macosx
$dso_scheme = dlfcn
$shared_target= darwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= bsd-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= cygwin-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = win32n
$dso_scheme = win32
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = macosx
$dso_scheme = dlfcn
$shared_target= darwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = osx32
$dso_scheme = dlfcn
$shared_target= darwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj =
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target=
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = win32
$shared_target= cygwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = 32
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dl
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = 64
$dso_scheme = dlfcn
$shared_target= hpux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= hpux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= irix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= irix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= irix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= irix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= irix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= irix-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = a.out
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-ia64.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = linux32
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = linux64
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = coff
$dso_scheme = win32
$shared_target= cygwin-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = mingw64
$dso_scheme = win32
$shared_target= cygwin-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= alpha-osf1-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= alpha-osf1-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= svr3-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= svr3-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-sparcv9.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
+$modes_obj = ghash-x86_64.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= solaris-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj = ghash-alpha.o
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= alpha-osf1-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
-$perlasm_scheme =
+$modes_obj =
+$perlasm_scheme = void
$dso_scheme =
$shared_target= linux-shared
$shared_cflag = -fPIC
$rc5_obj =
$wp_obj =
$cmll_obj =
-$perlasm_scheme =
+$modes_obj =
+$perlasm_scheme = void
$dso_scheme =
$shared_target= linux-shared
$shared_cflag = -fPIC
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= svr5-shared
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
+$modes_obj = ghash-x86.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= gnu-shared
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme = void
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
$rc5_obj =
$wp_obj =
$cmll_obj =
+$modes_obj =
$perlasm_scheme =
$dso_scheme =
$shared_target=
MAKEFILE= Makefile
AR= ar r
+MODES_ASM_OBJ=
+
CFLAGS= $(INCLUDES) $(CFLAG)
+ASFLAGS= $(INCLUDES) $(ASFLAG)
+AFLAGS= $(ASFLAGS)
GENERAL=Makefile
TEST=
APPS=
LIB=$(TOP)/libcrypto.a
-LIBSRC= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c
-LIBOBJ= cbc128.o ctr128.o cts128.o cfb128.o ofb128.o
+LIBSRC= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c
+LIBOBJ= cbc128.o ctr128.o cts128.o cfb128.o ofb128.o gcm128.o \
+ $(MODES_ASM_OBJ)
SRC= $(LIBSRC)
$(RANLIB) $(LIB) || echo Never mind.
@touch lib
+aes-ia64.s: asm/ghash-ia64.pl
+ $(PERL) asm/ghash-ia64.pl $@ $(CFLAGS)
+ghash-x86.s: asm/ghash-x86.pl
+ $(PERL) asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+ghash-x86_64.s: asm/ghash-x86_64.pl
+ $(PERL) asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@
+ghash-sparcv9.s: asm/ghash-sparcv9.pl
+ $(PERL) asm/ghash-sparcv8.pl $(CFLAGS) > $@
+ghash-alpha.s: asm/ghash-alpha.pl
+ $(PERL) $< | $(CC) -E - | tee $@ > /dev/null
+# GNU make "catch all"
+ghash-%.s: asm/ghash-%.pl; $(PERL) $< $(PERLASM_SCHEME) $(CFLAGS) > $@
+
files:
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO