1 # contrib/pg_stat_plan/Makefile
3 MODULE_big = pg_store_plans
4 OBJS = pg_store_plans.o pgsp_json.o pgsp_json_text.o pgsp_explain.o
6 EXTENSION = pg_store_plans
7 DATA = pg_store_plans--1.0.sql
10 REGRESS_OPTS = --temp-config=regress.conf
13 PGXS := $(shell $(PG_CONFIG) --pgxs)
16 subdir = contrib/pg_store_plans
18 include $(top_builddir)/src/Makefile.global
19 include $(top_srcdir)/contrib/contrib-global.mk
22 ## Theses entries needs running server
24 testfiles: all.out all.sql
27 psql $(DBNAME) -a -q -f all.sql > all.out
29 all.sql: makeplanfile.sql json2sql.pl
30 psql $(DBNAME) -f makeplanfile.sql | ./json2sql.pl > all.sql
35 deploy-testfiles: testfiles