summaryrefslogtreecommitdiffstats
path: root/contrib/auto_explain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/auto_explain/Makefile')
-rw-r--r--contrib/auto_explain/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/auto_explain/Makefile b/contrib/auto_explain/Makefile
new file mode 100644
index 0000000..fcf36c5
--- /dev/null
+++ b/contrib/auto_explain/Makefile
@@ -0,0 +1,16 @@
+# contrib/auto_explain/Makefile
+
+MODULE_big = auto_explain
+OBJS = auto_explain.o $(WIN32RES)
+PGFILEDESC = "auto_explain - logging facility for execution plans"
+
+ifdef USE_PGXS
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
+include $(PGXS)
+else
+subdir = contrib/auto_explain
+top_builddir = ../..
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif