Tool to Map #include's
I believe doxygen:
http://www.doxygen.org/
with graphviz installed:
http://www.graphviz.org/
will do it.
gcc(1) can produce dependency files. They are intended to be used by make(1), but they are relatively easy to parse. Use 'gcc -M -MF file' or 'gcc -MM -MF file'.