diff options
author | peter <peter@FreeBSD.org> | 2004-04-14 23:26:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-04-14 23:26:26 +0000 |
commit | bd06e547e00d2c16d042309eeafe379db200e8e7 (patch) | |
tree | 46e08723a664450aa05e93156bbbd1af94d2fe9e /secure | |
parent | 5617193e919f277fdd23876b7881da9cc75b6a5b (diff) | |
download | FreeBSD-src-bd06e547e00d2c16d042309eeafe379db200e8e7.zip FreeBSD-src-bd06e547e00d2c16d042309eeafe379db200e8e7.tar.gz |
Turn on the amd64-specific bignum code in openssl. This is actually
a variant of the C code but with some scattered asm and things laid out
more optimally for the platform. This means that we need to the asm
directory to the search path for the amd64 case so that make can find
the source.
Diffstat (limited to 'secure')
-rw-r--r-- | secure/lib/libcrypto/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 745ecd0..60c8c2f 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -68,6 +68,8 @@ SRCS+= bn_add.c bn_blind.c bn_ctx.c bn_div.c bn_err.c bn_exp.c \ bn_shift.c bn_sqr.c bn_sqrt.c bn_word.c .if ${MACHINE_ARCH} == "i386" SRCS+= bn-586.s co-586.s +.elif ${MACHINE_ARCH} == "amd64" +SRCS+= x86_64-gcc.c .else SRCS+= bn_asm.c .endif @@ -327,6 +329,10 @@ afterinstall: .PATH: ${.CURDIR}/i386 .endif +.if ${MACHINE_ARCH} == "amd64" +_bn_asmpath= ${LCRYPTO_SRC}/crypto/bn/asm +.endif + .if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES _ideapath= ${LCRYPTO_SRC}/crypto/idea .endif @@ -337,6 +343,7 @@ _ideapath= ${LCRYPTO_SRC}/crypto/idea ${LCRYPTO_SRC}/crypto/asn1 \ ${LCRYPTO_SRC}/crypto/bf \ ${LCRYPTO_SRC}/crypto/bio \ + ${_bn_asmpath} \ ${LCRYPTO_SRC}/crypto/bn \ ${LCRYPTO_SRC}/crypto/buffer \ ${LCRYPTO_SRC}/crypto/cast \ |