The $(get-pkg-from-target-name) is bogus. I had missed the chapter on static pattern rules, which solves the same problem and actually functions. :-)