1 # $NetBSD: Makefile,v 1.12 2002/08/27 14:46:18 lukem Exp $ 2 3 NOMAN= # defined 4 5 .include <bsd.own.mk> # for MKDYNAMICROOT definition 6 7 PROG= ktruss 8 SRCS= ktrace.c dump.c subr.c ioctl.c misc.c setemul.c 9 CPPFLAGS+= -I. -I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys \ 10 -I${.CURDIR}/../kdump -DKTRUSS 11 CLEANFILES+= misc.c misc.h ioctl.c 12 WFORMAT=1 13 14 .if (${MKDYNAMICROOT} == "no") 15 LDSTATIC?=-static 16 .endif 17 18 dump.c misc.c: misc.h 19 misc.h: ${DESTDIR}/usr/include/sys/errno.h \ 20 ${DESTDIR}/usr/include/sys/signal.h 21 CPP=${CPP:Q} CPPFLAGS=${CPPFLAGS:Q} sh ${.CURDIR}/makeerrnos.sh \ 22 ${DESTDIR}/usr/include/sys/errno.h \ 23 ${DESTDIR}/usr/include/sys/signal.h misc 24 25 # XXX It looks like .NOTPARALLEL doesn't works. 26 .NOTPARALLEL: 27 28 .include "${.CURDIR}/../kdump/Makefile.ioctl-c" 29 .include <bsd.prog.mk> 30 31 .PATH: ${.CURDIR}/../ktrace ${.CURDIR}/../kdump 32