Make `wildspeed` a modern Postgres extension.
[wildspeed.git] / Makefile
1 PG_CPPFLAGS = -DOPTIMIZE_WILDCARD_QUERY
2 MODULE_big = wildspeed
3 OBJS = wildspeed.o
4
5 EXTENSION = wildspeed
6 DATA = wildspeed--1.0.sql
7 PGFILEDESC = "Wildspeed - fast wildcard search for LIKE operator"
8
9 REGRESS = wildspeed
10
11 ifdef USE_PGXS
12 PG_CONFIG = pg_config
13 PGXS := $(shell $(PG_CONFIG) --pgxs)
14 include $(PGXS)
15 else
16 subdir = contrib/wildspeed
17 top_builddir = ../..
18 include $(top_builddir)/src/Makefile.global
19 include $(top_srcdir)/contrib/contrib-global.mk
20 endif