1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for rewrite
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1999-12-09 20:15:45 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/rewrite/Makefile,v 1.9 1999/12/09 19:14:56 momjian Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../..
|
|
|
|
include ../../Makefile.global
|
|
|
|
|
1998-04-06 02:32:26 +02:00
|
|
|
CFLAGS += -I..
|
1998-07-26 06:31:41 +02:00
|
|
|
ifdef MULTIBYTE
|
|
|
|
CFLAGS+= $(MBFLAGS)
|
1998-07-24 05:32:46 +02:00
|
|
|
endif
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
OBJS = rewriteRemove.o rewriteDefine.o \
|
|
|
|
rewriteHandler.o rewriteManip.o rewriteSupport.o locks.o
|
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
1999-12-09 20:15:45 +01:00
|
|
|
$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
|
1996-10-27 10:55:05 +01: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
|
|
|
|
|