AutoTool learning
Sunday Mar 11, 2007
AutoTools AutoTools includes the following:
- GNU Autoconf 2.60 (June 2006)
- GNU Automake 1.9.6 (September 2005)
- GNU Libtool 1.5.22 (December 2005)
- GNU Gettext 0.14.5 (May 2005)
Standard Makefile Targets ‘make all’ Build programs, libraries, documentation, etc. (Same as ‘make’.)
‘make install’ Install what needs to be installed.
‘make install-strip’ Same as ‘make install’, then strip debugging symbols.
‘make uninstall’ The opposite of ‘make install’.
‘make clean’ Erase what has been built (the opposite of ‘make all’).
‘make distclean’ Additionally erase anything ‘./configure’ created.
‘make check’ Run the test suite, if any.
‘make installcheck’ Check the installed programs or libraries, if supported.
‘make dist’ Create PACKAGE-VERSION.tar.gz.
Cross-compilation configure options:
- ‘--build=BUILD’ The system on which the package is built.
- ‘--host=HOST’ The system where built programs & libraries run.
- ‘--target=TARGET’ Only when building compiler tools: the system which the tools will create output. For simple cross-compilation, only ‘--host=HOST’ is needed.











