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