# $PostgreSQL$

MODULES = regexp_ext
DATA_built = $(addsuffix .sql, $(MODULES))
DATA = uninstall_regexp_ext.sql
DOCS	= README.regexp_ext
REGRESS = init regexp_matches regexp_split

ifdef USE_PGXS
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/regexp_ext
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

SHLIB_LINK += -L$(top_builddir)/src/port -lpgport
