summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/kdump/Makefile')
-rw-r--r--usr.bin/kdump/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile
index 6baf696..ddafcc0 100644
--- a/usr.bin/kdump/Makefile
+++ b/usr.bin/kdump/Makefile
@@ -7,7 +7,11 @@ SRCS= kdump.c ioctl.c subr.c
.PATH: ${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c
-ioctl.c:
- sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ioctl.c
+.if make(depend)
+ioctl.c: .PHONY
+.else
+ioctl.c: mkioctls
+.endif
+ sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud