autotools: Fix makefile main rule.
autotools: Fix some more makefiles.
autotools: Set src/main/Makefile.in to be the main makefile.
autotools: Delete autoscan.log.
autotools: Fix a small bug.
autotools: Add makefiles for c++/core, c++/util and c++/wave.
autotools: Refactored makefiles to compile new modules.
autotools: Simplified makefiles quite a bit.