1 # $NetBSD: Makefile,v 1.9 2015/01/06 16:08:06 christos Exp $
5 TESTSDIR
= ${TESTSBASE}/net
/in_cksum
9 CDIR
=${NETBSDSRCDIR}/sys
/netinet
11 .for i in
${MACHINE_CPU} ${MACHINE_ARCH} ${MACHINE}
12 ADIR
:=${NETBSDSRCDIR}/sys
/arch
/${i}/${i}
13 .if exists
(${ADIR}/cpu_in_cksum.S
)
14 CPU_IN_CKSUM_DIR
:=${ADIR}
18 .if defined
(CPU_IN_CKSUM_DIR
)
19 .PATH.S
: ${CPU_IN_CKSUM_DIR}
20 SRCS.in_cksum
=cpu_in_cksum.S in_cksum.c
21 cpu_in_cksum.S
: assym.h
22 CPPFLAGS
+=-DHAVE_CPU_IN_CKSUM
-I
${.CURDIR
}
27 BINDIR.in_cksum
= ${TESTSDIR}
31 .
include <bsd.
test.mk
>