Fix pg_dump bug in the database-level collation patch. "datcollate" and
[PostgreSQL.git] / contrib / spi / Makefile
blob6045939f7a9d5ff73b0d3a4e1f03afda879393d5
1 # $PostgreSQL$
3 MODULES = autoinc insert_username moddatetime refint timetravel
4 DATA_built = $(addsuffix .sql, $(MODULES))
5 DOCS = $(addsuffix .example, $(MODULES))
7 # this is needed for the regression tests;
8 # comment out if you want a quieter refint package for other uses
9 PG_CPPFLAGS = -DREFINT_VERBOSE
11 ifdef USE_PGXS
12 PG_CONFIG = pg_config
13 PGXS := $(shell $(PG_CONFIG) --pgxs)
14 include $(PGXS)
15 else
16 subdir = contrib/spi
17 top_builddir = ../..
18 include $(top_builddir)/src/Makefile.global
19 include $(top_srcdir)/contrib/contrib-global.mk
20 endif
22 SHLIB_LINK += -L$(top_builddir)/src/port -lpgport