summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-10-10 13:02:36 +0000
committerasami <asami@FreeBSD.org>1997-10-10 13:02:36 +0000
commit59ad45bfebed512b69728730d4d9e57b670fcc38 (patch)
tree28ba6214811ef21e63d956d025b327aaa3e229f6 /Makefile
parent18a6945684fd7ada8519c2ae15a2eff2b8882749 (diff)
downloadFreeBSD-src-59ad45bfebed512b69728730d4d9e57b670fcc38.zip
FreeBSD-src-59ad45bfebed512b69728730d4d9e57b670fcc38.tar.gz
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)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4485459..aa0fc34 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"
OpenPOWER on IntegriCloud