Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/Makefile,v rcsdiff: /ftp/cvs/cvsroot/src/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.244 retrieving revision 1.246.2.1.2.2 diff -u -p -r1.244 -r1.246.2.1.2.2 --- src/Makefile 2006/04/07 19:38:58 1.244 +++ src/Makefile 2008/01/06 05:00:06 1.246.2.1.2.2 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.244 2006/04/07 19:38:58 mrg Exp $ +# $NetBSD: Makefile,v 1.246.2.1.2.2 2008/01/06 05:00:06 wrstuden Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -62,9 +62,13 @@ # syspkgs: # Populate ${RELEASEDIR}/${MACHINE}/binary/syspkgs from ${DESTDIR} # iso-image: -# Create CD-ROM image in RELEASEDIR/MACHINE/installation. +# Create CD-ROM image in RELEASEDIR/iso. # RELEASEDIR must already have been populated by `make release' # or equivalent. +# iso-image-source: +# Create CD-ROM image with source in RELEASEDIR/iso. +# RELEASEDIR must already have been populated by +# `make release sourcesets' or equivalent. # # Targets invoked by `make build,' in order: # cleandir: cleans the tree. @@ -124,7 +128,7 @@ _SUBDIR+= usr.sbin share rescue sys etc # .for dir in ${_SUBDIR} -.if exists(${dir}/Makefile) && (${BUILD_${dir}:Uyes} != "no") +.if ("${dir}" == ".WAIT") || exists(${dir}/Makefile) && (${BUILD_${dir}:Uyes} != "no") SUBDIR+= ${dir} .endif .endfor @@ -154,7 +158,7 @@ _POSTINSTALL= ${.CURDIR}/usr.sbin/postin postinstall-check: .PHONY @echo " === Post installation checks ===" - ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check + ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi @echo " ================================" postinstall-fix: .NOTMAIN .PHONY @@ -171,14 +175,10 @@ postinstall-fix-obsolete: .NOTMAIN .PHON # # Targets (in order!) called by "make build". # -.if ${USE_TOOLS_TOOLCHAIN} == "no" -. if ${HAVE_GCC} == "3" +.if ${HAVE_GCC} == "3" LIBGCC_EXT=3 -. else -LIBGCC_EXT=4 -. endif .else -LIBGCC_EXT= +LIBGCC_EXT=4 .endif BUILDTARGETS+= check-tools @@ -318,6 +318,13 @@ release snapshot: .PHONY .MAKE # iso-image: .PHONY + ${MAKEDIRTARGET} distrib iso_image + ${MAKEDIRTARGET} etc iso-image + @echo "make ${.TARGET} started at: ${START_TIME}" + @printf "make ${.TARGET} finished at: " && date + +iso-image-source: .PHONY + ${MAKEDIRTARGET} distrib iso_image CDSOURCE=true ${MAKEDIRTARGET} etc iso-image @echo "make ${.TARGET} started at: ${START_TIME}" @printf "make ${.TARGET} finished at: " && date