Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
d70ff880
Commit
d70ff880
authored
28 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
new file
Rev: .how_to_create_modules:1.1
parent
810e16de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.how_to_create_modules
+26
-0
26 additions, 0 deletions
.how_to_create_modules
with
26 additions
and
0 deletions
.how_to_create_modules
0 → 100644
+
26
−
0
View file @
d70ff880
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)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment