mainmake - Support: sr #106134, Added plugins support for make -...


You are not allowed to post comments on this tracker with your current authentication level.

sr #106134: Added plugins support for make - please help to contribute

Submitter:  None
Submitted:  Fri 28 Dec 2007 03:08:14 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  Any

Mon 14 Sep 2009 04:10:33 AM UTC, comment #1: 

This is great.  I hope it gets accepted.

Fri 28 Dec 2007 03:08:14 PM UTC, original submission:  

  I've created a patch for adding 'plugins support' to make.
This enhancement is intended for understanding and debugging of large build systems, specially those where the -n is not enough.

A plugin is a .so where callbacks to events are provided.
I've added about 20 event types (callback hooks) along make, so plugins can 'listen' them and take actions, such as writing a log, parsing commands, etc.

I added the following command line options:
          which tells make to load the '' plugin

Plugin support is accomplished by launching a process that loads the plugin, and then opens a message queue where the events are queued by the makes (the top and the children).

Additionally, since the new POSIX behavior related to crlf parsing broke our Makefiles that worked in 3.80, I added an option in the ./configure that controls the default POSIX behavior of make:
     If you run ./configure with no parameters, make is generated as in 3.81, that is, POSIX behaved by default, but supporting a --no-posix command line option to make it behave as 3.80.
     If you run ./configure --disable-default-posix, make is generated as in 3.80 (non POSIX as default), but supporting a --posix command line option.

Please let me know how to contribute this stuff, if useful. We are using it. We are aware of some bugs in the events dynamics so help is very appreciated.

A final note of this message: I've only diffed the main directory, since I used an older version of automake therefore lots of files were different (just because of the version number).

   Daniel Gutson.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #14718:  Make_plugins.patch added by None (128KiB - application/octet-stream - Patch for supporting plugins in make)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-28 None Attached File- Added Make_plugins.patch, #14718

    Back to the top

    Powered by Savane 3.13-0159.
    Corresponding source code