]> granicus.if.org Git - postgresql/blob - src/bin/Makefile
d9a5b38e197fdde0e5b901d293f19ae866a03759
[postgresql] / src / bin / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile
4 #    Makefile for src/bin (utility programs)
5 #
6 # Copyright (c) 1994, Regents of the University of California
7 #
8 #
9 # IDENTIFICATION
10 #    $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.22 1999/12/22 04:12:54 ishii Exp $
11 #
12 #-------------------------------------------------------------------------
13
14 SRCDIR= ..
15 include ../Makefile.global
16
17 DIRS = pg_id pg_version psql pg_dump pg_passwd \
18         scripts initdb initlocation ipcclean \
19         pg_ctl
20
21 ifdef MULTIBYTE
22 DIRS += pg_encoding
23 endif
24
25 #
26 # TCL/TK programs
27 #
28 ifeq ($(USE_TCL), true)
29 ifeq ($(USE_TK), true)
30         DIRS += pgaccess
31 endif
32         DIRS += pgtclsh
33 endif
34
35 .DEFAULT all:
36         for i in $(DIRS); do $(MAKE) -C $$i $@; done