1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for lib (miscellaneous stuff)
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1997-12-20 01:29:35 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.9 1997/12/20 00:23:48 scrappy Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../..
|
|
|
|
include ../../Makefile.global
|
|
|
|
|
1997-12-17 05:59:16 +01:00
|
|
|
INCLUDE_OPT = -I..
|
|
|
|
|
1997-01-14 03:35:34 +01:00
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
OBJS = bit.o fstack.o hasht.o lispsort.o qsort.o stringinfo.o dllist.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
|
|
|
|
|