blob: 582d3f57e598946d2596407c4b8ff612df22885b [file] [log] [blame]
#-------------------------------------------------------------------------
#
# Makefile for src/bin (client programs)
#
# Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# src/bin/Makefile
#
#-------------------------------------------------------------------------
subdir = src/bin
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
unittest-check:
$(MAKE) -C pg_dump/test check
SUBDIRS = \
initdb \
gpfts \
pg_amcheck \
pg_archivecleanup \
pg_alterckey \
pg_basebackup \
pg_checksums \
pg_config \
pg_controldata \
pg_ctl \
pg_dump \
pg_resetwal \
pg_rewind \
pg_test_fsync \
pg_test_timing \
pg_upgrade \
pg_verifybackup \
pg_waldump \
pgbench \
psql \
scripts
ifeq ($(PORTNAME), win32)
SUBDIRS += pgevent
else
ALWAYS_SUBDIRS += pgevent
endif
ifeq ($(enable_gpfdist), yes)
SUBDIRS+=gpfdist
endif
# Cloudberry additions
SUBDIRS += gpnetbench
$(recurse)
$(recurse_always)