--------------------------------------------------------------------------
Test Case: ----------
--------------------------------------------------------------------------
Solution: --------- Add this to the libpq and libpq++ Makefiles
to build shared libs:
Mike Ferrara
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.9 1997/09/16 18:47:23 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.10 1998/03/20 04:07:11 momjian Exp $
#
#-------------------------------------------------------------------------
LDFLAGS_SL = -G -z text
CFLAGS += $(CFLAGS_SL)
endif
+ifeq ($(PORTNAME), hpux)
+ install-shlib-dep := install-shlib
+ shlib := libpq.sl
+ LDFLAGS_SL = -b
+ CFLAGS += $(CFLAGS_SL)
+endif
all: $(LIBNAME).a $(SHLIB) install examples
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.8 1998/02/27 02:40:59 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.9 1998/03/20 04:07:02 momjian Exp $
#
#-------------------------------------------------------------------------
LDFLAGS_SL = -G -z text
CFLAGS += $(CFLAGS_SL)
endif
+ifeq ($(PORTNAME), hpux)
+ install-shlib-dep := install-shlib
+ shlib := libpq.sl
+ LDFLAGS_SL = -b
+ CFLAGS += $(CFLAGS_SL)
+endif
all: libpq.a $(shlib) c.h