LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-08-2005, 12:36 AM   #1
cynthia_thomas
LQ Newbie
 
Registered: Oct 2005
Posts: 28

Rep: Reputation: 15
what is the meaning of Makefile,Makefile.am,Makefile.in


hi,
I am new to Linux. I have a source code for a particular tool, there are files like Makefile, Makefile.in, makefile.am.
What are they for? How can I understand the meaning of those files?

Please reply me

thanks and regards
cynthia
 
Old 12-08-2005, 03:11 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The contain information about how a program should build, its dependencies etc. As to how you can understand them, I think you need a bit of knowledge about scripting and programming.
 
Old 12-08-2005, 03:19 AM   #3
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
The makefile.in contains the information of the program it also counts for makefile.am but I'm not 100% sure.
if you run configure it modifies/creates the MAKEFILE which also contains your system specifics like gcc version glibc version etc etc.. the MAKEFILE is being used when you execute the command make
 
Old 12-08-2005, 05:00 AM   #4
T.Hsu
Member
 
Registered: Jan 2005
Posts: 178

Rep: Reputation: 31
Basically,

Makefile.am -- a user input file to automake
configure.in -- a user input file to autoconf

autoconf generates configure from configure.in
automake gererates Makefile.in from Makefile.am

configure generates Makefile from Makefile.in

The real process is much more complicated, of cource.

Correct me if I am wrong.

A great resource for learning GNU autotools.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
makefile Prasun1 Linux - General 1 09-25-2005 10:07 AM
How to modify makefile.in or makefile.am QiangWan Linux - Newbie 1 05-17-2005 11:07 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 12:23 PM
What's meaning of ':=' in Makefile? cd7809 Programming 2 02-23-2004 01:30 AM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration