2003-08-28 00:35:42 +04:00
|
|
|
# $NetBSD: Makefile.ioctl-c,v 1.8 2003/08/27 20:35:42 thorpej Exp $
|
2002-09-19 15:31:21 +04:00
|
|
|
|
|
|
|
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
|
1999-07-12 08:13:34 +04:00
|
|
|
|
2003-08-28 00:35:42 +04:00
|
|
|
DEPFILEGLOB= ${DESTDIR}/usr/include/sys/*.h \
|
|
|
|
${DESTDIR}/usr/include/net/*.h \
|
|
|
|
${DESTDIR}/usr/include/netinet/*.h \
|
|
|
|
${DESTDIR}/usr/include/crypto/*.h
|
|
|
|
|
|
|
|
SEARCHFILES= ${DESTDIR}/usr/include/sys/ioctl.h \
|
|
|
|
${DESTDIR}/usr/include/sys/ioctl_compat.h \
|
|
|
|
${DESTDIR}/usr/include/crypto/cryptodev.h
|
|
|
|
|
2003-04-18 18:43:49 +04:00
|
|
|
.if !target(cleandir) && !target(obj)
|
2003-08-28 00:35:42 +04:00
|
|
|
DEPFILES != grep -l '_IO.*(' ${DEPFILEGLOB}
|
2003-04-18 18:43:49 +04:00
|
|
|
.endif
|
2003-04-13 09:04:00 +04:00
|
|
|
|
|
|
|
ioctl.c: mkioctls ${DEPFILES}
|
2002-09-19 15:31:21 +04:00
|
|
|
CC="${CC}" DESTDIR=${DESTDIR} \
|
|
|
|
/bin/sh ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
|
2003-08-28 00:35:42 +04:00
|
|
|
${SEARCHFILES} > ioctl.c
|
2000-07-27 15:51:14 +04:00
|
|
|
|
2003-04-13 09:04:00 +04:00
|
|
|
${DEPFILES}: .PRECIOUS
|