NetBSD/usr.bin/ktruss/Makefile

22 lines
635 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2000/04/10 09:42:37 jdolecek Exp $
PROG= ktruss
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
LDSTATIC?= -static
CLEANFILES+= misc.c misc.h ioctl.c
MAN=
dump.c: misc.h
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
.include "${.CURDIR}/../kdump/Makefile.ioctl-c"
.include <bsd.prog.mk>
.PATH: ${.CURDIR}/../ktrace ${.CURDIR}/../kdump