summaryrefslogtreecommitdiff
path: root/gcc/gensupport.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-16 17:31:58 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-16 17:31:58 +0000
commit961284173204057921744e7857ccabc9a5177422 (patch)
tree67e95850d4cb4c5af97945b9a98964954c1bc606 /gcc/gensupport.h
parentb225d49a05207e3af45250dd210a25786274c8dc (diff)
downloadgcc-961284173204057921744e7857ccabc9a5177422.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92269 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r--gcc/gensupport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h
index 4b29d7c0267..71557175266 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 */