diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-10-09 21:28:50 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-10-09 21:28:50 +0000 |
commit | 2ac3173d75a8c09089a82f273144fe56b5639729 (patch) | |
tree | df8a7ea93e802b2ac5dd6fd0ef0dd0d59972daa7 /src/interfaces | |
parent | 0044a1bc1d506e83c9f97cba003188a953834739 (diff) | |
download | postgresql-2ac3173d75a8c09089a82f273144fe56b5639729.tar.gz postgresql-2ac3173d75a8c09089a82f273144fe56b5639729.zip |
major/minor shared name cleanup
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/libpgtcl/Makefile.in | 19 | ||||
-rw-r--r-- | src/interfaces/libpq/Makefile.in | 6 | ||||
-rw-r--r-- | src/interfaces/odbc/GNUmakefile.in | 10 |
3 files changed, 19 insertions, 16 deletions
diff --git a/src/interfaces/libpgtcl/Makefile.in b/src/interfaces/libpgtcl/Makefile.in index cb205759407..5e557ebeb56 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 diff --git a/src/interfaces/libpq/Makefile.in b/src/interfaces/libpq/Makefile.in index 77997a849a7..495f0a39395 100644 --- a/src/interfaces/libpq/Makefile.in +++ b/src/interfaces/libpq/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.33 1998/10/09 04:50:08 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.34 1998/10/09 21:28:48 momjian Exp $ # #------------------------------------------------------------------------- @@ -42,8 +42,8 @@ install-shlib-dep := ifeq ($(PORTNAME), linux) install-shlib-dep := install-shlib - shlib := libpq.so.$(SO_MAJOR_VERSION) - LDFLAGS_SL := -shared -soname libpq.so.$(SO_MAJOR_VERSION) + shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) + LDFLAGS_SL := -shared -soname libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) CFLAGS += $(CFLAGS_SL) endif diff --git a/src/interfaces/odbc/GNUmakefile.in b/src/interfaces/odbc/GNUmakefile.in index 0b2652f2a5d..ec819f31699 100644 --- a/src/interfaces/odbc/GNUmakefile.in +++ b/src/interfaces/odbc/GNUmakefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.3 1998/10/09 07:04:49 thomas Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.4 1998/10/09 21:28:50 momjian Exp $ # #------------------------------------------------------------------------- @SET_MAKE@ @@ -30,7 +30,7 @@ install-shlib-dep := install-shlib shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) ifeq ($(PORTNAME), linux) - LDFLAGS_SL = -shared -soname lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) + LDFLAGS_SL = -shared -soname lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL += -Bsymbolic $(LDFLAGS) -lc -lm endif @@ -87,9 +87,9 @@ install-libpsqlodbc: libpsqlodbc.a install-shlib: $(shlib) $(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(DESTDIR)$(LIBDIR)/$(shlib) rm -f $(DESTDIR)$(LIBDIR)/lib$(NAME)$(DLSUFFIX) - rm -f $(DESTDIR)$(LIBDIR)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) - cd $(DESTDIR)$(LIBDIR) && $(LN_S) -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) - cd $(DESTDIR)$(LIBDIR) && $(LN_S) -f lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) lib$(NAME)$(DLSUFFIX) + rm -f $(DESTDIR)$(LIBDIR)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) + cd $(DESTDIR)$(LIBDIR) && $(LN_S) -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) + cd $(DESTDIR)$(LIBDIR) && $(LN_S) -f lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) lib$(NAME)$(DLSUFFIX) install-ini: odbcinst.ini $(INSTALL) $(INSTL_LIB_OPTS) odbcinst.ini $(ODBCINST) |