[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.115 and 1.121

version 1.115, 2000/05/09 00:17:10 version 1.121, 2000/10/07 17:18:17
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 36 
Line 39 
 #       more information on this.)  #       more information on this.)
 #   snapshot: a synonym for release.  #   snapshot: a synonym for release.
   
 SRCTOP=.  .include <bsd.own.mk>
 .include <bsd.crypto.mk>                # for configuration variables.  
   
 .if defined(CRYPTOPATH)  
 .sinclude "${CRYPTOPATH}/Makefile.frag"  
 .endif  
   
 MKOBJDIRS ?= no  MKOBJDIRS ?= no
 HAVE_EGCS!=     ${CXX} --version | egrep "^(2\.[89]|egcs)" ; echo  HAVE_EGCS!=     ${CXX} --version | egrep "^(2\.[89]|egcs)" ; echo
Line 57  _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 88  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 123  build: buildmsg beforeinstall
Line 129  build: buildmsg beforeinstall
         (cd ${.CURDIR}/share/mk && ${MAKE} install)          (cd ${.CURDIR}/share/mk && ${MAKE} install)
 .endif  .endif
 .if !defined(UPDATE) && !defined(NOCLEANDIR)  .if !defined(UPDATE) && !defined(NOCLEANDIR)
         ${MAKE} ${_M} cleandir          ${MAKE} ${_J} ${_M} cleandir
 .endif  .endif
 .if ${MKOBJDIRS} != "no"  .if ${MKOBJDIRS} != "no"
         ${MAKE} obj          ${MAKE} ${_M} obj
 .endif  .endif
 .if empty(HAVE_EGCS)  .if empty(HAVE_EGCS)
 .if defined(DESTDIR)  .if defined(DESTDIR)
Line 152  build: buildmsg beforeinstall
Line 158  build: buildmsg beforeinstall
         (cd ${.CURDIR}/gnu/lib && \          (cd ${.CURDIR}/gnu/lib && \
             ${MAKE} ${_M} ${_J} MKSHARE=no dependall && \              ${MAKE} ${_M} ${_J} MKSHARE=no dependall && \
             ${MAKE} ${_M} MKSHARE=no install)              ${MAKE} ${_M} MKSHARE=no install)
 .if target(cryptobuild)  
         ${MAKE} ${_M} ${_J} cryptobuild  
 .endif  
         ${MAKE} ${_M} ${_J} dependall && ${MAKE} ${_M} _BUILD= install          ${MAKE} ${_M} ${_J} dependall && ${MAKE} ${_M} _BUILD= install
 .if defined(DOMESTIC) && !defined(EXPORTABLE_SYSTEM)  .if defined(DOMESTIC) && !defined(EXPORTABLE_SYSTEM)
         (cd ${.CURDIR}/${DOMESTIC} && ${MAKE} ${_M} ${_J} _SLAVE_BUILD= build)          (cd ${.CURDIR}/${DOMESTIC} && ${MAKE} ${_M} ${_J} _SLAVE_BUILD= build)

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.121

CVSweb <webmaster@jp.NetBSD.org>