diff options
author | Richard Henderson <rth@redhat.com> | 2004-12-16 09:31:58 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-12-16 09:31:58 -0800 |
commit | 26be549aac6f1c571da373bf52770b400ca7c210 (patch) | |
tree | 67e95850d4cb4c5af97945b9a98964954c1bc606 /gcc/gensupport.h | |
parent | f85d8f699663290de6a00907542994763f610046 (diff) | |
download | gcc-26be549aac6f1c571da373bf52770b400ca7c210.zip gcc-26be549aac6f1c571da373bf52770b400ca7c210.tar.gz gcc-26be549aac6f1c571da373bf52770b400ca7c210.tar.bz2 |
Makefile.in (MD_DEPS, s-mddeps): New.
* Makefile.in (MD_DEPS, s-mddeps): New.
(s-config, s-conditions, s-flags, s-codes, s-constants, s-emit,
s-recog, s-opinit, s-extract, s-peep, s-attr, s-attrtab, s-output,
s-preds): Depend on MD_DEPS instead of md_file.
(genobjnames): Add genmddeps.o
(build/genmddeps, build/genmddeps.o): New.
(mostlyclean): Remove mddeps.mk.
* genmddeps.c: New file.
* gensupport.c (include_callback): New.
(process_include): Call it.
* gensupport.h (include_callback): Declare.
From-SVN: r92269
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r-- | gcc/gensupport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h index 4b29d7c..7155717 100644 --- a/gcc/gensupport.h +++ b/gcc/gensupport.h @@ -92,4 +92,8 @@ extern void add_predicate (struct pred_data *); #define FOR_ALL_PREDICATES(p) for (p = first_predicate; p; p = p->next) +/* This callback will be invoked whenever an rtl include directive is + processed. To be used for creation of the dependency file. */ +extern void (*include_callback) (const char *); + #endif /* GCC_GENSUPPORT_H */ |