dbTalk Databases Forums  

Regarding Makefile in MySQL

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss Regarding Makefile in MySQL in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karthik Gurukuntala
 
Posts: n/a

Default Regarding Makefile in MySQL - 03-31-2010 , 04:05 AM






Dear All,

I trying to understand the process of creating the Makefile for MySQL. Now that I have figured out that changing a variable in one Makefile of the project directory isn't changing the same in those in the sub-directories, I am unable to understand how to do the same.

I foundthis Googling about Makefile :

<quote>
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
</quote>

I am not really sure about this process. But, however, yes, i did find that when I run ./configure, Makefile is created.

And for MySQL, Makefile.in and configure are found in the extracted source. So, the 'autoxxxx' things are already performed by someone for us.

Now, I want tounderstand how the Makefile.am is written, configure.in is written and thetools involved for the same.



Regards,
-Karthik

P.S.: Thanks a ton for the previous queries' replies. They have been of great help.
I dint want to spam the list with thanking messages, so I take this opportunity to thank all those who promptly replied to my small,silly questions.
Thanks again!


The INTERNET now has a personality. YOURS!See your Yahoo! Homepage. http://in.yahoo.com/

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
  #2  
Old   
Mats Kindahl
 
Posts: n/a

Default Re: Regarding Makefile in MySQL - 03-31-2010 , 04:29 AM






Hi Karthik,

I think this book is what you need to read:
http://sources.redhat.com/autobook/

It covers autoconf, automake, and libtool, which is what the
Makefile.am and configure.in file is about.

Best wishes,
Mats Kindahl

Karthik Gurukuntala wrote:
Quote:
Dear All,

I trying to understand the process of creating the Makefile for MySQL. Now that I have figured out that changing a variable in one Makefile of the project directory isn't changing the same in those in the sub-directories, I am unable to understand how to do the same.

I found this Googling about Makefile :

quote
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
/quote

I am not really sure about this process. But, however, yes, i did find that when I run ./configure, Makefile is created.

And for MySQL, Makefile.in and configure are found in the extracted source. So, the 'autoxxxx' things are already performed by someone for us.

Now, I want to understand how the Makefile.am is written, configure.in is written and the tools involved for the same.



Regards,
-Karthik

P.S.: Thanks a ton for the previous queries' replies. They have been of great help.
I dint want to spam the list with thanking messages, so I take this opportunity to thank all those who promptly replied to my small,silly questions.
Thanks again!


The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns... sun (DOT) com

--
Mats Kindahl
Senior Software Engineer
Database Technology Group
Sun Microsystems

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
  #3  
Old   
Ingo Strüwing
 
Posts: n/a

Default Re: Regarding Makefile in MySQL - 03-31-2010 , 05:38 AM



Hi Karthik,

Karthik Gurukuntala, 31.03.2010 11:05:

....
Quote:
Now, I want to understand how the Makefile.am is written, configure.in is written and the tools involved for the same.

You might find some useful hints in the reference manual:
http://dev.mysql.com/doc/refman/5.5/...urce-tree.html

Regards
Ingo
--
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schröder HRB München 161028

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.