mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 15:17:19 +02:00
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
|