[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.284 and 1.289

version 1.284, 2011/06/20 06:52:36 version 1.289, 2011/09/09 14:23:37
Line 201  postinstall-fix-obsolete: .NOTMAIN .PHON
Line 201  postinstall-fix-obsolete: .NOTMAIN .PHON
 .if defined(HAVE_GCC)  .if defined(HAVE_GCC)
 .if ${HAVE_GCC} == "4"  .if ${HAVE_GCC} == "4"
 LIBGCC_EXT=4  LIBGCC_EXT=4
   BUILD_CC_LIB_BASEDIR= gnu/lib
   BUILD_CC_LIB_BASETARGET= gnu-lib
 .else  .else
 LIBGCC_EXT=45  LIBGCC_EXT=
   BUILD_CC_LIB_BASEDIR= external/gpl3/gcc/lib
   BUILD_CC_LIB_BASETARGET= external-gpl3-gcc-lib
 .endif  .endif
 .endif  .endif
   
Line 338  installworld: .PHONY .MAKE
Line 342  installworld: .PHONY .MAKE
         @printf "make ${.TARGET} finished at: " && date          @printf "make ${.TARGET} finished at: " && date
   
 #  #
   # Install modules from $DESTDIR to $INSTALLMODULESDIR
   #
   installmodules: .PHONY .MAKE
   .if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
           @echo "Can't make ${.TARGET} to DESTDIR=/"
           @false
   .endif
   .if !defined(INSTALLMODULESDIR) || \
       ${INSTALLMODULESDIR} == "" || ${INSTALLMODULESDIR} == "/"
   .if (${HOST_UNAME_S} != "NetBSD")
           @echo "Won't cross-make ${.TARGET} from ${HOST_UNAME_S} to NetBSD with INSTALLMODULESDIR=/"
           @false
   .endif
   .if (${HOST_UNAME_M} != ${MACHINE})
           @echo "Won't cross-make ${.TARGET} from ${HOST_UNAME_M} to ${MACHINE} with INSTALLMODULESDIR=/"
           @false
   .endif
   .endif
           ${MAKEDIRTARGET} sys/modules install DESTDIR=${INSTALLMODULESDIR:U/}
           @echo   "make ${.TARGET} started at:  ${START_TIME}"
           @printf "make ${.TARGET} finished at: " && date
   
   #
 # Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR  # Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR
 #  #
   
Line 409  do-${targ}: .PHONY ${targ}
Line 436  do-${targ}: .PHONY ${targ}
   
 .if defined(HAVE_GCC)  .if defined(HAVE_GCC)
 .if ${USE_COMPILERCRTSTUFF} == "yes"  .if ${USE_COMPILERCRTSTUFF} == "yes"
 BUILD_CC_LIB= gnu/lib/crtstuff${LIBGCC_EXT}  BUILD_CC_LIB= ${BUILD_CC_LIB_BASEDIR}/crtstuff${LIBGCC_EXT}
 .endif  .endif
 BUILD_CC_LIB+= gnu/lib/libgcc${LIBGCC_EXT}  BUILD_CC_LIB+= ${BUILD_CC_LIB_BASEDIR}/libgcc${LIBGCC_EXT}
 .elif defined(HAVE_PCC)  .elif defined(HAVE_PCC)
 BUILD_CC_LIB+= external/bsd/pcc/crtstuff  BUILD_CC_LIB+= external/bsd/pcc/crtstuff
 BUILD_CC_LIB+= external/bsd/pcc/libpcc  BUILD_CC_LIB+= external/bsd/pcc/libpcc
Line 444  do-libgcc: .PHONY .MAKE
Line 471  do-libgcc: .PHONY .MAKE
 .if defined(HAVE_GCC)  .if defined(HAVE_GCC)
 .if ${MKGCC} != "no"  .if ${MKGCC} != "no"
 .if ${USE_COMPILERCRTSTUFF} == "yes"  .if ${USE_COMPILERCRTSTUFF} == "yes"
         ${MAKEDIRTARGET} . do-gnu-lib-crtstuff${LIBGCC_EXT}          ${MAKEDIRTARGET} . do-${BUILD_CC_LIB_BASETARGET}-crtstuff${LIBGCC_EXT}
 .endif  .endif
         ${MAKEDIRTARGET} . do-gnu-lib-libgcc${LIBGCC_EXT}          ${MAKEDIRTARGET} . do-${BUILD_CC_LIB_BASETARGET}-libgcc${LIBGCC_EXT}
 .endif  .endif
 .endif  .endif
   
Line 454  do-compat-libgcc: .PHONY .MAKE
Line 481  do-compat-libgcc: .PHONY .MAKE
 .if defined(HAVE_GCC)  .if defined(HAVE_GCC)
 .if ${MKGCC} != "no"  .if ${MKGCC} != "no"
 .if ${USE_COMPILERCRTSTUFF} == "yes"  .if ${USE_COMPILERCRTSTUFF} == "yes"
         ${MAKEDIRTARGET} . do-compat-gnu-lib-crtstuff${LIBGCC_EXT}          ${MAKEDIRTARGET} . do-compat-${BUILD_CC_LIB_BASETARGET}-crtstuff${LIBGCC_EXT}
 .endif  .endif
         ${MAKEDIRTARGET} . do-compat-gnu-lib-libgcc${LIBGCC_EXT}          ${MAKEDIRTARGET} . do-compat-${BUILD_CC_LIB_BASETARGET}-libgcc${LIBGCC_EXT}
 .endif  .endif
 .endif  .endif
   
Line 529  dependall-distrib depend-distrib all-dis
Line 556  dependall-distrib depend-distrib all-dis
 .include <bsd.kernobj.mk>  .include <bsd.kernobj.mk>
 .include <bsd.subdir.mk>  .include <bsd.subdir.mk>
   
 build-docs: .PHONY ${.CURDIR}/BUILDING  
 ${.CURDIR}/BUILDING: doc/BUILDING.mdoc  
         ${_MKMSG_CREATE} ${.TARGET}  
         ${TOOL_GROFF} -mdoc -Tascii -P-bou $> >$@  
   
   
 #  #
 # Display current make(1) parameters  # Display current make(1) parameters
 #  #

Legend:
Removed from v.1.284  
changed lines
  Added in v.1.289

CVSweb <webmaster@jp.NetBSD.org>