Move frameworks.h generation to autogen.pl
Add frameworks.h to Makefile.am for each project