summaryrefslogtreecommitdiff
path: root/src/backend/regex
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/backend/regex
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/backend/regex')
-rw-r--r--src/backend/regex/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/backend/regex/Makefile b/src/backend/regex/Makefile
index 6f080cfcb51..42f635aaeb4 100644
--- a/src/backend/regex/Makefile
+++ b/src/backend/regex/Makefile
@@ -4,17 +4,15 @@
# Makefile for regex
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.5 1998/03/15 07:38:14 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.6 1998/04/06 00:24:39 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
-INCLUDE_OPT = -I..
-
-CFLAGS+=$(INCLUDE_OPT)
-CFLAGS+=-DPOSIX_MISTAKE
+CFLAGS += -I..
+CFLAGS += -DPOSIX_MISTAKE
OBJS = regcomp.o regerror.o regexec.o regfree.o
ifdef MB
@@ -28,7 +26,7 @@ SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
- $(CC) -MM $(INCLUDE_OPT) *.c >depend
+ $(CC) -MM $(CFLAGS) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)