Thanks for the replies, guys.
@Nick, I was coming to that conclusion.
@Morris, the idea is to have the library support related devices, only one of which will be used by a given sketch. Part of the library code works verbatim for all devices, part has differences depending on the particular device. It seemed reasonable to have the main sketch indicate the device, so the library code can be conditionally compiled to minimize size. Maybe there is a better/safer approach? BTW your analogy made me
@Coding, yes, it's kind of a conglomeration from a couple sources, am willing to modify. Using Arduino 1.0 only sometimes, mostly not currently, but would still be interested in any applicable technique.