summaryrefslogtreecommitdiff
path: root/lib/libposix/Makefile
blob: 2e4c8dfba69f4560ed029c6c0ce8c28d262b152a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$NetBSD: Makefile,v 1.6 1999/08/21 03:28:54 sommerfeld Exp $

LIB=	posix

.include <bsd.own.mk>

CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
ARCHDIR=	${.CURDIR}/../libc/arch/mips
.else
ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_ARCH}
.endif
AINC=	-I${ARCHDIR}
.if defined(DESTDIR)
AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
.endif

.include "${.CURDIR}/sys/Makefile.inc"

.include <bsd.lib.mk>