Convert the -I. to -I${.OBJDIR}, so that the `machine symlink is available.

This commit is contained in:
mycroft 1996-08-10 03:00:51 +00:00
parent 408ead452e
commit 9c5b0780c0
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.7 1996/08/08 15:15:16 mycroft Exp $
# $NetBSD: Makefile.inc,v 1.8 1996/08/10 03:00:51 mycroft Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
@ -12,7 +12,7 @@ COMPATMAKE= \
cd ${COMPATDIR} && MAKEOBJDIR=${COMPATDST} ${MAKE} \
CC='${CC}' CFLAGS='${CFLAGS}' \
LD='${LD}' \
COMPATCPPFLAGS='${CPPFLAGS}'
COMPATCPPFLAGS='${CPPFLAGS:S@-I.@-I${.OBJDIR}@}'
${COMPATLIB}: .NOTMAIN __always_make_compatlib
@echo making sure the compat library is up to date...

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.29 1996/08/08 15:15:18 mycroft Exp $
# $NetBSD: Makefile,v 1.30 1996/08/10 03:00:57 mycroft Exp $
LIB= kern
NOPIC=
M= ${.CURDIR}/arch/${MACHINE_ARCH}
CPPFLAGS= -I$M ${KERNCPPFLAGS}
CPPFLAGS= -I$M -I. ${KERNCPPFLAGS}
.if exists ($M/Makefile.inc)
.PATH: $M

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.17 1996/08/08 15:15:19 mycroft Exp $
# $NetBSD: Makefile.inc,v 1.18 1996/08/10 03:00:59 mycroft Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
@ -14,7 +14,7 @@ KERNMAKE= \
AS='${AS}' AFLAGS='${AFLAGS}' \
LD='${LD}' \
MACHINE='${MACHINE}' MACHINE_ARCH='${MACHINE_ARCH}' \
KERNCPPFLAGS='${CPPFLAGS}'
KERNCPPFLAGS='${CPPFLAGS:S@-I.@-I${.OBJDIR}@}'
${KERNLIB}: .NOTMAIN __always_make_kernlib
@echo making sure the kern library is up to date...