Autotools, 2nd Edition
豆瓣
A Practitioner's Guide to GNU Autoconf, Automake, and Libtool
John Calcote
简介
Autotools is the first book to offer programmers a tutorial-based guide to the GNU build system. The new and improved second edition of Autotools includes five new chapters on PkgConfig, unit testing with Autotest, internationalizing with GNU, the portability of gnulib, and using Autotools with Windows.
Autotools focuses on two projects: Jupiter, a simple "Hello, world!" program, and FLAIM, an existing, complex open source effort containing four separate but interdependent subprojects. Follow along as the author takes Jupiter's build system from a basic makefile to a full-fledged Autotools project, and then as he converts the FLAIM projects from complex hand-coded makefiles to the powerful and flexible GNU build system.
You'll learn how to:
Generate Autoconf configuration scripts to simplify the compilation process
Produce portable makefiles with Automake
Build cross-platform software libraries with Libtool
Write your own Autoconf macros
Leave the guesswork behind and master the Autotools build system with Autotools!