NetBSD/lib/libposix/Makefile

26 lines
597 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2001/01/08 08:30:00 itojun Exp $
1997-05-19 00:14:21 +04:00
LIB= posix
.include <bsd.own.mk>
1997-10-23 06:53:50 +04:00
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
.if exists(${.CURDIR}/../libc/arch/${MACHINE_ARCH})
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH}
.elif exists(${.CURDIR}/../libc/arch/${MACHINE_CPU})
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_CPU}
.else
.BEGIN:
@echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
@false
.endif
AINC= -I${ARCHDIR}
.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>