]> granicus.if.org Git - postgresql/blob - contrib/fuzzystrmatch/Makefile
024265d47900b6ac3e432daf8457ec7708d689b0
[postgresql] / contrib / fuzzystrmatch / Makefile
1 # contrib/fuzzystrmatch/Makefile
2
3 MODULE_big = fuzzystrmatch
4 OBJS = fuzzystrmatch.o dmetaphone.o $(WIN32RES)
5
6 EXTENSION = fuzzystrmatch
7 DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql
8 PGFILEDESC = "fuzzystrmatch - similarities and distance between strings"
9
10 ifdef USE_PGXS
11 PG_CONFIG = pg_config
12 PGXS := $(shell $(PG_CONFIG) --pgxs)
13 include $(PGXS)
14 else
15 subdir = contrib/fuzzystrmatch
16 top_builddir = ../..
17 include $(top_builddir)/src/Makefile.global
18 include $(top_srcdir)/contrib/contrib-global.mk
19 endif
20
21 # levenshtein.c is #included by fuzzystrmatch.c
22 fuzzystrmatch.o: fuzzystrmatch.c levenshtein.c