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
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.
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
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
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
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
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
> "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:]]\{
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/"[^
> "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
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
> "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
hi, is there a patch which make it possible to make dependency-tracking with
other compiler than 'gcc'? johannes
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
> "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'
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
>>>>> "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
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
18 matches
Mail list logo