DESTDIR -> BUILDDIR

This commit is contained in:
cjs 1997-05-30 21:47:34 +00:00
parent 54084592c2
commit 7b9ee5e56e

View File

@ -1,11 +1,13 @@
# $NetBSD: Makefile,v 1.1 1997/05/18 20:14:21 kleink Exp $
# $NetBSD: Makefile,v 1.2 1997/05/30 21:47:34 cjs Exp $
.include <bsd.own.mk> # for BUILDDIR
LIB= posix
CFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
AINC= -I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
.if defined(DESTDIR)
AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include
.if defined(BUILDDIR)
AINC+= -nostdinc -idirafter ${BUILDDIR}/usr/include
.endif
.include "${.CURDIR}/sys/Makefile.inc"