bug-make
[Top][All Lists]
Advanced

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

Re: Generating missing depfiles by an automake based makefile


From: Jan Engelhardt
Subject: Re: Generating missing depfiles by an automake based makefile
Date: Thu, 9 Feb 2023 18:15:21 +0100 (CET)
User-agent: Alpine 2.25 (LSU 592 2021-09-18)

On Thursday 2023-02-09 22:53, Dmitry Goncharov wrote:
>
>> If you try this with e.g.
>> OpenBSD make, it will complain.
>
>That's why i asked those questions about portability.
>Do i understand it correctly, that a need to support bmake forces
>automake to abandon a good mechanism to rebuild depfiles?

Maybe not. autoconf is big on text substitution, and there already is an 
AM_MAKE_INCLUDE m4 macro to test for the type of include directive.

It would probably take a new m4 macro AM_MAKE_SILENT_INCLUDE that tests 
for the availability of "-include", and if found, also somehow changes 
the rest of the depfile logic to use absent-depfiles rather than 
empty-depfiles.



reply via email to

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