On Sun, 2012-09-09 at 03:35 -0400, Tom Lane wrote:
> >> Another problem is that Makefile.shlib isn't designed to build more
> >> than one shared library per directory,
>
> > That's the main problem, but fixing it would be very useful in other
> > places as well. I had it on my radar to do something about that.
>
> This would be a good thing. Got any ideas how to do it?
Here is a very rough patch. It obviously will need a lot of
fine-tuning, but it's the idea.