Include bsd.subdir.mk first to pull in /etc/mk.conf (via bsd.own.mk).

Otherwise, ".ifndef RELEASEDIR" fails if RELEASEDIR is defined in mk.conf.
This commit is contained in:
tsutsui 2000-06-17 18:37:43 +00:00
parent 27f963a94f
commit f185c9ff49
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.5 2000/06/14 10:24:24 tsutsui Exp $
# $NetBSD: Makefile,v 1.6 2000/06/17 18:37:43 tsutsui Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
.include <bsd.subdir.mk>
IMAGE= boot.fs
.if !make(print-objdir)
@ -72,4 +73,3 @@ real-floppy:
dd if=${IMAGE} of=${FD_RDEV} bs=45k
.include <bsd.obj.mk>
.include <bsd.subdir.mk>

View File

@ -1,9 +1,10 @@
# $NetBSD: Makefile,v 1.1 2000/06/11 11:35:20 tsutsui Exp $
# $NetBSD: Makefile,v 1.2 2000/06/17 18:37:44 tsutsui Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
.include <bsd.kernobj.mk>
.include <bsd.subdir.mk>
KERN= ${KERNOBJDIR}/INSTALL/netbsd
.if !make(print-objdir)
@ -36,4 +37,3 @@ clean cleandir distclean:
rm -f *.core ${CLEANFILES}
.include <bsd.obj.mk>
.include <bsd.subdir.mk>