[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failure in test silent5.test with heirloom make
From: |
Stefano Lattarini |
Subject: |
Re: Failure in test silent5.test with heirloom make |
Date: |
Sat, 1 May 2010 18:40:41 +0200 |
User-agent: |
KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; ) |
At Sunday 25 April 2010, Ralf Wildenhues <address@hidden>
wrote:
> Then, look at automake.in:lang_yacc_target_hook. It already
> computes the name of the .c file. The missing part is then to
> find out whether the .$(OBJEXT) or .lo file is renamed (and thus
> will already be handled by an explicit rule anyway), or whether it
> will be handled by one of the suffix rules .c.$(OBJEXT) or .c.lo.
>
OK, I must admit to be stuck here. How can I know what objects files
are expected to be compiled from, say, a bar.c file, in turn generated
from a bar.l file?
Or (e.g.) how can I distinguish the following situation:
foo_SOURCES = bar.l
(where bar.c is generated from bar.l, bar.o is generated from bar.c,
and no explicit dependency rule is generated), from the following
situation:
foo_SOURCES = bar.l
foo_CFLAGS = $(AM_CFLAGS)
(where bar.c is generated from bar.l, and foo-bar.o is generated from
bar.c, with an explicit dependency rule of foo-bar.o from bar.c)?
Thanks,
Stefano
- Re: Failure in test silent5.test with heirloom make,
Stefano Lattarini <=