1 Motivation
Understand the workflow of autoconf and automake
2 Workflow
2.1 Simplified Workflow
Our target is to generate one or several Makefile, two steps involved:
- you need to supply one
configure.in(orconfigure.ac) file which will include targetMakefilepaths list to generate aconfigurescript, commonly, each targetMakefilecorresponds to oneMakefile.amfile. - Then you could use
./configurecommand to generate theMakefileincluded inconfigure.infrom correspondingMakefile.am.
The following figure visualize this process:
2.2 Full Workflow
Normally:
- you modify an auto-generated
configure.scanto getconfigure.{in/ac}. - to generate
configurescript, you need to generateaclocal.m4first.
The follw figure shows the full workflow:
浙公网安备 33010602011771号