[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.130 and 1.131

version 1.130, 2001/09/22 05:37:17 version 1.131, 2001/09/22 12:30:13
Line 43 
Line 43 
 #  #
 # Sub targets of `make build,' in order:  # Sub targets of `make build,' in order:
 #   buildstartmsg: displays the start time of the build.  #   buildstartmsg: displays the start time of the build.
 #   beforeinstall: creates the distribution directories.  #   do-make-tools: builds host toolchain.
   #   do-distrib-dirs: creates the distribution directories.
 #   do-force-domestic: check's that FORCE_DOMESTIC isn't set (deprecated.)  #   do-force-domestic: check's that FORCE_DOMESTIC isn't set (deprecated.)
 #   do-cleandir: cleans the tree.  #   do-cleandir: cleans the tree.
 #   do-make-obj: creates object directories if required.  #   do-make-obj: creates object directories if required.
 #   do-make-tools: builds host toolchain.  
 #   do-make-includes: install include files.  #   do-make-includes: install include files.
 #   do-lib-csu: build & install startup object files.  #   do-lib-csu: build & install startup object files.
 #   do-lib: build & install system libraries.  #   do-lib: build & install system libraries.
Line 103  buildendmsg:
Line 103  buildendmsg:
         @echo -n "Build finished at: "          @echo -n "Build finished at: "
         @date          @date
   
 beforeinstall:  
 .ifndef NODISTRIBDIRS  
 .ifndef DESTDIR  
         (cd ${.CURDIR}/etc && ${MAKE} ${_M} DESTDIR=/ distrib-dirs)  
 .else  
         (cd ${.CURDIR}/etc && ${MAKE} ${_M} DESTDIR=${DESTDIR} distrib-dirs)  
 .endif  
 .endif  
   
 afterinstall:  afterinstall:
 .if ${MKMAN} != "no" && !defined(_BUILD)  .if ${MKMAN} != "no" && !defined(_BUILD)
         ${MAKE} ${_M} whatis.db          ${MAKE} ${_M} whatis.db
Line 129  build:
Line 120  build:
 .else  .else
 build:  build:
         @${MAKE} ${_M} buildstartmsg          @${MAKE} ${_M} buildstartmsg
         @${MAKE} ${_M} beforeinstall          @${MAKE} ${_M} do-make-tools
           @${MAKE} ${_M} do-distrib-dirs
         @${MAKE} ${_M} do-force-domestic          @${MAKE} ${_M} do-force-domestic
         @${MAKE} ${_M} do-cleandir          @${MAKE} ${_M} do-cleandir
         @${MAKE} ${_M} do-make-obj          @${MAKE} ${_M} do-make-obj
         @${MAKE} ${_M} do-make-tools  
         @${MAKE} ${_M} do-make-includes          @${MAKE} ${_M} do-make-includes
         @${MAKE} ${_M} do-lib-csu          @${MAKE} ${_M} do-lib-csu
         @${MAKE} ${_M} do-lib          @${MAKE} ${_M} do-lib
Line 144  build:
Line 135  build:
         @${MAKE} ${_M} buildendmsg          @${MAKE} ${_M} buildendmsg
 .endif  .endif
   
   do-make-tools:
   .if ${MKOBJDIRS} != "no"
           cd ${.CURDIR}/tools && ${MAKE} ${_M} obj
   .endif
           cd ${.CURDIR}/tools && ${MAKE} ${_M} build
   
   do-distrib-dirs:
   .ifndef NODISTRIBDIRS
   .ifndef DESTDIR
           (cd ${.CURDIR}/etc && ${MAKE} ${_M} DESTDIR=/ distrib-dirs)
   .else
           (cd ${.CURDIR}/etc && ${MAKE} ${_M} DESTDIR=${DESTDIR} distrib-dirs)
   .endif
   .endif
   
 do-force-domestic:  do-force-domestic:
 .if defined(FORCE_DOMESTIC)  .if defined(FORCE_DOMESTIC)
         @echo '*** CAPUTE!'          @echo '*** CAPUTE!'
Line 160  do-cleandir:
Line 166  do-cleandir:
 do-make-obj:  do-make-obj:
 .if ${MKOBJDIRS} != "no"  .if ${MKOBJDIRS} != "no"
         ${MAKE} ${_J} ${_M} obj          ${MAKE} ${_J} ${_M} obj
         cd ${.CURDIR}/tools && ${MAKE} ${_M} obj  
 .endif  .endif
   
 do-make-tools:  
         cd ${.CURDIR}/tools && ${MAKE} ${_M} build  
   
 do-make-includes:  do-make-includes:
 .if !defined(NOINCLUDES)  .if !defined(NOINCLUDES)
         ${MAKE} ${_M} includes          ${MAKE} ${_M} includes

Legend:
Removed from v.1.130  
changed lines
  Added in v.1.131

CVSweb <webmaster@jp.NetBSD.org>