diff options
author | Richard Levitte <levitte@openssl.org> | 2019-06-16 21:54:35 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-06-17 16:08:52 +0200 |
commit | 2ffea443223a943efff0f642c37824b63b7e3e30 (patch) | |
tree | 7064ecda1affe359aa9697ff6ef64f241d6a2cd5 /crypto/ripemd/build.info | |
parent | 6b90902faf5c8ec6d8b5801d91bc1e87a179e3b7 (diff) |
Move rmd160_asm_src file information to build.info files
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9166)
Diffstat (limited to 'crypto/ripemd/build.info')
-rw-r--r-- | crypto/ripemd/build.info | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/crypto/ripemd/build.info b/crypto/ripemd/build.info index a4a894e2d1..e2db293228 100644 --- a/crypto/ripemd/build.info +++ b/crypto/ripemd/build.info @@ -1,6 +1,19 @@ LIBS=../../libcrypto -SOURCE[../../libcrypto]=\ - rmd_dgst.c rmd_one.c {- $target{rmd160_asm_src} -} + +$RMD160ASM= +IF[{- !$disabled{asm} -}] + $RMD160ASM_x86=rmd-586.s + + # Now that we have defined all the arch specific variables, use the + # appropriate one, and define the appropriate macros + IF[$RMD160ASM_{- $target{asm_arch} -}] + $RMD160ASM=$RMD160ASM_{- $target{asm_arch} -} + $RMD160DEF=RMD160_ASM + ENDIF +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) |