mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 04:33:22 +02:00
inclusion in pgsql. I have included a README which should be enough to start using it, plus a BENCH file that describes some timings I have done. Please have a look at it, and if you think everything is OK, I would like it seen included in the contrib-section of pgsql. I don't think I will do any more work in this, but maybe it inspires somebody else to improve on it. Maarten Boekhold
25 lines
412 B
Makefile
25 lines
412 B
Makefile
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
|