2010-09-21 04:08:53 +08:00
|
|
|
# contrib/fuzzystrmatch/Makefile
|
2001-08-08 00:47:43 +08:00
|
|
|
|
2004-07-01 11:25:48 +08:00
|
|
|
MODULE_big = fuzzystrmatch
|
2006-10-20 01:40:03 +08:00
|
|
|
OBJS = fuzzystrmatch.o dmetaphone.o
|
2011-02-14 09:06:41 +08:00
|
|
|
|
|
|
|
EXTENSION = fuzzystrmatch
|
|
|
|
DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql
|
2001-08-08 00:47:43 +08:00
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 06:05:04 +08:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-21 04:13:10 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/fuzzystrmatch
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 18:49:30 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 04:13:10 +08:00
|
|
|
endif
|
2011-02-21 03:55:07 +08:00
|
|
|
|
|
|
|
# levenshtein.c is #included by fuzzystrmatch.c
|
|
|
|
fuzzystrmatch.o: fuzzystrmatch.c levenshtein.c
|