summaryrefslogtreecommitdiff
path: root/crypto/des/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-06-16 20:21:48 +0200
committerRichard Levitte <levitte@openssl.org>2019-06-17 16:08:52 +0200
commitd67d04f37833b0b2e60367f01f994252bf2e259c (patch)
tree2a2ac3c7d69422d66b0e258ff21fde036c5fdc0b /crypto/des/build.info
parentaa76ff26ce1d1f5404794c7529b419f3de8e06ae (diff)
downloadopenssl-new-d67d04f37833b0b2e60367f01f994252bf2e259c.tar.gz
Move des_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/des/build.info')
-rw-r--r--crypto/des/build.info16
1 files changed, 15 insertions, 1 deletions
diff --git a/crypto/des/build.info b/crypto/des/build.info
index 05cb154cd4..474d14e229 100644
--- a/crypto/des/build.info
+++ b/crypto/des/build.info
@@ -1,10 +1,24 @@
+$DESASM=des_enc.c fcrypt_b.c
+IF[{- !$disabled{asm} -}]
+ $DESASM_x86=des-586.s crypt586.s
+ $DESASM_ia64=ghash-ia64.s
+ $DESASM_sparcv9=des_enc-sparc.S fcrypt_b.c dest4-sparcv9.S
+ $DESASM_sparcv8=des_enc-sparc.S fcrypt_b.c
+
+ # Now that we have defined all the arch specific variables, use the
+ # appropriate one
+ IF[$DESASM_{- $target{asm_arch} -}]
+ $DESASM=$DESASM_{- $target{asm_arch} -}
+ ENDIF
+ENDIF
+
LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
set_key.c ecb_enc.c cbc_enc.c \
ecb3_enc.c cfb64enc.c cfb64ede.c cfb_enc.c \
ofb64ede.c ofb64enc.c ofb_enc.c \
str2key.c pcbc_enc.c qud_cksm.c rand_key.c \
- {- $target{des_asm_src} -} \
+ $DESASM \
fcrypt.c xcbc_enc.c cbc_cksm.c
GENERATE[des_enc-sparc.S]=asm/des_enc.m4