Use ${PRINTOBJDIR}.

This commit is contained in:
thorpej 2002-03-05 19:53:19 +00:00
parent a5643639a9
commit f44b824188
7 changed files with 22 additions and 28 deletions

View File

@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.6 2001/12/09 00:37:38 ross Exp $
# $NetBSD: Makefile,v 1.7 2002/03/05 19:57:47 thorpej Exp $
IMAGE= cdhdtape
IMAGESIZE= 5760
NFILES= 3
INSTKERNEL!=cd ${.CURDIR}/../instkernel; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/netbsd.gz\n" | \
${MAKE} -s -f-
INSTKERNELDIR!= cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
INSTKERNEL= ${INSTKERNELDIR}/netbsd.gz
MOUNT_POINT?= /mnt
VND?= vnd0

View File

@ -1,11 +1,10 @@
# $NetBSD: Makefile,v 1.5 2001/12/09 00:37:38 ross Exp $
# $NetBSD: Makefile,v 1.6 2002/03/05 19:57:47 thorpej Exp $
IMAGE1= disk1of2
IMAGE2= disk2of2
INSTKERNEL!=cd ${.CURDIR}/../instkernel; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/netbsd.gz\n" | \
${MAKE} -s -f-
INSTKERNELDIR!= cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
INSTKERNEL= ${INSTKERNELDIR}/netbsd.gz
MOUNT_POINT?= /mnt
VND?= vnd0

View File

@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.14 2001/10/21 23:23:19 jmc Exp $
# $NetBSD: Makefile,v 1.15 2002/03/05 19:57:47 thorpej Exp $
.include "../../../../Makefile.inc"
RAMDISK!=cd ${.CURDIR}/../ramdisk; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
${MAKE} -s -f-
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
MDSETIMAGE?= mdsetimage
KERNEL?=${KERNOBJDIR}/INSTALL/netbsd

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2001/10/21 23:23:19 jmc Exp $
# $NetBSD: Makefile,v 1.3 2002/03/05 19:59:16 thorpej Exp $
TOP= ${.CURDIR}/..
@ -10,9 +10,8 @@ KERNELS= A7INST CATSINST RPCINST SHARKINST
STRIP?= strip
RAMDISK!= cd $(.CURDIR)/../ramdisk/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk-${REV}.fs\n" | \
${MAKE} -s -f-
RAMDISKDIR!= cd $(.CURDIR)/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk-${REV}.fs
CLEANFILES+= netbsd.tmp ${KERNELS:C/^.*$/netbsd.&.gz/g}
MDSETIMAGE?= mdsetimage

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.5 2001/10/21 23:23:19 jmc Exp $
# $NetBSD: Makefile.inc,v 1.6 2002/03/05 20:01:34 thorpej Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -18,9 +18,9 @@ MDEC= ${DESTDIR}/usr/mdec
MDSETIMAGE?= mdsetimage
LISTS= ${COMMONDIR}/list
RAMDISK !=cd $(.CURDIR)/../ramdisk/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
${MAKE} -s -f-
RAMDISKDIR!= cd $(.CURDIR)/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
DISKTYPE?= floppy3
DISKSIZE?= 2880

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2002/02/13 06:01:36 gmcgarry Exp $
# $NetBSD: Makefile,v 1.3 2002/03/05 20:07:47 thorpej Exp $
TOP= ${.CURDIR}/..
@ -8,9 +8,8 @@ TOP= ${.CURDIR}/..
RAMDISKS= RAMDISK ramdisk
.for V F in ${RAMDISKS}
${V}!= cd ${TOP}/${F}/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/${F}.fs\n" | \
${MAKE} -s -f-
${V}DIR!= cd ${TOP}/${F} && ${PRINTOBJDIR}
${V}= ${${V}DIR}/${F}.fs
.endfor
# create netbsd.*.gz targets

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.23 2001/11/29 22:46:00 thorpej Exp $
# $NetBSD: Makefile.inc,v 1.24 2002/03/05 19:53:19 thorpej Exp $
#
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
#
@ -57,9 +57,8 @@ snap_md_post:
sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
.endfor
CDBOOTIMAGE!= cd ${TOP}/distrib/sparc/bootfs; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/boot.fs\n" | \
${MAKE} -s -f-
CDBOOTIMAGEDIR!= cd ${TOP}/distrib/sparc/bootfs && ${PRINTOBJDIR}
CDBOOTIMAGE= ${CDBOOTIMAGEDIR}/boot.fs
iso-image_md_post:
mksunbootcd ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \