Modify many Makefile.am and Makefile.in so that the configure build allows out-of-srcdir builds.  Mostly this just required replacing $(top_builddir) with $(top_srcdir) in all these files.