From 3e7eaeda40d3f6c2cfe85d5a0b3fea4feee3a241 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 25 Oct 2008 23:58:35 +0000 Subject: [PATCH] change MACHINE_CPU occurances to CRYPTO_MACHINE_CPU, defaulting the latter to the former if not already defined. --- lib/libcrypto/srcs.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/srcs.inc b/lib/libcrypto/srcs.inc index 196c3e38dacc..78f1566f3323 100644 --- a/lib/libcrypto/srcs.inc +++ b/lib/libcrypto/srcs.inc @@ -1,4 +1,4 @@ -# $NetBSD: srcs.inc,v 1.15 2008/05/26 16:51:07 christos Exp $ +# $NetBSD: srcs.inc,v 1.16 2008/10/25 23:58:35 mrg Exp $ CRYPTOINCS= \ aes.inc asn1.inc bf.inc bio.inc bn.inc buffer.inc cast.inc \ @@ -17,9 +17,11 @@ CRYPTOINCS+= mdc2.inc CRYPTOINCS+= man.inc +CRYPTO_MACHINE_CPU?= ${MACHINE_CPU} + .for cryptoinc in ${CRYPTOINCS} -.if exists(${.CURDIR}/arch/${MACHINE_CPU}/${cryptoinc}) -.include "${.CURDIR}/arch/${MACHINE_CPU}/${cryptoinc}" +.if exists(${.CURDIR}/arch/${CRYPTO_MACHINE_CPU}/${cryptoinc}) +.include "${.CURDIR}/arch/${CRYPTO_MACHINE_CPU}/${cryptoinc}" .else .include "${cryptoinc}" .endif