_SUBDIRUSE: .USE @# echo Starting directories that use BSD ${MAKE} @for entry in ${SUBDIR} ; do \ ( \ if test ${DIR_EXIST} ${.CURDIR}/$${entry}.${MACHINE} ; then \ echo "Starting machine specific" > /dev/null ; \ edir=$${entry}.${MACHINE} ; \ else \ echo "Starting generic" > /dev/null ; \ edir=$${entry} ; \ fi ;\ echo -n "==={> $${edir}: " ;\ if test ${FILE_EXIST} ${.CURDIR}/$${edir}/Makefile ; then \ cmd="${MAKE_CMD} \ ${.TARGET:realinstall=install} \ DIRPRFX=${DIRPRFX}$${edir}/"; \ echo " Starting $$cmd"; \ cd ${.CURDIR}/$${edir} ; \ $$cmd ; \ else \ echo "Warning missing directory or Makefile." ;\ fi ;\ echo "<}=== $${edir}" ;\ ) \ done @# echo Finished BSD ${MAKE} directories, Starting ${GMAKE} directories. @for entry in ${G_SUBDIR}; do \ ( \ if test ${DIR_EXIST} ${.CURDIR}/$${entry}.${MACHINE} ; then \ echo "Starting machine specific" > /dev/null ; \ edir=$${entry}.${MACHINE} ; \ else \ echo "Starting generic" > /dev/null ; \ edir=$${entry} ; \ fi ;\ echo -n "---{> $${edir}: " ;\ if test ${FILE_EXIST} ${.CURDIR}/$${edir}/Makefile ; then \ cmd="${GMAKE_CMD} MAKE=${GMAKE} \ ${.TARGET:realinstall=install} \ DIRPRFX=${DIRPRFX}$${edir}/"; \ echo " Starting $$cmd"; \ cd ${.CURDIR}/$${edir} ; \ $$cmd ; \ else \ echo "Warning missing directory or Makefile." ;\ fi ;\ echo "<}=== $${edir}" ;\ ) \ done @# echo Finished ${GMAKE} directories. ${SUBDIR}:: @# echo Starting directories that use BSD ${MAKE} if test ${DIR_EXIST} ${.CURDIR}/${.TARGET}.${MACHINE} ; then \ echo "Starting machine specific" > /dev/null ; \ edir=${.CURDIR}/${.TARGET}.${MACHINE};\ else \ edir=${.CURDIR}/${.TARGET};\ echo "Starting generic" > /dev/null ; \ fi ;\ echo -n "---{> $${edir}: " ;\ if test ${FILE_EXIST} ${.CURDIR}/$${edir}/Makefile ; then \ cmd="${MAKE_CMD} -f $${edir}/Makefile all";\ echo " Starting $$cmd"; \ cd ${.CURDIR}/$${edir} ; \ $$cmd ; \ else \ echo " Warning missing directory or Makefile." ;\ fi ;\ echo "<}--- $${edir}" ;\