postgresql/src/bin/Makefile

36 lines
790 B
Makefile

#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for src/bin (utility programs)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.17 1998/12/18 17:53:21 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ..
include ../Makefile.global
DIRS = pg_id pg_version psql pg_dump pg_passwd cleardbdir createdb \
createuser destroydb destroyuser initdb vacuumdb initlocation ipcclean
ifdef MULTIBYTE
DIRS += pg_encoding
endif
#
# TCL/TK programs
#
ifeq ($(USE_TCL), true)
ifeq ($(USE_TK), true)
DIRS += pgaccess
endif
DIRS += pgtclsh
endif
.DEFAULT all:
for i in $(DIRS); do $(MAKE) -C $$i $@; done