Fix all warnings seen on a x64 Debian Wheezy

Most of the warnings were due to inadapted variable cast during
printf. They have been replaced with portable definitions as
defined in inttypes.h

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Forward FLAGS variables to the compiler/linker

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Do not rebuild during install rule

The "install" target currently depends on some virtual target "compile"
that never meets the dependency as it doesn't generate a compile file.
This change modifies this dependencies and install now depends on
$(TOOLS) in each Makefile so that we don't rebuild the binaries if they
have already been generated

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Move all manpages under section 1

This is where "Executable commands and scripts" are support to be
according to Debian policy:
http://www.debian.org/doc/manuals/maint-guide/dother.en.html#manpage

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>