${MAKE} print-objdir -> ${PRINTOBJDIR}

This commit is contained in:
tv 2001-11-14 00:58:48 +00:00
parent 8bef0452bd
commit 5489b30b60
13 changed files with 46 additions and 40 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2001/04/09 20:28:22 tsubai Exp $
# $NetBSD: Makefile,v 1.8 2001/11/14 00:58:49 tv Exp $
.include <bsd.own.mk> # Use /etc/mk.conf.
@ -15,8 +15,8 @@ release:
@echo setenv RELEASEDIR first
@false
.else
BOOTFLOPOBJ != cd ${.CURDIR}/floppies/bootfloppy; ${MAKE} print-objdir
BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot; ${MAKE} print-objdir
BOOTFLOPOBJ != cd ${.CURDIR}/floppies/bootfloppy && ${PRINTOBJDIR}
BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot && ${PRINTOBJDIR}
release:
${IINST} ${BOOTOBJ}/ofwboot.elf ${ITARGET}/

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.13 2001/04/09 20:23:00 tsubai Exp $
# $NetBSD: Makefile,v 1.14 2001/11/14 00:58:48 tv Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
.include <bsd.own.mk>
.include <bsd.kernobj.mk>
IMAGE= boot.fs
@ -16,7 +17,7 @@ FD?= fd0
FD_RDEV= /dev/r${FD}a
MDEC= ${DESTDIR}/usr/mdec
KERNDIR!= cd ${.CURDIR}/../md-kernel; ${MAKE} print-objdir
KERNDIR!= cd ${.CURDIR}/../md-kernel && ${PRINTOBJDIR}
DISKTYPE= floppy

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2001/10/21 23:23:20 jmc Exp $
# $NetBSD: Makefile,v 1.3 2001/11/14 00:58:48 tv Exp $
TOP= ${.CURDIR}/..
@ -12,7 +12,7 @@ MDSETIMAGE?= mdsetimage
KERNELS= netbsd.INSTALL.gz netbsd.GENERIC_MD.gz
CLEANFILES+= ${KERNELS} netbsd
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk; ${MAKE} print-objdir
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
all dependall: ${KERNELS}

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.2 2001/10/21 23:23:22 jmc Exp $
# $NetBSD: Makefile,v 1.3 2001/11/14 00:58:49 tv Exp $
.include "../Makefile.inc"
.include <bsd.own.mk>
.include <bsd.obj.mk>
.include <bsd.kernobj.mk>
@ -18,7 +17,7 @@ release:
@false
.else
MINIROOTDIR = ${.CURDIR}/../miniroot
MINIROOTOBJ != cd ${MINIROOTDIR}; ${MAKE} print-objdir
MINIROOTOBJ != cd ${MINIROOTDIR} && ${PRINTOBJDIR}
MDSETIMAGE?= mdsetimage
release:

View File

@ -1,15 +1,12 @@
# $NetBSD: Makefile,v 1.8 2001/05/09 16:28:10 nsmrtks Exp $
# $NetBSD: Makefile,v 1.9 2001/11/14 00:58:49 tv Exp $
.include <bsd.own.mk>
.include <bsd.obj.mk>
.include <bsd.depall.mk>
.include <bsd.prog.mk>
.MAIN: all
realall: inst.fs.gz
all: realall
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk.sysinst ; ${MAKE} print-objdir
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk.sysinst && ${PRINTOBJDIR}
inst.fs.gz: inst.fs
gzip -9vc inst.fs > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.15 2001/05/27 05:35:11 gmcgarry Exp $
# $NetBSD: Makefile.buildboot,v 1.16 2001/11/14 00:58:49 tv Exp $
# RELOC=FFF00000 allows for boot prog up to FF000 (1044480) bytes long
RELOC= FFF00000
@ -48,10 +48,10 @@ DRIVERSOURCE= apci.c ct.c dca.c dcm.c dnkbd.c fhpib.c hil.c \
ite_subr.c ite_tc.c ite_hy.c kbd.c kbdconf.c \
nhpib.c rd.c scsi.c sd.c
.ifnmake(print-objdir)
MKBOOTOBJDIR!= cd ${.CURDIR}/../mkboot ; ${MAKE} print-objdir
.include <bsd.own.mk>
MKBOOTOBJDIR!= cd ${.CURDIR}/../mkboot && ${PRINTOBJDIR}
MKBOOT_PROG= ${MKBOOTOBJDIR}/mkboot
.endif
# Make sure ${MKBOOT_PROG} is always available
${MKBOOT_PROG}:

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2001/09/22 03:34:19 tv Exp $
# $NetBSD: Makefile,v 1.23 2001/11/14 00:58:50 tv Exp $
S= ${.CURDIR}/../../../..
@ -20,15 +20,15 @@ STRIPFLAG=
BINMODE= 444
.if !defined(FIXCOFF)
.ifnmake(print-objdir)
FIXCOFFDIR!= cd ${.CURDIR}/../fixcoff; ${MAKE} print-objdir
.include <bsd.own.mk>
FIXCOFFDIR!= cd ${.CURDIR}/../fixcoff && ${PRINTOBJDIR}
FIXCOFF= ${FIXCOFFDIR}/fixcoff
FIXCOFFTARG= ${FIXCOFF}
${FIXCOFF}:
(cd ${.CURDIR}/../fixcoff; ${MAKE})
.endif
.else
FIXCOFFTARG=
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2001/09/22 03:34:20 tv Exp $
# $NetBSD: Makefile,v 1.10 2001/11/14 00:58:50 tv Exp $
S= ${.CURDIR}/../../../..
@ -11,7 +11,9 @@ BINMODE= 444
SIZE?= size
STRIP?= strip
COMMON!= cd ${.CURDIR}/../common && ${MAKE} print-objdir
.include <bsd.own.mk>
COMMON!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
CLEANFILES+= ${PROG}.elf ${PROG}.tmp

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2000/10/12 05:34:29 onoe Exp $
# $NetBSD: Makefile,v 1.4 2001/11/14 00:58:50 tv Exp $
PROG= bootxx
SRCS= start.S bootxx.c
@ -7,7 +7,9 @@ STRIPFLAG=
BINMODE= 444
SIZE?= size
COMMON!= cd ${.CURDIR}/../common && ${MAKE} print-objdir
.include <bsd.own.mk>
COMMON!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
LDFLAGS= -x -N -Ttext a0004000 -e _start
CFLAGS= -Os -mno-abicalls -G 0 -Wall

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2000/08/30 23:51:54 jhawk Exp $
# $NetBSD: Makefile,v 1.3 2001/11/14 00:58:50 tv Exp $
PROG= setnetimage
MKMAN= no
@ -18,7 +18,9 @@ kernel:
@echo set KERNEL first!
@false
.else
SNDIR!= cd ${.CURDIR}/.. ; ${MAKE} print-objdir
.include <bsd.own.mk>
SNDIR!= cd ${.CURDIR}/.. && ${PRINTOBJDIR}
smallnet.elf: ${SNDIR}/smallnet
cp -p ${.ALLSRC} ${.TARGET}

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.5 2001/06/19 11:56:28 nonaka Exp $
# $NetBSD: Makefile,v 1.6 2001/11/14 00:58:51 tv Exp $
.include <bsd.own.mk>
COMMON= ${.CURDIR}/../common
.ifnmake(print-objdir)
COMMONOBJ!= cd ${COMMON}; ${MAKE} print-objdir
.endif
COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR}
.PATH: ${.CURDIR}/../boot ${COMMONOBJ}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2001/10/15 16:23:00 minoura Exp $
# $NetBSD: Makefile,v 1.6 2001/11/14 00:58:51 tv Exp $
.include <bsd.own.mk>
@ -42,8 +42,8 @@ LDFLAGS= -N -static -T ${.CURDIR}/boot.ldscript
.else
LDFLAGS= -N -static -Ttext ${TEXT}
.endif
LIBIOCS!= cd $M/stand/libiocs && ${MAKE} print-objdir
LIBSA!= cd $M/stand/libsa && ${MAKE} print-objdir
LIBIOCS!= cd $M/stand/libiocs && ${PRINTOBJDIR}
LIBSA!= cd $M/stand/libsa && ${PRINTOBJDIR}
LDLIBS= -L${LIBSA} -lsa -L${LIBIOCS} -liocs
.PHONY: machine-links

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2001/06/12 16:57:28 minoura Exp $
# $NetBSD: Makefile,v 1.6 2001/11/14 00:58:51 tv Exp $
BASE= loadbsd
PROG= ${BASE}.x # Human68k ".x" executable
@ -11,9 +11,12 @@ BINDIR= /usr/mdec
.PATH: ${.CURDIR}/../common
AOUT2HUX!=cd ${.CURDIR}/../aout2hux && echo `${MAKE} print-objdir`/aout2hux
LIBDOS!=cd ${.CURDIR}/../libdos && ${MAKE} print-objdir
LIBIOCS!=cd ${.CURDIR}/../libiocs && ${MAKE} print-objdir
.include <bsd.own.mk>
AOUT2HUXDIR!= cd ${.CURDIR}/../aout2hux && ${PRINTOBJDIR}
AOUT2HUX= ${AOUT2HUXDIR}/aout2hux
LIBDOS!= cd ${.CURDIR}/../libdos && ${PRINTOBJDIR}
LIBIOCS!= cd ${.CURDIR}/../libiocs && ${PRINTOBJDIR}
CPPFLAGS= -W -Wall -O -fomit-frame-pointer
CPPFLAGS+= -m68000 -Wa,-mc68000