mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
412 B
25 lines
412 B
|
28 years ago
|
SRCDIR= ../../src
|
||
|
|
|
||
|
|
include $(SRCDIR)/Makefile.global
|
||
|
|
|
||
|
|
CONTRIBDIR=$(LIBDIR)/contrib
|
||
|
|
|
||
|
|
CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include
|
||
|
|
|
||
|
|
TARGETS= fti$(DLSUFFIX)
|
||
|
|
CLEANFILES+= $(TARGETS)
|
||
|
|
CURDIR=`pwd`
|
||
|
|
|
||
|
|
all:: $(TARGETS)
|
||
|
|
|
||
|
|
%.sql: %.source
|
||
|
|
rm -f $@; \
|
||
|
|
sed -e "s:_CURRENTDIR_:$(CURDIR):g" \
|
||
|
|
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm -f $(TARGETS) *.o
|
||
|
|
|
||
|
|
dist:
|
||
|
|
tar cf fti.tar README BENCH Makefile fti.c timings.sh
|