diff options
author | Richard Levitte <levitte@openssl.org> | 2019-06-16 21:50:39 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-06-17 16:08:52 +0200 |
commit | 6b90902faf5c8ec6d8b5801d91bc1e87a179e3b7 (patch) | |
tree | 515238195961407d98060ac7400fc5ca44999747 /crypto/rc4 | |
parent | e698cfe4450ddafe9199468692ce5ffd74124df3 (diff) |
Move rc4_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/rc4')
-rw-r--r-- | crypto/rc4/build.info | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info index 8d272e4ff6..30e36bac10 100644 --- a/crypto/rc4/build.info +++ b/crypto/rc4/build.info @@ -1,6 +1,23 @@ LIBS=../../libcrypto -SOURCE[../../libcrypto]=\ - {- $target{rc4_asm_src} -} + +$RC4ASM=rc4_enc.c rc4_skey.c +IF[{- !$disabled{asm} -}] + $RC4ASM_x86=rc4-586.s + $RC4ASM_x86_64=rc4-x86_64.s rc4-md5-x86_64.s + $RC4ASM_s390x=rc4-s390x.s + $RC4ASM_parisc11=rc4-parisc.s + $RC4ASM_parisc20_64=$RC4ASM_parisc11 + $RC4ASM_c64xplus=rc4-c64xplus.s + + # Now that we have defined all the arch specific variables, use the + # appropriate one, and define the appropriate macros + IF[$RC4ASM_{- $target{asm_arch} -}] + $RC4ASM=$RC4ASM_{- $target{asm_arch} -} + $RC4DEF=RC4_ASM + ENDIF +ENDIF + +SOURCE[../../libcrypto]=$RC4ASM GENERATE[rc4-586.s]=asm/rc4-586.pl \ $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) |