Change CXXINCLUDES to use "g++" explicitly. CXXINCLUDES was defined

with ${CXX} at the end; the only problem was, the directory name is
"g++" and ${CXX} is defined as "c++" in sys.mk.
This commit is contained in:
Satoshi Asami 1997-05-23 08:38:46 +00:00
parent 2a48a07b0c
commit 15db27b831
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26051
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# $Id: bsd.lib.mk,v 1.54 1997/04/23 10:26:18 bde Exp $
# $Id: bsd.lib.mk,v 1.55 1997/05/04 21:30:40 jdp Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@ -13,7 +13,7 @@ SHLIB_MINOR != . ${.CURDIR}/shlib_version ; echo $$minor
.if defined(DESTDIR)
CFLAGS+= -I${DESTDIR}/usr/include
CXXINCLUDES+= -I${DESTDIR}/usr/include/${CXX}
CXXINCLUDES+= -I${DESTDIR}/usr/include/g++
.endif
.if defined(DEBUG_FLAGS)

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.prog.mk,v 1.48 1997/04/19 14:36:49 bde Exp $
# $Id: bsd.prog.mk,v 1.49 1997/04/23 18:47:42 bde Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@ -10,7 +10,7 @@
CFLAGS+=${COPTS} ${DEBUG_FLAGS}
.if defined(DESTDIR)
CFLAGS+= -I${DESTDIR}/usr/include
CXXINCLUDES+= -I${DESTDIR}/usr/include/${CXX}
CXXINCLUDES+= -I${DESTDIR}/usr/include/g++
.endif
.if !defined(DEBUG_FLAGS)