summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>