[BACK]Return to bsd.subdir.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.subdir.mk between version 1.20 and 1.21

version 1.20, 2015/01/16 01:58:17 version 1.21, 2015/03/08 21:59:48
Line 12 
Line 12 
 _SUBDIRUSE: .USE  _SUBDIRUSE: .USE
 .if defined(SUBDIR)  .if defined(SUBDIR)
         @for entry in ${SUBDIR}; do \          @for entry in ${SUBDIR}; do \
                 (set -e; if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \                  set -e; if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
                         _newdir_="$${entry}.${MACHINE}"; \                          _newdir_="$${entry}.${MACHINE}"; \
                 else \                  else \
                         _newdir_="$${entry}"; \                          _newdir_="$${entry}"; \
Line 39 
Line 39 
                 done; \                  done; \
                 if [ X$${skipdir} = X -o X$${subentry} != X ]; then \                  if [ X$${skipdir} = X -o X$${subentry} != X ]; then \
                         echo "===> $${_nextdir_}"; \                          echo "===> $${_nextdir_}"; \
                         cd ${.CURDIR}/$${_newdir_}; \                          ${MAKE} -C ${.CURDIR}/$${_newdir_} \
                         exec ${MAKE} SKIPDIR="$${subskipdir}" \                              SKIPDIR="$${subskipdir}" \
                             $${_makefile_spec_} _THISDIR_="$${_nextdir_}" \                              $${_makefile_spec_} _THISDIR_="$${_nextdir_}" \
                             ${MAKE_FLAGS} \                              ${MAKE_FLAGS} \
                             ${.TARGET:S/^real//}; \                              ${.TARGET:S/^real//}; \
                 fi); \                  fi; \
         done          done
   
 ${SUBDIR}::  ${SUBDIR}::
Line 58 
Line 58 
                 _makefile_spec_="-f Makefile.bsd-wrapper"; \                  _makefile_spec_="-f Makefile.bsd-wrapper"; \
         fi; \          fi; \
         echo "===> $${_newdir_}"; \          echo "===> $${_newdir_}"; \
         cd ${.CURDIR}/$${_newdir_}; \          exec ${MAKE} -C ${.CURDIR}/$${_newdir_} ${MAKE_FLAGS} \
         exec ${MAKE} ${MAKE_FLAGS} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all              $${_makefile_spec_} _THISDIR_="$${_newdir_}" all
 .endif  .endif
   
 .if !target(install)  .if !target(install)

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21