URL: <http://savannah.gnu.org/bugs/?44442>
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 _______________________________________________________ Details: 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: <http://savannah.gnu.org/bugs/?44442> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make