NetBSD/usr.bin/kdump/Makefile.ioctl-c
jdolecek 6f081befa2 set CC and DESTDIR for mkioctls accordingly
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00

9 lines
421 B
Makefile

# $NetBSD: Makefile.ioctl-c,v 1.3 2001/09/23 08:51:11 jdolecek Exp $
ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
CC=${CC} DESTDIR=${DESTDIR} /bin/sh ${.CURDIR}/../kdump/mkioctls \
${DESTDIR}/usr/include/sys/ioctl.h \
${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h: .PRECIOUS