This problem rears its ugly head on AIX when you use xlc and when you try to use MSVC. Unfortunately, I haven't been successful using "AUTOMAKE_OPTIONS = no-dependencies ". I was able to make everything work by modifying the automake template file depend2.am - both for MSVC and xlc (using makedepend).
Greg Richard Gillilan <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 12/03/99 02:38:00 PM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: [email protected] cc: Subject: Re: [opendx-dev] Re: help with make > > Per http://www.fsf.org/manual/automake/html_mono/automake.html#SEC29 > > Automake's automatic dependency tracking currently requires the use of both GNU make and gcc. make > > dist runs automake --include-deps to remove the Gnu make + gcc requirement for the distribution. > > > > We could also add "AUTOMAKE_OPTIONS = no-dependencies " to the Makefile.am files, but that would > > preclude those who happen to be using gcc and Gnu make from having dynamically updated dependencies. > > I'm not sure what this means. Does this mean that if I were to add some code (say a new function somewhere) and then put calls to that function is some other file, that the Gnu make/gcc combination would allow the autotools to create a makefile with all the right dependencies automatically? So using SGI compile with Gnu make would not get the dependency right? Richard ps, is there a good starting place to learn about all these tools. I'm plowing throught the autoconf and automake manuals, but wish it was all summarized somewhere in one place.
