factor out common definitions from the Makefile-$backend.in files to a Makefile-common.in