# $NetBSD: Makefile,v 1.9 2001/11/13 18:55:00 tv Exp $ LIB= posix .include CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include .if exists(${.CURDIR}/../libc/arch/${MACHINE_ARCH}) ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH} .elif exists(${.CURDIR}/../libc/arch/${MACHINE_CPU}) ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_CPU} .else .BEGIN: @echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU} @false .endif AINC= -I${ARCHDIR} .include "${.CURDIR}/sys/Makefile.inc" .include