From Gentoo Wiki
Jump to:navigation Jump to:search

automake is GNUs autobuild system. It is used to generate files from files.


USE flags

Cannot load package information. Is the atom sys-devel/automake correct?


root #emerge --ask sys-devel/automake


Environment variables


  • /etc/global_file_example - Global (system wide) configuration file.
  • ~/.local_file_example - Local (per user) configuration file.



user $automake --help
Usage: /usr/bin/automake-1.15 [OPTION]... [Makefile]...

Generate for configure from

Operation modes:

     --help               print this help, then exit
     --version            print version number, then exit
 -v, --verbose            verbosely list files processed
     --no-force           only update's that are out of date
 -W, --warnings=CATEGORY  report the warnings falling in CATEGORY

Dependency tracking:

 -i, --ignore-deps      disable dependency tracking code
     --include-deps     enable dependency tracking code


     --foreign          set strictness to foreign
     --gnits            set strictness to gnits
     --gnu              set strictness to gnu

Library files:

 -a, --add-missing      add missing standard files to package
     --libdir=DIR       set directory storing library files
     --print-libdir     print directory storing library files
 -c, --copy             with -a, copy missing files (default is symlink)
 -f, --force-missing    force update of standard files

Warning categories include:

 gnu                GNU coding standards (default in gnu and gnits modes)
 obsolete           obsolete features or constructions
 override           user redefinitions of Automake rules or variables
 portability        portability issues (default in gnu and gnits modes)
 extra-portability  extra portability issues related to obscure tools
 syntax             dubious syntactic constructs (default)
 unsupported        unsupported or incomplete features (default)
 all                all the warnings
 no-CATEGORY        turn off warnings in CATEGORY
 none               turn off all the warnings
 error              treat warnings as errors

Files automatically distributed if found (always):

 ABOUT-GNU           INSTALL             config.rpath        ltconfig
 ABOUT-NLS           NEWS                config.sub
 AUTHORS             README              depcomp             mdate-sh
 BACKLOG             THANKS              install-sh          missing
 COPYING             TODO             mkinstalldirs
 COPYING.DOC         ar-lib               py-compile
 COPYING.LESSER      compile            texinfo.tex
 COPYING.LIB         config.guess         ylwrap

Files automatically distributed if found (under certain conditions):

 acconfig.h        configure 
 aclocal.m4        stamp-vti

Report bugs to <>. GNU Automake home page: <>.

General help using GNU software: <>.


Issue 1



Inappropriately removing this package has the potential to break various parts of the system that depend on it. Remove this package with caution.
root #emerge --ask --depclean --verbose sys-devel/automake

See also

  • Build automation - This meta article provides a general overview of the build systems available in Gentoo.
  • SCons - A flexible, Python-based build system.

External resources


(Optional section. Remove this section if references are not used. This section is used to cite factual information. This information is found outside the Gentoo Wiki and used to back up truth claims. The actual references themselves still be littered throughout the main article.)