NetBSD/lib/libposix/Makefile

21 lines
475 B
Makefile

# $NetBSD: Makefile,v 1.6 1999/08/21 03:28:54 sommerfeld Exp $
LIB= posix
.include <bsd.own.mk>
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
ARCHDIR= ${.CURDIR}/../libc/arch/mips
.else
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH}
.endif
AINC= -I${ARCHDIR}
.if defined(DESTDIR)
AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include
.endif
.include "${.CURDIR}/sys/Makefile.inc"
.include <bsd.lib.mk>