This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
Jonathan Lennox writes:
> Are .adb and .ads defined in the Makefile's SUFFIXES variable? .c and .o
> are included by default.
Sure: copied from gcc/ada/Makefile.in:
# Say how to compile Ada programs.
.SUFFIXES: .ada .adb .ads
But you're right: looking at the generated gcc/Makefile, I find this:
.SUFFIXES: .ada .adb .ads
.SUFFIXES:
.SUFFIXES: .c .o .po .pox .gmo
This happens because the Make-lang.in fragments are inserted before the
.SUFFIXES: rule in gcc/Makefile.in, effectively removing the .ad?
suffixes. It's probably best to move the .SUFFIXES: rules in
gcc/Makefile.in up a bit to allow for language fragments to add suffixes
and rules. Comments?
Rainer