[Top][All Lists]

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

[bug #44442] plugin interface enhancements

From: Brian Vandenberg
Subject: [bug #44442] plugin interface enhancements
Date: Fri, 06 Mar 2015 02:41:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/40.0.2214.111 Chrome/40.0.2214.111 Safari/537.36


                 Summary: plugin interface enhancements
                 Project: make
            Submitted by: phantal
            Submitted on: Fri 06 Mar 2015 02:41:08 AM GMT
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: Any
           Fixed Release: None
           Triage Status: None



1) export more functions that allow access to some of the internal workings of
make, eg:
* make existing macro functions like func_strip, etc non-static and available
in the public interface header(s).  Obviously I could use gmk_eval or
gmk_expand but I'd rather be able to call them directly.
* functions like lookup_variable, or a watered down version of it.  Adding a
new macro like $(ifdef VARNAME, <true>, <false>) or anything similar currently
requires either creating your own extern decl for it and hoping the interface
doesn't change, or going through gmk_expand and using $(origin) or somesuch.

2) add a callback interface with various events we can add functions to; for
example, if I wanted to add a callback for logging purposes.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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