o Don't make games/fortune/strfile if games does not exist or NOGAMES

has been defined.
o  Make libraries before making depend.
This commit is contained in:
Marcel Moolenaar 1999-12-10 16:13:41 +00:00
parent fd04609c0d
commit f80df2fa88

View File

@ -193,16 +193,16 @@ buildworld:
cd ${.CURDIR}; ${XMAKE} includes
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding dependencies"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${XMAKE} par-depend
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Building libraries"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${XMAKE} -DNOINFO -DNOMAN libraries
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding dependencies"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${XMAKE} par-depend
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Building everything.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${XMAKE} all
@ -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; \