summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/truss/Makefile')
-rw-r--r--usr.bin/truss/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile
index 9dc6bba..9b43792 100644
--- a/usr.bin/truss/Makefile
+++ b/usr.bin/truss/Makefile
@@ -28,7 +28,11 @@ syscalls.h: syscalls.master
/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
${.CURDIR}/i386.conf
-ioctl.c:
- sh ${.CURDIR}/../../usr.bin/kdump/mkioctls ${DESTDIR}/usr/include > ioctl.c
+.if make(depend)
+ioctl.c: .PHONY
+.else
+ioctl.c: ${.CURDIR}/../kdump/mkioctls
+.endif
+ sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud