1 # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
2 # $Id: bsd.port.subdir.mk,v 1.5 1994/09/16 14:30:22 jkh Exp $
6 .if !defined(DEBUG_FLAGS)
15 @for entry in ${SUBDIR}; do \
16 (if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
17 echo "===> ${DIRPRFX}$${entry}.${MACHINE}"; \
18 edir=$${entry}.${MACHINE}; \
19 cd ${.CURDIR}/$${edir}; \
21 echo "===> ${DIRPRFX}$$entry"; \
23 cd ${.CURDIR}/$${edir}; \
25 ${MAKE} ${.TARGET:realinstall=install} DIRPRFX=${DIRPRFX}$$edir/); \
29 @if test -d ${.TARGET}.${MACHINE}; then \
30 cd ${.CURDIR}/${.TARGET}.${MACHINE}; \
32 cd ${.CURDIR}/${.TARGET}; \
52 .if !target(configure)
68 .if !target(reinstall)
73 .if !target(beforeinstall)
76 .if !target(afterinstall)
80 afterinstall: realinstall
81 realinstall: beforeinstall _SUBDIRUSE