1999-07-28 05:56:03 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 1999/07/28 01:56:06 enami Exp $
|
1999-07-12 08:13:34 +04:00
|
|
|
|
|
|
|
PROG= ktruss
|
|
|
|
SRCS= ktrace.c dump.c subr.c ioctl.c misc.c
|
|
|
|
CPPFLAGS+= -I. -I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys -DKTRUSS
|
|
|
|
LDSTATIC?= -static
|
|
|
|
CLEANFILES+= misc.c misc.h ioctl.c
|
1999-07-12 07:20:17 +04:00
|
|
|
MAN=
|
|
|
|
|
|
|
|
dump.c: misc.h
|
1999-07-12 08:13:34 +04:00
|
|
|
misc.c misc.h: ${DESTDIR}/usr/include/sys/errno.h \
|
|
|
|
${DESTDIR}/usr/include/sys/signal.h
|
|
|
|
${.CURDIR}/makeerrnos.sh \
|
|
|
|
${DESTDIR}/usr/include/sys/errno.h \
|
|
|
|
${DESTDIR}/usr/include/sys/signal.h misc
|
1999-07-12 07:20:17 +04:00
|
|
|
|
1999-07-12 08:13:34 +04:00
|
|
|
.include "${.CURDIR}/../kdump/Makefile.ioctl-c"
|
1999-07-12 07:20:17 +04:00
|
|
|
.include <bsd.prog.mk>
|
1999-07-12 08:13:34 +04:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../ktrace ${.CURDIR}/../kdump
|