We dont need to pass down COMPATDIR and KERNDIR.

This commit is contained in:
mycroft 1996-08-08 15:15:16 +00:00
parent 3f0b5a641e
commit 44f440543f
3 changed files with 11 additions and 11 deletions

View File

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

View File

@ -1,13 +1,15 @@
# $NetBSD: Makefile,v 1.28 1996/08/08 15:06:42 mycroft Exp $
# $NetBSD: Makefile,v 1.29 1996/08/08 15:15:18 mycroft Exp $
LIB= kern
NOPIC=
CPPFLAGS= -I${.CURDIR}/arch/${MACHINE_ARCH} ${KERNCPPFLAGS}
M= ${.CURDIR}/arch/${MACHINE_ARCH}
.if exists (${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc)
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
CPPFLAGS= -I$M ${KERNCPPFLAGS}
.if exists ($M/Makefile.inc)
.PATH: $M
.include "$M/Makefile.inc"
.endif
.if (${MACHINE_ARCH} != "alpha")

View File

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