[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libposix

File: [cvs.NetBSD.org] / src / lib / libposix / Makefile (download)

Revision 1.16.8.1, Wed Aug 20 00:02:20 2014 UTC (5 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.16: +2 -2 lines

Rebase to HEAD as of a few days ago.

#	$NetBSD: Makefile,v 1.16.8.1 2014/08/20 00:02:20 tls Exp $

LIB=	posix

.include <bsd.own.mk>

# This library replaces routines in libc; no sense in warning about it.
LLIBS=

CPPFLAGS+=-D_REENTRANT -I${NETBSDSRCDIR}/lib/libc/include
CPPFLAGS+=-I${NETBSDSRCDIR}/sys

.include "${.CURDIR}/../libc/libcincludes.mk"

AFLAGS+=-I${ARCHDIR}

.if ${LIBC_MACHINE_ARCH} == "powerpc64"
# XXX: How come it does not resolve from libc?
.PATH.c: ${NETBSDSRCDIR}/lib/libc/gen
SRCS+= _errno.c
.endif

.include "${.CURDIR}/sys/Makefile.inc"

.include <bsd.lib.mk>