2002-09-19 15:31:21 +04:00
|
|
|
# $NetBSD: Makefile.ioctl-c,v 1.5 2002/09/19 11:31:21 lukem Exp $
|
|
|
|
|
|
|
|
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
|
1999-07-12 08:13:34 +04:00
|
|
|
|
|
|
|
ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
|
2002-09-19 15:31:21 +04:00
|
|
|
CC="${CC}" DESTDIR=${DESTDIR} \
|
|
|
|
/bin/sh ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
|
2001-09-23 12:51:11 +04:00
|
|
|
${DESTDIR}/usr/include/sys/ioctl.h \
|
1999-07-12 08:13:34 +04:00
|
|
|
${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
|
2000-07-27 15:51:14 +04:00
|
|
|
|
|
|
|
${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h: .PRECIOUS
|