Copyright (C) 2009-2012 Simon Josefsson.  Licensed under the GPLv3+.

This file contains instructions for developers and advanced users that
wants to build from version controlled sources.

We require several tools to build the software, including:

- Make <http://www.gnu.org/software/make/>
- Automake <http://www.gnu.org/software/automake/>
- Autoconf <http://www.gnu.org/software/autoconf/>
- Libtool <http://www.gnu.org/software/libtool/>
- Bison <http://www.gnu.org/software/bison/>
- help2man <http://www.gnu.org/software/help2man/>
- Gengetopt <http://www.gnu.org/software/gengetopt/>
- Tar <http://www.gnu.org/software/tar/>
- Gzip <http://www.gnu.org/software/gzip/>
- GTK-DOC <http://www.gtk.org/gtk-doc/> (for API manual)
- Git <http://git.or.cz/>
- Valgrind <http://valgrind.org/> (optional)
- PAM library/headers (optional, required for PAM module)

The required software is typically distributed with your operating
system, and the instructions for installing them differ.  Here are
some hints:

gNewSense/Debian/Ubuntu:
apt-get install make git autoconf automake libtool bison
apt-get install help2man gtk-doc-tools valgrind gengetopt

If you have hints regarding installating the dependencies on other
operating systems, please suggest changes to this file.

To download the version controlled sources:

$ git clone git://git.savannah.nongnu.org/oath-toolkit.git
$ cd oath-toolkit

The next step is to run autoreconf, ./configure, etc:

$ make bootstrap

Then build the project normally:

$ make
$ make check

Happy hacking!
