2002-09-18 07:54:26 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2002/09/18 04:16:02 lukem Exp $
|
1999-05-11 23:14:50 +04:00
|
|
|
|
2001-12-12 04:23:59 +03:00
|
|
|
NOMAN= # defined
|
2002-09-18 07:54:26 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= extest
|
2001-12-12 04:23:59 +03:00
|
|
|
SRCS= extest.c subr_extent.c
|
|
|
|
CPPFLAGS+= -D_EXTENT_TESTING -D__POOL_EXPOSE
|
|
|
|
CLEANFILES+= extest.c extest.out
|
|
|
|
WARNS?= 1
|
1999-05-11 23:14:50 +04:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/kern
|
2000-06-06 21:30:41 +04:00
|
|
|
|
2001-10-31 18:57:49 +03:00
|
|
|
regress: ${PROG}
|
|
|
|
./${PROG} >extest.out
|
|
|
|
tail +4 ${.CURDIR}/extest.exp | diff - extest.out
|
1999-05-11 23:14:50 +04:00
|
|
|
|
|
|
|
extest.c: extest.awk tests
|
2001-10-31 18:57:49 +03:00
|
|
|
awk -f ${.CURDIR}/extest.awk <${.CURDIR}/tests >extest.c
|
1999-05-11 23:14:50 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|