summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq++/Makefile')
-rw-r--r--src/interfaces/libpq++/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile
index da16b32f50..e1e99eed0c 100644
--- a/src/interfaces/libpq++/Makefile
+++ b/src/interfaces/libpq++/Makefile
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.17 1998/06/15 21:01:48 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.18 1998/07/12 18:48:06 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -42,18 +42,20 @@ OBJS = pgenv.o pgconnection.o pgtransdb.o pgcursordb.o pglobject.o
# Shared library stuff
SHLIB :=
INSTALL-SHLIB-DEP :=
-ifeq ($(PORTNAME), linux_i386)
+ifeq ($(PORTNAME), linux)
INSTALL-SHLIB-DEP := install-shlib
SHLIB := libpq++.so.1
LDFLAGS_SL = -shared -soname $(SHLIB)
CFLAGS += $(CFLAGS_SL)
endif
-ifeq ($(PORTNAME), solaris_i386)
+
+ifeq ($(PORTNAME), solaris)
INSTALL-SHLIB-DEP := install-shlib
SHLIB := libpq++.so.1
LDFLAGS_SL = -G -z text -shared -soname $(SHLIB)
CFLAGS += $(CFLAGS_SL)
endif
+
ifeq ($(PORTNAME), hpux)
install-shlib-dep := install-shlib
shlib := libpq.sl