<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Sat, 2011-09-24 at 21:06 -0400, Matt Turner wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <TT><FONT COLOR="#3c3c3c">The last discussion about using automake (&quot;[RFC] Convert mesa to automake/libtool&quot;)</FONT></TT><BR>
    <TT><FONT COLOR="#3c3c3c">ended without anything happening, probably because the branch wasn't ready.</FONT></TT><BR>
    <BR>
    <TT><FONT COLOR="#3c3c3c">This patch is an attempt to get the ball rolling again. Without ripping out</FONT></TT><BR>
    <TT><FONT COLOR="#3c3c3c">the entire existing build system in one swat, it attempts to gradually replace</FONT></TT><BR>
    <TT><FONT COLOR="#3c3c3c">it directory by directory with automake.</FONT></TT> <BR>
</BLOCKQUOTE>
<BR>
Some thoughts here, fresh from the oven, not analyzed:<BR>
<BR>
- I would start from the root makefile and work my way down, invoking the mesa makefile in the subdirs. It is intuitive, but I don't know if it is feasible.<BR>
<BR>
- The minimum autoconf version should be 2.60. Features above 2.60 should not be used. Starting v 2.62 there is a license controversy and some platforms x.org support cannot use anything produce with 2.62 or above.<BR>
<BR>
- Minimum automake is 1.10. features above 1.10 must be avoided. <BR>
<BR>
- Decide if mesa is ok depending on util-macros. Lots of things are taken for granted by x.org developers which won't be there in automake-mesa. <BR>
<BR>
There should be some useful info in:<BR>
<A HREF="http://wiki.x.org/wiki/ModularDevelopersGuide">http://wiki.x.org/wiki/ModularDevelopersGuide</A><BR>
<A HREF="http://wiki.x.org/wiki/NewModuleGuidelines">http://wiki.x.org/wiki/NewModuleGuidelines</A><BR>
Both are up to date.<BR>
<BR>
Automake has considered coexistence with custome makefile:<BR>
<A HREF="http://www.gnu.org/software/automake/manual/automake.html#Third_002dParty-Makefiles">http://www.gnu.org/software/automake/manual/automake.html#Third_002dParty-Makefiles</A><BR>
This may help crafting a conversion strategy.<BR>
<BR>
Suggestion:<BR>
<BR>
- Do not use the pair AM_MAINTAINER_MODE and --enable-maintainer-mode in autogen.sh. They will eventually be removed in x.org. These were created by Automake as a CVS time stamp workaround. But it's a long story. it's a noop for git builds.<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>