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