summaryrefslogtreecommitdiff
path: root/sbin/kbd/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-04-19 00:05:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-04-19 00:05:23 +0000
commit1d6bf71b5a7ec2d601440b0302ad45fdf9103b76 (patch)
treed3908238a8cbe9c3d5bd27f7f7d8cd442a90d3a8 /sbin/kbd/Makefile
parente64625898d11e784c8f61ea130568357714255c7 (diff)
Do not commit kbd for arches where it provides no real support.
While there, remove dead parts.
Diffstat (limited to 'sbin/kbd/Makefile')
-rw-r--r--sbin/kbd/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/sbin/kbd/Makefile b/sbin/kbd/Makefile
index 2d3a0533322..1be751a0f28 100644
--- a/sbin/kbd/Makefile
+++ b/sbin/kbd/Makefile
@@ -1,23 +1,27 @@
-# $OpenBSD: Makefile,v 1.13 2002/02/19 01:49:57 maja Exp $
+# $OpenBSD: Makefile,v 1.14 2002/04/19 00:05:20 miod Exp $
+.if (${MACHINE} == "alpha") || (${MACHINE} == "hppa") || \
+ (${MACHINE} == "i386") || (${MACHINE} == "macppc") || \
+ (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "vax")
PROG= kbd
-MAN= kbd.8
SRCS= main.c
CFLAGS+=-I${.CURDIR}
-.if (${MACHINE} == "arc")
-SRCS+= kbd_i386.c
-.elif (${MACHINE} == "i386") || (${MACHINE} == "macppc") || \
- (${MACHINE} == "vax") || (${MACHINE} == "alpha") || \
- (${MACHINE} == "sparc64")
+.if (${MACHINE} == "sparc")
+SRCS+= kbd_sparc.c
+.else
SRCS+= kbd_wscons.c
LDADD= -lkvm
DPADD= ${LIBKVM}
-.elif (${MACHINE} == "sparc")
-SRCS+= kbd_sparc.c
+.endif
+
.else
-SRCS+= kbd_void.c
+NOPROG= Yes
.endif
+MAN= kbd.8
+MANSUBDIR= alpha hppa i386 macppc sparc sparc64 vax
+
.include <bsd.prog.mk>