Implement a few changes to how shared libraries and dynamically loadable
Peter Eisentraut <peter_e@gmx.net>
Implement a few changes to how shared libraries and dynamically loadable modules are built. Foremost, it creates a solid distinction between these two types of targets based on what had already been implemented and duplicated in ad hoc ways before. Specifically, - Dynamically loadable modules no longer get a soname. The numbers previously set in the makefiles were dummy numbers anyway, and the presence of a soname upset a few packaging tools, so it is nicer not to have one. - The cumbersome detour taken on installation (build a libfoo.so.0.0.0 and then override the rule to install foo.so instead) is removed. - Lots of duplicated code simplified.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/snowball/Makefile | modified | +5 −13 |
| src/backend/utils/mb/conversion_procs/proc.mk | modified | +3 −12 |
| src/interfaces/ecpg/compatlib/Makefile | modified | +2 −4 |
| src/interfaces/ecpg/ecpglib/Makefile | modified | +2 −4 |
| src/interfaces/ecpg/pgtypeslib/Makefile | modified | +2 −4 |
| src/interfaces/libpq/Makefile | modified | +3 −4 |
| src/Makefile.shlib | modified | +148 −60 |
| src/makefiles/pgxs.mk | modified | +14 −12 |
| src/pl/plperl/GNUmakefile | modified | +5 −16 |
| src/pl/plpgsql/src/Makefile | modified | +5 −21 |
| src/pl/plpython/Makefile | modified | +5 −16 |
| src/pl/tcl/Makefile | modified | +6 −18 |
| src/test/regress/GNUmakefile | modified | +3 −10 |
| src/tutorial/Makefile | modified | +1 −3 |