makefiles: Generate the config.status dependency as part of the makefile dependencies.