OSDN Git Service

Add distprep target to take some of the job of the release_prep script.
[pg-rex/syncrep.git] / src / bin / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for src/bin (client programs)
4 #
5 # Copyright (c) 1994, Regents of the University of California
6 #
7 # $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.29 2000/07/19 16:29:53 petere Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/bin
12 top_builddir = ../..
13 include ../Makefile.global
14
15 DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
16         pg_passwd psql scripts
17
18 ifdef MULTIBYTE
19 DIRS += pg_encoding
20 endif
21
22 # TCL/TK programs
23 ifeq ($(USE_TCL), true)
24 ifeq ($(USE_TK), true)
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