mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
21 lines
376 B
Makefile
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
|