This is the mail archive of the automake@gnu.org mailing list for the automake 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: what is this shell call trying to solve?


Hi,

Tom Tromey <tromey@redhat.com> writes:

>>>>>> "Hari" == Raja R Harinath <harinath@cs.umn.edu> writes:
>
> Tom> For explicit rules (not suffix rules), there are some macros like
> Tom> $< that we can't use.
>
> Hari> But, we're talking about suffix rules like
> Hari> [ ... ]
> Hari>         $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
>
> I think that is probably a bug.  I can't think of why we'd be doing
> that intentionally.  Can you?  Akim, do you know?

IIRC, it was added by Alexandre Oliva.  The only reason I can think
of is a really really broken VPATH implementation: one that fails to
attach to the source filename the VPATH component it found the source in.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash


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