summaryrefslogtreecommitdiff
path: root/sys/dev/usb/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-05-09 05:08:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-05-09 05:08:33 +0000
commitfaa3330f3b06feed29643eee88619502b69c8089 (patch)
treebf0b83d41072348e7e563d1d473c401386f1b424 /sys/dev/usb/Makefile
parent390cefe37f76ca23f744b06c841573df39c5404b (diff)
Create the USB keyboard layout tables from the PS/2 tables.
Eases maintainability, and brings us half a dozen new layouts for free.
Diffstat (limited to 'sys/dev/usb/Makefile')
-rw-r--r--sys/dev/usb/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/usb/Makefile b/sys/dev/usb/Makefile
index 1d2b7e95a1b..dfbf8e47882 100644
--- a/sys/dev/usb/Makefile
+++ b/sys/dev/usb/Makefile
@@ -1,9 +1,18 @@
-# $OpenBSD: Makefile,v 1.1 1999/08/13 05:28:03 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2005/05/09 05:08:32 miod Exp $
# $NetBSD: Makefile.usbdevs,v 1.2 1999/01/07 22:18:23 augustss Exp $
AWK= awk
UNAME= uname
+PROG= makemap.awk
+MAP= ../pckbc/wskbdmap_mfii.c
+
+all: usbdevs.h ukbdmap.c
+
usbdevs.h usbdevs_data.h: usbdevs devlist2h.awk
/bin/rm -f usbdevs.h usbdevs_data.h
${AWK} -v os=`${UNAME} -s` -f devlist2h.awk usbdevs
+
+ukbdmap.c: ${MAP} ${PROG}
+ /bin/rm -f $@
+ ${AWK} -f ${PROG} ${MAP} > $@