summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc116
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 7030b91..64a144c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -317,15 +317,23 @@ everything:
WMAKE_TGTS=
-.if !defined(SUBDIR_OVERRIDE)
+.if !defined(SUBDIR_OVERRIDE) && !defined(X_QUICK)
WMAKE_TGTS+= _worldtmp _bootstrap-tools
.endif
+.if !defined(X_QUICK)
WMAKE_TGTS+= _cleanobj _obj _build-tools
-.if !defined(SUBDIR_OVERRIDE)
+.endif
+.if !defined(SUBDIR_OVERRIDE) && !defined(X_QUICK)
WMAKE_TGTS+= _cross-tools
.endif
WMAKE_TGTS+= _includes _libraries _depend everything
+.for __target in ${WMAKE_TGTS}
+.if defined(NO${__target})
+WMAKE_TGTS:= ${WMAKE_TGTS:N${__target}}
+.endif
+.endfor
+
buildworld: ${WMAKE_TGTS}
.ORDER: ${WMAKE_TGTS}
@@ -572,8 +580,8 @@ installmost:
.if exists(${.CURDIR}/games) && !defined(NOGAMES)
_strfile= games/fortune/strfile
.endif
-.if ${CXX} != "c++"
-_cxx_consumers= gnu/usr.bin/gperf gnu/usr.bin/groff
+.if ${CXX:T} != "c++"
+_cxx_consumers= gnu/usr.bin/groff
.endif
bootstrap-tools:
OpenPOWER on IntegriCloud