mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Makefiles and placeholder code
This commit is contained in:
27
Makefile.global.in
Normal file
27
Makefile.global.in
Normal file
@@ -0,0 +1,27 @@
|
||||
# -*-makefile-*-
|
||||
# Makefile.global.in
|
||||
# @configure_input@
|
||||
|
||||
# Can only be built using pgxs
|
||||
USE_PGXS=1
|
||||
|
||||
repmgr_abs_srcdir := @abs_srcdir@
|
||||
PG_CONFIG :=@PG_CONFIG@
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
|
||||
vpath_build=@vpath_build@
|
||||
ifeq ($(vpath_build),yes)
|
||||
VPATH := $(repmgr_abs_srcdir)/$(repmgr_subdir)
|
||||
USE_VPATH :=$(VPATH)
|
||||
endif
|
||||
GIT_WORK_TREE=${repmgr_abs_srcdir}
|
||||
GIT_DIR=${repmgr_abs_srcdir}/.git
|
||||
export GIT_DIR
|
||||
export GIT_WORK_TREE
|
||||
|
||||
include $(PGXS)
|
||||
|
||||
-include ${repmgr_abs_srcdir}/Makefile.custom
|
||||
|
||||
REPMGR_VERSION=$(shell awk '/^\#define REPMGR_VERSION / { print $3; }' ${repmgr_abs_srcdir}/repmgr_version.h.in | cut -d '"' -f 2)
|
||||
|
||||
Reference in New Issue
Block a user