Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/in_cksum simplify.
details: https://anonhg.NetBSD.org/src/rev/f319ece32283
branches: trunk
changeset: 335428:f319ece32283
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 06 16:04:58 2015 +0000
description:
simplify.
diffstat:
tests/net/in_cksum/Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 55fde1cc5dd8 -r f319ece32283 tests/net/in_cksum/Makefile
--- a/tests/net/in_cksum/Makefile Tue Jan 06 15:39:54 2015 +0000
+++ b/tests/net/in_cksum/Makefile Tue Jan 06 16:04:58 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2015/01/06 03:41:42 christos Exp $
+# $NetBSD: Makefile,v 1.8 2015/01/06 16:04:58 christos Exp $
.include <bsd.own.mk>
@@ -11,12 +11,16 @@
.for i in ${MACHINE_CPU} ${MACHINE_ARCH} ${MACHINE}
ADIR:=${NETBSDSRCDIR}/sys/arch/${i}/${i}
.if exists(${ADIR}/cpu_in_cksum.S)
-.PATH.S: ${ADIR}
+CPU_IN_CKSUM_DIR=${ADIR}
+.endif
+.endfor
+
+.if defined(CPU_IN_CKSUM_DIR)
+.PATH.S: ${CPU_IN_CKSUM_DIR}
SRCS.in_cksum=cpu_in_cksum.S in_cksum.c
cpu_in_cksum.S: assym.h
CPPFLAGS+=-DHAVE_CPU_IN_CKSUM -I${.CURDIR}
.endif
-.endfor
PROGS=in_cksum
MAN.in_cksum= # empty
Home |
Main Index |
Thread Index |
Old Index