This is the mail archive of the 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]

Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds

On Wed, May 22, 2002 at 08:58:25PM +0200, Rainer Orth wrote:
> Zack Weinberg writes:
> > On Wed, May 22, 2002 at 11:57:44AM -0400, Geert Bosch wrote:
> > > - For most of the
> > > 
> > > ada/<file>.o :
> > > 
> > >   targets (i.e the dependencies), it would be simpler/cleaner to
> > >   use a VPATH and remove all the directory info, unless one of the
> > >   goal is to get rid of GNU Make extensions, which would probably
> > >   add extra complexity and go backwards.
> > 
> > I do not believe the $(@D)-flags hack will work if you do that, but I
> > could easily be wrong.
> I've copied the dependencies in all other language's
> for this.

Other languages are not allowed to use GNU make features.

> I could try with VPATH if really desired, but since the dependencies are
> generated automatically anyway, we could leave them as is (i.e. with the
> ada subdir) and avoid the need for GNU make in this case.
> I suppose VPATH = $(VPATH):@srcdir@/ada in ada/ should suffice
> to achieve this only for builds including ada?

You can't use @-substitutions in  $(srcdir) should work,


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