From owner-svn-src-all@freebsd.org Wed Jun 15 23:57:48 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19F4EA4751E; Wed, 15 Jun 2016 23:57:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E573911B1; Wed, 15 Jun 2016 23:57:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5FNvlxH075594; Wed, 15 Jun 2016 23:57:47 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5FNvkYY075592; Wed, 15 Jun 2016 23:57:46 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201606152357.u5FNvkYY075592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Wed, 15 Jun 2016 23:57:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301934 - head/gnu/usr.bin/cc/cc_tools X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 23:57:48 -0000 Author: bdrewery Date: Wed Jun 15 23:57:46 2016 New Revision: 301934 URL: https://svnweb.freebsd.org/changeset/base/301934 Log: Convert to new FAST_DEPEND syntax for guessed dependencies. This OBJS_DEPEND_GUESS is needed since each target gets its own .depend.target.o file but also because it is spelled .meta.target.o with WITH_META_MODE. The OBJS_DEPEND_GUESS will apply the dependency if the required file is missing. Also remove redundant .c files while here to avoid prolems with targets using .ALLSRC and getting multiple source files. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division Modified: head/gnu/usr.bin/cc/cc_tools/Makefile head/gnu/usr.bin/cc/cc_tools/Makefile.dep Modified: head/gnu/usr.bin/cc/cc_tools/Makefile ============================================================================== --- head/gnu/usr.bin/cc/cc_tools/Makefile Wed Jun 15 23:57:32 2016 (r301933) +++ head/gnu/usr.bin/cc/cc_tools/Makefile Wed Jun 15 23:57:46 2016 (r301934) @@ -438,9 +438,7 @@ CLEANFILES+= ${GENSRCS} ${GENONLY} ${GEN #----------------------------------------------------------------------- # Manual dependencies. -.if !exists(${DEPENDFILE}) .include "Makefile.dep" -.endif .include # DO NOT DELETE Modified: head/gnu/usr.bin/cc/cc_tools/Makefile.dep ============================================================================== --- head/gnu/usr.bin/cc/cc_tools/Makefile.dep Wed Jun 15 23:57:32 2016 (r301933) +++ head/gnu/usr.bin/cc/cc_tools/Makefile.dep Wed Jun 15 23:57:46 2016 (r301934) @@ -1,131 +1,131 @@ # $FreeBSD$ -errors.o: bconfig.h auto-host.h +OBJS_DEPEND_GUESS.errors.o+= bconfig.h auto-host.h -genattr.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genattr.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genattrtab.o: bconfig.h \ +OBJS_DEPEND_GUESS.genattrtab.o+= bconfig.h \ auto-host.h \ tm.h options.h \ insn-modes.h \ gtype-desc.h -genautomata.o: bconfig.h \ +OBJS_DEPEND_GUESS.genautomata.o+= bconfig.h \ auto-host.h \ tm.h options.h \ insn-modes.h -gencheck.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.gencheck.o+= bconfig.h auto-host.h \ tm.h options.h \ gencheck.h -genchecksum.o: bconfig.h \ +OBJS_DEPEND_GUESS.genchecksum.o+= bconfig.h \ auto-host.h -gencodes.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.gencodes.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genconditions.o: bconfig.h \ +OBJS_DEPEND_GUESS.genconditions.o+= bconfig.h \ auto-host.h \ tm.h options.h \ insn-modes.h -genconfig.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genconfig.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genconstants.o: bconfig.h \ +OBJS_DEPEND_GUESS.genconstants.o+= bconfig.h \ auto-host.h \ tm.h options.h \ insn-modes.h -genemit.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genemit.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genextract.o: bconfig.h \ +OBJS_DEPEND_GUESS.genextract.o+= bconfig.h \ auto-host.h \ tm.h options.h \ insn-modes.h \ insn-config.h -genflags.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genflags.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -gengenrtl.o: bconfig.h auto-host.h +OBJS_DEPEND_GUESS.gengenrtl.o+= bconfig.h auto-host.h -gengtype.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.gengtype.o+= bconfig.h auto-host.h \ tm.h options.h \ gtyp-gen.h -genmddeps.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genmddeps.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genmodes.o: bconfig.h auto-host.h +OBJS_DEPEND_GUESS.genmodes.o+= bconfig.h auto-host.h -genopinit.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genopinit.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genoutput.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genoutput.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genpeep.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genpeep.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genpreds.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genpreds.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -genrecog.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.genrecog.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -gensupport.o: bconfig.h \ +OBJS_DEPEND_GUESS.gensupport.o+= bconfig.h \ auto-host.h \ tm.h options.h \ insn-modes.h -ggc-none.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.ggc-none.o+= bconfig.h auto-host.h \ gtype-desc.h -print-rtl.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.print-rtl.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -read-rtl.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.read-rtl.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h -rtl.o: bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.rtl.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-modes.h \ gtype-desc.h -insn-modes.o: insn-modes.c config.h auto-host.h \ +OBJS_DEPEND_GUESS.insn-modes.o+= insn-modes.c config.h auto-host.h \ tm.h options.h \ insn-modes.h -min-insn-modes.o: min-insn-modes.c bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.min-insn-modes.o+= bconfig.h auto-host.h \ insn-modes.h -gengtype-lex.o: gengtype-lex.c \ +OBJS_DEPEND_GUESS.gengtype-lex.o+= \ bconfig.h auto-host.h \ gengtype-yacc.h -gengtype-yacc+%DIKED.o: gengtype-yacc+%DIKED.c \ +OBJS_DEPEND_GUESS.gengtype-yacc+%DIKED.o+= \ bconfig.h \ auto-host.h \ tm.h options.h \ -insn-conditions.o: insn-conditions.c bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.insn-conditions.o+= insn-conditions.c bconfig.h auto-host.h \ insn-constants.h \ tm.h options.h \ insn-modes.h \ @@ -133,12 +133,12 @@ insn-conditions.o: insn-conditions.c bco tm-preds.h \ options.h -gencondmd.o: gencondmd.c \ +OBJS_DEPEND_GUESS.gencondmd.o+= \ tm.h options.h tm_p.h \ tm-preds.h tm-constrs.h tree-check.h \ insn-constants.h -gencondmd.o: gencondmd.c bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.gencondmd.o+= bconfig.h auto-host.h \ tm.h options.h \ insn-constants.h \ insn-modes.h \ @@ -147,7 +147,7 @@ gencondmd.o: gencondmd.c bconfig.h auto- tree-check.h \ tm-constrs.h -vec.o: vec.c bconfig.h auto-host.h \ +OBJS_DEPEND_GUESS.vec.o+= bconfig.h auto-host.h \ insn-modes.h \ tree-check.h \ gtype-desc.h