now <bsd.kernobj.mk> defines KERNSRCDIR correctly, pull it in earlier

and clean up related goop
This commit is contained in:
lukem 2002-04-10 14:57:45 +00:00
parent 0879d1487a
commit cf1352743d
1 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.210 2002/04/10 12:05:20 lukem Exp $
# $NetBSD: Makefile,v 1.211 2002/04/10 14:57:45 lukem Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -35,12 +35,13 @@
# an objdir would break the installation stuff below
NOOBJ= # defined
# do this before bsd.own.mk so we get correct KERNSRCDIR
.include "../Makefile.inc"
# For NO_SENDMAIL, INSTPRIV, MKCRYPTO
.include <bsd.own.mk>
# For KERNSRCDIR, KERNOBJDIR, ...
.include <bsd.kernobj.mk>
.MAKEOVERRIDES+= USETOOLS
TZDIR= /usr/share/zoneinfo
@ -132,8 +133,6 @@ TARGET_ENDIANNESS=
.endif
.endif # release || snapshot || distribution # }
.include <bsd.kernobj.mk>
obj:
mkdir -p ${KERNOBJDIR}