# @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
@for entry in
${SUBDIR}; do \
(if
test -d
${.CURDIR
}/$${entry}.
${MACHINE}; then \
echo
"===> $${entry}.${MACHINE}"; \
cd
${.CURDIR
}/$${entry}.
${MACHINE}; \
cd
${.CURDIR
}/$${entry}; \
${MAKE} ${.TARGET
:realinstall
=install}); \
@if
test -d
${.TARGET
}.
${MACHINE}; then \
cd
${.CURDIR
}/${.TARGET
}.
${MACHINE}; \
cd
${.CURDIR
}/${.TARGET
}; \
.if
!target
(beforeinstall
)
.if
!target
(afterinstall
)
afterinstall
: realinstall
realinstall
: beforeinstall _SUBDIRUSE