NetBSD/usr.bin/kdump/Makefile.ioctl-c

26 lines
730 B
Makefile
Raw Normal View History

2003-10-19 08:25:00 +04:00
# $NetBSD: Makefile.ioctl-c,v 1.9 2003/10/19 04:25:00 lukem Exp $
2002-09-19 15:31:21 +04:00
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
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
.if !target(cleandir) && !target(obj)
DEPFILES != grep -l '_IO.*(' ${DEPFILEGLOB}
.endif
ioctl.c: mkioctls ${DEPFILES}
2003-10-19 08:25:00 +04:00
${_MKMSGCREATE}
${_MKCMD}\
2002-09-19 15:31:21 +04:00
CC="${CC}" DESTDIR=${DESTDIR} \
2003-10-19 08:25:00 +04:00
${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
${SEARCHFILES} > ioctl.c
${DEPFILES}: .PRECIOUS