mirror of
https://github.com/postgres/postgres.git
synced 2025-09-11 00:12:06 +03:00
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
This commit is contained in:
@@ -4,16 +4,14 @@
|
||||
# Makefile for tcop
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.15 1998/01/05 18:42:59 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.16 1998/04/06 00:26:05 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SRCDIR= ../..
|
||||
include ../../Makefile.global
|
||||
|
||||
INCLUDE_OPT= -I..
|
||||
|
||||
CFLAGS+= $(INCLUDE_OPT)
|
||||
CFLAGS+= -I..
|
||||
|
||||
ifeq ($(CC), gcc)
|
||||
CFLAGS+= -Wno-error
|
||||
@@ -42,8 +40,8 @@ postgres.o: ../fmgr.h
|
||||
../fmgr.h:
|
||||
$(MAKE) -C .. fmgr.h
|
||||
|
||||
dep: ../parse.h ../fmgr.h
|
||||
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
||||
dep depend: ../parse.h ../fmgr.h
|
||||
$(CC) -MM $(CFLAGS) *.c >depend
|
||||
|
||||
clean:
|
||||
rm -f SUBSYS.o $(OBJS)
|
||||
|
Reference in New Issue
Block a user