summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-12-10 16:13:41 +0000
committermarcel <marcel@FreeBSD.org>1999-12-10 16:13:41 +0000
commit72299511da25816c5666e95bc59450973c25980e (patch)
tree29ab88338e05d93be674939e763e67147cc9fc59 /Makefile.inc1
parent8a0df4733efa8d94c7637959715c6379f6ea44a8 (diff)
downloadFreeBSD-src-72299511da25816c5666e95bc59450973c25980e.zip
FreeBSD-src-72299511da25816c5666e95bc59450973c25980e.tar.gz
o Don't make games/fortune/strfile if games does not exist or NOGAMES
has been defined. o Make libraries before making depend.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc114
1 files changed, 9 insertions, 5 deletions
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; \
OpenPOWER on IntegriCloud