summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++
diff options
context:
space:
mode:
authorPeter Eisentraut2000-08-31 16:12:35 +0000
committerPeter Eisentraut2000-08-31 16:12:35 +0000
commit424f0edcb8d73446223f1812d3ca88150e1cc953 (patch)
tree6b0f0a9d1d9aed67873e9ff8acd2b5a6da77ac58 /src/interfaces/libpq++
parentd4266620e1c92d0b5d76d8c583f2fbfcf5bcd7fe (diff)
Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
Diffstat (limited to 'src/interfaces/libpq++')
-rw-r--r--src/interfaces/libpq++/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile
index ad31cad6428..8430acb7abd 100644
--- a/src/interfaces/libpq++/Makefile
+++ b/src/interfaces/libpq++/Makefile
@@ -4,27 +4,27 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.23 2000/06/30 16:10:54 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.24 2000/08/31 16:11:51 petere Exp $
#
#-------------------------------------------------------------------------
subdir = src/interfaces/libpq++
top_builddir = ../../..
-include ../../Makefile.global
+include $(top_builddir)/src/Makefile.global
NAME= pq++
SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 1
SRCHEADERDIR = $(top_srcdir)/src/include
-CXXFLAGS+= -I$(SRCHEADERDIR) -I$(LIBPQDIR)
+CXXFLAGS+= -I$(SRCHEADERDIR) -I$(libpq_srcdir)
OBJS = pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o
ifeq ($(PORTNAME), win)
-SHLIB_LINK+= --driver-name g++ $(LIBPQ)
+SHLIB_LINK+= --driver-name g++ $(libpq)
else
-SHLIB_LINK= $(LIBPQ)
+SHLIB_LINK= $(libpq)
endif
# For CC on IRIX, must use CC as linker/archiver of C++ libraries