summaryrefslogtreecommitdiff
path: root/lib/libarch/i386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarch/i386/Makefile')
-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