Fix ioctl.c creation to deal with the depend case more properly.
Submitted by: Ruslan Ermilov <ru@sunbay.com>
This commit is contained in:
parent
1d95078aaf
commit
d9f61e83b6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user