Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Process  





2 Design  





3 See also  





4 References  





5 Sources  





6 External links  














Automake






Català
Español
Français

Italiano
Polski
Português
Русский
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Automake
Developer(s)GNU Project
Initial releaseMay 28, 1996; 28 years ago (1996-05-28)
Stable release

1.16.5[1] Edit this on Wikidata / 3 October 2021; 2 years ago (3 October 2021)

Repository
Operating systemCross-platform
TypeProgramming tool
LicenseGNU General Public License
Websitewww.gnu.org/software/automake/ Edit this at Wikidata

Insoftware development, GNU Automake is a programming tool to automate parts of the compilation process. It eases usual compilation problems. For example, it points to needed dependencies.

It automatically generates one or more Makefile.in from files called Makefile.am. Each Makefile.am contains, among other things, useful variable definitions for the compiled software, such as compiler and linker flags, dependencies and their versions, etc. The generated "Makefile.in"s are portable and compliant with the Makefile conventions in the GNU Coding Standards, and may be used by configure scripts to generate a working Makefile.[2]

The Free Software Foundation maintains automake as one of the GNU programs, and as part of the GNU build system. It is used to build several GNU applications and libraries, such as GTK,[3] as well as non-GNU software such as XCircuit.[4]

Process[edit]

Flow diagram of autoconf and automake

Automake aims to allow the programmer to write a makefile in a higher-level language, rather than having to write the whole makefile manually. In simple cases, it suffices to give:

Automake also takes care of automatically generating the dependency information,[5] so that when a source file is modified, the next invocation of the make command will know which source files need to be recompiled. If the compiler allows it, Automake tries to make the dependency system dynamic: whenever a source file is compiled, that file's dependencies are updated by asking the compiler to regenerate the file's dependency list. In other words, dependency tracking is a side effect of the compilation process.

This attempts to avoid the problem with some static dependency systems, where the dependencies are detected only once when the programmer starts working on the project.[6]

Design[edit]

Automake is written in Perl and must be used with GNU Autoconf.[2] Automake contains the following commands:

aclocal, however, is a general-purpose program that can be useful to autoconf users. The GNU Compiler Collection (GCC), for example, uses aclocal even though its makefile is hand written.

Like Autoconf, Automake is not entirely backward compatible. For example, a project created with automake 1.13 will not necessarily work with automake 1.14.[7]

See also[edit]

References[edit]

  1. ^ Jim Meyering (3 October 2021). "automake-1.16.5 released". Retrieved 6 October 2021.
  • ^ a b "GNU Automake". GNU. Free Software Foundation. 2021-10-01. Retrieved 2024-04-26.
  • ^ "Compiling the GTK+ libraries". Retrieved 2024-04-26.
  • ^ "XCircuit Compile and Install". Retrieved 2024-04-26.
  • ^ "Automake Manual -- Automatic Dependency Tracking". GNU.org. Retrieved 2024-04-26.
  • ^ "Automake History". GNU.org. Retrieved 2024-04-26.
  • ^ "Re: "make distclean" broken?". 2013-07-16. Retrieved 2024-04-26.
  • Sources[edit]

    • Vaughan, Gary V.; Elliston, Ben; Tromey, Tom (2000). GNU Autoconf, Automake, and Libtool. Sams. ISBN 1-57870-190-2.

    External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Automake&oldid=1220895392"

    Categories: 
    Build automation
    Compiling tools
    Cross-platform free software
    Free software programmed in Perl
    GNU Project software
    Software using the GPL license
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Webarchive template wayback links
     



    This page was last edited on 26 April 2024, at 15:44 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki