[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.238.2.2 and 1.243

version 1.238.2.2, 2005/08/28 10:17:52 version 1.243, 2006/01/28 21:34:08
Line 59 
Line 59 
 #       Populate ${RELEASEDIR}/${MACHINE}/binary/sets from ${DESTDIR}  #       Populate ${RELEASEDIR}/${MACHINE}/binary/sets from ${DESTDIR}
 #   sourcesets:  #   sourcesets:
 #       Populate ${RELEASEDIR}/source/sets from ${NETBSDSRCDIR}  #       Populate ${RELEASEDIR}/source/sets from ${NETBSDSRCDIR}
   #   syspkgs:
   #       Populate ${RELEASEDIR}/${MACHINE}/binary/syspkgs from ${DESTDIR}
   #   iso-image:
   #       Create CD-ROM image in RELEASEDIR/MACHINE/installation.
   #       RELEASEDIR must already have been populated by `make release'
   #       or equivalent.
 #  #
 # Targets invoked by `make build,' in order:  # Targets invoked by `make build,' in order:
 #   cleandir:        cleans the tree.  #   cleandir:        cleans the tree.
Line 124  SUBDIR+= ${dir}
Line 130  SUBDIR+= ${dir}
 .endfor  .endfor
   
 .if exists(regress)  .if exists(regress)
 regression-tests: .PHONY  regression-tests: .PHONY .MAKE
         @echo Running regression tests...          @echo Running regression tests...
         ${MAKEDIRTARGET} regress regress          ${MAKEDIRTARGET} regress regress
 .endif  .endif
Line 133  regression-tests: .PHONY
Line 139  regression-tests: .PHONY
 NOPOSTINSTALL=  # defined  NOPOSTINSTALL=  # defined
 .endif  .endif
   
 afterinstall: .PHONY  afterinstall: .PHONY .MAKE
 .if ${MKMAN} != "no"  .if ${MKMAN} != "no"
         ${MAKEDIRTARGET} share/man makedb          ${MAKEDIRTARGET} share/man makedb
 .endif  .endif
Line 218  includes-gnu: .PHONY includes-lib
Line 224  includes-gnu: .PHONY includes-lib
   
 START_TIME!=    date  START_TIME!=    date
   
 build: .PHONY  build: .PHONY .MAKE
 .if defined(BUILD_DONE)  .if defined(BUILD_DONE)
         @echo "Build already installed into ${DESTDIR}"          @echo "Build already installed into ${DESTDIR}"
 .else  .else
Line 236  build: .PHONY
Line 242  build: .PHONY
 # ${RELEASEDIR}).  "buildworld" enforces a build to ${DESTDIR} != /  # ${RELEASEDIR}).  "buildworld" enforces a build to ${DESTDIR} != /
 #  #
   
 distribution buildworld: .PHONY  distribution buildworld: .PHONY .MAKE
 .if make(buildworld) && \  .if make(buildworld) && \
     (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")      (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
         @echo "Won't make ${.TARGET} with DESTDIR=/"          @echo "Won't make ${.TARGET} with DESTDIR=/"
Line 260  distribution buildworld: .PHONY
Line 266  distribution buildworld: .PHONY
 HOST_UNAME_S!=  uname -s  HOST_UNAME_S!=  uname -s
 HOST_UNAME_M!=  uname -m  HOST_UNAME_M!=  uname -m
   
 installworld: .PHONY  installworld: .PHONY .MAKE
 .if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")  .if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
         @echo "Can't make ${.TARGET} to DESTDIR=/"          @echo "Can't make ${.TARGET} to DESTDIR=/"
         @false          @false
Line 286  installworld: .PHONY
Line 292  installworld: .PHONY
 # Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR  # Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR
 #  #
   
 .for tgt in sets sourcesets  .for tgt in sets sourcesets syspkgs
 ${tgt}: .PHONY  ${tgt}: .PHONY .MAKE
         ${MAKEDIRTARGET} distrib/sets ${tgt}          ${MAKEDIRTARGET} distrib/sets ${tgt}
 .endfor  .endfor
   
Line 297  ${tgt}: .PHONY
Line 303  ${tgt}: .PHONY
 # are made.  # are made.
 #  #
   
 release snapshot: .PHONY  release snapshot: .PHONY .MAKE
         ${MAKEDIRTARGET} . distribution          ${MAKEDIRTARGET} . distribution
         ${MAKEDIRTARGET} etc release DISTRIBUTION_DONE=1          ${MAKEDIRTARGET} etc release DISTRIBUTION_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
   
 #  #
   # Create a CD-ROM image.
   #
   
   iso-image: .PHONY
           ${MAKEDIRTARGET} etc iso-image
           @echo   "make ${.TARGET} started at:  ${START_TIME}"
           @printf "make ${.TARGET} finished at: " && date
   
   #
 # Special components of the "make build" process.  # Special components of the "make build" process.
 #  #
   
Line 318  check-tools: .PHONY
Line 333  check-tools: .PHONY
         @echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'          @echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'
 .endif  .endif
   
 do-distrib-dirs: .PHONY  do-distrib-dirs: .PHONY .MAKE
 .if !defined(DESTDIR) || ${DESTDIR} == ""  .if !defined(DESTDIR) || ${DESTDIR} == ""
         ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/          ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/
 .else  .else
Line 331  do-${targ}: .PHONY ${targ}
Line 346  do-${targ}: .PHONY ${targ}
 .endfor  .endfor
   
 .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  .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 .MAKE
 .for targ in dependall install  .for targ in dependall install
         ${MAKEDIRTARGET} ${dir} ${targ}          ${MAKEDIRTARGET} ${dir} ${targ}
 .endfor  .endfor
 .endfor  .endfor
   
 do-ld.so: .PHONY  do-ld.so: .PHONY .MAKE
 .for targ in dependall install  .for targ in dependall install
 .if (${OBJECT_FMT} == "a.out")  .if (${OBJECT_FMT} == "a.out")
         ${MAKEDIRTARGET} libexec/ld.aout_so ${targ}          ${MAKEDIRTARGET} libexec/ld.aout_so ${targ}
Line 347  do-ld.so: .PHONY
Line 362  do-ld.so: .PHONY
 .endif  .endif
 .endfor  .endfor
   
 do-build: .PHONY  do-build: .PHONY .MAKE
 .for targ in dependall install  .for targ in dependall install
         ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no          ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no
 .endfor  .endfor
   
 do-x11: .PHONY  do-x11: .PHONY .MAKE
         ${MAKEDIRTARGET} x11 build          ${MAKEDIRTARGET} x11 build
   
 do-obsolete: .PHONY  do-obsolete: .PHONY .MAKE
         ${MAKEDIRTARGET} etc install-obsolete-lists          ${MAKEDIRTARGET} etc install-obsolete-lists
   
 #  #
Line 393  ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
Line 408  ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
 #  #
 # Display current make(1) parameters  # Display current make(1) parameters
 #  #
 params: .PHONY  params: .PHONY .MAKE
         ${MAKEDIRTARGET} etc params          ${MAKEDIRTARGET} etc params

Legend:
Removed from v.1.238.2.2  
changed lines
  Added in v.1.243

CVSweb <webmaster@jp.NetBSD.org>