Use CMake for generate doxygen doc.

Make doxyfile template used by CMake.
Remove fixed doc/makefile
Fix main makefile.