2010-09-21 04:08:53 +08:00
|
|
|
# contrib/pg_archivecleanup/Makefile
|
2010-06-15 00:19:24 +08:00
|
|
|
|
|
|
|
PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replication"
|
2011-01-25 09:46:30 +08:00
|
|
|
PGAPPICON = win32
|
2010-06-15 00:19:24 +08:00
|
|
|
|
|
|
|
PROGRAM = pg_archivecleanup
|
2014-07-15 02:07:52 +08:00
|
|
|
OBJS = pg_archivecleanup.o $(WIN32RES)
|
2010-06-15 00:19:24 +08: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
|