From 72299511da25816c5666e95bc59450973c25980e Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 10 Dec 1999 16:13:41 +0000 Subject: o Don't make games/fortune/strfile if games does not exist or NOGAMES has been defined. o Make libraries before making depend. --- Makefile.inc1 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Makefile.inc1') diff --git a/Makefile.inc1 b/Makefile.inc1 index cda6ff0..67bfcfe 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -193,14 +193,14 @@ buildworld: cd ${.CURDIR}; ${XMAKE} includes @echo @echo "--------------------------------------------------------------" - @echo ">>> Rebuilding dependencies" + @echo ">>> Building libraries" @echo "--------------------------------------------------------------" - cd ${.CURDIR}; ${XMAKE} par-depend + cd ${.CURDIR}; ${XMAKE} -DNOINFO -DNOMAN libraries @echo @echo "--------------------------------------------------------------" - @echo ">>> Building libraries" + @echo ">>> Rebuilding dependencies" @echo "--------------------------------------------------------------" - cd ${.CURDIR}; ${XMAKE} -DNOINFO -DNOMAN libraries + cd ${.CURDIR}; ${XMAKE} par-depend @echo @echo "--------------------------------------------------------------" @echo ">>> Building everything.." @@ -326,8 +326,12 @@ installmost: # # tools - Build tools needed to run the actual build. # +.if exists(${.CURDIR}/games) && !defined(NOGAMES) +_strfile= games/fortune/strfile +.endif + tools:: -.for _tool in games/fortune/strfile gnu/usr.bin/binutils usr.bin/objformat \ +.for _tool in ${_strfile} gnu/usr.bin/binutils usr.bin/objformat \ usr.bin/yacc gnu/usr.bin/bison gnu/usr.bin/cc cd ${.CURDIR}/${_tool}; \ ${MAKE} obj; \ -- cgit v1.1