3fba05d66e
libc that we know we are replacing.
26 lines
630 B
Makefile
26 lines
630 B
Makefile
# $NetBSD: Makefile,v 1.11 2002/09/14 21:18:20 thorpej 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
|
|
.if exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH})
|
|
ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
|
|
.elif exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU})
|
|
ARCHDIR= ${NETBSDSRCDIR}/lib/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 <bsd.lib.mk>
|