Create Makefile.am

Copied from patch-2