Makefile revision 1.7
1# $NetBSD: Makefile,v 1.7 2001/01/04 09:00:24 itojun 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.elif ${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb" 11ARCHDIR= ${.CURDIR}/../libc/arch/sh3 12.else 13ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH} 14.endif 15AINC= -I${ARCHDIR} 16.if defined(DESTDIR) 17AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include 18.endif 19 20.include "${.CURDIR}/sys/Makefile.inc" 21 22.include <bsd.lib.mk> 23