Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
40 results

.how_to_create_modules

Blame
  • .how_to_create_modules 893 B
    o You need a name for your module, for our purposes, let us assume you 
       want to create the module "modulen".
    
    o Create the dir src/modules/modulen
    
    o Copy the Makefile.src from src/modules/files and modify it.
      The Makefile.src need not contain any dependencies.
    
    o You need a testsuite.in, even if it is just an empty one.
    
    o You want a doc dir with BMML or HTML documenation.
    
    o You need a configure.in
      Your configure.in should test for ALL features you need.
      Do not trust the global configure tests to do things for you.
    
    o All c/c++ files should include "global.h"
    
    o The makefile should create a file called linker_options in the build dir
      that contains the needed -l<lib> directives.
    
    o When building the your module the first time you need to:
      1) run autoconf
      2) do 'make depend' from your build dir
      3) re-run configure from your build dir
      4) make (in your build dir)