K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-10T08:14:42.000000Z K 7 svn:log V 469 MFC of the new variable `.MAKEFILE_LIST'. Add the following to make.conf(5) to have a `deptree' target in all makefiles: .NOTMAIN: deptree deptree: @echo 'Dependency tree for ${MAKE} in ${.CURDIR}:' @l=1; \ for d in ${.MAKEFILE_LIST}; do \ case "$$d" in \ ..) l=$$(($$l-2));; \ /*) printf '%-*s%s\n' $$l '' "`realpath \"$$d\"`"; \ l=$$(($$l+2));; \ *) printf '%-*s%s\n' $$l '' \ "`realpath \"${.OBJDIR}/$$d\"`"; \ l=$$(($$l+2));; \ esac \ done END