diff options
author | Zack Weinberg <zackw@panix.com> | 2007-03-26 21:07:27 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2007-03-26 21:07:27 +0000 |
commit | 11a675992afb01354e8d8331087177c25e97a7a6 (patch) | |
tree | 194b565efb539d208f63cc21e757c0f303b1a775 /gcc/c-config-lang.in | |
parent | 065ae6117579cc9a089c238207b42f5a1470423a (diff) | |
download | gcc-11a675992afb01354e8d8331087177c25e97a7a6.zip gcc-11a675992afb01354e8d8331087177c25e97a7a6.tar.gz gcc-11a675992afb01354e8d8331087177c25e97a7a6.tar.bz2 |
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
Diffstat (limited to 'gcc/c-config-lang.in')
-rw-r--r-- | gcc/c-config-lang.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-config-lang.in b/gcc/c-config-lang.in index 01fe1d0..33f82b6 100644 --- a/gcc/c-config-lang.in +++ b/gcc/c-config-lang.in @@ -23,4 +23,4 @@ # files used by C that have garbage collection GTY macros in them # which therefore need to be scanned by gengtype.c. -gtfiles="\$(srcdir)/c-lang.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-common.c \$(srcdir)/c-common.h \$(srcdir)/c-pragma.c \$(srcdir)/c-objc-common.c \$(srcdir)/c-parser.c" +gtfiles="\$(srcdir)/c-lang.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-common.c \$(srcdir)/c-common.h \$(srcdir)/c-pragma.h \$(srcdir)/c-pragma.c \$(srcdir)/c-objc-common.c \$(srcdir)/c-parser.c" |