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.299.2.3 retrieving revision 1.303 diff -u -p -r1.299.2.3 -r1.303 --- src/Makefile 2014/08/19 23:45:10 1.299.2.3 +++ src/Makefile 2013/07/16 09:52:21 1.303 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.299.2.3 2014/08/19 23:45:10 tls Exp $ +# $NetBSD: Makefile,v 1.303 2013/07/16 09:52:21 joerg Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -170,15 +170,13 @@ afterinstall: .PHONY .MAKE ${MAKEDIRTARGET} . postinstall-check .endif -_POSTINSTALL= ${.CURDIR}/usr.sbin/postinstall/postinstall \ - -m ${MACHINE} -a ${MACHINE_ARCH} +_POSTINSTALL= ${.CURDIR}/usr.sbin/postinstall/postinstall _POSTINSTALL_ENV= \ AWK=${TOOL_AWK:Q} \ DB=${TOOL_DB:Q} \ HOST_SH=${HOST_SH:Q} \ MAKE=${MAKE:Q} \ PWD_MKDB=${TOOL_PWD_MKDB:Q} \ - SED=${TOOL_SED:Q} \ STAT=${TOOL_STAT:Q} postinstall-check: .PHONY @@ -196,19 +194,21 @@ postinstall-fix-obsolete: .NOTMAIN .PHON ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete @echo " ===============================" -postinstall-fix-obsolete_stand: .NOTMAIN .PHONY - @echo " === Removing obsolete files ===" - ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete_stand - @echo " ===============================" - # # Targets (in order!) called by "make build". # .if defined(HAVE_GCC) -BUILD_CC_LIB_BASEDIR= external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib +.if ${HAVE_GCC} == "4" +LIBGCC_EXT=4 +BUILD_CC_LIB_BASEDIR= gnu/lib +BUILD_CC_LIB_BASETARGET= gnu-lib +.else +LIBGCC_EXT= +BUILD_CC_LIB_BASEDIR= external/gpl3/gcc/lib BUILD_CC_LIB_BASETARGET= external-gpl3-gcc-lib .endif +.endif BUILDTARGETS+= check-tools .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR) @@ -313,7 +313,6 @@ distribution buildworld: .PHONY .MAKE ${MAKEDIRTARGET} etc distribution INSTALL_DONE=1 .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/" ${MAKEDIRTARGET} . postinstall-fix-obsolete - ${MAKEDIRTARGET} . postinstall-fix-obsolete_stand ${MAKEDIRTARGET} distrib/sets checkflist .endif @echo "make ${.TARGET} started at: ${START_TIME}" @@ -525,6 +524,7 @@ install-${dir}: .PHONY dependall-distrib depend-distrib all-distrib: .PHONY @true +.include .include .include .include