NetBSD/usr.bin/ktruss/Makefile
jdolecek 98359af3d1 Convert to use setemul() stuff from kdump. This also fixes mapping to
syscalls names in dump when programs of different emulations are executed.

While here, convert to malloc/realloc power of 2 quantities.
2000-04-10 09:42:37 +00:00

22 lines
635 B
Makefile

# $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