Revert commit 66c0185a3 and follow-on patches.
[pgsql.git] / contrib / fuzzystrmatch / Makefile
blob04c83a34a7b61a2f07822d35464f07ebea48fc24
1 # contrib/fuzzystrmatch/Makefile
3 MODULE_big = fuzzystrmatch
4 OBJS = \
5 $(WIN32RES) \
6 daitch_mokotoff.o \
7 dmetaphone.o \
8 fuzzystrmatch.o
10 EXTENSION = fuzzystrmatch
11 DATA = fuzzystrmatch--1.1.sql fuzzystrmatch--1.1--1.2.sql \
12 fuzzystrmatch--1.0--1.1.sql
14 PGFILEDESC = "fuzzystrmatch - similarities and distance between strings"
16 REGRESS = fuzzystrmatch fuzzystrmatch_utf8
18 EXTRA_CLEAN = daitch_mokotoff.h
20 ifdef USE_PGXS
21 PG_CONFIG = pg_config
22 PGXS := $(shell $(PG_CONFIG) --pgxs)
23 include $(PGXS)
24 else
25 subdir = contrib/fuzzystrmatch
26 top_builddir = ../..
27 include $(top_builddir)/src/Makefile.global
28 include $(top_srcdir)/contrib/contrib-global.mk
29 endif
31 # Force this dependency to be known even without dependency info built:
32 daitch_mokotoff.o: daitch_mokotoff.h
34 daitch_mokotoff.h: daitch_mokotoff_header.pl
35 $(PERL) $< $@