1999-02-24 18:10:16 +03:00
|
|
|
# $NetBSD: Makefile,v 1.5 1999/02/24 15:10:16 drochner Exp $
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
LIB= posix
|
|
|
|
|
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>
|