automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake for system libraries


From: Ralf Wildenhues
Subject: Re: Automake for system libraries
Date: Tue, 7 Apr 2009 23:12:43 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Ryan,

* Ryan Arnold wrote on Mon, Apr 06, 2009 at 10:06:20PM CEST:
> I'm attempting to port a GLIBC add-on I wrote (libdfp) into a standalone
> library.  My plan is to auto-confiscate the GLIBC-esque Makefiles into
> Makefile.am's.  This has presented some problems.

> Moving from GLIBC's very robust and complicated handwritten Makefiles
> (written by Roland McGrath) to Automake has proven to be conceptually
> difficult while trying to maintain the sysdeps tree structure.

Well yes.  Roland wrote GNU make, and glibc probably uses every single
feature of it.  Automake has little to no knowledge about GNU make-
specific constructs.

Can you off-load the sysdeps detection into a couple of configure macros
and replace the corresponding file names with AC_SUBST substitutions?
You'd still have to list all possible files in some EXTRA_libdfp_a_SOURCES
variable somewhere, but at least that would get you going.

Hope that helps for a start.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]