automake command in Linux with Examples

automake is a tool used for automatically generating Makefile.in files compliant with the set GNU Coding Standards. autoconf is required for the use of automake. automake manual can either be read on-line or downloaded in the PDF format. More formats are also offered for download or on-line reading. It will generate the Makefile.in for configuration from the Makefile.am file.

Syntax:

automake [OPTION]....[Makefile]

Operation Modes:

  • –help : Prints help and then exits.

  • –version : Prints the version information and then it exits.

  • -v or –verbose : Prints the verbosely list of processes.

  • –no-force : It will only update Makefile.in which are out of date.
  • -W or –warnings=Category : Reports the warnings falling in that specific category.

    The different warnings category’s are:

Dependency Tracking Options:

  • -i or –ignore-deps : Disables the dependency tracking code.
  • –include-deps : Enables the dependency tracking code.

Flavors:

  • –foreign : It sets the strictness to foreign.
  • –gnits : It sets the strictness to gnits.
  • –gnu : It sets the strictness to gnu.

The library files:

  • -a or –add-missing : Adds the standard missing files to the package.
  • –libdir = DIRECTORY : Sets the directory storing library files.
  • -c or –copy : With -a, copies the missing files.
  • -f or –force-missing : Forces the update of standard files.


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.