2010-09-21 04:08:53 +08:00
|
|
|
# contrib/pg_stat_statements/Makefile
|
2009-01-05 06:19:59 +08:00
|
|
|
|
|
|
|
MODULE_big = pg_stat_statements
|
2014-07-15 02:07:52 +08:00
|
|
|
OBJS = pg_stat_statements.o $(WIN32RES)
|
2009-01-05 06:19:59 +08:00
|
|
|
|
2011-02-14 09:06:41 +08:00
|
|
|
EXTENSION = pg_stat_statements
|
2016-06-10 22:42:01 +08:00
|
|
|
DATA = pg_stat_statements--1.4.sql pg_stat_statements--1.3--1.4.sql \
|
|
|
|
pg_stat_statements--1.2--1.3.sql pg_stat_statements--1.1--1.2.sql \
|
|
|
|
pg_stat_statements--1.0--1.1.sql pg_stat_statements--unpackaged--1.0.sql
|
2014-07-15 02:07:52 +08:00
|
|
|
PGFILEDESC = "pg_stat_statements - execution statistics of SQL statements"
|
2011-02-14 09:06:41 +08:00
|
|
|
|
2015-07-09 08:44:22 +08:00
|
|
|
LDFLAGS_SL += $(filter -lm, $(LIBS))
|
|
|
|
|
2016-11-12 21:01:48 +08:00
|
|
|
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/pg_stat_statements/pg_stat_statements.conf
|
|
|
|
REGRESS = pg_stat_statements
|
2016-11-15 06:53:07 +08:00
|
|
|
# Disabled because these tests require "shared_preload_libraries=pg_stat_statements",
|
|
|
|
# which typical installcheck users do not have (e.g. buildfarm clients).
|
|
|
|
NO_INSTALLCHECK = 1
|
2016-11-12 21:01:48 +08:00
|
|
|
|
2009-01-05 06:19:59 +08:00
|
|
|
ifdef USE_PGXS
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/pg_stat_statements
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|