4.1. User-Provided Input Files

The smallest project requires the user to provide only two files. The GNU Autotools generate the remainder of the files needed to build the package are in Section 4.2, "Generated Output Files." The files are as follows:

'Makefile.am'An input to automake
'configure.in'An input to autoconf

I like to think of 'Makefile.am' as a high-level, bare-bones specification of the project's build requirements: what needs to be built, and where does it go when it is installed? This is probably Automake's greatest strength—the description is about as simple as it could possibly be, yet the final product is a 'Makefile' with an array of convenient make targets.

The 'configure.in' is a template of macro invocations and shell code ...

Get GNU Autoconf, Automake, and Libtool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.