Add tools.mk

Use the new tools.mk file that all the other repos have switched to and fix edoc for one of the source files.