summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++
diff options
context:
space:
mode:
authorBruce Momjian1998-04-06 00:32:26 +0000
committerBruce Momjian1998-04-06 00:32:26 +0000
commit1e801a8f16ae0b308ac3aea88dddcb676f412580 (patch)
tree8550c33916f565375f815c7e6c1826f620778374 /src/interfaces/libpq++
parent2dfee9345773e6ac8809396bf99db538e134fea8 (diff)
Hi,
Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
Diffstat (limited to 'src/interfaces/libpq++')
-rw-r--r--src/interfaces/libpq++/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile
index f83932630c0..a56f2b6249c 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.11 1998/04/05 22:02:41 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.12 1998/04/06 00:31:13 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -117,9 +117,9 @@ clean:
rm $(LIBNAME).a $(OBJS)
$(MAKE) -C examples clean
+dep depend:
+ $(CXX) -MM $(CXXFLAGS) *.cc > depend
-###########################################################################
-# Dependencies for the library
-###########################################################################
-include ./dependencies
-
+ifeq (depend,$(wildcard depend))
+include depend
+endif