From f6e3a61469ac7be9ffc3db2c57eeb7da04707bcd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 15 Aug 2003 06:11:33 +0000 Subject: Document modules changes (This used to be commit b8ff07a3439864dc22cc1c501ebcdc117351d2cd) --- docs/docbook/devdoc/modules.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/docbook/devdoc/modules.xml b/docs/docbook/devdoc/modules.xml index e2eb78d6c9..171ee27f90 100644 --- a/docs/docbook/devdoc/modules.xml +++ b/docs/docbook/devdoc/modules.xml @@ -136,13 +136,14 @@ for each module and SMB_SUBSYSTEM() for each subsystem. SMB_MODULE(subsystem_backend, object files, plugin name, subsystem name, static_action, shared_action) -SMB_SUBSYSTEM(subsystem) +SMB_SUBSYSTEM(subsystem,depfile) -Also, make sure to add the correct directives to -Makefile.in. @SUBSYSTEM_STATIC@ -will be replaced with a list of objects files of the modules that need to -be linked in statically. @SUBSYSTEM_MODULES@ will +The depfile for a certain subsystem is the file that calls the +initialisation functions for the statically built in modules. + + +@SUBSYSTEM_MODULES@ in Makefile.in will be replaced with the names of the plugins to build. @@ -151,6 +152,13 @@ be changed by ./configure are rebuilded in the 'modules_clean' make target. Practically, this means all c files that contain static_init_subsystem; calls need to be rebuilded. + + +There currently also is a configure.in command called SMB_MODULE_PROVIVES(). +This is used for modules that register multiple things. It should not +be used as probing will most likely disappear in the future. + + -- cgit