Sorry this is dragging on. I'm nursing code I did not write, that was written a long time ago, before a lot of interfaces changed. Some of the new interfaces I'm not familiar with myself. Let's simplify this. Here is the new target, *without* corefile support. This will get the infrastructure into place, including shared libraries, and then I can rework and submit the corefile part separately. Then I won't accidentally overlook the makefile fragment or something next time.