Victor Duchovni:
> On Mon, Nov 22, 2010 at 04:04:33PM -0500, Wietse Venema wrote:
>
> > Sorry, it's also against my principle to require a postfix-to-gmake
> > dependency on all platforms.
>
> I don't understand this. We use SHLIB_CLFLAGS and SHLIB_LD (set via
> makedefs just like CCARGS and AUXLIBS) on objects that go into into
> libraries. The library file name gets a variable suffix also defined
> in the Makefile. This requires some code in makedefs, but not much
> else...
>
> I don't see where "gmake" enters into the picture.
Simplistically, I want to type "make" in a subdirectory and build
code in the appropriate manner for the platform (dynamically-linked
on platform X, statically-linked on platform Y).
Perhaps a concrete example no gmake/autobloat/libstool dependency)
would help. The proposed option, freezes files and breaks nothing.
Wietse