Re: a question about automake

2003-01-28 Thread Alexandre Duret-Lutz
>>> "huangwei" == huangwei <[EMAIL PROTECTED]> writes: huangwei> Dear all, huangwei> I am a Newbie about automake. huangwei> I am confused in the makefile.in,because in it there huangwei> are many variables like as follows: huangwei> ... huangwei> LIBS = @LIBS@ huangwei> ... huangwei>

Re: help! automake "sees" nonexistent C files

2003-01-28 Thread Alexandre Duret-Lutz
>>> "Markus" == Markus Werle <[EMAIL PROTECTED]> writes: Markus> Markus Werle wrote: >> Hi! >> >> After some very slight changes to my Makefile.am Markus> ... which included a multline comment: Markus> #euler_SOURCES = \ Markus> # ${COMMON_SOURCES} \ Markus> # src/pdes/EULER_2D_UNI/

Re: some object files in a separate directory?

2003-01-28 Thread Ralf Corsepius
Am Die, 2003-01-28 um 13.22 schrieb Markus Werle: > Hi! > > In my Makefile.am I have e.g. the following lines > > COMMON_SOURCES = src/lib/common.C > > foo_SOURCES = ${COMMON_SOURCES} src/foo/main.C > bar_SOURCES = ${COMMON_SOURCES} src/bar/main.C > > So I have a name clash for main.o, which ma

some object files in a separate directory?

2003-01-28 Thread Markus Werle
Hi! In my Makefile.am I have e.g. the following lines COMMON_SOURCES = src/lib/common.C foo_SOURCES = ${COMMON_SOURCES} src/foo/main.C bar_SOURCES = ${COMMON_SOURCES} src/bar/main.C So I have a name clash for main.o, which makes automake unhappy. The only resolution I found was to prefix the ba

Re: help! automake "sees" nonexistent C files

2003-01-28 Thread Markus Werle
Markus Werle wrote: > Hi! > > After some very slight changes to my Makefile.am ... which included a multline comment: #euler_SOURCES = \ # ${COMMON_SOURCES} \ # src/pdes/EULER_2D_UNI/main.C \ # src/pdes/EULER_2D_UNI/ConservationOfMass.C \ # src/pdes/EULER_2D_UNI/ConservationOfMomentum.C

help! automake "sees" nonexistent C files

2003-01-28 Thread Markus Werle
Hi! After some very slight changes to my Makefile.am (only added a new programm and source file list) I started the usual aclocal && autoheader && autoconf && automake and this is what it says: /opt/FREE-SOFTWARE/automake-1.7/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM

Re: Unwanted autoheader call included in Makefile.in

2003-01-28 Thread Rafael Laboissiere
* Guido Draheim <[EMAIL PROTECTED]> [2003-01-28 10:35]: > I've been plagued with some implicit and unnecessary `rebuild`s in > some projects - and the solution is quite simple: in your configure.ac > script, reset autotools variables to a colon - i.e. >AUTOHEADER=":" > or perhaps better yet, r

Re: Unwanted autoheader call included in Makefile.in

2003-01-28 Thread Guido Draheim
Rafael Laboissiere schrieb: When I use the macro AC_CONFIG_HEADERS, automake includes a rule in Makefile.in to rebuild config.h.in through autoheader. Now, I do not want at all that this file gets touched by autoheader, even when I modifiy one of its "presumed dependencies" aclocal.m4 and confi

Unwanted autoheader call included in Makefile.in

2003-01-28 Thread Rafael Laboissiere
When I use the macro AC_CONFIG_HEADERS, automake includes a rule in Makefile.in to rebuild config.h.in through autoheader. Now, I do not want at all that this file gets touched by autoheader, even when I modifiy one of its "presumed dependencies" aclocal.m4 and configure.ac. Is that a way to disa