NetBSD/sys/dev/usb/Makefile.usbdevs
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00

19 lines
440 B
Makefile

# $NetBSD: Makefile.usbdevs,v 1.5 2008/10/19 22:05:23 apb Exp $
# The header files depend on the correct version of usbdevs.
#
# Thus, the procedure is:
# 1) change usbdevs
# 2) commit usbdevs
# 3) _then_ genereate header files
# 4) commit them
.include <bsd.own.mk>
UNAME= uname
RM= rm
usbdevs.h usbdevs_data.h: usbdevs devlist2h.awk
${RM} -f usbdevs.h usbdevs_data.h
${TOOL_AWK} -v os=`${UNAME} -s` -f devlist2h.awk usbdevs