2 # Adapted from FreeBSDs bsd.subdir.mk
3 # Copyright 2007-2008 Roy Marples <roy@marples.name>
4 # All rights reserved. Released under the 2-clause BSD license.
8 _SUBDIR = @${_+_}for x in ${SUBDIR}; do \
10 ${ECHODIR} "===> ${DIRPRFX}$$x (${@:realinstall=install})"; \
12 ${MAKE} ${@:realinstall=install} \
13 DIRPRFX=${DIRPRFX}$$x/ || exit $$?; \
21 @if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
27 install: realinstall ${INSTALLAFTER}