[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13928: VPATH issues with subdir-objects
From: |
Bert Wesarg |
Subject: |
bug#13928: VPATH issues with subdir-objects |
Date: |
Tue, 12 Mar 2013 15:39:18 +0100 |
> Regarding the actual bug: without knowing much (yet!) about the relevant
> Automake internals, I'm a bit surprised that
>
> src = src
> foo_SOURCES = $(src)/foo.c
>
> fails with subdir-objects, but on the other hand
>
> src = src/foo.c
> foo_SOURCES = $(src)
>
> seems to work just fine...
That's because automake expands entries in _SURCES which are only
variable references. It needs to because of AM_CONDITIONAL. In case
the value of _SOURCES is subject to an condition, the conditional
source file name is stored in an intermediate variable but the actual
assignment happens only if the condition is TRUE. But the intermediate
variable is unconditionally added to the _SOURCES variable.
Bert
>
> Cheers,
- bug#13524: [PATCH 1/2] preproc: add support for relative names in included fragments, Bert Wesarg, 2013/03/11
- bug#13524: [PATCH 1/2] preproc: add support for relative names in included fragments, Stefano Lattarini, 2013/03/11
- bug#13524: [PATCH 1/2] preproc: add support for relative names in included fragments, Bert Wesarg, 2013/03/11
- bug#13524: [PATCH 1/2] preproc: add support for relative names in included fragments, Stefano Lattarini, 2013/03/11
- Message not available
- bug#13928: VPATH issues with subdir-objects (was: [PATCH 1/2] preproc: add support for relative names in included fragments), Stefano Lattarini, 2013/03/11
- bug#13928: VPATH issues with subdir-objects (was: [PATCH 1/2] preproc: add support for relative names in included fragments), Nick Bowler, 2013/03/11
- bug#13928: VPATH issues with subdir-objects, Stefano Lattarini, 2013/03/11
- bug#13928: VPATH issues with subdir-objects, Nick Bowler, 2013/03/12
- bug#13928: VPATH issues with subdir-objects,
Bert Wesarg <=