This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

automatically compute some dependencies on s-gtype


The attached patch adds code to gcc/Makefile.in that automatically
computes some dependencies on s-gtype.  It uses GTFILES_LANG_DIR_NAMES
and GTFILES_FILES_FILES to create a list of gtype-*.h and gt-*.h files
and adds a rule that makes them dependent on s-gtype.

This removes the need for makefile rules in the front end and is less
error prone since config-lang.in and Make-lang.in can't get out of
sinc again.

:ADDPATCH build:

Rafael

2005-10-26  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>

                     * gcc/doc/gty.texi: Removed the instructions for
adding a dependency on s-gtype
                     * gcc/java/Make-lang.in: Removed all dependencies
on s-gtype, except for gt-java-parse.h
                     * gcc/objc/Make-lang.in: Removed all dependencies
on s-gtype
                     * gcc/objcp/Make-lang.in: Removed all
dependencies on s-gtype
                     * gcc/cp/Make-lang.in: Removed all dependencies on s-gtype
                     * gcc/ada/Make-lang.in: Removed all dependencies on s-gtype
                     * gcc/fortran/Make-lang.in: Removed all
dependencies on s-gtype
                     * gcc/treelang/Make-lang.in: Removed all
dependencies on s-gtype
                     * gcc/Makefile.in: Added code to compute some
dependencies on s-gtype automatically. Removed the declaration of
those dependencies

Attachment: make.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]