diff options
Diffstat (limited to 'src/interfaces/libpgtcl/Makefile.in')
| -rw-r--r-- | src/interfaces/libpgtcl/Makefile.in | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/interfaces/libpgtcl/Makefile.in b/src/interfaces/libpgtcl/Makefile.in index cb20575940..5e557ebeb5 100644 --- a/src/interfaces/libpgtcl/Makefile.in +++ b/src/interfaces/libpgtcl/Makefile.in @@ -7,10 +7,13 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.25 1998/10/09 04:50:06 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.26 1998/10/09 21:28:46 momjian Exp $ # #------------------------------------------------------------------------- +SO_MAJOR_VERSION=2 +SO_MINOR_VERSION=0 + SRCDIR= ../.. include $(SRCDIR)/Makefile.global @@ -35,7 +38,7 @@ LIBPQ = -L$(SRCDIR)/interfaces/libpq -lpq ifeq ($(PORTNAME), linux) install-shlib-dep := install-shlib - shlib := libpgtcl.so.1 + shlib := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) CFLAGS += $(CFLAGS_SL) LDFLAGS_SL = -shared endif @@ -43,7 +46,7 @@ endif ifeq ($(PORTNAME), bsd) ifdef BSD_SHLIB install-shlib-dep := install-shlib - shlib := libpgtcl.so.1.0 + shlib := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL = -x -Bshareable -Bforcearchive CFLAGS += $(CFLAGS_SL) endif @@ -53,13 +56,13 @@ ifeq ($(PORTNAME), bsdi) ifdef BSD_SHLIB ifeq ($(DLSUFFIX), .so) install-shlib-dep := install-shlib - shlib := libpgtcl.so + shlib := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL += -shared CFLAGS += $(CFLAGS_SL) endif ifeq ($(DLSUFFIX), .o) install-shlib-dep := install-shlib - shlib := libpgtcl.o + shlib := libpgtcl.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LD := shlicc LDFLAGS_SL += -O -r CFLAGS += $(CFLAGS_SL) @@ -69,21 +72,21 @@ endif ifeq ($(PORTNAME), solaris) install-shlib-dep := install-shlib - shlib := libpgtcl.so.1 + shlib := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL := -G -z text CFLAGS += $(CFLAGS_SL) endif ifeq ($(PORTNAME), unixware) install-shlib-dep := install-shlib - shlib := libpgtcl.so.1 + shlib := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL := -G -z text CFLAGS += $(CFLAGS_SL) endif ifeq ($(PORTNAME), univel) install-shlib-dep := install-shlib - shlib := libpgtcl.so.1 + shlib := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL := -G -z text CFLAGS += $(CFLAGS_SL) endif |
