Using automake Command In Linux (Examples)

automake command in Linux platform offers users a tool named automake that is used for generating Makefile.in files which are compliant with set GNU Coding Standards. In order to use this, autoconf command is required. So, when the automake command is used, it will generate Makefile.in for configuration from Makefile.am.

Syntax to use automake command in Linux

automake [OPTION] [Makefile]

Examples of automake command

automake -help

Displays the help information on screen

automake -version

Displays the version details on screen

Options available to use with automake command

-help: Displays help information and exits
-version: Displays version details and exits
-v | -verbose: displays the list of verbose processes
-no-force: Updates Makefile.in that are outdated
-W | -warnings=Category: Reports the warning in specified category

Options of automake command for tracking dependency

-i | -ignore-deps: Shows the dependency tracking code
-include-deps: Used for enabling dependency tracking code

Various flavors and its description

-foreign: Used for setting strictness to foreign
-gnits: Used for setting strictness to gnits
-gnu: Used for setting strictness to gnu

About the library files

-a | -add-missing: Used for adding standard missing files to automake package
-libdir=Directory: Used for setting the directory storing library files
-c | -copy: Basically it used for coping the missing files, it’s used with -a
-f | -force-missing: It enforce the update of standard files