Re: automake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 8, 2012 at 11:08 PM, Anand Avati <anand.avati@xxxxxxxxx> wrote:
> You might want to read autobook for the general theory behind autotools.
> Here's a quick summary -
>
> aclocal prepares the running of autotools.
> autoheader prepares autotools to generate a config.h to be consumed by C
> code
> configure.ac is the "source" to discover the build system and accept user
> parameters
> autoconf converts configure.ac to configure
> Makefile.am is the "source" to define what is to be built and how.
> automake converts Makefile.am to Makefile.in
>
> till here everything is scripted in ./autogen.sh
>
> running configure creates Makefile out of Makefile.in
>
> now run make :)
>

Best way to learn autotools is copy-paste-customize. In general, if
you are starting a new project, Debian has a nice little tool called
"autoproject". It will auto generate autoconf and automake files. Then
you start customizing it.

GNU project should really merge all these tools in to one simple
coherent system.
-- 
Anand Babu Periasamy
Blog [http://www.unlocksmith.org]

Imagination is more important than knowledge --Albert Einstein



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux