autoconf
[Top][All Lists]
Advanced

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

RE: Support for non-gcc make dependency files


From: Bernard Dautrevaux
Subject: RE: Support for non-gcc make dependency files
Date: Fri, 22 Sep 2000 11:19:07 +0200

> -----Original Message-----
> From: Robert Boehne [mailto:address@hidden
> Sent: Friday, September 22, 2000 2:39 AM
> To: address@hidden
> Subject: Support for non-gcc make dependency files
> 
> 
> I'd like to have Autoconf generate makefile
> dependencies for compilers other than gcc,
> but I'm not familiar with the autoconf source
> enough to find where it is done.  Would someone
> be kind enough to point me in the right direction?
> 

This is not autoconf-related, but automake, as Makefile *generation* is done
by automake; autoconf only substitues patterns in Makefile.in to get
Makefile.

The right place to look at is at the automake-supplied "depcomp" script:
just add an entry in the big "case" with the naem of the compiler and th
eway to generate dependencies. If th ecompiler can do that as a side-effect
of compiling the source file, it must be placed *before* the commented-out
"nosideeffect" case tag, and after if this needs a separate run through the
compiler.

HTH

        Bernard

PS: modifying depcomp is enough; automake will automagically discover the
new way to generate dependencies from your change in depcomp... You do not
even need to have automake installed on your system: the depcomp script is
delivered with packages and the configure script is able to automatically
use it (if the package was automake'd of course).

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: address@hidden
                address@hidden
-------------------------------------------- 


reply via email to

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