[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/Makefile between version 1.260 and 1.261

version 1.260, 2008/10/22 17:37:16 version 1.261, 2008/10/25 15:03:44
Line 74 
Line 74 
 #  #
 # Targets invoked by `make build,' in order:  # Targets invoked by `make build,' in order:
 #   cleandir:        cleans the tree.  #   cleandir:        cleans the tree.
   #   do-top-obj:      creates the top level object directory.
 #   do-tools-obj:    creates object directories for the host toolchain.  #   do-tools-obj:    creates object directories for the host toolchain.
 #   do-tools:        builds host toolchain.  #   do-tools:        builds host toolchain.
 #   obj:             creates object directories.  #   obj:             creates object directories.
Line 130  _SRC_TOP_OBJ_=
Line 131  _SRC_TOP_OBJ_=
 .endfor  .endfor
 .endif  .endif
   
 _SUBDIR=        tools lib include gnu external bin games libexec sbin usr.bin  
 _SUBDIR+=       usr.sbin share rescue sys etc tests .WAIT distrib regress  
   
 #  #
 # Weed out directories that don't exist.  # _SUBDIR is used to set SUBDIR, after removing directories that have
   # BUILD_${dir}=no, or that have no ${dir}/Makefile.
 #  #
   _SUBDIR=        tools lib include gnu external bin games libexec sbin usr.bin
   _SUBDIR+=       usr.sbin share rescue sys etc tests .WAIT distrib regress
   
 .for dir in ${_SUBDIR}  .for dir in ${_SUBDIR}
 .if ("${dir}" == ".WAIT") || exists(${dir}/Makefile) && (${BUILD_${dir}:Uyes} != "no")  .if "${dir}" == ".WAIT" \
           || (${BUILD_${dir}:Uyes} != "no" && exists(${dir}/Makefile))
 SUBDIR+=        ${dir}  SUBDIR+=        ${dir}
 .endif  .endif
 .endfor  .endfor
Line 197  BUILDTARGETS+= check-tools
Line 199  BUILDTARGETS+= check-tools
 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)  .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
 BUILDTARGETS+=  cleandir  BUILDTARGETS+=  cleandir
 .endif  .endif
 .if ${USETOOLS} == "yes"  .if ${MKOBJDIRS} != "no"
   BUILDTARGETS+=  do-top-obj
   .endif
   .if ${USETOOLS} == "yes"        # {
 .if ${MKOBJDIRS} != "no"  .if ${MKOBJDIRS} != "no"
 BUILDTARGETS+=  do-tools-obj  BUILDTARGETS+=  do-tools-obj
 .endif  .endif
 BUILDTARGETS+=  do-tools  BUILDTARGETS+=  do-tools
 .endif  .endif # USETOOLS               # }
 .if ${MKOBJDIRS} != "no"  .if ${MKOBJDIRS} != "no"
 BUILDTARGETS+=  obj  BUILDTARGETS+=  obj
 .endif  .endif
Line 387  do-${dir:S/\//-/g}: .PHONY .MAKE
Line 392  do-${dir:S/\//-/g}: .PHONY .MAKE
 .endfor  .endfor
 .endfor  .endfor
   
   do-top-obj: .PHONY .MAKE
           ${MAKEDIRTARGET} . obj NOSUBDIR=
   
 do-tools-obj: .PHONY .MAKE  do-tools-obj: .PHONY .MAKE
         ${MAKEDIRTARGET} tools obj          ${MAKEDIRTARGET} tools obj
   

Legend:
Removed from v.1.260  
changed lines
  Added in v.1.261

CVSweb <webmaster@jp.NetBSD.org>