make: Loading Objects

1 
1 12.2 Loading Dynamic Objects
1 ============================
1 
1      Warning: The 'load' directive and extension capability is
1      considered a "technology preview" in this release of GNU make.  We
1      encourage you to experiment with this feature and we appreciate any
1      feedback on it.  However we cannot guarantee to maintain
1      backward-compatibility in the next release.  Consider using GNU
11      Guile instead for extending GNU make (⇒The 'guile' Function
      Guile Function.).
1 
1    Many operating systems provide a facility for dynamically loading
1 compiled objects.  If your system provides this facility, GNU 'make' can
1 make use of it to load dynamic objects at runtime, providing new
1 capabilities which may then be invoked by your makefile.
1 
1    The 'load' directive is used to load a dynamic object.  Once the
1 object is loaded, a "setup" function will be invoked to allow the object
1 to initialize itself and register new facilities with GNU 'make'.  A
1 dynamic object might include new 'make' functions, for example, and the
1 "setup" function would register them with GNU 'make''s function handling
1 system.
1 

Menu