Use ${PRINTOBJDIR}.

This commit is contained in:
tsutsui 2001-01-07 08:38:01 +00:00
parent 270db080e9
commit f68bcbc806
4 changed files with 8 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2000/06/17 18:37:43 tsutsui Exp $
# $NetBSD: Makefile,v 1.7 2001/01/07 08:39:33 tsutsui Exp $
TOP= ${.CURDIR}/..
@ -6,9 +6,7 @@ TOP= ${.CURDIR}/..
.include <bsd.subdir.mk>
IMAGE= boot.fs
.if !make(print-objdir)
KERNDIR!= cd ${.CURDIR}/../ramdisk-kernel && ${MAKE} print-objdir
.endif
KERNDIR!= cd ${.CURDIR}/../ramdisk-kernel && ${PRINTOBJDIR}
KERN= ${KERNDIR}/netbsd.INSTALL.gz
MOUNT_POINT?= /mnt

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2000/06/17 18:37:44 tsutsui Exp $
# $NetBSD: Makefile,v 1.3 2001/01/07 08:39:34 tsutsui Exp $
TOP= ${.CURDIR}/..
@ -7,9 +7,7 @@ TOP= ${.CURDIR}/..
.include <bsd.subdir.mk>
KERN= ${KERNOBJDIR}/INSTALL/netbsd
.if !make(print-objdir)
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${MAKE} print-objdir
.endif
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
KERNEL= netbsd.INSTALL.gz

View File

@ -1,9 +1,7 @@
# $NetBSD: Makefile,v 1.6 2000/04/13 14:44:02 tsutsui Exp $
# $NetBSD: Makefile,v 1.7 2001/01/07 08:38:01 tsutsui Exp $
COMMON= ${.CURDIR}/../common
.ifnmake(print-objdir)
COMMONOBJ!= cd ${COMMON}; ${MAKE} print-objdir
.endif
COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR}
.PATH: ${COMMON}

View File

@ -1,9 +1,7 @@
# $NetBSD: Makefile,v 1.3 2000/04/13 14:19:58 tsutsui Exp $
# $NetBSD: Makefile,v 1.4 2001/01/07 08:38:02 tsutsui Exp $
COMMON= ${.CURDIR}/../common
.ifnmake(print-objdir)
COMMONOBJ!= cd ${COMMON}; ${MAKE} print-objdir
.endif
COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR}
.PATH: ${COMMON}