#	@(#)Makefile	8.1 (Berkeley) 6/6/93
# $FreeBSD$

PROG=	kdump
CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../..
SRCS=	kdump.c ioctl.c subr.c
.PATH:	${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c

ioctl.c:
	sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ioctl.c

.include <bsd.prog.mk>

#	@(#)Makefile	8.1 (Berkeley) 6/6/93
# $FreeBSD$

PROG=	kdump
CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../..
SRCS=	kdump.c ioctl.c subr.c
.PATH:	${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c

.if make(depend)
ioctl.c: .PHONY
.else
ioctl.c: mkioctls
.endif
	sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}

.include <bsd.prog.mk>

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

Submitted by:	Ruslan Ermilov <ru@sunbay.com>
