summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++
diff options
context:
space:
mode:
authorBruce Momjian1998-08-22 04:24:41 +0000
committerBruce Momjian1998-08-22 04:24:41 +0000
commita738478ad8319bb4761dc53dfe700cb1fe87000e (patch)
tree15bde54505ecbcb01eb6db417f4ae1ebd8e6782c /src/interfaces/libpq++
parent9005da08def354e0b23e3bca4ec500c41eb142e7 (diff)
Here are additional patches for the UnixWare 7 port.
Summary of changes: In pqcomm.h, use the SUN_LEN macro if it is defined to calculate the size of the sockaddr_un structure. In unixware.h, drop the use of the UNIXWARE macro. Everything can be handled with the USE_UNIVEL_CC and DISABLE_COMPLEX_MACRO macros. In s_lock.h, remove the reference to the UNIXWARE macro (see above). In the unixware template, add the YFLAGS:-d line. In various makefile templates, add (or cleanup) unixware and univel port specific information. -- Billy G. Allie
Diffstat (limited to 'src/interfaces/libpq++')
-rw-r--r--src/interfaces/libpq++/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile
index fb619a90d31..9ccbe946578 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.19 1998/07/12 19:20:45 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.20 1998/08/22 04:24:35 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -56,6 +56,20 @@ ifeq ($(PORTNAME), solaris)
CFLAGS += $(CFLAGS_SL)
endif
+ifeq ($(PORTNAME), unixware)
+ install-shlib-dep := install-shlib
+ shlib := libpq.so.1
+ LDFLAGS_SL = -G -z text
+ CFLAGS += $(CFLAGS_SL)
+endif
+
+ifeq ($(PORTNAME), univel)
+ install-shlib-dep := install-shlib
+ shlib := libpq.so.1
+ LDFLAGS_SL = -G -z text
+ CFLAGS += $(CFLAGS_SL)
+endif
+
ifeq ($(PORTNAME), hpux)
install-shlib-dep := install-shlib
shlib := libpq.sl