automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting long SOURCES lines with subdirs shorter


From: Jan Engelhardt
Subject: Re: Getting long SOURCES lines with subdirs shorter
Date: Fri, 1 Dec 2023 21:37:06 +0100 (CET)
User-agent: Alpine 2.26 (LSU 649 2022-06-02)

On Friday 2023-12-01 21:13, Mike Frysinger wrote:
>On 17 Jul 2023 16:51, Karl Berry wrote:
>> Hi Jan,
>> 
>>     Current automake likely won't have anything in store already,
>> 
>> Not that I know of.
>> 
>>     a_SOURCES = $(addprefix aprog/,main.c foo.c bar.c baz.c)
>> 
>> I've often wanted this myself. I'd certainly welcome a patch for it.
>> 
>> Please work from automake trunk. None of the various branches are kept
>> to date. (Sad but that's the reality.)
>
>prob stating the obvious, but $(addprefix) is a GNUism, so if we wanted to
>use it, it'd required feature probing at configure time, and that always
>complicates things :(

No-no, the idea was to make $(addprefix) an automakeism that is resolved before
GNU make (or any other make) is ever invoked.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]