| 1 |
# contrib/fuzzystrmatch/Makefile |
| 2 |
|
| 3 |
MODULE_big = fuzzystrmatch |
| 4 |
OBJS = \ |
| 5 |
$(WIN32RES) \ |
| 6 |
daitch_mokotoff.o \ |
| 7 |
dmetaphone.o \ |
| 8 |
fuzzystrmatch.o |
| 9 |
|
| 10 |
EXTENSION = fuzzystrmatch |
| 11 |
DATA = fuzzystrmatch--1.1.sql fuzzystrmatch--1.1--1.2.sql \ |
| 12 |
fuzzystrmatch--1.0--1.1.sql |
| 13 |
|
| 14 |
PGFILEDESC = "fuzzystrmatch - similarities and distance between strings" |
| 15 |
|
| 16 |
REGRESS = fuzzystrmatch fuzzystrmatch_utf8 |
| 17 |
|
| 18 |
EXTRA_CLEAN = daitch_mokotoff.h |
| 19 |
|
| 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 |
| 30 |
|
| 31 |
# Force this dependency to be known even without dependency info built: |
| 32 |
daitch_mokotoff.o: daitch_mokotoff.h |
| 33 |
|
| 34 |
daitch_mokotoff.h: daitch_mokotoff_header.pl |
| 35 |
$(PERL) $< $@ |