Fix ioctl.c creation to deal with the depend case more properly.

Submitted by:	Ruslan Ermilov <ru@sunbay.com>
This commit is contained in:
Jordan K. Hubbard 2000-09-14 18:52:48 +00:00
parent 1d95078aaf
commit d9f61e83b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65848

View File

@ -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>