Files
repmgr/Makefile
2010-06-17 10:43:35 -05:00

21 lines
376 B
Makefile

#
# Makefile
# Copyright (c) 2ndQuadrant, 2010
#
PROGRAM = repmgr
OBJS = config.o dbutils.o main.o
PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport)
ifdef USE_PGXS
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/repmgr
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif