summaryrefslogtreecommitdiff
path: root/lib/libarch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-12 22:22:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-12 22:22:44 +0000
commite990f221700bfd99c59007bbc6ebd24dabb279d4 (patch)
treeed205f38e05b7f273351604ecabffce2c6af01a2 /lib/libarch/i386
parent5765592d709082a2fe26b998ecc8f6cd793b561f (diff)
install all man pages on all arch
Diffstat (limited to 'lib/libarch/i386')
-rw-r--r--lib/libarch/i386/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/libarch/i386/Makefile b/lib/libarch/i386/Makefile
index 34ab8c7dbd1..64177d0b7bd 100644
--- a/lib/libarch/i386/Makefile
+++ b/lib/libarch/i386/Makefile
@@ -1,20 +1,22 @@
-# $OpenBSD: Makefile,v 1.3 2000/01/01 10:02:07 matthieu Exp $
+# $OpenBSD: Makefile,v 1.4 2002/07/12 22:22:43 deraadt Exp $
# $NetBSD: Makefile,v 1.1 1996/02/21 02:45:47 jtk Exp $
-.PATH: ${LIBC}/i386
-NOPIC=
-
-SRCS+= i386_get_ldt.c i386_set_ldt.c \
- i386_iopl.c i386_get_ioperm.c i386_set_ioperm.c \
- i386_vm86.c
-
MAN+= i386_get_ldt.2 \
i386_iopl.2 i386_get_ioperm.2 \
i386_vm86.2
-
MANSUBDIR=/i386
MLINKS+=i386_get_ldt.2 i386_set_ldt.2 \
i386_get_ioperm.2 i386_set_ioperm.2
+.if ${MACHINE} == "i386"
+.PATH: ${LIBC}/i386
+NOPIC=
+SRCS+= i386_get_ldt.c i386_set_ldt.c \
+ i386_iopl.c i386_get_ioperm.c i386_set_ioperm.c \
+ i386_vm86.c
.include <bsd.lib.mk>
+.else
+NOPROG=
+.include <bsd.prog.mk>
+.endif