Next: Getting Started
Up: Writing a C Module
Previous: Overview of This Tutorial
  Contents
A C/CMOD module normally consists of the following files
- The C/CMOD code files
- A configure.in file
- A Makefile.in file
- A testsuite.in file
This is the minimum set of files needed in the source of a module. The
C/CMOD code files can be one or more files. They contain the whole C/CMOD
implementation of the module. The configure.in file is a file for the
configure script. The configure script is responsible for generating
the global Makefile. In configure.in conditions and tests are written
for when and if the module is to be build.
The Makefile.in is a file needed to make additions to the global
Makefile so that the module is built when the Pike is built. Each
Makefile.in contains a list of the targets needed in order to make
that specific module.
2003-03-04