[wplug] Makefile help

Patrick Wagstrom pwagstro at andrew.cmu.edu
Wed Jul 25 09:27:43 EDT 2007


> My question is twofold (note I am a beginner at Makefile and autoconf):
> 
> 1) Is there any easy way to convert this Imakefile setup into a normal 
> Makefile setup?

No.

> 2) Even better is there a straight forward way to convert this Imakefile
> setup into an autotools setup so that a user can just run "./configure"? I
> have generated a configure from an existing configure.in by running
> "autoconf" but that is the extend of my knowledge on autotools :)
> 
> I guess this would be a good chance to learn autotools and Makefiles. Any
> good free guides or open books on either 1) or 2)? Some have already
> warned me that autotools is not easily mastered and not for those with a
> poor constitution :)

Autotools is not straightforward (m4?  you've got to be kidding me).  However the autobook is really helpful and I've used it quite a bit in my programming and research.  I can highly recommend it.

http://sourceware.org/autobook/

Your best bet is to start out with a toy project and build it up from there.  They have some help for how to convert a projcet to autotools, it's marginally helpful.

http://sourceware.org/autobook/autobook/autobook_237.html#SEC237

--Patrick



More information about the wplug mailing list