1# contrib/unaccent/Makefile
2
3MODULE_big = unaccent
4OBJS = unaccent.o $(WIN32RES)
5
6EXTENSION = unaccent
7DATA = unaccent--1.1.sql unaccent--1.0--1.1.sql unaccent--unpackaged--1.0.sql
8DATA_TSEARCH = unaccent.rules
9PGFILEDESC = "unaccent - text search dictionary that removes accents"
10
11REGRESS = unaccent
12
13# We need a UTF8 database
14ENCODING = UTF8
15NO_LOCALE = 1
16
17ifdef USE_PGXS
18PG_CONFIG = pg_config
19PGXS := $(shell $(PG_CONFIG) --pgxs)
20include $(PGXS)
21else
22subdir = contrib/unaccent
23top_builddir = ../..
24include $(top_builddir)/src/Makefile.global
25include $(top_srcdir)/contrib/contrib-global.mk
26endif
27