[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.230 and 1.239

version 1.230, 2004/02/06 23:12:56 version 1.239, 2005/04/17 15:18:34
Line 68 
Line 68 
 #   includes:        installs include files.  #   includes:        installs include files.
 #   do-tools-compat: builds the "libnbcompat" library; needed for some  #   do-tools-compat: builds the "libnbcompat" library; needed for some
 #                    random host tool programs in the source tree.  #                    random host tool programs in the source tree.
 #   do-gnu-lib-libgcc3: builds and installs prerequisites from gnu/lib/libgcc3  
 #   do-lib-csu:      builds and installs prerequisites from lib/csu.  #   do-lib-csu:      builds and installs prerequisites from lib/csu.
   #   do-gnu-lib-crtstuff3: builds and installs prerequisites from
   #                         gnu/lib/crtstuff3
   #   do-gnu-lib-libgcc3: builds and installs prerequisites from gnu/lib/libgcc3
 #   do-lib-libc:     builds and installs prerequisites from lib/libc.  #   do-lib-libc:     builds and installs prerequisites from lib/libc.
 #   do-lib-libdes:   builds and installs prerequisites from lib/libdes.  
 #   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 125  SUBDIR+= ${dir}
Line 126  SUBDIR+= ${dir}
 .if exists(regress)  .if exists(regress)
 regression-tests: .PHONY  regression-tests: .PHONY
         @echo Running regression tests...          @echo Running regression tests...
         @(cd ${.CURDIR}/regress && ${MAKE} regress)          ${MAKEDIRTARGET} regress regress
 .endif  .endif
   
 .if ${MKUNPRIVED} != "no"  .if ${MKUNPRIVED} != "no"
Line 134  NOPOSTINSTALL= # defined
Line 135  NOPOSTINSTALL= # defined
   
 afterinstall: .PHONY  afterinstall: .PHONY
 .if ${MKMAN} != "no"  .if ${MKMAN} != "no"
         (cd ${.CURDIR}/share/man && ${MAKE} makedb)          ${MAKEDIRTARGET} share/man makedb
 .endif  .endif
 .if (${MKUNPRIVED} != "no" && ${MKINFO} != "no")  .if (${MKUNPRIVED} != "no" && ${MKINFO} != "no")
         (cd ${.CURDIR}/gnu/usr.bin/texinfo/install-info && ${MAKE} infodir-meta)          ${MAKEDIRTARGET} gnu/usr.bin/texinfo/install-info infodir-meta
 .endif  .endif
 .if !defined(NOPOSTINSTALL)  .if !defined(NOPOSTINSTALL)
         (cd ${.CURDIR} && ${MAKE} postinstall-check)          ${MAKEDIRTARGET} . postinstall-check
 .endif  .endif
   
   _POSTINSTALL=   ${.CURDIR}/usr.sbin/postinstall/postinstall
   
 postinstall-check: .PHONY  postinstall-check: .PHONY
         @echo "   === Post installation checks ==="          @echo "   === Post installation checks ==="
         ${HOST_SH} ${.CURDIR}/etc/postinstall -s ${.CURDIR} -d ${DESTDIR}/ check          ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check
         @echo "   ================================"          @echo "   ================================"
   
 postinstall-fix: .NOTMAIN .PHONY  postinstall-fix: .NOTMAIN .PHONY
         @echo "   === Post installation fixes ==="          @echo "   === Post installation fixes ==="
         ${HOST_SH} ${.CURDIR}/etc/postinstall -s ${.CURDIR} -d ${DESTDIR}/ fix          ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix
         @echo "   ==============================="          @echo "   ==============================="
   
 postinstall-fix-obsolete: .NOTMAIN .PHONY  postinstall-fix-obsolete: .NOTMAIN .PHONY
         @echo "   === Removing obsolete files ==="          @echo "   === Removing obsolete files ==="
         ${HOST_SH} ${.CURDIR}/etc/postinstall -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete          ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete
         @echo "   ==============================="          @echo "   ==============================="
   
   
Line 185  BUILDTARGETS+= do-distrib-dirs
Line 188  BUILDTARGETS+= do-distrib-dirs
 BUILDTARGETS+=  includes  BUILDTARGETS+=  includes
 .endif  .endif
 BUILDTARGETS+=  do-tools-compat  BUILDTARGETS+=  do-tools-compat
   BUILDTARGETS+=  do-lib-csu
 .if ${MKGCC} != "no"  .if ${MKGCC} != "no"
 BUILDTARGETS+=  do-gnu-lib-libgcc${LIBGCC_EXT}  .if ${HAVE_GCC3} != "no"
   BUILDTARGETS+=  do-gnu-lib-crtstuff${LIBGCC_EXT}
 .endif  .endif
 BUILDTARGETS+=  do-lib-csu do-lib-libc  BUILDTARGETS+=  do-gnu-lib-libgcc${LIBGCC_EXT}
 .if ${MKCRYPTO} != "no"  
 BUILDTARGETS+=  do-lib-libdes  
 .endif  .endif
   BUILDTARGETS+=  do-lib-libc
 BUILDTARGETS+=  do-lib do-gnu-lib  BUILDTARGETS+=  do-lib do-gnu-lib
 BUILDTARGETS+=  do-ld.so  BUILDTARGETS+=  do-ld.so
 BUILDTARGETS+=  do-build  BUILDTARGETS+=  do-build
Line 220  build: .PHONY
Line 224  build: .PHONY
 .else  .else
         @echo "Build started at: ${START_TIME}"          @echo "Build started at: ${START_TIME}"
 .for tgt in ${BUILDTARGETS}  .for tgt in ${BUILDTARGETS}
         @(cd ${.CURDIR} && ${MAKE} ${tgt})          ${MAKEDIRTARGET} . ${tgt}
 .endfor  .endfor
         (cd ${.CURDIR}/etc && ${MAKE} install-etc-release)          ${MAKEDIRTARGET} etc install-etc-release
         @echo   "Build started at:  ${START_TIME}"          @echo   "Build started at:  ${START_TIME}"
         @printf "Build finished at: " && date          @printf "Build finished at: " && date
 .endif  .endif
Line 238  distribution buildworld: .PHONY
Line 242  distribution buildworld: .PHONY
         @echo "Won't make ${.TARGET} with DESTDIR=/"          @echo "Won't make ${.TARGET} with DESTDIR=/"
         @false          @false
 .endif  .endif
         (cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build)          ${MAKEDIRTARGET} . build NOPOSTINSTALL=1
         (cd ${.CURDIR}/etc && ${MAKE} INSTALL_DONE=1 distribution)          ${MAKEDIRTARGET} etc distribution INSTALL_DONE=1
 .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"  .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
         (cd ${.CURDIR} && ${MAKE} postinstall-fix-obsolete)          ${MAKEDIRTARGET} . postinstall-fix-obsolete
         (cd ${.CURDIR}/distrib/sets && ${MAKE} checkflist)          ${MAKEDIRTARGET} distrib/sets checkflist
 .endif  .endif
         @echo   "make ${.TARGET} started at:  ${START_TIME}"          @echo   "make ${.TARGET} started at:  ${START_TIME}"
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
Line 272  installworld: .PHONY
Line 276  installworld: .PHONY
         @false          @false
 .endif  .endif
 .endif  .endif
         (cd ${.CURDIR}/distrib/sets && \          ${MAKEDIRTARGET} distrib/sets installsets \
             ${MAKE} INSTALLDIR=${INSTALLWORLDDIR:U/} INSTALLSETS= installsets)              INSTALLDIR=${INSTALLWORLDDIR:U/} INSTALLSETS=
         (cd ${.CURDIR} && \          ${MAKEDIRTARGET} . postinstall-check DESTDIR=${INSTALLWORLDDIR}
             ${MAKE} DESTDIR=${INSTALLWORLDDIR} postinstall-check)  
         @echo   "make ${.TARGET} started at:  ${START_TIME}"          @echo   "make ${.TARGET} started at:  ${START_TIME}"
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
   
Line 285  installworld: .PHONY
Line 288  installworld: .PHONY
   
 .for tgt in sets sourcesets  .for tgt in sets sourcesets
 ${tgt}: .PHONY  ${tgt}: .PHONY
         (cd ${.CURDIR}/distrib/sets && ${MAKE} $@)          ${MAKEDIRTARGET} distrib/sets ${tgt}
 .endfor  .endfor
   
 #  #
Line 295  ${tgt}: .PHONY
Line 298  ${tgt}: .PHONY
 #  #
   
 release snapshot: .PHONY  release snapshot: .PHONY
         (cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build)          ${MAKEDIRTARGET} . build NOPOSTINSTALL=1
         (cd ${.CURDIR}/etc && ${MAKE} INSTALL_DONE=1 release)          ${MAKEDIRTARGET} etc release INSTALL_DONE=1
         @echo   "make ${.TARGET} started at:  ${START_TIME}"          @echo   "make ${.TARGET} started at:  ${START_TIME}"
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
   
Line 317  check-tools: .PHONY
Line 320  check-tools: .PHONY
   
 do-distrib-dirs: .PHONY  do-distrib-dirs: .PHONY
 .if !defined(DESTDIR) || ${DESTDIR} == ""  .if !defined(DESTDIR) || ${DESTDIR} == ""
         (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)          ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/
 .else  .else
         (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=${DESTDIR} distrib-dirs)          ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=${DESTDIR}
 .endif  .endif
   
 .for targ in cleandir obj includes  .for targ in cleandir obj includes
Line 327  do-${targ}: .PHONY ${targ}
Line 330  do-${targ}: .PHONY ${targ}
         @true          @true
 .endfor  .endfor
   
 .for dir in tools tools/compat lib/csu gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib  .for dir in tools tools/compat lib/csu gnu/lib/crtstuff${LIBGCC_EXT} gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib
 do-${dir:S/\//-/g}: .PHONY  do-${dir:S/\//-/g}: .PHONY
 .for targ in dependall install  .for targ in dependall install
         (cd ${.CURDIR}/${dir} && ${MAKE} ${targ})          ${MAKEDIRTARGET} ${dir} ${targ}
 .endfor  .endfor
 .endfor  .endfor
   
 do-ld.so: .PHONY  do-ld.so: .PHONY
 .for targ in dependall install  .for targ in dependall install
 .if (${OBJECT_FMT} == "a.out")  .if (${OBJECT_FMT} == "a.out")
         (cd ${.CURDIR}/libexec/ld.aout_so && ${MAKE} ${targ})          ${MAKEDIRTARGET} libexec/ld.aout_so ${targ}
 .endif  .endif
 .if (${OBJECT_FMT} == "ELF")  .if (${OBJECT_FMT} == "ELF")
         (cd ${.CURDIR}/libexec/ld.elf_so && ${MAKE} ${targ})          ${MAKEDIRTARGET} libexec/ld.elf_so ${targ}
 .endif  .endif
 .endfor  .endfor
   
 do-build: .PHONY  do-build: .PHONY
 .for targ in dependall install  .for targ in dependall install
         (cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no)          ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no
 .endfor  .endfor
   
 do-x11: .PHONY  do-x11: .PHONY
         (cd ${.CURDIR}/x11 && ${MAKE} build)          ${MAKEDIRTARGET} x11 build
   
 do-obsolete: .PHONY  do-obsolete: .PHONY
         (cd ${.CURDIR}/etc && ${MAKE} install-obsolete-lists)          ${MAKEDIRTARGET} etc 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.
Line 391  ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
Line 394  ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
 # Display current make(1) parameters  # Display current make(1) parameters
 #  #
 params: .PHONY  params: .PHONY
         (cd ${.CURDIR}/etc && ${MAKE} params)          ${MAKEDIRTARGET} etc params

Legend:
Removed from v.1.230  
changed lines
  Added in v.1.239

CVSweb <webmaster@jp.NetBSD.org>