Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.bin / kdump / Makefile.ioctl-c
blobc280291c7b34d2acae06528860e780db72e34ec1
1 #       $NetBSD: Makefile.ioctl-c,v 1.22 2008/10/19 22:05:23 apb Exp $
3 # NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
5 DEPFILEGLOB=    ${DESTDIR}/usr/include/*/*.h ${DESTDIR}/usr/include/*/*/*.h
7 .if !make(cleandir) && !make(obj) && !make(includes)
8 DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' ${DEPFILEGLOB} | fgrep -v xenio
9 .endif
11 ${PROG}-ioctl.c: mkioctls Makefile ${DEPFILES}
12         ${_MKTARGET_CREATE}
13         AWK=${TOOL_AWK:Q} CC="${CC}" DESTDIR="${DESTDIR}" SED=${TOOL_SED:Q} \
14             ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
15             ${DEPFILES} >${.TARGET}
17 SRCS+=          ${PROG}-ioctl.c
18 CLEANFILES+=    ${PROG}-ioctl.c
19 DPSRCS+=        ${PROG}-ioctl.c
21 ${DEPFILES}: .PRECIOUS