From a1c8befd661fa2145d330bb04ebc6061660db4fd Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 13 Sep 2019 00:05:26 +0200 Subject: [PATCH] build.info: For all assembler generators, remove all arguments Since the arguments are now generated in the build file templates, they should be removed from the build.info files. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9884) --- crypto/aes/build.info | 51 +++++++++--------- crypto/bf/build.info | 3 +- crypto/bn/build.info | 58 ++++++++++---------- crypto/build.info | 21 ++++---- crypto/camellia/build.info | 8 ++- crypto/cast/build.info | 3 +- crypto/chacha/build.info | 17 +++--- crypto/des/build.info | 8 ++- crypto/ec/build.info | 19 ++++--- crypto/md5/build.info | 7 ++- crypto/modes/build.info | 25 +++++---- crypto/poly1305/build.info | 21 ++++---- crypto/rc4/build.info | 13 +++-- crypto/rc5/build.info | 3 +- crypto/ripemd/build.info | 3 +- crypto/sha/build.info | 105 ++++++++++++++++++------------------- crypto/whrlpool/build.info | 5 +- engines/build.info | 5 +- 18 files changed, 174 insertions(+), 201 deletions(-) diff --git a/crypto/aes/build.info b/crypto/aes/build.info index 0ba1758d68..aac88012b4 100644 --- a/crypto/aes/build.info +++ b/crypto/aes/build.info @@ -67,51 +67,48 @@ DEFINE[../../providers/fips]=$AESDEF GENERATE[aes-ia64.s]=asm/aes-ia64.S -GENERATE[aes-586.s]=asm/aes-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[aes-586.s]=asm/aes-586.pl DEPEND[aes-586.s]=../perlasm/x86asm.pl -GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl DEPEND[vpaes-586.s]=../perlasm/x86asm.pl -GENERATE[aesni-x86.s]=asm/aesni-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[aesni-x86.s]=asm/aesni-x86.pl DEPEND[aesni-586.s]=../perlasm/x86asm.pl -GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl $(PERLASM_SCHEME) -GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl $(PERLASM_SCHEME) -GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl $(PERLASM_SCHEME) -GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl $(PERLASM_SCHEME) -GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl $(PERLASM_SCHEME) -GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl $(PERLASM_SCHEME) -GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl $(PERLASM_SCHEME) +GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl +GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl +GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl +GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl +GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl +GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl +GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl -GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl INCLUDE[aes-sparcv9.o]=.. -GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl INCLUDE[aest4-sparcv9.o]=.. DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl -GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl INCLUDE[aesfx-sparcv9.o]=.. -GENERATE[aes-ppc.s]=asm/aes-ppc.pl $(PERLASM_SCHEME) -GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl $(PERLASM_SCHEME) -GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl $(PERLASM_SCHEME) +GENERATE[aes-ppc.s]=asm/aes-ppc.pl +GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl +GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl -GENERATE[aes-parisc.s]=asm/aes-parisc.pl $(PERLASM_SCHEME) +GENERATE[aes-parisc.s]=asm/aes-parisc.pl -GENERATE[aes-mips.S]=asm/aes-mips.pl $(PERLASM_SCHEME) +GENERATE[aes-mips.S]=asm/aes-mips.pl INCLUDE[aes-mips.o]=.. -GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl $(PERLASM_SCHEME) +GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl INCLUDE[aesv8-armx.o]=.. -GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl $(PERLASM_SCHEME) +GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl -GENERATE[aes-armv4.S]=asm/aes-armv4.pl $(PERLASM_SCHEME) +GENERATE[aes-armv4.S]=asm/aes-armv4.pl INCLUDE[aes-armv4.o]=.. -GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME) +GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl INCLUDE[bsaes-armv7.o]=.. -GENERATE[aes-s390x.S]=asm/aes-s390x.pl $(PERLASM_SCHEME) +GENERATE[aes-s390x.S]=asm/aes-s390x.pl INCLUDE[aes-s390x.o]=.. -GENERATE[aes-c64xplus.S]=asm/aes-c64xplus.pl $(PERLASM_SCHEME) +GENERATE[aes-c64xplus.S]=asm/aes-c64xplus.pl diff --git a/crypto/bf/build.info b/crypto/bf/build.info index cc06212dfc..59d5bbcfe3 100644 --- a/crypto/bf/build.info +++ b/crypto/bf/build.info @@ -13,6 +13,5 @@ ENDIF SOURCE[../../libcrypto]=bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c $BFASM -GENERATE[bf-586.s]=asm/bf-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[bf-586.s]=asm/bf-586.pl DEPEND[bf-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl diff --git a/crypto/bn/build.info b/crypto/bn/build.info index c2df4e07c9..669256d8e3 100644 --- a/crypto/bn/build.info +++ b/crypto/bn/build.info @@ -116,58 +116,54 @@ INCLUDE[../../libcrypto]=../../crypto/include INCLUDE[bn_exp.o]=.. -GENERATE[bn-586.s]=asm/bn-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[bn-586.s]=asm/bn-586.pl DEPEND[bn-586.s]=../perlasm/x86asm.pl -GENERATE[co-586.s]=asm/co-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[co-586.s]=asm/co-586.pl DEPEND[co-586.s]=../perlasm/x86asm.pl -GENERATE[x86-mont.s]=asm/x86-mont.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[x86-mont.s]=asm/x86-mont.pl DEPEND[x86-mont.s]=../perlasm/x86asm.pl -GENERATE[x86-gf2m.s]=asm/x86-gf2m.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[x86-gf2m.s]=asm/x86-gf2m.pl DEPEND[x86-gf2m.s]=../perlasm/x86asm.pl -GENERATE[sparcv9a-mont.S]=asm/sparcv9a-mont.pl $(PERLASM_SCHEME) +GENERATE[sparcv9a-mont.S]=asm/sparcv9a-mont.pl INCLUDE[sparcv9a-mont.o]=.. -GENERATE[sparcv9-mont.S]=asm/sparcv9-mont.pl $(PERLASM_SCHEME) +GENERATE[sparcv9-mont.S]=asm/sparcv9-mont.pl INCLUDE[sparcv9-mont.o]=.. -GENERATE[vis3-mont.S]=asm/vis3-mont.pl $(PERLASM_SCHEME) +GENERATE[vis3-mont.S]=asm/vis3-mont.pl INCLUDE[vis3-mont.o]=.. -GENERATE[sparct4-mont.S]=asm/sparct4-mont.pl $(PERLASM_SCHEME) +GENERATE[sparct4-mont.S]=asm/sparct4-mont.pl INCLUDE[sparct4-mont.o]=.. -GENERATE[sparcv9-gf2m.S]=asm/sparcv9-gf2m.pl $(PERLASM_SCHEME) +GENERATE[sparcv9-gf2m.S]=asm/sparcv9-gf2m.pl INCLUDE[sparcv9-gf2m.o]=.. -GENERATE[bn-mips.S]=asm/mips.pl $(PERLASM_SCHEME) +GENERATE[bn-mips.S]=asm/mips.pl INCLUDE[bn-mips.o]=.. -GENERATE[mips-mont.S]=asm/mips-mont.pl $(PERLASM_SCHEME) +GENERATE[mips-mont.S]=asm/mips-mont.pl INCLUDE[mips-mont.o]=.. -GENERATE[s390x-mont.S]=asm/s390x-mont.pl $(PERLASM_SCHEME) -GENERATE[s390x-gf2m.s]=asm/s390x-gf2m.pl $(PERLASM_SCHEME) +GENERATE[s390x-mont.S]=asm/s390x-mont.pl +GENERATE[s390x-gf2m.s]=asm/s390x-gf2m.pl -GENERATE[x86_64-mont.s]=asm/x86_64-mont.pl $(PERLASM_SCHEME) -GENERATE[x86_64-mont5.s]=asm/x86_64-mont5.pl $(PERLASM_SCHEME) -GENERATE[x86_64-gf2m.s]=asm/x86_64-gf2m.pl $(PERLASM_SCHEME) -GENERATE[rsaz-x86_64.s]=asm/rsaz-x86_64.pl $(PERLASM_SCHEME) -GENERATE[rsaz-avx2.s]=asm/rsaz-avx2.pl $(PERLASM_SCHEME) +GENERATE[x86_64-mont.s]=asm/x86_64-mont.pl +GENERATE[x86_64-mont5.s]=asm/x86_64-mont5.pl +GENERATE[x86_64-gf2m.s]=asm/x86_64-gf2m.pl +GENERATE[rsaz-x86_64.s]=asm/rsaz-x86_64.pl +GENERATE[rsaz-avx2.s]=asm/rsaz-avx2.pl GENERATE[bn-ia64.s]=asm/ia64.S -GENERATE[ia64-mont.s]=asm/ia64-mont.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[ia64-mont.s]=asm/ia64-mont.pl -GENERATE[parisc-mont.s]=asm/parisc-mont.pl $(PERLASM_SCHEME) +GENERATE[parisc-mont.s]=asm/parisc-mont.pl # ppc - AIX, Linux, MacOS X... -GENERATE[bn-ppc.s]=asm/ppc.pl $(PERLASM_SCHEME) -GENERATE[ppc-mont.s]=asm/ppc-mont.pl $(PERLASM_SCHEME) -GENERATE[ppc64-mont.s]=asm/ppc64-mont.pl $(PERLASM_SCHEME) +GENERATE[bn-ppc.s]=asm/ppc.pl +GENERATE[ppc-mont.s]=asm/ppc-mont.pl +GENERATE[ppc64-mont.s]=asm/ppc64-mont.pl -GENERATE[alpha-mont.S]=asm/alpha-mont.pl $(PERLASM_SCHEME) +GENERATE[alpha-mont.S]=asm/alpha-mont.pl -GENERATE[armv4-mont.S]=asm/armv4-mont.pl $(PERLASM_SCHEME) +GENERATE[armv4-mont.S]=asm/armv4-mont.pl INCLUDE[armv4-mont.o]=.. -GENERATE[armv4-gf2m.S]=asm/armv4-gf2m.pl $(PERLASM_SCHEME) +GENERATE[armv4-gf2m.S]=asm/armv4-gf2m.pl INCLUDE[armv4-gf2m.o]=.. -GENERATE[armv8-mont.S]=asm/armv8-mont.pl $(PERLASM_SCHEME) +GENERATE[armv8-mont.S]=asm/armv8-mont.pl diff --git a/crypto/build.info b/crypto/build.info index 961bfd6f60..6c77f95108 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -86,25 +86,24 @@ DEPEND[cversion.o]=buildinf.h GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)" DEPEND[buildinf.h]=../configdata.pm -GENERATE[uplink-x86.s]=../ms/uplink-x86.pl $(PERLASM_SCHEME) -GENERATE[uplink-x86_64.s]=../ms/uplink-x86_64.pl $(PERLASM_SCHEME) -GENERATE[uplink-ia64.s]=../ms/uplink-ia64.pl $(PERLASM_SCHEME) +GENERATE[uplink-x86.s]=../ms/uplink-x86.pl +GENERATE[uplink-x86_64.s]=../ms/uplink-x86_64.pl +GENERATE[uplink-ia64.s]=../ms/uplink-ia64.pl -GENERATE[x86cpuid.s]=x86cpuid.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[x86cpuid.s]=x86cpuid.pl DEPEND[x86cpuid.s]=perlasm/x86asm.pl -GENERATE[x86_64cpuid.s]=x86_64cpuid.pl $(PERLASM_SCHEME) +GENERATE[x86_64cpuid.s]=x86_64cpuid.pl GENERATE[ia64cpuid.s]=ia64cpuid.S -GENERATE[ppccpuid.s]=ppccpuid.pl $(PERLASM_SCHEME) -GENERATE[pariscid.s]=pariscid.pl $(PERLASM_SCHEME) +GENERATE[ppccpuid.s]=ppccpuid.pl +GENERATE[pariscid.s]=pariscid.pl GENERATE[alphacpuid.s]=alphacpuid.pl -GENERATE[arm64cpuid.S]=arm64cpuid.pl $(PERLASM_SCHEME) +GENERATE[arm64cpuid.S]=arm64cpuid.pl INCLUDE[arm64cpuid.o]=. -GENERATE[armv4cpuid.S]=armv4cpuid.pl $(PERLASM_SCHEME) +GENERATE[armv4cpuid.S]=armv4cpuid.pl INCLUDE[armv4cpuid.o]=. -GENERATE[s390xcpuid.S]=s390xcpuid.pl $(PERLASM_SCHEME) +GENERATE[s390xcpuid.S]=s390xcpuid.pl INCLUDE[s390xcpuid.o]=. IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}] diff --git a/crypto/camellia/build.info b/crypto/camellia/build.info index 8d74b9f095..c10babc726 100644 --- a/crypto/camellia/build.info +++ b/crypto/camellia/build.info @@ -15,11 +15,9 @@ ENDIF SOURCE[../../libcrypto]=cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c $CMLLASM -GENERATE[cmll-x86.s]=asm/cmll-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) \ - $(PROCESSOR) +GENERATE[cmll-x86.s]=asm/cmll-x86.pl DEPEND[cmll-x86.s]=../perlasm/x86asm.pl -GENERATE[cmll-x86_64.s]=asm/cmll-x86_64.pl $(PERLASM_SCHEME) -GENERATE[cmllt4-sparcv9.S]=asm/cmllt4-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[cmll-x86_64.s]=asm/cmll-x86_64.pl +GENERATE[cmllt4-sparcv9.S]=asm/cmllt4-sparcv9.pl INCLUDE[cmllt4-sparcv9.o]=.. DEPEND[cmllt4-sparcv9.S]=../perlasm/sparcv9_modes.pl diff --git a/crypto/cast/build.info b/crypto/cast/build.info index 97779c2250..e21e6d55ee 100644 --- a/crypto/cast/build.info +++ b/crypto/cast/build.info @@ -14,6 +14,5 @@ ENDIF SOURCE[../../libcrypto]=c_skey.c c_ecb.c $CASTASM c_cfb64.c c_ofb64.c -GENERATE[cast-586.s]=asm/cast-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[cast-586.s]=asm/cast-586.pl DEPEND[cast-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl diff --git a/crypto/chacha/build.info b/crypto/chacha/build.info index e8eeaf0ce9..9757739682 100644 --- a/crypto/chacha/build.info +++ b/crypto/chacha/build.info @@ -26,15 +26,14 @@ ENDIF SOURCE[../../libcrypto]=$CHACHAASM -GENERATE[chacha-x86.s]=asm/chacha-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) -GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl $(PERLASM_SCHEME) -GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl $(PERLASM_SCHEME) -GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl $(PERLASM_SCHEME) +GENERATE[chacha-x86.s]=asm/chacha-x86.pl +GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl +GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl +GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl INCLUDE[chacha-armv4.o]=.. -GENERATE[chacha-armv8.S]=asm/chacha-armv8.pl $(PERLASM_SCHEME) +GENERATE[chacha-armv8.S]=asm/chacha-armv8.pl INCLUDE[chacha-armv8.o]=.. INCLUDE[chacha-s390x.o]=.. -GENERATE[chacha-c64xplus.S]=asm/chacha-c64xplus.pl $(PERLASM_SCHEME) -GENERATE[chacha-s390x.S]=asm/chacha-s390x.pl $(PERLASM_SCHEME) -GENERATE[chacha-ia64.S]=asm/chacha-ia64.pl $(PERLASM_SCHEME) +GENERATE[chacha-c64xplus.S]=asm/chacha-c64xplus.pl +GENERATE[chacha-s390x.S]=asm/chacha-s390x.pl +GENERATE[chacha-ia64.S]=asm/chacha-ia64.pl diff --git a/crypto/des/build.info b/crypto/des/build.info index 33dd90c89a..774bad754b 100644 --- a/crypto/des/build.info +++ b/crypto/des/build.info @@ -23,12 +23,10 @@ SOURCE[../../libcrypto]=$COMMON\ SOURCE[../../providers/fips]=$COMMON GENERATE[des_enc-sparc.S]=asm/des_enc.m4 -GENERATE[dest4-sparcv9.S]=asm/dest4-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[dest4-sparcv9.S]=asm/dest4-sparcv9.pl INCLUDE[dest4-sparcv9.o]=.. -GENERATE[des-586.s]=asm/des-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[des-586.s]=asm/des-586.pl DEPEND[des-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl -GENERATE[crypt586.s]=asm/crypt586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[crypt586.s]=asm/crypt586.pl DEPEND[crypt586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl diff --git a/crypto/ec/build.info b/crypto/ec/build.info index 449172c704..2befa3e77f 100644 --- a/crypto/ec/build.info +++ b/crypto/ec/build.info @@ -60,24 +60,23 @@ DEFINE[../../libcrypto]=$ECDEF SOURCE[../../providers/fips]=$COMMON DEFINE[../../providers/fips]=$ECDEF -GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl -GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl $(PERLASM_SCHEME) +GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl -GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME) +GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl -GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl INCLUDE[ecp_nistz256-sparcv9.o]=.. -GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl $(PERLASM_SCHEME) +GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl INCLUDE[ecp_nistz256-armv4.o]=.. -GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl $(PERLASM_SCHEME) +GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl INCLUDE[ecp_nistz256-armv8.o]=.. -GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl $(PERLASM_SCHEME) +GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl -GENERATE[x25519-x86_64.s]=asm/x25519-x86_64.pl $(PERLASM_SCHEME) -GENERATE[x25519-ppc64.s]=asm/x25519-ppc64.pl $(PERLASM_SCHEME) +GENERATE[x25519-x86_64.s]=asm/x25519-x86_64.pl +GENERATE[x25519-ppc64.s]=asm/x25519-ppc64.pl INCLUDE[curve448/arch_32/f_impl.o]=curve448/arch_32 curve448 INCLUDE[curve448/f_generic.o]=curve448/arch_32 curve448 diff --git a/crypto/md5/build.info b/crypto/md5/build.info index 3b91abf332..081e0b08bd 100644 --- a/crypto/md5/build.info +++ b/crypto/md5/build.info @@ -17,10 +17,9 @@ ENDIF SOURCE[../../libcrypto]=md5_dgst.c md5_one.c md5_sha1.c $MD5ASM DEFINE[../../libcrypto]=$MD5DEF -GENERATE[md5-586.s]=asm/md5-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[md5-586.s]=asm/md5-586.pl -GENERATE[md5-x86_64.s]=asm/md5-x86_64.pl $(PERLASM_SCHEME) +GENERATE[md5-x86_64.s]=asm/md5-x86_64.pl -GENERATE[md5-sparcv9.S]=asm/md5-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[md5-sparcv9.S]=asm/md5-sparcv9.pl INCLUDE[md5-sparcv9.o]=.. diff --git a/crypto/modes/build.info b/crypto/modes/build.info index 506e04d5fa..f5badff1bb 100644 --- a/crypto/modes/build.info +++ b/crypto/modes/build.info @@ -58,20 +58,19 @@ DEFINE[../../providers/fips]=$MODESDEF INCLUDE[gcm128.o]=.. -GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS) -GENERATE[ghash-x86.s]=asm/ghash-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) -GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl $(PERLASM_SCHEME) -GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) -GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl +GENERATE[ghash-x86.s]=asm/ghash-x86.pl +GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl +GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl +GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl INCLUDE[ghash-sparcv9.o]=.. -GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl $(PERLASM_SCHEME) -GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl $(PERLASM_SCHEME) -GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl $(PERLASM_SCHEME) -GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl $(PERLASM_SCHEME) +GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl +GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl +GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl +GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl INCLUDE[ghash-armv4.o]=.. -GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl $(PERLASM_SCHEME) +GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl INCLUDE[ghashv8-armx.o]=.. -GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl $(PERLASM_SCHEME) +GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl INCLUDE[ghash-s390x.o]=.. -GENERATE[ghash-c64xplus.S]=asm/ghash-c64xplus.pl $(PERLASM_SCHEME) +GENERATE[ghash-c64xplus.S]=asm/ghash-c64xplus.pl diff --git a/crypto/poly1305/build.info b/crypto/poly1305/build.info index cab28f4bdb..29cdf4c861 100644 --- a/crypto/poly1305/build.info +++ b/crypto/poly1305/build.info @@ -32,19 +32,18 @@ ENDIF SOURCE[../../libcrypto]=poly1305_ameth.c poly1305.c $POLY1305ASM DEFINE[../../libcrypto]=$POLY1305DEF -GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl INCLUDE[poly1305-sparcv9.o]=.. -GENERATE[poly1305-x86.s]=asm/poly1305-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) -GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl $(PERLASM_SCHEME) -GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl $(PERLASM_SCHEME) -GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl $(PERLASM_SCHEME) -GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl $(PERLASM_SCHEME) +GENERATE[poly1305-x86.s]=asm/poly1305-x86.pl +GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl +GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl +GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl +GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl INCLUDE[poly1305-armv4.o]=.. -GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl $(PERLASM_SCHEME) +GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl INCLUDE[poly1305-armv8.o]=.. -GENERATE[poly1305-mips.S]=asm/poly1305-mips.pl $(PERLASM_SCHEME) +GENERATE[poly1305-mips.S]=asm/poly1305-mips.pl INCLUDE[poly1305-mips.o]=.. -GENERATE[poly1305-c64xplus.S]=asm/poly1305-c64xplus.pl $(PERLASM_SCHEME) +GENERATE[poly1305-c64xplus.S]=asm/poly1305-c64xplus.pl INCLUDE[poly1305-s390x.o]=.. -GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl $(PERLASM_SCHEME) +GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info index 30e36bac10..abc0c52d0c 100644 --- a/crypto/rc4/build.info +++ b/crypto/rc4/build.info @@ -19,13 +19,12 @@ ENDIF SOURCE[../../libcrypto]=$RC4ASM -GENERATE[rc4-586.s]=asm/rc4-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[rc4-586.s]=asm/rc4-586.pl DEPEND[rc4-586.s]=../perlasm/x86asm.pl -GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl $(PERLASM_SCHEME) -GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) +GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl +GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl -GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl $(PERLASM_SCHEME) -GENERATE[rc4-c64xplus.s]=asm/rc4-c64xplus.pl $(PERLASM_SCHEME) -GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl $(PERLASM_SCHEME) +GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl +GENERATE[rc4-c64xplus.s]=asm/rc4-c64xplus.pl +GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl diff --git a/crypto/rc5/build.info b/crypto/rc5/build.info index 5780f3c5f9..c684d1ee2e 100644 --- a/crypto/rc5/build.info +++ b/crypto/rc5/build.info @@ -15,6 +15,5 @@ ENDIF SOURCE[../../libcrypto]=\ rc5_skey.c rc5_ecb.c $RC5ASM rc5cfb64.c rc5ofb64.c -GENERATE[rc5-586.s]=asm/rc5-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[rc5-586.s]=asm/rc5-586.pl DEPEND[rc5-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl diff --git a/crypto/ripemd/build.info b/crypto/ripemd/build.info index e2db293228..c4baf63141 100644 --- a/crypto/ripemd/build.info +++ b/crypto/ripemd/build.info @@ -15,6 +15,5 @@ ENDIF SOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM DEFINE[../../libcrypto]=$RMD160DEF -GENERATE[rmd-586.s]=asm/rmd-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[rmd-586.s]=asm/rmd-586.pl DEPEND[rmd-586.s]=../perlasm/x86asm.pl diff --git a/crypto/sha/build.info b/crypto/sha/build.info index 187d0c495a..67d9fd4723 100644 --- a/crypto/sha/build.info +++ b/crypto/sha/build.info @@ -79,89 +79,86 @@ DEFINE[../../libcrypto]=$SHA1DEF $KECCAK1600DEF SOURCE[../../providers/fips]= $COMMON DEFINE[../../providers/fips]= $SHA1DEF $KECCAK1600DEF -GENERATE[sha1-586.s]=asm/sha1-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[sha1-586.s]=asm/sha1-586.pl DEPEND[sha1-586.s]=../perlasm/x86asm.pl -GENERATE[sha256-586.s]=asm/sha256-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[sha256-586.s]=asm/sha256-586.pl DEPEND[sha256-586.s]=../perlasm/x86asm.pl -GENERATE[sha512-586.s]=asm/sha512-586.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[sha512-586.s]=asm/sha512-586.pl DEPEND[sha512-586.s]=../perlasm/x86asm.pl -GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS) -GENERATE[sha256-ia64.s]=asm/sha512-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS) -GENERATE[sha512-ia64.s]=asm/sha512-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS) +GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl +GENERATE[sha256-ia64.s]=asm/sha512-ia64.pl +GENERATE[sha512-ia64.s]=asm/sha512-ia64.pl -GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl $(PERLASM_SCHEME) +GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl -GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl $(PERLASM_SCHEME) -GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl $(PERLASM_SCHEME) -GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME) -GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl $(PERLASM_SCHEME) -GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME) -GENERATE[keccak1600-x86_64.s]=asm/keccak1600-x86_64.pl $(PERLASM_SCHEME) +GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl +GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl +GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl +GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl +GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl +GENERATE[keccak1600-x86_64.s]=asm/keccak1600-x86_64.pl -GENERATE[sha1-sparcv9a.S]=asm/sha1-sparcv9a.pl $(PERLASM_SCHEME) -GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[sha1-sparcv9a.S]=asm/sha1-sparcv9a.pl +GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl INCLUDE[sha1-sparcv9.o]=.. -GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl INCLUDE[sha256-sparcv9.o]=.. -GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME) +GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl INCLUDE[sha512-sparcv9.o]=.. -GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl $(PERLASM_SCHEME) -GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME) -GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME) -GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME) -GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME) -GENERATE[keccak1600-ppc64.s]=asm/keccak1600-ppc64.pl $(PERLASM_SCHEME) +GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl +GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl +GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl +GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl +GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl +GENERATE[keccak1600-ppc64.s]=asm/keccak1600-ppc64.pl -GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl $(PERLASM_SCHEME) -GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME) -GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME) +GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl +GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl +GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl -GENERATE[sha1-mips.S]=asm/sha1-mips.pl $(PERLASM_SCHEME) +GENERATE[sha1-mips.S]=asm/sha1-mips.pl INCLUDE[sha1-mips.o]=.. -GENERATE[sha256-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME) +GENERATE[sha256-mips.S]=asm/sha512-mips.pl INCLUDE[sha256-mips.o]=.. -GENERATE[sha512-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME) +GENERATE[sha512-mips.S]=asm/sha512-mips.pl INCLUDE[sha512-mips.o]=.. -GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl $(PERLASM_SCHEME) +GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl INCLUDE[sha1-armv4-large.o]=.. -GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME) +GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl INCLUDE[sha256-armv4.o]=.. -GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl $(PERLASM_SCHEME) +GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl INCLUDE[sha512-armv4.o]=.. -GENERATE[keccak1600-armv4.S]=asm/keccak1600-armv4.pl $(PERLASM_SCHEME) +GENERATE[keccak1600-armv4.S]=asm/keccak1600-armv4.pl INCLUDE[keccak1600-armv4.o]=.. -GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl $(PERLASM_SCHEME) +GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl INCLUDE[sha1-armv8.o]=.. -GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME) +GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl INCLUDE[sha256-armv8.o]=.. -GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME) +GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl INCLUDE[sha512-armv8.o]=.. -GENERATE[keccak1600-armv8.S]=asm/keccak1600-armv8.pl $(PERLASM_SCHEME) +GENERATE[keccak1600-armv8.S]=asm/keccak1600-armv8.pl -GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl $(PERLASM_SCHEME) +GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl INCLUDE[sha1-s390x.o]=.. -GENERATE[sha256-s390x.S]=asm/sha512-s390x.pl $(PERLASM_SCHEME) +GENERATE[sha256-s390x.S]=asm/sha512-s390x.pl INCLUDE[sha256-s390x.o]=.. -GENERATE[sha512-s390x.S]=asm/sha512-s390x.pl $(PERLASM_SCHEME) +GENERATE[sha512-s390x.S]=asm/sha512-s390x.pl INCLUDE[sha512-s390x.o]=.. -GENERATE[keccak1600-s390x.S]=asm/keccak1600-s390x.pl $(PERLASM_SCHEME) +GENERATE[keccak1600-s390x.S]=asm/keccak1600-s390x.pl -GENERATE[sha1-c64xplus.S]=asm/sha1-c64xplus.pl $(PERLASM_SCHEME) -GENERATE[sha256-c64xplus.S]=asm/sha256-c64xplus.pl $(PERLASM_SCHEME) -GENERATE[sha512-c64xplus.S]=asm/sha512-c64xplus.pl $(PERLASM_SCHEME) -GENERATE[keccak1600-c64x.S]=asm/keccak1600-c64x.pl $(PERLASM_SCHEME) +GENERATE[sha1-c64xplus.S]=asm/sha1-c64xplus.pl +GENERATE[sha256-c64xplus.S]=asm/sha256-c64xplus.pl +GENERATE[sha512-c64xplus.S]=asm/sha512-c64xplus.pl +GENERATE[keccak1600-c64x.S]=asm/keccak1600-c64x.pl # These are not yet used -GENERATE[keccak1600-avx2.S]=asm/keccak1600-avx2.pl $(PERLASM_SCHEME) -GENERATE[keccak1600-avx512.S]=asm/keccak1600-avx512.pl $(PERLASM_SCHEME) -GENERATE[keccak1600-avx512vl.S]=asm/keccak1600-avx512vl.pl $(PERLASM_SCHEME) -GENERATE[keccak1600-mmx.S]=asm/keccak1600-mmx.pl $(PERLASM_SCHEME) -GENERATE[keccak1600p8-ppc.S]=asm/keccak1600p8-ppc.pl $(PERLASM_SCHEME) -GENERATE[sha1-thumb.S]=asm/sha1-thumb.pl $(PERLASM_SCHEME) +GENERATE[keccak1600-avx2.S]=asm/keccak1600-avx2.pl +GENERATE[keccak1600-avx512.S]=asm/keccak1600-avx512.pl +GENERATE[keccak1600-avx512vl.S]=asm/keccak1600-avx512vl.pl +GENERATE[keccak1600-mmx.S]=asm/keccak1600-mmx.pl +GENERATE[keccak1600p8-ppc.S]=asm/keccak1600p8-ppc.pl +GENERATE[sha1-thumb.S]=asm/sha1-thumb.pl diff --git a/crypto/whrlpool/build.info b/crypto/whrlpool/build.info index f67bf41b5e..3276bd1237 100644 --- a/crypto/whrlpool/build.info +++ b/crypto/whrlpool/build.info @@ -20,8 +20,7 @@ ENDIF SOURCE[../../libcrypto]=wp_dgst.c $WPASM DEFINE[../../libcrypto]=$WPDEF -GENERATE[wp-mmx.s]=asm/wp-mmx.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) +GENERATE[wp-mmx.s]=asm/wp-mmx.pl DEPEND[wp-mmx.s]=../perlasm/x86asm.pl -GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl $(PERLASM_SCHEME) +GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl \ No newline at end of file diff --git a/engines/build.info b/engines/build.info index 77aab6d525..fca41358e9 100644 --- a/engines/build.info +++ b/engines/build.info @@ -86,7 +86,6 @@ IF[{- !$disabled{"engine"} -}] GENERATE[ossltest.ld]=../util/engines.num ENDIF ENDIF - GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \ - $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) - GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME) + GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl + GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl ENDIF -- 2.40.0