2010-09-20 16:08:53 -04:00
|
|
|
# contrib/fuzzystrmatch/Makefile
|
2001-08-07 12:47:43 -04:00
|
|
|
|
2004-06-30 23:25:48 -04:00
|
|
|
MODULE_big = fuzzystrmatch
|
2014-07-14 14:07:52 -04:00
|
|
|
OBJS = fuzzystrmatch.o dmetaphone.o $(WIN32RES)
|
2011-02-13 20:06:41 -05:00
|
|
|
|
|
|
|
|
EXTENSION = fuzzystrmatch
|
|
|
|
|
DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql
|
2014-07-14 14:07:52 -04:00
|
|
|
PGFILEDESC = "fuzzystrmatch - similarities and distance between strings"
|
2001-08-07 12:47:43 -04:00
|
|
|
|
2004-08-20 16:13:10 -04:00
|
|
|
ifdef USE_PGXS
|
2007-06-26 18:05:04 -04:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 16:13:10 -04:00
|
|
|
include $(PGXS)
|
|
|
|
|
else
|
|
|
|
|
subdir = contrib/fuzzystrmatch
|
|
|
|
|
top_builddir = ../..
|
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 06:49:30 -04:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 16:13:10 -04:00
|
|
|
endif
|
2011-02-20 14:55:07 -05:00
|
|
|
|
|
|
|
|
# levenshtein.c is #included by fuzzystrmatch.c
|
|
|
|
|
fuzzystrmatch.o: fuzzystrmatch.c levenshtein.c
|