Re: Automatic dependency tracking when using non-depcomp tools

2022-11-24 Thread Karl Berry
Can I actually rely on Automake making a verbatim copy of the include line from Makefile.am to Makefile.im? As far as I can make out, your logic is exactly correct. Looking at the bin/automake script, I see: my $PATH_PATTERN = '(\w|[+/.-])+'; # This will pass through anything not of the p

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-24 Thread Hans Ulrich Niedermann
dep file to allow first compile * create a proper dep file as side effect of every compile and the Makefile.am rules therefore now look as follows, for the benefit of anybody searching the list archives for automatic dependency tracking using custom non-depcomp tool rules in Automake Makefile.

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-22 Thread Karl Berry
Hi Hans - first, congratulations on getting this to work at all. I don't recall anyone else undertaking this. I'm afraid I don't have any particular insights, but just so you know someone read your mail: Question: Is it OK for me to hook into ./$(DEPDIR)/ at all? I could use

Automatic dependency tracking when using non-depcomp tools

2022-11-19 Thread Hans Ulrich Niedermann
I have not found any documentation about hooking recipes with custom (non-depcomp) tools into Automake's automatic dependency tracking, so this describes what I have done to achieve that along with a few questions. If you want the complete code example, see the git branch at https://githu

Automatic dependency tracking in the Git build system (was: Re: [PATCHv2 1/8] Makefile: apply dependencies consistently to sparse/asm targets)

2012-06-21 Thread Stefano Lattarini
stand that. > > I'd be OK with that. Do you have one in mind, or do we need to write it > from scratch? Surely somebody else has solved this problem before. > [begin shameless plug] Have you taken a look at the 'depcomp' script that comes with Automake? <http://git.savanna

[PATCHES] Docs on automatic dependency tracking (was: Testing a new compiler with Automake "simple tests")

2010-08-17 Thread Stefano Lattarini
a bigger project) using the Automake > >> "simple tests" feature. > >> > >> I have two problems: > >> [CUT] > >> 2) Automatic dependency tracking cannot work in > >>that directory of the project (indeed, the only > >&g

automatic dependency tracking for .S assembly files?

2004-04-06 Thread Martin Waitz
hi :) i'm working on a project that includes one .S assembly file. this file uses some preprocessor macros and includes some header files. automake seems to treat .s and .S files identically and does not generate automatic dependencies. would it be possible to add dependency tracking to .S files

Re: automatic dependency tracking

2002-01-18 Thread Tom Tromey
> "Tom" == Tom Lord <[EMAIL PROTECTED]> writes: Tom> Is there anything known to be non-portable about this technique Tom> for generating a list of all included files? Yes. Tom>cc [-I options] -E Tom>| sed -e '{ Tom>/^#[[:space:]]\{1,\}[[:digit:]]\{1,\}[[:space:]]\{

automatic dependency tracking

2002-01-18 Thread Tom Lord
Is there anything known to be non-portable about this technique for generating a list of all included files? cc [-I options] -E \ | sed -e '{ /^#[[:space:]]\{1,\}[[:digit:]]\{1,\}[[:space:]]\{1,\}"/!d s/^[^"]*"// s/"[^

Re: automatic dependency tracking

2001-06-21 Thread Tom Tromey
> "Johannes" == Kremp, Johannes (Extern) <[EMAIL PROTECTED]> writes: Johannes> sorry for this question, but where can i get cvs automake? Start at the home page. http://sources.redhat.com/automake/ Tom

RE: automatic dependency tracking

2001-06-21 Thread Kremp, Johannes (Extern)
Johannes> hi, is there a patch which make it possible to make Johannes> dependency-tracking with other compiler than 'gcc'? This is one of the major new features in the cvs automake. sorry for this question, but where can i get cvs automake? johannes

Re: automatic dependency tracking

2001-06-20 Thread Tom Tromey
> "Johannes" == Kremp, Johannes (Extern) <[EMAIL PROTECTED]> writes: Johannes> hi, is there a patch which make it possible to make Johannes> dependency-tracking with other compiler than 'gcc'? This is one of the major new features in the cvs automake. Tom

automatic dependency tracking

2001-06-20 Thread Kremp, Johannes (Extern)
hi, is there a patch which make it possible to make dependency-tracking with other compiler than 'gcc'? johannes

Re: automake: Automatic Dependency Tracking

2001-01-12 Thread Dave Brolley
Sending configure.in as requested Tom Tromey wrote: >> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: > > > Dave> I have a project which contains a mix of C and C++ sources, and > Dave> dependency tracking does not seem to be enabled. I've attached > Dave> my Makefile.am and Ma

Re: automake: Automatic Dependency Tracking

2001-01-12 Thread Tom Tromey
> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: Dave> I have a project which contains a mix of C and C++ sources, and Dave> dependency tracking does not seem to be enabled. I've attached Dave> my Makefile.am and Makefile.in for reference. Just wobdering if Dave> I'm missing something. I'

automake: Automatic Dependency Tracking

2001-01-12 Thread Dave Brolley
Hi, The automake online documentation says, regarding automatic dependency tracking: " this mode is enabled by default if any C program or library is defined in the current directory" I have a project which contains a mix of C and C++ sources, and dependency tracking does not

Re: How to perform Automatic dependency tracking when compiling with cc ?

2000-11-25 Thread Tom Tromey
>>>>> "Benoit" == benoit LOOF <[EMAIL PROTECTED]> writes: Benoit>* i need to generate makefiles that compile my program using cc Benoit>* automake 1.4 requires gcc to perform Automatic dependency tracking Benoit> so my question is : how

How to perform Automatic dependency tracking when compiling with cc ?

2000-11-23 Thread benoit LOOF
Hi, here is my problem : * i need to generate makefiles that compile my program using cc * automake 1.4 requires gcc to perform Automatic dependency tracking so my question is : how to get the benefits of Automatic dependency tracking, compiling with cc ? wbr, Benoit Loof