postgresql/src/bin/Makefile

35 lines
930 B
Makefile
Raw Normal View History

#-------------------------------------------------------------------------
#
# Makefile for src/bin (client programs)
#
2001-02-18 19:34:02 +01:00
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.35 2002/04/04 04:25:50 momjian Exp $
#
#-------------------------------------------------------------------------
subdir = src/bin
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
psql scripts pg_config
ifdef MULTIBYTE
DIRS += pg_encoding
endif
ifeq ($(with_tcl), yes)
ifeq ($(with_tk), yes)
DIRS += pgaccess
endif
DIRS += pgtclsh
endif
all install installdirs uninstall depend distprep:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
clean distclean maintainer-clean:
-@for dir in $(DIRS); do $(MAKE) -C $$dir $@; done