mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 02:26:52 +02:00
1e801a8f16
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
36 lines
767 B
Makefile
36 lines
767 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for optimizer/util
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.6 1998/04/06 00:23:55 momjian Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../../..
|
|
include ../../../Makefile.global
|
|
|
|
CFLAGS += -I../..
|
|
|
|
OBJS = clauseinfo.o clauses.o indexnode.o internal.o plancat.o \
|
|
joininfo.o keys.o ordering.o pathnode.o relnode.o tlist.o var.o
|
|
|
|
# not ready yet: predmig.o xfunc.o
|
|
|
|
all: SUBSYS.o
|
|
|
|
SUBSYS.o: $(OBJS)
|
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
|
|
depend dep:
|
|
$(CC) -MM $(CFLAGS) *.c >depend
|
|
|
|
clean:
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
include depend
|
|
endif
|
|
|