summaryrefslogtreecommitdiff
path: root/lib/libarch/amd64/Makefile
blob: ec8831b5ccf2f4094f20ddb774665777c154ce68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: Makefile,v 1.2 2004/02/27 17:36:14 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} == "amd64"
.PATH: ${LIBC}/amd64
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