summaryrefslogtreecommitdiff
path: root/distrib/special/kbd/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-04-20 00:27:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-04-20 00:27:55 +0000
commit9a8c8cbc15e127b05e5b62a80eb2a6d55a513a87 (patch)
treea0d362ce247f730e3d4082b560488c3d73cd0fe3 /distrib/special/kbd/Makefile
parentb55af53e963c43e58e947ae04b8461a0b7aa802e (diff)
Sync with sbin/kbd/Makefile
[sorry for breaking the tree on non-sparc non-wscons arches]
Diffstat (limited to 'distrib/special/kbd/Makefile')
-rw-r--r--distrib/special/kbd/Makefile29
1 files changed, 17 insertions, 12 deletions
diff --git a/distrib/special/kbd/Makefile b/distrib/special/kbd/Makefile
index 03dfb81bc73..e21f4737444 100644
--- a/distrib/special/kbd/Makefile
+++ b/distrib/special/kbd/Makefile
@@ -1,23 +1,28 @@
-# $OpenBSD: Makefile,v 1.1 2002/04/12 02:15:31 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2002/04/20 00:27:54 miod Exp $
+.if (${MACHINE} == "alpha") || (${MACHINE} == "hppa") || \
+ (${MACHINE} == "i386") || (${MACHINE} == "macppc") || \
+ (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "vax")
PROG= kbd
-MAN=
COPTS+= -Os
-CFLAGS+=-DNOKVM -I${.CURDIR}/../../../sbin/kbd
-.PATH: ${.CURDIR}/../../../sbin/kbd
SRCS= main.c
+CFLAGS+=-DNOKVM -I${.CURDIR}/../../../sbin/kbd
+.PATH: ${.CURDIR}/../../../sbin/kbd
-.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")
+.if (${MACHINE} == "sparc")
SRCS+= kbd_sparc.c
.else
-SRCS+= kbd_void.c
+SRCS+= kbd_wscons.c
+LDADD= -lkvm
+DPADD= ${LIBKVM}
+.endif
+
+.else
+NOPROG= Yes
.endif
+MAN=
+
.include <bsd.prog.mk>