summaryrefslogtreecommitdiff
path: root/src/utils
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/utils
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/utils')
-rw-r--r--src/utils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/Makefile b/src/utils/Makefile
index c695b56988..cf38bc6eeb 100644
--- a/src/utils/Makefile
+++ b/src/utils/Makefile
@@ -4,7 +4,7 @@
# Makefile for utils
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.4 1998/02/27 02:41:21 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.5 1998/04/06 00:32:26 momjian Exp $
#
# About strdup: Some systems have strdup in their standard library, others
# don't. Ones that don't will use this make file to compile the strdup.c
@@ -23,7 +23,7 @@ all: version.o
install:
depend dep:
- $(CC) -MM *.c >depend
+ $(CC) $(CFLAGS) -MM *.c >depend
clean:
rm -f version.o