OSDN Git Service

Add SVr4 shared libraries.
authorBruce Momjian <bruce@momjian.us>
Mon, 12 Oct 1998 01:10:09 +0000 (01:10 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 12 Oct 1998 01:10:09 +0000 (01:10 +0000)
src/interfaces/ecpg/lib/Makefile.in
src/interfaces/libpgtcl/Makefile.in
src/interfaces/libpq++/Makefile.in
src/interfaces/libpq/Makefile.in
src/pl/plpgsql/src/Makefile.in

index 2e24b50..988aa35 100644 (file)
@@ -16,6 +16,7 @@ endif
 # Shared library stuff
 shlib := 
 install-shlib-dep :=
+
 ifeq ($(PORTNAME), linux)
   LINUX_ELF=@LINUX_ELF@
   ifdef LINUX_ELF
@@ -24,6 +25,7 @@ ifeq ($(PORTNAME), linux)
     LDFLAGS_SL = -shared -soname libecpg.so.$(SO_MAJOR_VERSION)
   endif
 endif
+
 ifeq ($(PORTNAME), bsd)
   ifdef BSD_SHLIB
     install-shlib-dep := install-shlib
@@ -32,18 +34,28 @@ ifeq ($(PORTNAME), bsd)
     CFLAGS += $(CFLAGS_SL)
   endif
 endif
+
 ifeq ($(PORTNAME), solaris_sparc)
   install-shlib-dep := install-shlib
   shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_PATCHLEVEL)
   LDFLAGS_SL = -G -z text
   CFLAGS += $(CFLAGS_SL)
 endif
+
 ifeq ($(PORTNAME), solaris_i386)
   install-shlib-dep := install-shlib
   shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_PATCHLEVEL)
   LDFLAGS_SL = -G
   CFLAGS += $(CFLAGS_SL)
 endif
+
+ifeq ($(PORTNAME), svr4)
+  install-shlib-dep := install-shlib
+  shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_PATCHLEVEL)
+  LDFLAGS_SL = -G
+  CFLAGS += $(CFLAGS_SL)
+endif
+
 ifeq ($(PORTNAME), univel)
   install-shlib-dep := install-shlib
   shlib := libecpg.so.1
@@ -51,6 +63,13 @@ ifeq ($(PORTNAME), univel)
   CFLAGS += $(CFLAGS_SL)
 endif
 
+ifeq ($(PORTNAME), unixware)
+  install-shlib-dep := install-shlib
+  shlib := libecpg.so.1
+  LDFLAGS_SL = -G -z text
+  CFLAGS += $(CFLAGS_SL)
+endif
+
 all: libecpg.a $(shlib)
 
 $(shlib): ecpglib.sho typename.sho
index 6dc0673..9976dbd 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.27 1998/10/12 01:03:57 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.28 1998/10/12 01:10:03 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -84,6 +84,13 @@ ifeq ($(PORTNAME), solaris_i386)
   CFLAGS               += $(CFLAGS_SL)
 endif
 
+ifeq ($(PORTNAME), svr4)
+  install-shlib-dep    := install-shlib
+  shlib                        := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+  LDFLAGS_SL           := -G
+  CFLAGS               += $(CFLAGS_SL)
+endif
+
 ifeq ($(PORTNAME), unixware)
   install-shlib-dep    := install-shlib
   shlib                        := libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
index d2c58d0..f3faf67 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.5 1998/10/12 01:04:00 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.6 1998/10/12 01:10:07 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -71,6 +71,13 @@ ifeq ($(PORTNAME), solaris_i386)
   CFLAGS += $(CFLAGS_SL)
 endif
 
+ifeq ($(PORTNAME), svr4)
+  INSTALL-SHLIB-DEP := install-shlib
+  SHLIB := libpq++.so.1
+  LDFLAGS_SL = -G -shared -soname $(SHLIB)
+  CFLAGS += $(CFLAGS_SL)
+endif
+
 ifeq ($(PORTNAME), unixware)
   install-shlib-dep := install-shlib
   shlib := libpq.so.1
index 9956131..5e2b4aa 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.35 1998/10/12 01:03:58 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.36 1998/10/12 01:10:05 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -88,6 +88,13 @@ ifeq ($(PORTNAME), solaris_i386)
   CFLAGS               += $(CFLAGS_SL)
 endif
 
+ifeq ($(PORTNAME), svr4)
+  install-shlib-dep    := install-shlib
+  shlib                        := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+  LDFLAGS_SL           := -G
+  CFLAGS               += $(CFLAGS_SL)
+endif
+
 ifeq ($(PORTNAME), unixware)
   install-shlib-dep    := install-shlib
   shlib                        := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
index cca844c..9ca5831 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for the plpgsql shared object
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.6 1998/10/12 01:04:02 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.7 1998/10/12 01:10:09 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -64,6 +64,11 @@ ifeq ($(PORTNAME), solaris_i386)
   CFLAGS               += $(CFLAGS_SL)
 endif
 
+ifeq ($(PORTNAME), svr4)
+  LDFLAGS_SL           := -G
+  CFLAGS               += $(CFLAGS_SL)
+endif
+
 ifeq ($(PORTNAME), unixware)
   LDFLAGS_SL           := -G -z text
   CFLAGS               += $(CFLAGS_SL)