1999-08-21 07:28:54 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 1999/08/21 03:28:54 sommerfeld Exp $
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
LIB= posix
|
|
|
|
|
1999-08-21 07:28:54 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1997-10-23 06:53:50 +04:00
|
|
|
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
|
1999-02-24 18:10:16 +03:00
|
|
|
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
|
|
|
ARCHDIR= ${.CURDIR}/../libc/arch/mips
|
|
|
|
.else
|
|
|
|
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH}
|
|
|
|
.endif
|
|
|
|
AINC= -I${ARCHDIR}
|
1997-06-01 01:21:13 +04:00
|
|
|
.if defined(DESTDIR)
|
|
|
|
AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include
|
1997-05-19 00:14:21 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "${.CURDIR}/sys/Makefile.inc"
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|