blob: 7498b87a0edf64907e5d7fe8a32c08762839e041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.17 2014/08/10 23:25:49 matt 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>
|