Partial migration to nonrecursive make.
Remove local pgm configuration option, cleanup configure.ac, remove unused Makefile.am instances.
Merge pull request #1208 from pmienk/master

Reduce automake recursion; simplify pgm dependency