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

22 lines
632 B
Makefile
Raw Normal View History

2008-02-16 10:17:58 +03:00
# $NetBSD: Makefile.ioctl-c,v 1.19 2008/02/16 07:17:58 matt Exp $
2002-09-19 15:31:21 +04:00
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
2006-08-28 00:31:26 +04:00
DEPFILEGLOB= ${DESTDIR}/usr/include/*/*.h ${DESTDIR}/usr/include/*/*/*.h
.if !make(cleandir) && !make(obj) && !make(includes)
DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' ${DEPFILEGLOB}
.endif
${PROG}-ioctl.c: mkioctls Makefile ${DEPFILES}
${_MKTARGET_CREATE}
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 \
${DEPFILES} >${.TARGET}
SRCS+= ${PROG}-ioctl.c
CLEANFILES+= ${PROG}-ioctl.c
2008-02-16 10:17:58 +03:00
DPSRCS+= ${PROG}-ioctl.c
${DEPFILES}: .PRECIOUS