gengtype-state.c: Include "bconfig.h" if GENERATOR_FILE is defined, "config.h" otherwise.
authorRomain Geissler <romain.geissler@gmail.com>
Thu, 4 Aug 2011 11:30:45 +0000 (11:30 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 4 Aug 2011 11:30:45 +0000 (13:30 +0200)
commitf142b5bc21027d6a14a31f6dd9768b913fd199ba
treef1de2f7a09aa7bba895a381f90aea9843be566b9
parentb9e357d27e9b1776193865fb848f248993cce91c
gengtype-state.c: Include "bconfig.h" if GENERATOR_FILE is defined, "config.h" otherwise.

2011-08-04  Romain Geissler  <romain.geissler@gmail.com>

* gengtype-state.c: Include "bconfig.h" if
GENERATOR_FILE is defined, "config.h" otherwise.
* gengtype.c: Likewise.
* gengtype-lex.l: Likewise.
* gengtype-parse.c: Likewise.
* Makefile.in (gengtype-lex.o-warn): New variable.
(plugin_resourcesdir): Likewise.
(plugin_bindir): Likewise.
(plugin_includedir): Use $(plugin_resourcesdir) as prefix base.
(MOSTLYCLEANFILES): Add gengtype$(exeext).
(native): Depend on gengtype$(exeext) is $enable_plugin
is set to "yes".
(gtype.state): Depend on s-gtype. Use temporary file.
(gengtype-lex.o): New rule.
(gengtype-parse.o): Likewise.
(gengtype-state.o): Likewise.
(gengtype$(exeext)): Likewise.
(install-gengtype): Likewise.
(gengtype.o): Likewise.
(build/gengtype.o): Depend on version.h.
(build/gengtype-state): Depend on double-int.h, version.h,
$(HASHTAB_H), $(OBSTACK_H), $(XREGEX_H) and build/errors.o.
(install-plugin): Depend on install-gengtype.

From-SVN: r177358
gcc/ChangeLog
gcc/Makefile.in
gcc/gengtype-lex.l
gcc/gengtype-parse.c
gcc/gengtype-state.c
gcc/gengtype.c