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