3.2 PATCH: Fully support parallel gnat1/gnatbind builds
Marc Espie
espie@quatramaran.ens.fr
Tue May 28 11:27:00 GMT 2002
In article <orvg9fu48u.fsf@free.redhat.lsd.ic.unicamp.br> you write:
>On May 22, 2002, Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> wrote:
>
>> I suppose VPATH = $(VPATH):@srcdir@/ada in ada/Make-lang.in should suffice
>> to achieve this only for builds including ada?
>
>Nope, you can't reference the make macro itself in a `=' macro
>definition. `:=' works, if it is sufficiently portable, but I'm
>not sure it's mandated by POSIX.
Only VAR = something
is posix.
On the other hand, even though it's not quite modular,
putting one single definition of VPATH:
VPATH=whatever_you_want:${ADA_VPATH}
ought to work,
assuming you define
ADA_VPATH=@srcdir@/ada
in the ada specific fragment.
or something like that.
(all this being somewhat theoretical, since it ends up not getting used).
More information about the Gcc-patches
mailing list