1 1.17 matt # $NetBSD: Makefile,v 1.17 2014/08/10 23:25:49 matt Exp $ 2 1.2 cjs 3 1.1 kleink LIB= posix 4 1.6 sommerfe 5 1.6 sommerfe .include <bsd.own.mk> 6 1.11 thorpej 7 1.11 thorpej # This library replaces routines in libc; no sense in warning about it. 8 1.11 thorpej LLIBS= 9 1.1 kleink 10 1.10 lukem CPPFLAGS+=-D_REENTRANT -I${NETBSDSRCDIR}/lib/libc/include 11 1.13 he CPPFLAGS+=-I${NETBSDSRCDIR}/sys 12 1.14 mrg 13 1.14 mrg .include "${.CURDIR}/../libc/libcincludes.mk" 14 1.8 itojun 15 1.12 lukem AFLAGS+=-I${ARCHDIR} 16 1.1 kleink 17 1.17 matt .if ${LIBC_MACHINE_ARCH} == "powerpc64" 18 1.15 christos # XXX: How come it does not resolve from libc? 19 1.15 christos .PATH.c: ${NETBSDSRCDIR}/lib/libc/gen 20 1.15 christos SRCS+= _errno.c 21 1.15 christos .endif 22 1.15 christos 23 1.1 kleink .include "${.CURDIR}/sys/Makefile.inc" 24 1.1 kleink 25 1.1 kleink .include <bsd.lib.mk> 26