Using Automake/autoconf

Author:
Jan Wedekind (jan at wedesoft.de)
Date:
Wed May 26 12:43:00 BST 2004

Getting started

Create configure script

If you start from scratch (f.e. after checking out the content of the tla-repository), you'll need to generate the configure script:
    $ make -f Makefile.dist
    
To configure and compile the software in debug-mode do:
    $ ./configure --enable-debug=yes
    $ make
    
Note that you need autoconf-2.50 or higher.

Create distributable

To create a distributable source-tarball go to the mimas root directory and do
    $ make dist
    
Beware: This only works properly, if you have mimas compiled with all optional functionality! Otherwise the tar-file will be incomplete.

Cleaning your source tree

To clean secondary files like objects, libraries and executables in the current directory and all sub-directories just do
    $ make clean
    

automake/autoconf clutters the directories with a lot of files. If you want to delete the configure-script and other files generated by autoconf, you have to execute

    $ make distclean
    

For deleting all secondary files, there is the maintainer-clean-rule

    $ make maintainer-clean
    

Installation

To install mimas just type
    $ make install
    

Further information

More configure flags

    $ ./configure --enable-debug=yes --prefix=/usr --exec-prefix=/usr --with-pkg-config-path=/usr/local/lib/pkgconfig CC=/usr/bin/gcc-3.3.2 CXX=/usr/bin/g++-3.3.2
    

Links

Todo:
Add a switch to compile with or without GPL-code. (I.e. allow quick release of a LGPL-library with less functionality).

[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:17 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...