1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for utils/error
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1996-11-09 07:24:51 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/utils/error/Makefile,v 1.2 1996/11/09 06:23:02 momjian Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../../..
|
|
|
|
include ../../../Makefile.global
|
|
|
|
|
|
|
|
INCLUDE_OPT = -I../.. \
|
|
|
|
-I../../port/$(PORTNAME) \
|
|
|
|
-I../../../include
|
|
|
|
|
|
|
|
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
|
|
|
|
|