From 8a593cad78b0dff744d592759e65eec3c0c0fd8e Mon Sep 17 00:00:00 2001 From: johan Date: Fri, 23 Aug 2002 12:49:16 +0000 Subject: Similar to bsd.subdir.mk, echo the name of the dir before doing the cd. This is done for bootstrap-tools, build-tools, cross-tools, and the libraries loop. Reviewed by: ru Approved by: sheldonh (mentor) MFC after: 1 week --- Makefile.inc1 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index afa3d1a..357f643 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -593,7 +593,8 @@ bootstrap-tools: usr.bin/xargs usr.bin/xinstall \ usr.sbin/config usr.sbin/kbdcontrol \ gnu/usr.bin/gperf gnu/usr.bin/groff gnu/usr.bin/texinfo - cd ${.CURDIR}/${_tool}; \ + ${ECHODIR} "===> ${_tool}"; \ + cd ${.CURDIR}/${_tool}; \ ${MAKE} DIRPRFX=${_tool}/ obj; \ ${MAKE} DIRPRFX=${_tool}/ depend; \ ${MAKE} DIRPRFX=${_tool}/ all; \ @@ -630,7 +631,8 @@ build-tools: .for _tool in bin/csh bin/sh ${_games} gnu/usr.bin/cc/cc_tools ${_fortran} \ ${_libroken4} ${_libkrb5} lib/libncurses ${_share} \ usr.bin/awk usr.bin/file usr.sbin/sysinstall - cd ${.CURDIR}/${_tool}; ${MAKE} DIRPRFX=${_tool}/ build-tools + ${ECHODIR} "===> ${_tool}"; \ + cd ${.CURDIR}/${_tool}; ${MAKE} DIRPRFX=${_tool}/ build-tools .endfor # @@ -654,7 +656,8 @@ cross-tools: .for _tool in ${_btxld} ${_elf2aout} ${_elf2exe} \ gnu/usr.bin/binutils usr.bin/objformat usr.sbin/crunch/crunchide \ gnu/usr.bin/cc ${_xlint} - cd ${.CURDIR}/${_tool}; \ + ${ECHODIR} "===> ${_tool}"; \ + cd ${.CURDIR}/${_tool}; \ ${MAKE} DIRPRFX=${_tool}/ obj; \ ${MAKE} DIRPRFX=${_tool}/ depend; \ ${MAKE} DIRPRFX=${_tool}/ all; \ @@ -740,7 +743,8 @@ _generic_libs+= usr.sbin/pcvt/keycap .for _lib in ${_startup_libs} ${_prebuild_libs} ${_generic_libs} ${_lib}__L: .PHONY .if exists(${.CURDIR}/${_lib}) - cd ${.CURDIR}/${_lib}; \ + ${ECHODIR} "===> ${_lib}"; \ + cd ${.CURDIR}/${_lib}; \ ${MAKE} DIRPRFX=${_lib}/ depend; \ ${MAKE} DIRPRFX=${_lib}/ all; \ ${MAKE} DIRPRFX=${_lib}/ install -- cgit v1.1