summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-09-14 18:52:48 +0000
committerjkh <jkh@FreeBSD.org>2000-09-14 18:52:48 +0000
commitdbe9e49ef5dafdbdb71a8dcb769404718b7dc57d (patch)
treef69648e0fb9692e311b98392f4785dd57b34b6d8 /usr.bin/kdump/Makefile
parent957c331f7ff50a2fcd8e34a536fe0d75f2147589 (diff)
downloadFreeBSD-src-dbe9e49ef5dafdbdb71a8dcb769404718b7dc57d.zip
FreeBSD-src-dbe9e49ef5dafdbdb71a8dcb769404718b7dc57d.tar.gz
Fix ioctl.c creation to deal with the depend case more properly.
Submitted by: Ruslan Ermilov <ru@sunbay.com>
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