2010-09-20 22:08:53 +02:00
|
|
|
# contrib/pg_archivecleanup/Makefile
|
2010-06-14 18:19:24 +02:00
|
|
|
|
|
|
|
PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replication"
|
2011-01-25 02:46:30 +01:00
|
|
|
PGAPPICON = win32
|
2010-06-14 18:19:24 +02:00
|
|
|
|
|
|
|
PROGRAM = pg_archivecleanup
|
2014-07-14 20:07:52 +02:00
|
|
|
OBJS = pg_archivecleanup.o $(WIN32RES)
|
2010-06-14 18:19:24 +02:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/pg_archivecleanup
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|