From 68cd0c9acc288a1c22d59f7cd8b01503c932247c Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Fri, 10 Oct 1997 13:02:36 +0000 Subject: [PATCH] Do not use -B in initial build of "make". It doesn't exist in 2.1.x. Instead, list the targets one per command line. Reviewed by: bde Submitted by: bde (part) --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 448545900f0e..aa0fc345e9af 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.153 1997/10/06 10:21:36 jkh Exp $ +# $Id: Makefile,v 1.154 1997/10/07 11:32:05 bde Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include @@ -222,11 +222,15 @@ buildworld: @echo " Making make" @echo "--------------------------------------------------------------" mkdir -p ${WORLDTMP}/usr/bin +.if !defined(NOCLEAN) || !defined(NOOBJDIR) cd ${.CURDIR}/usr.bin/make && \ - ${IBMAKE} -I${.CURDIR}/share/mk -B ${CLEANDIR} ${OBJDIR} depend && \ + ${IBMAKE} -I${.CURDIR}/share/mk ${CLEANDIR} ${OBJDIR} +.endif + cd ${.CURDIR}/usr.bin/make && \ + ${IBMAKE} -I${.CURDIR}/share/mk depend && \ ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} all && \ - ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} \ - -B install clean cleandepend + ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} install && \ + ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} clean cleandepend @echo @echo "--------------------------------------------------------------" @echo " Making hierarchy"