[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.194 and 1.206

version 1.194, 2002/12/26 12:01:48 version 1.206, 2003/05/10 07:12:37
Line 33 
Line 33 
 #  #
 # Targets:  # Targets:
 #   build:  #   build:
 #       Builds a full release of NetBSD in DESTDIR.  If BUILD_DONE is  #       Builds a full release of NetBSD in DESTDIR, except for the
 #       set, this is an empty target.  #       /etc configuration files.
   #       If BUILD_DONE is set, this is an empty target.
   #   distribution:
   #       Builds a full release of NetBSD in DESTDIR, including the /etc
   #       configuration files.
   #   buildworld:
   #       As per `make distribution', except that it ensures that DESTDIR
   #       is not the root directory.
   #   installworld:
   #       Install the distribution from DESTDIR to INSTALLWORLDDIR (which
   #       defaults to the root directory).  Ensures that INSTALLWORLDDIR
   #       is the not root directory if cross compiling.
 #   release:  #   release:
 #       Does a `make build,' and then tars up the DESTDIR files  #       Does a `make build', and then tars up the DESTDIR files
 #       into RELEASEDIR, in release(7) format. (See etc/Makefile for  #       into RELEASEDIR/${MACHINE}, in release(7) format.
 #       more information on this.)  #       (See etc/Makefile for more information on this.)
 #   regression-tests:  #   regression-tests:
 #       Runs the regression tests in "regress" on this host.  #       Runs the regression tests in "regress" on this host.
   #   sets:
   #       Populate ${RELEASEDIR}/${MACHINE}/binary/sets from ${DESTDIR}
   #   sourcesets:
   #       Populate ${RELEASEDIR}/source/sets from ${NETBSDSRCDIR}
 #  #
 # Targets invoked by `make build,' in order:  # Targets invoked by `make build,' in order:
 #   cleandir:        cleans the tree.  #   cleandir:        cleans the tree.
 #   obj:             creates object directories.  #   obj:             creates object directories.
 #   do-tools:        builds host toolchain.  #   do-tools:        builds host toolchain.
   #   do-tools-compat: builds the "libnbcompat" library; needed for some
   #                    random host tool programs in the source tree.
 #   do-distrib-dirs: creates the distribution directories.  #   do-distrib-dirs: creates the distribution directories.
 #   includes:        installs include files.  #   includes:        installs include files.
 #   do-lib-csu:      builds and installs prerequisites from lib/csu.  #   do-lib-csu:      builds and installs prerequisites from lib/csu.
Line 86  _SRC_TOP_OBJ_=
Line 103  _SRC_TOP_OBJ_=
 .endif  .endif
   
 _SUBDIR=        tools lib include gnu bin games libexec sbin usr.bin  _SUBDIR=        tools lib include gnu bin games libexec sbin usr.bin
 _SUBDIR+=       usr.sbin share rescue sys etc distrib regress  _SUBDIR+=       usr.sbin share rescue sys etc .WAIT distrib regress
   
 #  #
 # Weed out directories that don't exist.  # Weed out directories that don't exist.
Line 150  BUILDTARGETS+= do-distrib-dirs
Line 167  BUILDTARGETS+= do-distrib-dirs
 .if !defined(NOINCLUDES)  .if !defined(NOINCLUDES)
 BUILDTARGETS+=  includes  BUILDTARGETS+=  includes
 .endif  .endif
   BUILDTARGETS+=  do-tools-compat
 BUILDTARGETS+=  do-lib-csu do-lib-libc do-lib do-gnu-lib do-ld.so do-build  BUILDTARGETS+=  do-lib-csu do-lib-libc do-lib do-gnu-lib do-ld.so do-build
   BUILDTARGETS+=  do-obsolete
   
 #  #
 # Enforce proper ordering of some rules.  # Enforce proper ordering of some rules.
Line 230  installworld:
Line 249  installworld:
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
   
 #  #
   # Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR
   #
   
   .for tgt in sets sourcesets
   ${tgt}:
           (cd ${.CURDIR}/distrib/sets && ${MAKE} $@)
   .endfor
   
   #
 # Build a release or snapshot (implies "make build").  Note that  # Build a release or snapshot (implies "make build").  Note that
 # in this case, the set lists will be checked before the tar files  # in this case, the set lists will be checked before the tar files
 # are made.  # are made.
Line 268  do-${targ}: ${targ}
Line 296  do-${targ}: ${targ}
         @true          @true
 .endfor  .endfor
   
 .for dir in tools lib/csu lib/libc lib gnu/lib  .for dir in tools tools/compat lib/csu lib/libc lib gnu/lib
 do-${dir:S/\//-/}:  do-${dir:S/\//-/}:
 .for targ in dependall install  .for targ in dependall install
         (cd ${.CURDIR}/${dir} && ${MAKE} ${targ})          (cd ${.CURDIR}/${dir} && ${MAKE} ${targ})
Line 290  do-build:
Line 318  do-build:
         (cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no)          (cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no)
 .endfor  .endfor
   
   do-obsolete:
           (cd ${.CURDIR}/etc && ${MAKE} install-obsolete-lists)
   
 #  #
 # Speedup stubs for some subtrees that don't need to run these rules.  # Speedup stubs for some subtrees that don't need to run these rules.
 # (Tells <bsd.subdir.mk> not to recurse for them.)  # (Tells <bsd.subdir.mk> not to recurse for them.)

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.206

CVSweb <webmaster@jp.NetBSD.org>