Removed special handling of CPPFLAGS if DESTDIR is set. Third party

makefiles may use DESTDIR for something completely different.
This commit is contained in:
jtc 1996-02-29 19:06:57 +00:00
parent d66ea3596c
commit f1938eb0d0
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: sys.mk,v 1.24 1996/02/28 23:45:16 jtc Exp $ # $NetBSD: sys.mk,v 1.25 1996/02/29 19:06:57 jtc Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91 # @(#)sys.mk 5.11 (Berkeley) 3/13/91
unix= We run NetBSD. unix= We run NetBSD.
@ -29,9 +29,7 @@ COMPILE.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
LINK.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} LINK.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
CPP?= cpp CPP?= cpp
.if defined(DESTDIR) CPPFLAGS?=
CPPFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include
.endif
FC?= f77 FC?= f77
FFLAGS?= -O FFLAGS?= -O