[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.266 and 1.272

version 1.266, 2009/01/19 07:19:09 version 1.272, 2009/07/03 22:20:27
Line 96 
Line 96 
 #   do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib  #   do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib
 #   do-sys-modules:  builds and installs kernel modules (used by rump binaries)  #   do-sys-modules:  builds and installs kernel modules (used by rump binaries)
 #   do-ld.so:        builds and installs prerequisites from libexec/ld.*_so.  #   do-ld.so:        builds and installs prerequisites from libexec/ld.*_so.
 #   do-compat-external-lib: builds and installs prerequisites from  
 #                    compat/external/lib if ${MKCOMPAT} != "no".  
 #   do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu  #   do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu
 #                    if ${MKCOMPAT} != "no".  #                    if ${MKCOMPAT} != "no".
 #   do-compat-libgcc: builds and installs prerequisites from  #   do-compat-libgcc: builds and installs prerequisites from
Line 145  _SRC_TOP_OBJ_=
Line 143  _SRC_TOP_OBJ_=
 # _SUBDIR is used to set SUBDIR, after removing directories that have  # _SUBDIR is used to set SUBDIR, after removing directories that have
 # BUILD_${dir}=no, or that have no ${dir}/Makefile.  # BUILD_${dir}=no, or that have no ${dir}/Makefile.
 #  #
 _SUBDIR=        tools lib include gnu external bin games libexec sbin usr.bin  _SUBDIR=        tools lib include gnu external crypto/external bin games
   _SUBDIR+=       libexec sbin usr.bin
 _SUBDIR+=       usr.sbin share rescue sys etc tests compat .WAIT distrib regress  _SUBDIR+=       usr.sbin share rescue sys etc tests compat .WAIT distrib regress
   
 .for dir in ${_SUBDIR}  .for dir in ${_SUBDIR}
Line 180  _POSTINSTALL= ${.CURDIR}/usr.sbin/postin
Line 179  _POSTINSTALL= ${.CURDIR}/usr.sbin/postin
   
 postinstall-check: .PHONY  postinstall-check: .PHONY
         @echo "   === Post installation checks ==="          @echo "   === Post installation checks ==="
         MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi          AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi
         @echo "   ================================"          @echo "   ================================"
   
 postinstall-fix: .NOTMAIN .PHONY  postinstall-fix: .NOTMAIN .PHONY
         @echo "   === Post installation fixes ==="          @echo "   === Post installation fixes ==="
         MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix          AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${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 ==="
         MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete          AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete
         @echo "   ==============================="          @echo "   ==============================="
   
   
Line 221  BUILDTARGETS+= do-tools
Line 220  BUILDTARGETS+= do-tools
 .if ${MKOBJDIRS} != "no"  .if ${MKOBJDIRS} != "no"
 BUILDTARGETS+=  obj  BUILDTARGETS+=  obj
 .endif  .endif
   BUILDTARGETS+=  clean_METALOG
 .if !defined(NODISTRIBDIRS)  .if !defined(NODISTRIBDIRS)
 BUILDTARGETS+=  do-distrib-dirs  BUILDTARGETS+=  do-distrib-dirs
 .endif  .endif
Line 237  BUILDTARGET+= do-libpcc
Line 237  BUILDTARGET+= do-libpcc
 .endif  .endif
 BUILDTARGETS+=  do-lib-libc  BUILDTARGETS+=  do-lib-libc
 BUILDTARGETS+=  do-lib do-gnu-lib do-external-lib  BUILDTARGETS+=  do-lib do-gnu-lib do-external-lib
 BUILDTARGETS+=  do-sys-rump-fs-lib do-sys-rump-net-lib  
 .if (${MACHINE} != "evbppc")  .if (${MACHINE} != "evbppc")
 BUILDTARGETS+=  do-sys-modules  BUILDTARGETS+=  do-sys-modules
 .endif  .endif
   BUILDTARGETS+=  do-sys-rump-fs-lib do-sys-rump-net-lib
 .if ${MKCOMPAT} != "no"  .if ${MKCOMPAT} != "no"
 BUILDTARGETS+=  do-compat-lib-csu  BUILDTARGETS+=  do-compat-lib-csu
 BUILDTARGETS+=  do-compat-libgcc  BUILDTARGETS+=  do-compat-libgcc
 BUILDTARGETS+=  do-compat-lib-libc  BUILDTARGETS+=  do-compat-lib-libc
 BUILDTARGETS+=  do-compat-external-lib  
 .endif  .endif
 BUILDTARGETS+=  do-ld.so  BUILDTARGETS+=  do-ld.so
 BUILDTARGETS+=  do-build  BUILDTARGETS+=  do-build
Line 384  check-tools: .PHONY
Line 383  check-tools: .PHONY
         @echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'          @echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'
 .endif  .endif
   
   # Delete or sanitise a leftover METALOG from a previous build.
   clean_METALOG: .PHONY .MAKE
   .if ${MKUPDATE} != "no"
           ${MAKEDIRTARGET} distrib/sets clean_METALOG
   .endif
   
 do-distrib-dirs: .PHONY .MAKE  do-distrib-dirs: .PHONY .MAKE
 .if !defined(DESTDIR) || ${DESTDIR} == ""  .if !defined(DESTDIR) || ${DESTDIR} == ""
         ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/          ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/
Line 406  BUILD_CC_LIB+= external/bsd/pcc/libpcc
Line 411  BUILD_CC_LIB+= external/bsd/pcc/libpcc
   
 .if ${MKCOMPAT} != "no"  .if ${MKCOMPAT} != "no"
 BUILD_COMPAT_LIBS=      compat/lib/csu ${BUILD_CC_LIB:S/^/compat\//} compat/lib/libc  BUILD_COMPAT_LIBS=      compat/lib/csu ${BUILD_CC_LIB:S/^/compat\//} compat/lib/libc
 BUILD_COMPAT_LIBS+=     compat/external/lib  
 .else  .else
 BUILD_COMPAT_LIBS=  BUILD_COMPAT_LIBS=
 .endif  .endif
   
 .for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib sys/rump/net/lib sys/modules ${BUILD_COMPAT_LIBS}  .for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib crypto/external/lib sys/rump/fs/lib sys/rump/net/lib sys/modules ${BUILD_COMPAT_LIBS}
 do-${dir:S/\//-/g}: .PHONY .MAKE  do-${dir:S/\//-/g}: .PHONY .MAKE
 .for targ in dependall install  .for targ in dependall install
         ${MAKEDIRTARGET} ${dir} ${targ}          ${MAKEDIRTARGET} ${dir} ${targ}

Legend:
Removed from v.1.266  
changed lines
  Added in v.1.272

CVSweb <webmaster@jp.NetBSD.org>