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