|
Many operating systems provide a facility for dynamically loading compiled objects. If your system provides this facility, GNU make
can make use of it to load dynamic objects at runtime, providing new capabilities which may then be invoked by your makefile.
The load
directive is used to load a dynamic object. Once the object is loaded, a “setup” function will be invoked to allow the object to initialize itself and register new facilities with GNU make
. A dynamic object might include new make
functions, for example, and the “setup” function would register them with GNU make
’s function handling system.
• load Directive | Loading dynamic objects as extensions. | |
• Remaking Loaded Objects | How loaded objects get remade. | |
• Loaded Object API | Programmatic interface for loaded objects. | |
• Loaded Object Example | Example of a loaded object |
Copyright © 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
https://www.gnu.org/software/make/manual/html_node/Loading-Objects.html