Implement a few changes to how shared libraries and dynamically loadable
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 7 Apr 2008 14:15:58 +0000 (14:15 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 7 Apr 2008 14:15:58 +0000 (14:15 +0000)
commit46e76373ec6036a0a53206ef0ea87df75d082c48
treeca715a035d641cdd7af1bf074848e435da28a1df
parent8deafd6fdff78ce5412b6de75efc07ee7283a266
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.
14 files changed:
src/Makefile.shlib
src/backend/snowball/Makefile
src/backend/utils/mb/conversion_procs/proc.mk
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/pgtypeslib/Makefile
src/interfaces/libpq/Makefile
src/makefiles/pgxs.mk
src/pl/plperl/GNUmakefile
src/pl/plpgsql/src/Makefile
src/pl/plpython/Makefile
src/pl/tcl/Makefile
src/test/regress/GNUmakefile
src/tutorial/Makefile