diff options
-rw-r--r-- | Makefile.inc1 | 16 | ||||
-rw-r--r-- | gnu/usr.bin/Makefile | 4 |
2 files changed, 14 insertions, 6 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: diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 430d3e0..44a83b9 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -3,8 +3,8 @@ SUBDIR= awk bc binutils cc cpio dc dialog diff diff3 \ grep gzip man patch ptx rcs sdiff send-pr sort tar texinfo -.if ${CXX} != "c++" -SUBDIR+=gperf groff +.if ${CXX:T} != "c++" +SUBDIR+=groff .endif .if !defined(NO_CVS) |