1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for tcop
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
2000-05-29 07:45:56 +02:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.23 2000/05/29 05:45:16 tgl Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
1996-11-14 08:33:34 +01:00
|
|
|
SRCDIR= ../..
|
2000-05-29 07:45:56 +02:00
|
|
|
include $(SRCDIR)/Makefile.global
|
1997-04-24 15:25:07 +02:00
|
|
|
|
|
|
|
ifeq ($(CC), gcc)
|
|
|
|
CFLAGS+= -Wno-error
|
|
|
|
endif
|
1996-10-27 10:55:05 +01:00
|
|
|
|
1998-01-05 19:43:18 +01:00
|
|
|
OBJS= dest.o fastpath.o postgres.o pquery.o utility.o
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
1999-12-13 23:35:27 +01:00
|
|
|
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
|
1996-10-27 10:55:05 +01:00
|
|
|
|
2000-05-29 07:45:56 +02:00
|
|
|
depend dep:
|
1998-04-06 02:32:26 +02:00
|
|
|
$(CC) -MM $(CFLAGS) *.c >depend
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|