automake
[Top][All Lists]
Advanced

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

Re: Possible to use Automake without Autoconf/config script?


From: Earnie Boyd
Subject: Re: Possible to use Automake without Autoconf/config script?
Date: Thu, 17 Apr 2003 07:36:05 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

address@hidden wrote:
Makefile.am is the high level description
of Makefile(s) desired.  Makefiles are created by
Automake.


No automake creates the Makefile.in that is used by the autoconf configure script to create the Makefile. Automake uses both the Makefile.am template and configure.[ac|in] template to create the Makefile.in.

If I'm not mistaken, the purpose of Makefile.in
is to be a "modified Makefile.am" that is
adjusted with regards to specifics of local
platform.  (Makefile.in of course is created by
configure script.)


You are mistaken. The makefile.in describes the build process to the configure script so that it can create the Makefile. The Makefile.in is a required file of a package distribution. It is an aid to configure so that the automagic of substitution can take place.

If one was only interested in Automake and not
portability, could one bypass Makefile.in
and just use Automake independently of Autoconfig?


No. Automake is an aid to the creation of Makefile.in that is used by the configure script. It is not a replacement for autoconf, it does not directly build a usable Makefile. Its intended purpose is to create Makefile.in templates for autoconfized configure scripts.

i.e. is there maybe some automake switch to
accept Makefile.am rather than Makefile.in?


Uhm, automake's input is Makefile.am and it's output is Makefile.in.

Earnie.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]