diff --git a/distrib/mac68k/instkernel/instkernel/Makefile b/distrib/mac68k/instkernel/instkernel/Makefile index ff718c46aeea..43269b1676ac 100644 --- a/distrib/mac68k/instkernel/instkernel/Makefile +++ b/distrib/mac68k/instkernel/instkernel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2002/03/04 16:43:10 shiba Exp $ +# $NetBSD: Makefile,v 1.9 2002/03/05 20:41:28 thorpej Exp $ TOP= ${.CURDIR}/.. @@ -6,9 +6,8 @@ TOP= ${.CURDIR}/.. .include .include -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 INSTALL_KERNEL?=netbsd-INSTALL diff --git a/distrib/mac68k/instkernel/ramdisk/Makefile b/distrib/mac68k/instkernel/ramdisk/Makefile index 987f40e2514a..c2fe8c7c1dcf 100644 --- a/distrib/mac68k/instkernel/ramdisk/Makefile +++ b/distrib/mac68k/instkernel/ramdisk/Makefile @@ -1,11 +1,13 @@ -# $NetBSD: Makefile,v 1.12 2002/03/04 16:43:10 shiba Exp $ +# $NetBSD: Makefile,v 1.13 2002/03/05 20:41:29 thorpej Exp $ + +.include TOP= ${.CURDIR}/.. .include "${TOP}/Makefile.inc" .ifndef NOTESOBJDIR -NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k;${MAKE} ${MAKEFLAGS} -V .OBJDIR +NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k && ${PRINTOBJDIR} .endif IMAGE= ramdisk.fs @@ -66,5 +68,4 @@ clean cleandir distclean: .INTERRUPT: unconfig .include -.include .include diff --git a/distrib/newsmips/floppies/bootfloppy/Makefile b/distrib/newsmips/floppies/bootfloppy/Makefile index da9e785d8b74..ffc2009bf7a8 100644 --- a/distrib/newsmips/floppies/bootfloppy/Makefile +++ b/distrib/newsmips/floppies/bootfloppy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2002/02/21 15:07:38 tsutsui Exp $ +# $NetBSD: Makefile,v 1.5 2002/03/05 20:43:33 thorpej Exp $ TOP= ${.CURDIR}/.. @@ -19,9 +19,9 @@ FD_RDEV= /dev/r${FD}a MDEC= ${DESTDIR}/usr/mdec LISTS= ${.CURDIR}/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= floppy