1 1.19 matt # $NetBSD: Makefile.ioctl-c,v 1.19 2008/02/16 07:17:58 matt Exp $ 2 1.5 lukem 3 1.5 lukem # NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR 4 1.1 mrg 5 1.18 christos DEPFILEGLOB= ${DESTDIR}/usr/include/*/*.h ${DESTDIR}/usr/include/*/*/*.h 6 1.8 thorpej 7 1.15 tron .if !make(cleandir) && !make(obj) && !make(includes) 8 1.17 christos DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' ${DEPFILEGLOB} 9 1.7 christos .endif 10 1.6 christos 11 1.16 tron ${PROG}-ioctl.c: mkioctls Makefile ${DEPFILES} 12 1.10 lukem ${_MKTARGET_CREATE} 13 1.5 lukem CC="${CC}" DESTDIR=${DESTDIR} \ 14 1.9 lukem ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \ 15 1.16 tron ${DEPFILES} >${.TARGET} 16 1.16 tron 17 1.16 tron SRCS+= ${PROG}-ioctl.c 18 1.16 tron CLEANFILES+= ${PROG}-ioctl.c 19 1.19 matt DPSRCS+= ${PROG}-ioctl.c 20 1.2 mrg 21 1.6 christos ${DEPFILES}: .PRECIOUS 22