summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-07-02 02:09:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-07-02 02:09:20 +0000
commitf3e12c74621de3feda1dfd6c23161a6ea7ecd178 (patch)
treec20d6f1c4b9fbfddabde794cbb7ddb8696906c2b /sbin/wsconsctl
parent560413ea567a55987dad35525372a2c1672ae727 (diff)
make it compiling only for alpha and hppa
Diffstat (limited to 'sbin/wsconsctl')
-rw-r--r--sbin/wsconsctl/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sbin/wsconsctl/Makefile b/sbin/wsconsctl/Makefile
index b6a8293f273..f78a05106b1 100644
--- a/sbin/wsconsctl/Makefile
+++ b/sbin/wsconsctl/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.1 2000/07/01 23:52:45 mickey Exp $
-# $NetBSD: Makefile,v 1.1 1998/12/28 14:01:16 hannken Exp $
+# $OpenBSD: Makefile,v 1.2 2000/07/02 02:09:19 mickey Exp $
+
+.if ${MACHINE} == "alpha" || ${MACHINE} == "hppa"
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
mouse.c util.c wsconsctl.c
-MAN= wsconsctl.8
CPPFLAGS+= -I.
CLEANFILES+= keysym.h y.tab.h
@@ -14,5 +14,12 @@ beforedepend: keysym.h
keysym.h: mkkeysym.sh ${DESTDIR}/usr/include/dev/wscons/wsksymdef.h
sh ${.CURDIR}/mkkeysym.sh \
${DESTDIR}/usr/include/dev/wscons/wsksymdef.h > keysym.h
+.else
+
+NOPROG=yes
+
+.endif
+
+MAN= wsconsctl.8
.include <bsd.prog.mk>