[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.195 and 1.203

version 1.195, 2003/01/02 23:15:27 version 1.203, 2003/04/04 01:16:28
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.
 #  #
Line 46 
Line 57 
 #   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.
 #   do-lib-libc:     builds and installs prerequisites from lib/libc.  #   do-lib-libc:     builds and installs prerequisites from lib/libc.
   #   do-lib-libcrypt: builds and installs prerequisites from lib/libcrypt.
 #   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.
Line 150  BUILDTARGETS+= do-distrib-dirs
Line 164  BUILDTARGETS+= do-distrib-dirs
 .if !defined(NOINCLUDES)  .if !defined(NOINCLUDES)
 BUILDTARGETS+=  includes  BUILDTARGETS+=  includes
 .endif  .endif
 BUILDTARGETS+=  do-lib-csu do-lib-libc do-lib do-gnu-lib do-ld.so do-build  BUILDTARGETS+=  do-tools-compat
   BUILDTARGETS+=  do-lib-csu do-lib-libc do-lib-libcrypt 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 246  installworld:
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
   
 #  #
   # Create sets from $DESTDIR into $RELEASEDIR
   #
   
   sets:
           (cd ${.CURDIR}/distrib/sets && ${MAKE} maketars)
   
   #
 # 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 291  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/libcrypt 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 313  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.)
Line 311  install-${dir}:
Line 337  install-${dir}:
 dependall-distrib depend-distrib all-distrib:  dependall-distrib depend-distrib all-distrib:
         @true          @true
   
 #  
 # we don't want the obj target in etc invoked as part of the normal  
 # course of events because that makes it too early.  therefore, define  
 # a neutral version of the target that bsd.subdir.mk would create.  
 #  
 obj-etc:  
         @true  
   
 .include <bsd.obj.mk>  .include <bsd.obj.mk>
 .include <bsd.subdir.mk>  .include <bsd.subdir.mk>
   
 #  
 # now, make a "real" target that will recurse into etc to enact the  
 # obj target, and .USE it onto the end of the obj handling for the  
 # current directory.  note that this is only done if we already have  
 # commands for the obj target (we won't if we're not making objdirs),  
 # and only if etc is a target subdirectory.  
 #  
 .if commands(obj) && (${SUBDIR:Metc} == "etc")  
 real-obj-etc: .USE  
         @(echo "obj ===> etc"; \  
                 cd ${.CURDIR}/etc && ${MAKE} obj)  
 obj: real-obj-etc  
 .endif  
   
 build-docs: ${.CURDIR}/BUILDING  build-docs: ${.CURDIR}/BUILDING
 ${.CURDIR}/BUILDING: doc/BUILDING.mdoc  ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
         groff -mdoc -Tascii -P-b -P-u -P-o $> >$@          groff -mdoc -Tascii -P-b -P-u -P-o $> >$@

Legend:
Removed from v.1.195  
changed lines
  Added in v.1.203

CVSweb <webmaster@jp.NetBSD.org>