mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-19 07:23:23 +02:00
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
25 lines
392 B
Makefile
25 lines
392 B
Makefile
SRCDIR= ../../src
|
|
|
|
include $(SRCDIR)/Makefile.global
|
|
|
|
CONTRIBDIR=$(LIBDIR)/contrib
|
|
|
|
CFLAGS+= $(CFLAGS_SL)
|
|
|
|
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
|