diff options
author | Romain Geissler <romain.geissler@gmail.com> | 2011-08-04 11:30:45 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-08-04 13:30:45 +0200 |
commit | f142b5bc21027d6a14a31f6dd9768b913fd199ba (patch) | |
tree | f1de2f7a09aa7bba895a381f90aea9843be566b9 /gcc/gengtype-parse.c | |
parent | b9e357d27e9b1776193865fb848f248993cce91c (diff) |
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
Diffstat (limited to 'gcc/gengtype-parse.c')
-rw-r--r-- | gcc/gengtype-parse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gengtype-parse.c b/gcc/gengtype-parse.c index a578da51de2..89f14e84d96 100644 --- a/gcc/gengtype-parse.c +++ b/gcc/gengtype-parse.c @@ -17,7 +17,11 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +#ifdef GENERATOR_FILE #include "bconfig.h" +#else +#include "config.h" +#endif #include "system.h" #include "gengtype.h" |