Re: automake & autoconf

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sat Jan 09 1999 - 17:00:23 EST


On Jan 9, 1999, Godmar Back <gback@cs.utah.edu> wrote:

> Okay. I thought "no files from other directories" meant to exclude
> file names such as "../unix-jthreads/internal.c", but you mean that
> we only disallow

> VPATH+=../unix-jthreads
> internal.o: ....

> I agree with taht.

Nope, I really mean you can't say unix-jthreads/internal.c in a
_SOURCES list. That's because some make programs won't handle
correctly VPATH dependencies on files containing slashes, so you
wouldn't be able to run srcdir!=builddir builds, and some C compilers
don't accept -c and -o together, so if you had two file names
internal.c, in two different directories, their builds would clash.

>> > + like having to use gmake for developing.

>> I, for one, *always* use gmake; is there anything wrong with it?

> It's not part of the standard installation of many OSs.

Remember that only developers need it. That accounts for a few
people, that usually already have GNU make installed anyway.
Distributions (`make dist') will build with any make program the user
happens to have, even the most broken ones.

> There's nothing "wrong" with it, except that its many extensions have
> a tendency to seduce developers to write Makefile nobody will ever
> understand.

If we keep ourselves with automake rules, and maybe other very simple
hand-made rules, we're safe.

> Roland McGrath works for our group here in Utah, and the
> oskit mailing list is filled with questions of people asking about
> the GNUmakerules etc. that we ended up with.

If you had used automake from the beginning, you might have had a bit
more of trouble in designing your Makefile.ams, but you wouldn't be
facing this kind of problem.

> Thanks to gmake, he's now the only person who can maintain the
> Makefiles in the Fluke project.

A pity...

> By contrast, I like things simple. Make for dummies.

Look at Makefile.am. If that's not for dummies, I wonder what is :-)

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:33 EDT