Thread: pgsql-server: Cause libpq and ecpg libraries to be built as proper

pgsql-server: Cause libpq and ecpg libraries to be built as proper

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Cause libpq and ecpg libraries to be built as proper shared libraries
(.dylib format) on Mac OS X, while not messing up loadable modules for
the backend (which are the same kind of animal as a shared library on
every other platform, but not here).  Also get the naming convention
to match OS X practice, viz libFOO.version.so not libFOO.so.version.
In support of that last, refactor code in Makefile.shlib to make it
easier to have platform-specific shlib naming conventions.
This patch is loosely based on the Fink project's current postgresql.patch.
Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check
it on?

Modified Files:
--------------
    pgsql-server/src/interfaces/ecpg/compatlib:
        Makefile (r1.17 -> r1.18)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/ecpg/compatlib/Makefile.diff?r1=1.17&r2=1.18)
    pgsql-server/src/interfaces/ecpg/ecpglib:
        Makefile (r1.24 -> r1.25)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/ecpg/ecpglib/Makefile.diff?r1=1.24&r2=1.25)
    pgsql-server/src/interfaces/ecpg/pgtypeslib:
        Makefile (r1.21 -> r1.22)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/ecpg/pgtypeslib/Makefile.diff?r1=1.21&r2=1.22)
    pgsql-server/src/interfaces/libpq:
        Makefile (r1.111 -> r1.112)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/libpq/Makefile.diff?r1=1.111&r2=1.112)
    pgsql-server/src:
        Makefile.shlib (r1.76 -> r1.77)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/Makefile.shlib.diff?r1=1.76&r2=1.77)