Home | History | Annotate | Line # | Download | only in kdump
Makefile.ioctl-c revision 1.10
      1  1.10     lukem #	$NetBSD: Makefile.ioctl-c,v 1.10 2003/10/21 10:01:22 lukem 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.8   thorpej DEPFILEGLOB=	${DESTDIR}/usr/include/sys/*.h \
      6   1.8   thorpej 		${DESTDIR}/usr/include/net/*.h \
      7   1.8   thorpej 		${DESTDIR}/usr/include/netinet/*.h \
      8   1.8   thorpej 		${DESTDIR}/usr/include/crypto/*.h
      9   1.8   thorpej 
     10   1.8   thorpej SEARCHFILES=	${DESTDIR}/usr/include/sys/ioctl.h \
     11   1.8   thorpej 		${DESTDIR}/usr/include/sys/ioctl_compat.h \
     12   1.8   thorpej 		${DESTDIR}/usr/include/crypto/cryptodev.h
     13   1.8   thorpej 
     14   1.7  christos .if !target(cleandir) && !target(obj)
     15   1.8   thorpej DEPFILES != grep -l '_IO.*(' ${DEPFILEGLOB}
     16   1.7  christos .endif
     17   1.6  christos 
     18   1.6  christos ioctl.c: mkioctls ${DEPFILES}
     19  1.10     lukem 	${_MKTARGET_CREATE}
     20   1.5     lukem 	CC="${CC}" DESTDIR=${DESTDIR} \
     21   1.9     lukem 	    ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
     22   1.8   thorpej 	    ${SEARCHFILES} > ioctl.c
     23   1.2       mrg 
     24   1.6  christos ${DEPFILES}: .PRECIOUS
     25