add Makefile.am and configure.in template.