summaryrefslogtreecommitdiff
path: root/distrib/special/kbd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-12 02:15:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-12 02:15:32 +0000
commit54c7f5fa4b2c050c600ceda94ee5d9510e4bdcaf (patch)
treec4aadd563fcbe867611f50e262a9db233915d751 /distrib/special/kbd
parent1c02e8a064f0ddb830dc6339d9e76911c343fee4 (diff)
kbd setting code for the installer. smat@acm.org, miod, and krw. Minimal
last minute tweaks to it by me, but you can trust me, right?
Diffstat (limited to 'distrib/special/kbd')
-rw-r--r--distrib/special/kbd/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/distrib/special/kbd/Makefile b/distrib/special/kbd/Makefile
new file mode 100644
index 00000000000..03dfb81bc73
--- /dev/null
+++ b/distrib/special/kbd/Makefile
@@ -0,0 +1,23 @@
+# $OpenBSD: Makefile,v 1.1 2002/04/12 02:15:31 deraadt Exp $
+
+PROG= kbd
+MAN=
+COPTS+= -Os
+CFLAGS+=-DNOKVM -I${.CURDIR}/../../../sbin/kbd
+.PATH: ${.CURDIR}/../../../sbin/kbd
+
+SRCS= main.c
+
+.if (${MACHINE} == "arc")
+SRCS+= kbd_i386.c
+.elif (${MACHINE} == "i386") || (${MACHINE} == "macppc") || \
+ (${MACHINE} == "vax") || (${MACHINE} == "alpha") || \
+ (${MACHINE} == "sparc64")
+SRCS+= kbd_wscons.c
+.elif (${MACHINE} == "sparc")
+SRCS+= kbd_sparc.c
+.else
+SRCS+= kbd_void.c
+.endif
+
+.include <bsd.prog.mk>