summaryrefslogtreecommitdiff
path: root/lib/libarch/amd64/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-26 00:10:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-26 00:10:55 +0000
commit6a246f06cfd44c878800cbf9248bf5efea260d54 (patch)
tree5dd51a13f8c455185def8d203780fee703d46d10 /lib/libarch/amd64/Makefile
parentfd93564e9d44ac157099ab7c84d3c1eddeec7417 (diff)
x86_64 libarch
Diffstat (limited to 'lib/libarch/amd64/Makefile')
-rw-r--r--lib/libarch/amd64/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libarch/amd64/Makefile b/lib/libarch/amd64/Makefile
new file mode 100644
index 00000000000..b32bd7996b8
--- /dev/null
+++ b/lib/libarch/amd64/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1 2004/02/26 00:10:54 deraadt Exp $
+# $NetBSD: Makefile,v 1.1 1996/02/21 02:45:47 jtk Exp $
+
+MAN+= x86_64_get_ldt.2 \
+ x86_64_iopl.2 x86_64_get_ioperm.2
+MANSUBDIR=amd64
+MLINKS+=x86_64_get_ldt.2 x86_64_set_ldt.2 \
+ x86_64_get_ioperm.2 x86_64_set_ioperm.2
+
+.if ${MACHINE_ARCH} == "x86_64"
+.PATH: ${LIBC}/x86_64
+NOPIC=
+SRCS+= x86_64_get_ldt.c x86_64_set_ldt.c \
+ x86_64_iopl.c x86_64_get_ioperm.c x86_64_set_ioperm.c
+.include <bsd.lib.mk>
+.else
+NOPROG=
+.include <bsd.prog.mk>
+.endif
+