2009-10-13 02:28:47 +04:00
|
|
|
# $NetBSD: Makefile.usbdevs,v 1.6 2009/10/12 22:28:47 wiz Exp $
|
2002-04-12 21:56:14 +04:00
|
|
|
|
|
|
|
# The header files depend on the correct version of usbdevs.
|
|
|
|
#
|
|
|
|
# Thus, the procedure is:
|
|
|
|
# 1) change usbdevs
|
|
|
|
# 2) commit usbdevs
|
2009-10-13 02:28:47 +04:00
|
|
|
# 3) _then_ generate header files
|
2002-04-12 21:56:14 +04:00
|
|
|
# 4) commit them
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2008-10-20 02:05:19 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1999-01-08 01:18:23 +03:00
|
|
|
UNAME= uname
|
2000-02-01 00:08:11 +03:00
|
|
|
RM= rm
|
1998-07-12 23:51:55 +04:00
|
|
|
|
|
|
|
usbdevs.h usbdevs_data.h: usbdevs devlist2h.awk
|
2000-02-01 00:08:11 +03:00
|
|
|
${RM} -f usbdevs.h usbdevs_data.h
|
2008-10-20 02:05:19 +04:00
|
|
|
${TOOL_AWK} -v os=`${UNAME} -s` -f devlist2h.awk usbdevs
|