[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Once you have written `configure.in', `Makefile.am', `acconfig.h', and possibly `acinclude.m4', you must use autoconf and automake programs to produce the first versions of the generated files. This is done by executing the following sequence of commands.
aclocal autoconf autoheader automake |
The `aclocal' and `automake' commands are part of the automake package, and the `autoconf' and `autoheader' commands are part of the autoconf package.
If you are using a `m4' subdirectory for your macros, you will need to use the `-I m4' option when you run `aclocal'.
If you are not using the Cygnus tree, use the `-a' option when running `automake' command in order to copy the required support files into your source directory.
If you are using libtool, you must build and install the libtool package with the same `--prefix' and `--exec-prefix' options as you used with the autoconf and automake packages. You must do this before running any of the above commands. If you are not using the Cygnus tree, you will need to run the `libtoolize' program to copy the libtool support files into your directory.
Once you have managed to run these commands without getting any errors, you should create a new empty directory, and run the `configure' script which will have been created by `autoconf' with the `--enable-maintainer-mode' option. This will give you a set of Makefiles which will include rules to automatically rebuild all the generated files.
After doing that, whenever you have changed some of the input files and want to regenerated the other files, go to your object directory and run `make'. Doing this is more reliable than trying to rebuild the files manually, because there are complex order dependencies and it is easy to forget something.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |