summaryrefslogtreecommitdiffstats
path: root/contrib/basic_archive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/basic_archive/Makefile')
-rw-r--r--contrib/basic_archive/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/basic_archive/Makefile b/contrib/basic_archive/Makefile
new file mode 100644
index 0000000..55d299d
--- /dev/null
+++ b/contrib/basic_archive/Makefile
@@ -0,0 +1,21 @@
+# contrib/basic_archive/Makefile
+
+MODULES = basic_archive
+PGFILEDESC = "basic_archive - basic archive module"
+
+REGRESS = basic_archive
+REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/basic_archive/basic_archive.conf
+# Disabled because these tests require "shared_preload_libraries=basic_archive",
+# which typical installcheck users do not have (e.g. buildfarm clients).
+NO_INSTALLCHECK = 1
+
+ifdef USE_PGXS
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
+include $(PGXS)
+else
+subdir = contrib/basic_archive
+top_builddir = ../..
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif