2014-08-11 03:25:49 +04:00
|
|
|
# $NetBSD: Makefile,v 1.17 2014/08/10 23:25:49 matt Exp $
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
LIB= posix
|
|
|
|
|
1999-08-21 07:28:54 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-15 01:18:20 +04:00
|
|
|
# This library replaces routines in libc; no sense in warning about it.
|
|
|
|
LLIBS=
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
CPPFLAGS+=-D_REENTRANT -I${NETBSDSRCDIR}/lib/libc/include
|
2007-11-13 13:22:15 +03:00
|
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/sys
|
2008-10-26 10:28:49 +03:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../libc/libcincludes.mk"
|
2001-01-08 11:29:59 +03:00
|
|
|
|
2004-04-18 08:26:15 +04:00
|
|
|
AFLAGS+=-I${ARCHDIR}
|
1997-05-19 00:14:21 +04:00
|
|
|
|
2014-08-11 03:25:49 +04:00
|
|
|
.if ${LIBC_MACHINE_ARCH} == "powerpc64"
|
2011-10-27 21:18:09 +04:00
|
|
|
# XXX: How come it does not resolve from libc?
|
|
|
|
.PATH.c: ${NETBSDSRCDIR}/lib/libc/gen
|
|
|
|
SRCS+= _errno.c
|
|
|
|
.endif
|
|
|
|
|
1997-05-19 00:14:21 +04:00
|
|
|
.include "${.CURDIR}/sys/Makefile.inc"
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|