summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-28 19:43:45 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-28 19:43:45 +0000
commit0e6605c4ba9a8640ffb2a4522287fb4a11b229af (patch)
tree0450bf9b3aab49b0537a628cd268ba377e0c2b2e /gcc/Makefile.in
parentc6f9f7f05db227b44914819523cb770a632e2b78 (diff)
downloadgcc-0e6605c4ba9a8640ffb2a4522287fb4a11b229af.tar.gz
* Makefile.in (options.c options.h): Use stamp file s-options to
avoid unnecessary rebuilds. (options.o): New target listing dependencies. (gtyp-gen.h): Use stamp file s-gtyp-gen. (STAGESTUFF): Add s-gtyp-gen. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76803 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ff2878ca6a5..92916f0e2c6 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -884,7 +884,7 @@ STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \
insn-attr.h insn-attrtab.c insn-opinit.c insn-constants.h tm-preds.h \
tree-check.h insn-conditions.c min-insn-modes.c insn-modes.c insn-modes.h \
s-flags s-config s-codes s-mlib s-genrtl s-modes s-gtype gtyp-gen.h \
- s-output s-recog s-emit s-extract s-peep s-check s-conditions \
+ s-gtyp-gen s-output s-recog s-emit s-extract s-peep s-check s-conditions \
s-attr s-attrtab s-opinit s-preds s-constants s-crt0 \
genemit$(build_exeext) genoutput$(build_exeext) genrecog$(build_exeext) \
genextract$(build_exeext) genflags$(build_exeext) gencodes$(build_exeext) \
@@ -1439,12 +1439,14 @@ s-specs : Makefile
$(SHELL) $(srcdir)/move-if-change tmp-specs.h specs.h
$(STAMP) s-specs
-options.c: $(lang_opt_files) $(srcdir)/opts.sh options.h intl.h
-
-options.h: $(lang_opt_files) $(srcdir)/opts.sh Makefile
+options.c options.h: s-options ; @true
+s-options: $(lang_opt_files) $(srcdir)/opts.sh Makefile
AWK=$(AWK) $(SHELL) $(srcdir)/opts.sh \
'$(SHELL) $(srcdir)/move-if-change' \
options.c options.h $(lang_opt_files)
+ $(STAMP) s-options
+
+options.o: options.c options.h opts.h intl.h
dumpvers: dumpvers.c
@@ -2076,7 +2078,8 @@ gt-dbxout.h gt-c-common.h gt-c-decl.h gt-c-parse.h \
gt-c-pragma.h gtype-c.h gt-input.h gt-cfglayout.h \
gt-stringpool.h gt-langhooks.h : s-gtype ; @true
-gtyp-gen.h: Makefile
+gtyp-gen.h: s-gtyp-gen ; @true
+s-gtyp-gen: Makefile
echo "/* This file is machine generated. Do not edit. */" > tmp-gtyp.h
echo "static const char *const srcdir = " >> tmp-gtyp.h
echo "\"$(GTFILES_SRCDIR)\"" >> tmp-gtyp.h
@@ -2102,6 +2105,7 @@ gtyp-gen.h: Makefile
echo "\"$$l\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
$(SHELL) $(srcdir)/move-if-change tmp-gtyp.h gtyp-gen.h
+ $(STAMP) s-gtyp-gen
s-gtype: gengtype$(build_exeext) $(GTFILES)
$(RUN_GEN) ./gengtype