Subject: build system plan
From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Sun Oct 14 2001 - 06:19:48 CDT
I had a patch all ready for this but there has been so much activity in
the past couple of days that I'm reluctant to try it.
Anyway, I only have automake-1.5 on my Mac so I ran into the dependency
problem. Does anyone have a fix for this? The only solution I've come up
with is to omit dependency tracking altogether, i.e., by adding
--ignore-deps to the automake line in autogen.sh - but this may not be to
everyone's taste...
BTW, MacOSX.1's /bin/sh seems to have problems with automake. I've been
using bash to get around this.
Finally, the GNUmakefile.am in abi/src/ev abi/src/xap etc. use the
following technique:
noinst_LIBRARIES= libEv.a
if WITH_GNOME
libEv.a: $(ABI_GNOME_OBJECTS)
rm -f libEv.a
ar cru libEv.a $(ABI_GNOME_OBJECTS)
ranlib libEv.a
else
libEv.a: $(ABI_OBJECTS)
rm -f libEv.a
ar cru libEv.a $(ABI_OBJECTS)
ranlib libEv.a
endif
which doesn't work with automake-1.5 (in fact, I'm a little suprised it
ever worked). The proper way - I think - is
noinst_LIBRARIES= libEv.a
if WITH_GNOME
objects = $(ABI_GNOME_OBJECTS)
else
objects = $(ABI_OBJECTS)
endif
libEv_a_SOURCES =
libEv_a_LIBADD = $(objects)
Works for me, anyway.
Has anyone any objections to me implementing these changes?
Regards, Frank
Francis James Franklin
F.J.Franklin@shef.ac.uk
Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
--- from `The Sayings of Muad'dib' by the Princess Irulan
This archive was generated by hypermail 2b25 : Sun Oct 14 2001 - 06:19:52 CDT