diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-06-15 23:57:46 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-06-15 23:57:46 +0000 |
commit | 6c385704acce5fd89066960afb64c90eaeb73e33 (patch) | |
tree | e6e0b624e6502a6805e885c1e0222365253ec2bc /gnu | |
parent | a9f6ba59c04c8c2ab7b38b2540476fea9221d993 (diff) | |
download | FreeBSD-src-6c385704acce5fd89066960afb64c90eaeb73e33.zip FreeBSD-src-6c385704acce5fd89066960afb64c90eaeb73e33.tar.gz |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile.dep | 70 |
2 files changed, 35 insertions, 37 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 67c5f86..a4fe8ec 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -438,9 +438,7 @@ CLEANFILES+= ${GENSRCS} ${GENONLY} ${GENOBJS} ${GNTOOLS} #----------------------------------------------------------------------- # Manual dependencies. -.if !exists(${DEPENDFILE}) .include "Makefile.dep" -.endif .include <bsd.prog.mk> # DO NOT DELETE diff --git a/gnu/usr.bin/cc/cc_tools/Makefile.dep b/gnu/usr.bin/cc/cc_tools/Makefile.dep index 5d132af..a1a848b 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile.dep +++ b/gnu/usr.bin/cc/cc_tools/Makefile.dep @@ -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 bconfig.h auto-host.h \ 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-host.h \ 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 |