mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65848
@ -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