2001-01-16 05:46:25 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 2001/01/16 02:46:25 cgd 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
|
2000-11-14 03:10:16 +03:00
|
|
|
LDSTATIC?=-static
|
1999-07-12 08:13:34 +04:00
|
|
|
CLEANFILES+= misc.c misc.h ioctl.c
|
1999-07-12 07:20:17 +04:00
|
|
|
MAN=
|
2000-10-11 18:46:00 +04:00
|
|
|
WFORMAT=1
|
2001-01-11 17:25:27 +03:00
|
|
|
dump.c misc.c: misc.h
|
|
|
|
misc.h: ${DESTDIR}/usr/include/sys/errno.h \
|
1999-07-12 08:13:34 +04:00
|
|
|
${DESTDIR}/usr/include/sys/signal.h
|
2001-01-16 05:46:25 +03:00
|
|
|
CPP=${CPP:Q} CPPFLAGS=${CPPFLAGS:Q} ${.CURDIR}/makeerrnos.sh \
|
1999-07-12 08:13:34 +04:00
|
|
|
${DESTDIR}/usr/include/sys/errno.h \
|
|
|
|
${DESTDIR}/usr/include/sys/signal.h misc
|
1999-07-12 07:20:17 +04:00
|
|
|
|
2001-01-11 17:25:27 +03:00
|
|
|
# XXX It looks like .NOTPARALLEL doesn't works.
|
2000-12-30 17:54:39 +03:00
|
|
|
.NOTPARALLEL:
|
|
|
|
|
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
|