Re: plugins in main tree? (was Re: branch tonight)

From: Michael D. Pritchett (mpritchett@attglobal.net)
Date: Tue Apr 30 2002 - 14:26:34 EDT

  • Next message: Paul Rohr: "Re: plugins in main tree? (was Re: branch tonight)"

    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



    This archive was generated by hypermail 2.1.4 : Tue Apr 30 2002 - 15:44:06 EDT