[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.95.2.1 and 1.96

version 1.95.2.1, 2000/08/26 19:00:36 version 1.96, 1999/04/25 19:13:05
Line 2 
Line 2 
   
 # 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
 .PHONY: release  
   
 TARGETS+=      release  
   
 # 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
Line 29  TARGETS+=      release
Line 25  TARGETS+=      release
 #   DESTDIR is the target directory for installation of the compiled  #   DESTDIR is the target directory for installation of the compiled
 #       software. It defaults to /. Note that programs are built against  #       software. It defaults to /. Note that programs are built against
 #       libraries installed in DESTDIR.  #       libraries installed in DESTDIR.
   #   EXPORTABLE_SYSTEM, when set, ensures that non-exportable crypto code
   #       is not compiled or installed. EXPORTABLE_SYSTEM is ignored if
   #       the `domestic' subtree does not exist.
   #   FORCE_DOMESTIC, when set, forces a descent into the domestic tree
   #       when handling the `all', `includes', and `install' targets. This
   #       flag is incompatible with the `build' target. It's generally a
   #       bad idea to use FORCE_DOMESTIC unless the ramifications are well
   #       understood, and should never be enabled by default. FORCE_DOMESTIC
   #       is ignored if the `domestic' subtree does not exist.
 #  #
 # Targets:  # Targets:
 #   build: builds a full release of netbsd in DESTDIR.  #   build: builds a full release of netbsd in DESTDIR.
Line 50  _J= -j${NBUILDJOBS}
Line 55  _J= -j${NBUILDJOBS}
   
 SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys  SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys
   
 .if make(cleandir) || make(obj)  
 SUBDIR+= distrib  
 .endif  
   
 .if exists(games)  .if exists(games)
 SUBDIR+= games  SUBDIR+= games
 .endif  .endif
Line 65  includes-gnu: includes-include includes-
Line 66  includes-gnu: includes-include includes-
 # Descend into the domestic tree if it exists AND  # Descend into the domestic tree if it exists AND
 #  1) the target is clean, cleandir, or obj, OR  #  1) the target is clean, cleandir, or obj, OR
 #  2) the the target is install or includes AND  #  2) the the target is install or includes AND
 #    NOT compiling only "exportable" code AND  #     NOT compiling only "exportable" code AND
 #    doing it as part of installing a distribution.  #     doing it as part of installing a distribution, OR
   #  3) we Really Know what we're doing.  (Really!)
 #  #
 # NOTE:  due to the use of the make(foo) construct here, using the  # NOTE:  due to the use of the make(foo) construct here, using the
 # clean, cleandir, and obj targets on the command line in conjunction  # clean, cleandir, and obj targets on the command line in conjunction
Line 75  includes-gnu: includes-include includes-
Line 77  includes-gnu: includes-include includes-
 .if exists(domestic) && \  .if exists(domestic) && \
     (make(clean) || make(cleandir) || make(obj) || \      (make(clean) || make(cleandir) || make(obj) || \
     ((make(includes) || make(install)) && \      ((make(includes) || make(install)) && \
     !defined(EXPORTABLE_SYSTEM) && defined(_DISTRIB)))          !defined(EXPORTABLE_SYSTEM) && defined(_DISTRIB)) || \
       defined(FORCE_DOMESTIC))
 SUBDIR+= domestic  SUBDIR+= domestic
 .endif  .endif
   
Line 112  whatis.db:
Line 115  whatis.db:
 # as the build will automatically remove/replace the non-pkg entries there.  # as the build will automatically remove/replace the non-pkg entries there.
   
 build: beforeinstall  build: beforeinstall
   .if defined(FORCE_DOMESTIC)
           @echo '*** CAPUTE!'
           @echo '    The FORCE_DOMESTIC flag is not compatible with "make build".'
           @echo '    Please correct the problem and try again.'
           @false
   .endif
 .if ${MKSHARE} != "no"  .if ${MKSHARE} != "no"
         (cd ${.CURDIR}/share/mk && ${MAKE} install)          (cd ${.CURDIR}/share/mk && ${MAKE} install)
         (cd ${.CURDIR}/share/tmac && ${MAKE} && ${MAKE} install)          (cd ${.CURDIR}/share/tmac && ${MAKE} && ${MAKE} install)

Legend:
Removed from v.1.95.2.1  
changed lines
  Added in v.1.96

CVSweb <webmaster@jp.NetBSD.org>