NetBSD/usr.bin/ktruss/Makefile
mrg 9abab6de8b - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00

22 lines
613 B
Makefile

# $NetBSD: Makefile,v 1.2 1999/07/12 04:13:34 mrg Exp $
PROG= ktruss
SRCS= ktrace.c dump.c subr.c ioctl.c misc.c
LDSTATIC?= -static
CPPFLAGS+= -I. -I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys -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