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]

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


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 Make-lang.in's for this.
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/Make-lang.in should suffice
to achieve this only for builds including ada?

	Rainer


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