autotools: Simplified a lot src/Makefile.am.

Simplified by using file listing in a better way.
examples: Get rid of a few warnings.