add Makefiles and configure.ac