Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2004 17:56:47 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 50545 for review
Message-ID:  <200404070056.i370ulVf026834@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50545

Change 50545 by peter@peter_daintree on 2004/04/06 17:56:19

	use the semi-asm version of the bn asm routines.

Affected files ...

.. //depot/projects/hammer/secure/lib/libcrypto/Makefile#9 edit

Differences ...

==== //depot/projects/hammer/secure/lib/libcrypto/Makefile#9 (text+ko) ====

@@ -68,6 +68,8 @@
 	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 @@
 .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 @@
 	${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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404070056.i370ulVf026834>