1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for utils/error
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1997-12-19 03:09:10 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/utils/error/Makefile,v 1.3 1997/12/19 02:08:09 scrappy Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../../..
|
|
|
|
include ../../../Makefile.global
|
|
|
|
|
1997-12-19 03:09:10 +01:00
|
|
|
INCLUDE_OPT = -I../..
|
|
|
|
|
|
|
|
ifdef PORTNAME
|
|
|
|
INCLUDE+=-I../../port/$(PORTNAME)
|
|
|
|
endif
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
|
|
|
|
OBJS = assert.o elog.o exc.o excabort.o excid.o format.o
|
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
|
|
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
depend dep:
|
|
|
|
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|