OSDN Git Service

Add copyright mentions, per Tom Lane.
[pg-rex/syncrep.git] / src / bin / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for src/bin (client programs)
4 #
5 # Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
6 # Portions Copyright (c) 1994, Regents of the University of California
7 #
8 # $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.34 2001/02/18 18:33:59 momjian Exp $
9 #
10 #-------------------------------------------------------------------------
11
12 subdir = src/bin
13 top_builddir = ../..
14 include $(top_builddir)/src/Makefile.global
15
16 DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
17         pg_passwd psql scripts pg_config
18
19 ifdef MULTIBYTE
20 DIRS += pg_encoding
21 endif
22
23 ifeq ($(with_tcl), yes)
24 ifeq ($(with_tk), yes)
25         DIRS += pgaccess
26 endif
27         DIRS += pgtclsh
28 endif
29
30 all install installdirs uninstall depend distprep:
31         @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
32
33 clean distclean maintainer-clean:
34         -@for dir in $(DIRS); do $(MAKE) -C $$dir $@; done