On Tue, 30 Apr 2002, Paul Rohr wrote:

> 4.  plugins as leaf nodes
> -------------------------
> I alluded to something like this in my note as well.  We currently build
> most of our root-level nodes into libraries which then get statically linked
> into the binary.  For example, the current diving make system supports the
> following:
>
>   TARGETS=    $(OBJS)
>   TARGETS=    $(LIBRARY)
>   TARGETS=    $(PROGRAM)
>
> With clever enough makefile/autoconf hacking, we could theoretically just
> introduce another category of build targets:
>
>   TARGETS=    $(PLUGIN)
>
> Thus, some leaf nodes would build static libraries, and others would build
> one or more plugins.  If done right, this would allow us to concentrate the
> platform-specific mechanisms for plugin-building in a single place, where
> they could be easily shared by new plugins.
>

Paul -

I believe I have already done this for the diving makefiles.  See the
abiword-plugins module and any Makefiles you find.

Cheers!


Michael D. Pritchettt

Reply via email to