replace all Makefile.am files with generated versions