All notes
Autotools

FAQ

Makefile.am, Makefile.in

StackOverflow.

  1. Makefile.am (the .am stands for automake) is a programmer-defined file and is used by automake to generate the Makefile.in file.
  2. The configure script itself is generated from a programmer-defined file named either configure.ac (autoconf) or configure.in (deprecated).
  3. The configure script will use the Makefile.in to generate a Makefile.
Makefile.am --(automake)--> Makefile.in
                                |
configure.ac --(autoconf)--> (configure)
                                |
                   Makefile <---+