aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-06-12 12:10:00 +0200
committerRichard Levitte <levitte@openssl.org>2019-06-15 00:34:02 +0200
commit07c244f0cdb0dc47611b95e3f89f52b75b90a814 (patch)
tree504e6fff733aa39ac651bd9946ba9daf84fa3989 /crypto/bn
parent26fe9b07d8b77a937002c699fd2323d614ee5349 (diff)
downloadopenssl-07c244f0cdb0dc47611b95e3f89f52b75b90a814.zip
openssl-07c244f0cdb0dc47611b95e3f89f52b75b90a814.tar.gz
openssl-07c244f0cdb0dc47611b95e3f89f52b75b90a814.tar.bz2
Use variables in build.info files where it's worth the while
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9144)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/build.info18
1 files changed, 8 insertions, 10 deletions
diff --git a/crypto/bn/build.info b/crypto/bn/build.info
index 280fa3d..362a2da 100644
--- a/crypto/bn/build.info
+++ b/crypto/bn/build.info
@@ -1,15 +1,13 @@
LIBS=../../libcrypto
-{- our @src = ( qw( bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c
- bn_mod.c bn_conv.c bn_rand.c bn_shift.c bn_word.c bn_blind.c
- bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_sqr.c
- bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_gf2m.c bn_nist.c
- bn_const.c bn_x931p.c bn_intern.c bn_dh.c
- bn_rsa_fips186_4.c ), $target{bn_asm_src} ); "" -}
-
-SOURCE[../../libcrypto]={- join(' ', @src) -} bn_print.c bn_err.c bn_depr.c bn_srp.c
-
-SOURCE[../../providers/fips]={- join(' ', @src) -}
+$COMMON=bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
+ bn_mod.c bn_conv.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
+ bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_sqr.c \
+ bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_gf2m.c bn_nist.c \
+ bn_const.c bn_x931p.c bn_intern.c bn_dh.c \
+ bn_rsa_fips186_4.c {- $target{bn_asm_src} -}
+SOURCE[../../libcrypto]=$COMMON bn_print.c bn_err.c bn_depr.c bn_srp.c
+SOURCE[../../providers/fips]=$COMMON
INCLUDE[../../libcrypto]=../../crypto/include