This page printed from:
panoptic.com/rking/Automake+and+Autoconf

For Our King, Only

Recent Changes / Heat / History

Automake and Autoconf

Difference between revisions from 2012/05/05 14:02 and 2012/05/05 14:01.
This is a bit of a confusing process.

= Basic Pipeline =
! Basic Pipeline

# Developer works on '''Makefile.am''' and '''configure.ac'''
# (Some automatic steps)
# Resulting process uses '''Makefile''' and '''config.h'''

= ...and in more detail =
! ...and in more detail

* The top-level script (maybe '''autogen.sh''', '''bootstrap''', etc.) starts
** '''autoreconf''' which runs:
*** '''aclocal''' to turn '''configure.ac''' into '''aclocal.m4''', which is the input for both
**** '''autoconf''', which produces '''./configure''', and
**** '''autoheader''' which makes '''config.h.in''', then
*** '''automake''' which turns '''Makefile.am''' into '''Makefile.in''', and then
* '''./configure''' turns the user's input, results of its tests, and '''Makefile.in''' into '''Makefile''' plus '''config.h.in''' into '''config.h'''

= For more =
! For more

See the Goat Book - http://sources.redhat.com/autobook/

It's an open book, so you can get the full source, here:
{{cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/autobook co autobook}}


Last changed: 2012/05/05 14:02