NetBSD/lib/libposix/Makefile

26 lines
630 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2002/09/14 21:18:20 thorpej Exp $
1997-05-19 00:14:21 +04:00
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}
1997-05-19 00:14:21 +04:00
.include "${.CURDIR}/sys/Makefile.inc"
.include <bsd.lib.mk>