On Jan 19, 2005, at 1:42 PM, Ralf Wildenhues wrote:
> How about: add
>
> | print-libs:
> | @echo 'X$(LIBS)' | sed 's,^X,,'
>
> to the corresponding Makefile.am and replace the egrep|cut by
> something along the lines of
>
> | flags=`cd $path_to_Makefile && ${MAKE} print-libs 2>/dev/null`
I dunno -- that's just too simple! ;-)
That's a very good idea; want to join our development team? ;-)
I think I'm going to leave what we have in LAM for now (i.e., leave the
egrep/assume it's one line), and take this idea and apply it to Open
MPI (where 95% of all of our new work is going). Thanks!
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|