[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.117.2.1 and 1.122

version 1.117.2.1, 2000/06/22 14:57:40 version 1.122, 2001/05/08 02:04:08
Line 27 
Line 27 
 #       'make build'. It defaults to 1.  #       'make build'. It defaults to 1.
 #   UPDATE will avoid a `make cleandir' at the start of `make build',  #   UPDATE will avoid a `make cleandir' at the start of `make build',
 #       as well as having the effects listed in /usr/share/mk/bsd.README.  #       as well as having the effects listed in /usr/share/mk/bsd.README.
   #   NOCLEANDIR will avoid a `make cleandir' at the start of `make build',
   #       but without having the effects listed in /usr/share/mk/bsd.README.
   #   NOINCLUDES will avoid the `make includes' usually done by `make build'.
 #  #
 # Targets:  # Targets:
 #   build: builds a full release of netbsd in DESTDIR. If BUILD_DONE is  #   build: builds a full release of netbsd in DESTDIR. If BUILD_DONE is
Line 52  _M=-m ${DESTDIR}/usr/share/mk
Line 55  _M=-m ${DESTDIR}/usr/share/mk
 # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW  # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
   
 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(obj)  .if make(cleandir) || make(obj)
 SUBDIR+= distrib  SUBDIR+= distrib
 .ifdef MAKEOBJDIRPREFIX  .ifdef MAKEOBJDIRPREFIX
 SUBDIR+= etc  SUBDIR+= etc
Line 83  buildmsg:
Line 86  buildmsg:
         @echo -n "Build started at: "          @echo -n "Build started at: "
         @date          @date
   
   # If sharesrc is around, use its share/mk files to bootstrap until the
   # mk files are installed (first step of make build).  If installing to
   # DESTDIR, don't bother, since the build will fail later on anyway.
   
 beforeinstall:  beforeinstall:
 .ifndef NODISTRIBDIRS  .ifndef NODISTRIBDIRS
 .ifndef DESTDIR  .ifndef DESTDIR
   .if exists(share/mk)
           (cd ${.CURDIR}/etc && ${MAKE} -m ${.CURDIR}/share/mk DESTDIR=/ distrib-dirs)
   .else
         (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)          (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
   .endif
 .else  .else
         (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)          (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
 .endif  .endif
Line 121  build: buildmsg beforeinstall
Line 132  build: buildmsg beforeinstall
         ${MAKE} ${_J} ${_M} cleandir          ${MAKE} ${_J} ${_M} cleandir
 .endif  .endif
 .if ${MKOBJDIRS} != "no"  .if ${MKOBJDIRS} != "no"
         ${MAKE} ${_M} obj          ${MAKE} ${_J} ${_M} obj
 .endif  .endif
 .if empty(HAVE_EGCS)  .if empty(HAVE_EGCS)
 .if defined(DESTDIR)  .if defined(DESTDIR)

Legend:
Removed from v.1.117.2.1  
changed lines
  Added in v.1.122

CVSweb <webmaster@jp.NetBSD.org>