summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/keycap/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/keycap/Makefile b/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
index 01f148e3eda..7b29b1d411e 100644
--- a/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
+++ b/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
@@ -1,16 +1,18 @@
-# $OpenBSD: Makefile,v 1.9 2000/05/25 21:54:50 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2000/05/26 11:50:45 deraadt Exp $
+MAN3 = keycap.3
+MAN5 = keycap.5
+MLINKS = keycap.3 kgetent.3 keycap.3 kgetnum.3 keycap.3 kgetflag.3 \
+ keycap.3 kgetstr.3
+MANSUBDIR=/i386
+
+.if ${MACHINE} == "i386"
LIB = keycap
CAPDIR = /usr/share/misc
CAPPATH = $(CAPDIR)/keycap.pcvt
KEYCAPSRC= keycap.src
CFLAGS += -DKEYCAP_PATH=\"$(CAPPATH)\"
SRCS = keycap.c
-MAN3 = keycap.3
-MAN5 = keycap.5
-MLINKS = keycap.3 kgetent.3 keycap.3 kgetnum.3 keycap.3 kgetflag.3 \
- keycap.3 kgetstr.3
-MANSUBDIR=/i386
beforeinstall:
-@if [ ! -d ${DESTDIR}${LIBDIR} ]; then \
@@ -18,5 +20,9 @@ beforeinstall:
fi
install -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
${.CURDIR}/${KEYCAPSRC} ${DESTDIR}${CAPPATH}
-
.include <bsd.lib.mk>
+.else
+NOPROG=
+.include <bsd.prog.mk>
+.endif
+