cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../.. 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:53:08 +00:00
parent d9f61e83b6
commit c137d6780d

View File

@ -28,7 +28,11 @@ syscalls.h: syscalls.master
/bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
${.CURDIR}/i386.conf
ioctl.c:
sh ${.CURDIR}/../../usr.bin/kdump/mkioctls ${DESTDIR}/usr/include > ioctl.c
.if make(depend)
ioctl.c: .PHONY
.else
ioctl.c: ${.CURDIR}/../kdump/mkioctls
.endif
sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
.include <bsd.prog.mk>