Makefile revision 1.6
1#	$NetBSD: Makefile,v 1.6 1999/08/21 03:28:54 sommerfeld Exp $
2
3LIB=	posix
4
5.include <bsd.own.mk>
6
7CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
8.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
9ARCHDIR=	${.CURDIR}/../libc/arch/mips
10.else
11ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_ARCH}
12.endif
13AINC=	-I${ARCHDIR}
14.if defined(DESTDIR)
15AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
16.endif
17
18.include "${.CURDIR}/sys/Makefile.inc"
19
20.include <bsd.lib.mk>
21