diff options
author | Romain Geissler <romain.geissler@gmail.com> | 2011-08-04 11:30:45 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2011-08-04 11:30:45 +0000 |
commit | f227847b01e7156f95db71b208d3a6c7009ea92e (patch) | |
tree | f1de2f7a09aa7bba895a381f90aea9843be566b9 /gcc/gengtype.c | |
parent | 41aafe214e690f7671eebaf1328bb639aa463f98 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@177358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype.c')
-rw-r--r-- | gcc/gengtype.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 9537791c20b..0820741a051 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -18,7 +18,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 "errors.h" /* for fatal */ #include "getopt.h" |