[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.216 and 1.225

version 1.216, 2003/07/20 13:08:43 version 1.225, 2004/01/04 13:30:09
Line 3 
Line 3 
 #  #
 # This is the top-level makefile for building NetBSD. For an outline of  # This is the top-level makefile for building NetBSD. For an outline of
 # how to build a snapshot or release, as well as other release engineering  # how to build a snapshot or release, as well as other release engineering
 # information, see http://www.netbsd.org/developers/releng/index.html  # information, see http://www.NetBSD.org/developers/releng/index.html
 #  #
 # Not everything you can set or do is documented in this makefile. In  # Not everything you can set or do is documented in this makefile. In
 # particular, you should review the files in /usr/share/mk (especially  # particular, you should review the files in /usr/share/mk (especially
Line 68 
Line 68 
 #   includes:        installs include files.  #   includes:        installs include files.
 #   do-tools-compat: builds the "libnbcompat" library; needed for some  #   do-tools-compat: builds the "libnbcompat" library; needed for some
 #                    random host tool programs in the source tree.  #                    random host tool programs in the source tree.
 #   do-gnu-lib-libgcc: builds and installs prerequisites from gnu/lib/libgcc  #   do-gnu-lib-libgcc3: builds and installs prerequisites from gnu/lib/libgcc3
 #   do-lib-csu:      builds and installs prerequisites from lib/csu.  #   do-lib-csu:      builds and installs prerequisites from lib/csu.
 #   do-lib-libc:     builds and installs prerequisites from lib/libc.  #   do-lib-libc:     builds and installs prerequisites from lib/libc.
   #   do-lib-libdes:   builds and installs prerequisites from lib/libdes.
 #   do-lib:          builds and installs prerequisites from lib.  #   do-lib:          builds and installs prerequisites from lib.
 #   do-gnu-lib:      builds and installs prerequisites from gnu/lib.  #   do-gnu-lib:      builds and installs prerequisites from gnu/lib.
 #   do-ld.so:        builds and installs prerequisites from libexec/ld.*_so.  #   do-ld.so:        builds and installs prerequisites from libexec/ld.*_so.
 #   do-build:        builds and installs the entire system.  #   do-build:        builds and installs the entire system.
 #   do-obsolete:     builds and installs the entire system.  #   do-obsolete:     installs the obsolete sets (for the postinstall-* targets).
 #  #
   
 .if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == ""  .if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == ""
Line 160  postinstall-fix-obsolete: .NOTMAIN
Line 161  postinstall-fix-obsolete: .NOTMAIN
 #  #
 # Targets (in order!) called by "make build".  # Targets (in order!) called by "make build".
 #  #
   .if ${USE_TOOLS_TOOLCHAIN} == "no"
   LIBGCC_EXT=3
   .else
   LIBGCC_EXT=
   .endif
   
 BUILDTARGETS+=  check-tools  BUILDTARGETS+=  check-tools
 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)  .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
Line 179  BUILDTARGETS+= includes
Line 185  BUILDTARGETS+= includes
 .endif  .endif
 BUILDTARGETS+=  do-tools-compat  BUILDTARGETS+=  do-tools-compat
 .if ${MKGCC} != "no"  .if ${MKGCC} != "no"
 BUILDTARGETS+=  do-gnu-lib-libgcc  BUILDTARGETS+=  do-gnu-lib-libgcc${LIBGCC_EXT}
 .endif  .endif
 BUILDTARGETS+=  do-lib-csu do-lib-libc do-lib do-gnu-lib do-ld.so do-build  BUILDTARGETS+=  do-lib-csu do-lib-libc
   .if ${MKCRYPTO} != "no"
   BUILDTARGETS+=  do-lib-libdes
   .endif
   BUILDTARGETS+=  do-lib do-gnu-lib
   BUILDTARGETS+=  do-ld.so
   BUILDTARGETS+=  do-build
 BUILDTARGETS+=  do-obsolete  BUILDTARGETS+=  do-obsolete
   
 #  #
Line 206  build:
Line 218  build:
 .for tgt in ${BUILDTARGETS}  .for tgt in ${BUILDTARGETS}
         @(cd ${.CURDIR} && ${MAKE} ${tgt})          @(cd ${.CURDIR} && ${MAKE} ${tgt})
 .endfor  .endfor
           (cd ${.CURDIR}/etc && ${MAKE} install-release-info)
         @echo   "Build started at:  ${START_TIME}"          @echo   "Build started at:  ${START_TIME}"
         @printf "Build finished at: " && date          @printf "Build finished at: " && date
 .endif  .endif
Line 224  distribution buildworld:
Line 237  distribution buildworld:
         (cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build)          (cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build)
         (cd ${.CURDIR}/etc && ${MAKE} INSTALL_DONE=1 distribution)          (cd ${.CURDIR}/etc && ${MAKE} INSTALL_DONE=1 distribution)
 .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"  .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
         ${MAKE} postinstall-fix-obsolete          (cd ${.CURDIR} && ${MAKE} postinstall-fix-obsolete)
         (cd ${.CURDIR}/distrib/sets && ${MAKE} checkflist)          (cd ${.CURDIR}/distrib/sets && ${MAKE} checkflist)
 .endif  .endif
         @echo   "make ${.TARGET} started at:  ${START_TIME}"          @echo   "make ${.TARGET} started at:  ${START_TIME}"
Line 288  release snapshot:
Line 301  release snapshot:
 #  #
   
 check-tools:  check-tools:
 .if ${TOOLCHAIN_MISSING} == "yes" && !defined(EXTERNAL_TOOLCHAIN)  .if ${TOOLCHAIN_MISSING} != "no" && !defined(EXTERNAL_TOOLCHAIN)
         @echo '*** WARNING:  Building on MACHINE=${MACHINE} with missing toolchain.'          @echo '*** WARNING:  Building on MACHINE=${MACHINE} with missing toolchain.'
         @echo '*** May result in a failed build or corrupt binaries!'          @echo '*** May result in a failed build or corrupt binaries!'
 .elif defined(EXTERNAL_TOOLCHAIN)  .elif defined(EXTERNAL_TOOLCHAIN)
Line 310  do-${targ}: ${targ}
Line 323  do-${targ}: ${targ}
         @true          @true
 .endfor  .endfor
   
 .for dir in tools tools/compat lib/csu gnu/lib/libgcc lib/libc lib gnu/lib  .for dir in tools tools/compat lib/csu gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib
 do-${dir:S/\//-/g}:  do-${dir:S/\//-/g}:
 .for targ in dependall install  .for targ in dependall install
         (cd ${.CURDIR}/${dir} && ${MAKE} ${targ})          (cd ${.CURDIR}/${dir} && ${MAKE} ${targ})

Legend:
Removed from v.1.216  
changed lines
  Added in v.1.225

CVSweb <webmaster@jp.NetBSD.org>