configuration rule refactoring

The time for preliminaries and drive-by fixes is over, more sustantive changes are coming now.  This pull request makes all target names follow a consistent scheme and then exploits that scheme by replacing all configure rules by a generic pattern.