2000-04-10 13:42:37 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 2000/04/10 09:42:37 jdolecek Exp $
|
1999-07-12 08:13:34 +04:00
|
|
|
|
|
|
|
PROG= ktruss
|
2000-04-10 13:42:37 +04:00
|
|
|
SRCS= ktrace.c dump.c subr.c ioctl.c misc.c setemul.c
|
|
|
|
CPPFLAGS+= -I. -I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys \
|
|
|
|
-I${.CURDIR}/../kdump -DKTRUSS
|
1999-07-12 08:13:34 +04:00
|
|
|
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
|