| 1 |
# contrib/pg_walinspect/Makefile |
| 2 |
|
| 3 |
MODULE_big = pg_walinspect |
| 4 |
OBJS = \ |
| 5 |
$(WIN32RES) \ |
| 6 |
pg_walinspect.o |
| 7 |
PGFILEDESC = "pg_walinspect - functions to inspect contents of PostgreSQL Write-Ahead Log" |
| 8 |
|
| 9 |
EXTENSION = pg_walinspect |
| 10 |
DATA = pg_walinspect--1.0.sql pg_walinspect--1.0--1.1.sql |
| 11 |
|
| 12 |
REGRESS = pg_walinspect oldextversions |
| 13 |
|
| 14 |
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/pg_walinspect/walinspect.conf |
| 15 |
|
| 16 |
# Disabled because these tests require "wal_level=replica", which |
| 17 |
# some installcheck users do not have (e.g. buildfarm clients). |
| 18 |
NO_INSTALLCHECK = 1 |
| 19 |
|
| 20 |
ifdef USE_PGXS |
| 21 |
PG_CONFIG = pg_config |
| 22 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 23 |
include $(PGXS) |
| 24 |
else |
| 25 |
subdir = contrib/pg_walinspect |
| 26 |
top_builddir = ../.. |
| 27 |
include $(top_builddir)/src/Makefile.global |
| 28 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 29 |
endif |