diff options
author | jkh <jkh@FreeBSD.org> | 2000-09-14 18:52:48 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-09-14 18:52:48 +0000 |
commit | dbe9e49ef5dafdbdb71a8dcb769404718b7dc57d (patch) | |
tree | f69648e0fb9692e311b98392f4785dd57b34b6d8 /usr.bin | |
parent | 957c331f7ff50a2fcd8e34a536fe0d75f2147589 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.bin/kdump/Makefile | 8 |
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> |