head	1.56;
access;
symbols
	REL9_0_0:1.56
	REL9_1_ALPHA1:1.56
	REL9_0_RC1:1.56
	REL9_0_BETA4:1.56
	REL9_0_STABLE:1.56.0.6
	REL9_0_BETA3:1.56
	REL9_0_BETA2:1.56
	REL7_4_29:1.39
	REL8_0_25:1.46
	REL8_1_21:1.46
	REL8_2_17:1.47
	REL8_3_11:1.51
	REL8_4_4:1.54
	REL9_0_BETA1:1.56
	REL9_0_ALPHA5_BRANCH:1.56.0.4
	REL9_0_ALPHA5:1.56
	REL7_4_28:1.39
	REL8_0_24:1.46
	REL8_1_20:1.46
	REL8_2_16:1.47
	REL8_3_10:1.51
	REL8_4_3:1.54
	REL9_0_ALPHA4:1.56
	REL9_0_ALPHA4_BRANCH:1.56.0.2
	REL8_5_ALPHA3:1.55
	REL8_5_ALPHA3_BRANCH:1.55.0.6
	REL7_4_27:1.39
	REL8_0_23:1.46
	REL8_1_19:1.46
	REL8_2_15:1.47
	REL8_3_9:1.51
	REL8_4_2:1.54
	REL8_5_ALPHA2:1.55
	REL8_5_ALPHA2_BRANCH:1.55.0.4
	REL7_4_26:1.39
	REL8_0_22:1.46
	REL8_1_18:1.46
	REL8_2_14:1.47
	REL8_3_8:1.51
	REL8_4_1:1.54
	REL8_5_ALPHA1:1.55
	REL8_5_ALPHA1_BRANCH:1.55.0.2
	REL8_4_STABLE:1.54.0.2
	REL8_4_0:1.54
	REL8_4_RC2:1.54
	REL8_4_RC1:1.54
	REL8_4_BETA2:1.54
	REL8_4_BETA1:1.54
	REL7_4_25:1.39
	REL8_0_21:1.46
	REL8_1_17:1.46
	REL8_2_13:1.47
	REL8_3_7:1.51
	REL7_4_24:1.39
	REL8_0_20:1.46
	REL8_1_16:1.46
	REL8_2_12:1.47
	REL8_3_6:1.51
	REL7_4_23:1.39
	REL8_0_19:1.46
	REL8_1_15:1.46
	REL8_2_11:1.47
	REL8_3_5:1.51
	REL7_4_22:1.39
	REL8_0_18:1.46
	REL8_1_14:1.46
	REL8_2_10:1.47
	REL8_3_4:1.51
	REL7_4_21:1.39
	REL8_0_17:1.46
	REL8_1_13:1.46
	REL8_2_9:1.47
	REL8_3_3:1.51
	REL7_4_20:1.39
	REL8_0_16:1.46
	REL8_1_12:1.46
	REL8_2_8:1.47
	REL8_3_2:1.51
	REL8_2_7:1.47
	REL8_3_1:1.51
	REL8_3_STABLE:1.51.0.2
	REL8_3_0:1.51
	REL8_3_RC2:1.51
	REL7_3_21:1.39
	REL7_4_19:1.39
	REL8_0_15:1.46
	REL8_1_11:1.46
	REL8_2_6:1.47
	REL8_3_RC1:1.51
	REL8_3_BETA4:1.50
	REL8_3_BETA3:1.50
	REL8_3_BETA2:1.50
	REL8_3_BETA1:1.50
	REL7_3_20:1.39
	REL7_4_18:1.39
	REL8_0_14:1.46
	REL8_1_10:1.46
	REL8_2_5:1.47
	REL7_3_19:1.39
	REL7_4_17:1.39
	REL8_0_13:1.46
	REL8_1_9:1.46
	REL8_2_4:1.47
	REL8_0_12:1.46
	REL8_1_8:1.46
	REL8_2_3:1.47
	REL7_3_18:1.39
	REL7_4_16:1.39
	REL8_0_11:1.46
	REL8_1_7:1.46
	REL8_2_2:1.47
	REL8_0_10:1.46
	REL8_1_6:1.46
	REL8_2_1:1.47
	REL7_4_15:1.39
	REL7_3_17:1.39
	REL8_2_STABLE:1.47.0.2
	REL8_2_0:1.47
	REL8_2_RC1:1.47
	REL8_2_BETA3:1.47
	REL8_2_BETA2:1.47
	REL8_1_5:1.46
	REL8_0_9:1.46
	REL7_4_14:1.39
	REL7_3_16:1.39
	REL8_2_BETA1:1.47
	REL7_3_15:1.39
	REL7_4_13:1.39
	REL8_0_8:1.46
	REL8_1_4:1.46
	REL7_3_14:1.39
	REL7_4_12:1.39
	REL8_0_7:1.46
	REL8_1_3:1.46
	REL7_3_13:1.39
	REL7_4_11:1.39
	REL8_0_6:1.46
	REL8_1_2:1.46
	REL7_3_12:1.39
	REL7_4_10:1.39
	REL8_0_5:1.46
	REL8_1_1:1.46
	REL8_1_STABLE:1.46.0.6
	REL8_1_0:1.46
	REL8_1_0RC1:1.46
	REL8_1_0BETA4:1.46
	REL8_1_0BETA3:1.46
	REL7_3_11:1.39
	REL7_4_9:1.39
	REL8_0_4:1.46
	REL8_1_0BETA2:1.46
	REL8_1_0BETA1:1.46
	REL7_2_8:1.34
	REL7_3_10:1.39
	REL7_4_8:1.39
	REL8_0_3:1.46
	REL8_0_2:1.46
	REL7_2_7:1.34
	REL7_3_9:1.39
	REL7_4_7:1.39
	REL8_0_1:1.46
	REL8_0_STABLE:1.46.0.4
	REL8_0_0:1.46.0.2
	REL8_0_0RC5:1.46
	REL8_0_0RC4:1.46
	REL8_0_0RC3:1.45
	REL8_0_0RC2:1.45
	REL8_0_0RC1:1.45
	REL8_0_0BETA5:1.45
	REL8_0_0BETA4:1.45
	REL7_4_6:1.39
	REL7_3_8:1.39
	REL7_2_6:1.34
	REL8_0_0BETA3:1.45
	REL8_0_0BETA2:1.45
	REL7_2_5:1.34
	REL7_4_5:1.39
	REL7_3_7:1.39
	REL7_4_4:1.39
	REL8_0_0BETA1:1.45
	REL7_4_3:1.39
	REL7_4_2:1.39
	REL7_3_6:1.39
	REL7_4_1:1.39
	REL7_3_5:1.39
	REL7_4:1.39
	REL7_4_RC2:1.39
	REL7_4_STABLE:1.39.0.6
	REL7_4_RC1:1.39
	REL7_4_BETA5:1.39
	REL7_4_BETA4:1.39
	REL7_4_BETA3:1.39
	REL7_4_BETA2:1.39
	WIN32_DEV:1.39.0.4
	REL7_4_BETA1:1.39
	REL7_3_4:1.39
	REL7_3_2:1.39
	REL7_2_4:1.34
	REL7_3_STABLE:1.39.0.2
	REL7_2_3:1.34
	REL7_2_STABLE:1.34.0.4
	REL7_2:1.34
	REL7_2_RC2:1.34
	REL7_2_RC1:1.34
	REL7_2_BETA5:1.34
	REL7_2_BETA4:1.34
	REL7_2_BETA3:1.34
	REL7_2_BETA2:1.34
	REL7_2_BETA1:1.34
	REL7_1_2:1.34
	REL7_1_STABLE:1.34.0.2
	REL7_1_BETA:1.33
	REL7_1_BETA3:1.33
	REL7_1_BETA2:1.33
	REL7_1:1.34
	REL7_0_PATCHES:1.25.0.2
	REL7_0:1.25
	REL6_5_PATCHES:1.18.0.2
	REL6_5:1.18
	REL6_4:1.15.0.2
	release-6-3:1.11
	REL2_0B:1.6.0.2
	REL2_0:1.6
	Release_2_0_0:1.4
	Release_1_0_3:1.3.0.2
	Release_2_0:1.4
	Release_1_0_2:1.3
	PG95-1_01:1.1.1.1
	PG95_DIST:1.1.1;
locks; strict;
comment	@# @;


1.56
date	2010.01.02.16.57.58;	author momjian;	state Exp;
branches;
next	1.55;

1.55
date	2009.08.07.20.50.22;	author petere;	state Exp;
branches;
next	1.54;

1.54
date	2009.01.01.17.23.53;	author momjian;	state Exp;
branches;
next	1.53;

1.53
date	2008.03.27.17.24.16;	author momjian;	state Exp;
branches;
next	1.52;

1.52
date	2008.03.18.16.24.50;	author petere;	state Exp;
branches;
next	1.51;

1.51
date	2008.01.01.19.45.55;	author momjian;	state Exp;
branches;
next	1.50;

1.50
date	2007.02.09.15.55.59;	author petere;	state Exp;
branches;
next	1.49;

1.49
date	2007.01.20.17.16.15;	author petere;	state Exp;
branches;
next	1.48;

1.48
date	2007.01.05.22.19.47;	author momjian;	state Exp;
branches;
next	1.47;

1.47
date	2006.03.05.15.58.50;	author momjian;	state Exp;
branches;
next	1.46;

1.46
date	2005.01.01.20.44.19;	author tgl;	state Exp;
branches;
next	1.45;

1.45
date	2004.06.20.01.32.47;	author momjian;	state Exp;
branches;
next	1.44;

1.44
date	2004.06.18.21.24.05;	author tgl;	state Exp;
branches;
next	1.43;

1.43
date	2004.04.20.00.40.06;	author momjian;	state Exp;
branches;
next	1.42;

1.42
date	2004.04.20.00.33.47;	author pgsql;	state Exp;
branches;
next	1.41;

1.41
date	2003.12.17.18.44.08;	author petere;	state Exp;
branches;
next	1.40;

1.40
date	2003.11.29.19.52.04;	author pgsql;	state Exp;
branches;
next	1.39;

1.39
date	2002.09.03.21.45.43;	author petere;	state Exp;
branches;
next	1.38;

1.38
date	2002.08.30.18.14.21;	author momjian;	state Exp;
branches;
next	1.37;

1.37
date	2002.08.17.04.03.35;	author tgl;	state Exp;
branches;
next	1.36;

1.36
date	2002.06.20.20.29.41;	author momjian;	state Exp;
branches;
next	1.35;

1.35
date	2002.04.04.04.25.50;	author momjian;	state Exp;
branches;
next	1.34;

1.34
date	2001.02.18.18.33.59;	author momjian;	state Exp;
branches;
next	1.33;

1.33
date	2000.10.10.22.01.52;	author momjian;	state Exp;
branches;
next	1.32;

1.32
date	2000.09.25.22.22.54;	author petere;	state Exp;
branches;
next	1.31;

1.31
date	2000.08.31.16.11.03;	author petere;	state Exp;
branches;
next	1.30;

1.30
date	2000.08.26.13.08.15;	author petere;	state Exp;
branches;
next	1.29;

1.29
date	2000.07.19.16.29.53;	author petere;	state Exp;
branches;
next	1.28;

1.28
date	2000.07.02.15.20.56;	author petere;	state Exp;
branches;
next	1.27;

1.27
date	2000.07.01.15.02.19;	author petere;	state Exp;
branches;
next	1.26;

1.26
date	2000.06.27.00.30.49;	author petere;	state Exp;
branches;
next	1.25;

1.25
date	2000.01.20.21.51.02;	author petere;	state Exp;
branches;
next	1.24;

1.24
date	2000.01.19.20.08.23;	author petere;	state Exp;
branches;
next	1.23;

1.23
date	2000.01.19.02.58.59;	author petere;	state Exp;
branches;
next	1.22;

1.22
date	99.12.22.04.12.54;	author ishii;	state Exp;
branches;
next	1.21;

1.21
date	99.12.08.10.29.36;	author momjian;	state Exp;
branches;
next	1.20;

1.20
date	99.12.05.20.02.43;	author momjian;	state Exp;
branches;
next	1.19;

1.19
date	99.12.04.04.53.16;	author momjian;	state Exp;
branches;
next	1.18;

1.18
date	99.05.20.16.49.59;	author wieck;	state Exp;
branches;
next	1.17;

1.17
date	98.12.18.17.53.21;	author momjian;	state Exp;
branches;
next	1.16;

1.16
date	98.11.14.01.56.36;	author thomas;	state Exp;
branches;
next	1.15;

1.15
date	98.07.26.04.31.08;	author scrappy;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	98.07.24.03.32.02;	author scrappy;	state Exp;
branches;
next	1.13;

1.13
date	98.04.06.03.23.01;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	98.04.06.00.27.50;	author momjian;	state Exp;
branches;
next	1.11;

1.11
date	97.11.07.06.24.33;	author thomas;	state Exp;
branches;
next	1.10;

1.10
date	97.10.30.17.36.58;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	97.08.25.19.59.52;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	97.08.25.19.41.39;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	97.04.26.05.04.21;	author scrappy;	state Exp;
branches;
next	1.6;

1.6
date	96.11.13.10.35.20;	author bryanh;	state Exp;
branches;
next	1.5;

1.5
date	96.11.11.13.39.09;	author bryanh;	state Exp;
branches;
next	1.4;

1.4
date	96.08.13.07.48.15;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	96.07.25.06.54.26;	author scrappy;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	96.07.23.03.01.58;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	96.07.09.06.22.11;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.07.09.06.22.11;	author scrappy;	state Exp;
branches;
next	;

1.3.2.1
date	96.08.20.04.16.20;	author scrappy;	state Exp;
branches;
next	;

1.15.2.1
date	98.12.18.17.53.45;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.56
log
@Update copyright for the year 2010.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for src/bin (client programs)
#
# Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.55 2009/08/07 20:50:22 petere Exp $
#
#-------------------------------------------------------------------------

subdir = src/bin
top_builddir = ../..
include $(top_builddir)/src/Makefile.global

SUBDIRS = initdb pg_ctl pg_dump \
	psql scripts pg_config pg_controldata pg_resetxlog
ifeq ($(PORTNAME), win32)
SUBDIRS+=pgevent
endif

all install installdirs uninstall distprep clean distclean maintainer-clean:
	@@for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@@ || exit; done
@


1.55
log
@Expand test coverage support to entire tree

Test coverage support now covers the entire source tree, including
contrib, instead of just src/backend.  In a related but independent
development, the commands make coverage and make coverage-html can be run
in any directory.

This turned out to be much easier than feared.  Besides a few ad hoc fixes
to pass the make target down the tree, change all affected makefiles to
list their directories in the SUBDIRS variable, changed from variants like
DIRS and WANTED_DIRS.  MSVC build fix was attempted as well.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.54 2009/01/01 17:23:53 momjian Exp $
@


1.54
log
@Update copyright for 2009.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.53 2008/03/27 17:24:16 momjian Exp $
d16 1
a16 1
DIRS = initdb pg_ctl pg_dump \
d19 1
a19 1
DIRS+=pgevent
d23 1
a23 1
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@ || exit; done
@


1.53
log
@Remove ipcclean utility command --- didn't work on all Unixes and on
Windows.  Users should use their operating system tools instead.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.52 2008/03/18 16:24:50 petere Exp $
@


1.52
log
@Catch all errors in for and while loops in makefiles.  Don't ignore any
errors in any commands, including in various clean targets that have so far
been handled inconsistently.  make -i is available to ignore all errors in
a consistent and official way.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.51 2008/01/01 19:45:55 momjian Exp $
d16 1
a16 1
DIRS = initdb ipcclean pg_ctl pg_dump \
@


1.51
log
@Update copyrights in source tree to 2008.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.50 2007/02/09 15:55:59 petere Exp $
d22 1
a22 1
all install installdirs uninstall distprep:
a23 3

clean distclean maintainer-clean:
	-@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@; done
@


1.50
log
@Replace useless uses of := by = in makefiles.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.49 2007/01/20 17:16:15 petere Exp $
@


1.49
log
@Remove remains of old depend target.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.48 2007/01/05 22:19:47 momjian Exp $
d16 1
a16 1
DIRS := initdb ipcclean pg_ctl pg_dump \
@


1.48
log
@Update CVS HEAD for 2007 copyright.  Back branches are typically not
back-stamped for this.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.47 2006/03/05 15:58:50 momjian Exp $
d22 1
a22 1
all install installdirs uninstall depend distprep:
@


1.47
log
@Update copyright for 2006.  Update scripts.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.46 2005/01/01 20:44:19 tgl Exp $
@


1.46
log
@Some more missed copyright notices.  Many of these look like they
should have been caught by the src/tools/copyright script ... why
weren't they?
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/bin/Makefile,v 1.45 2004/06/20 01:32:47 momjian Exp $
@


1.45
log
@Add pgevent, with docs explaining out to install it on Win32.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql-server/src/bin/Makefile,v 1.44 2004/06/18 21:24:05 tgl Exp $
@


1.44
log
@initlocation is history.  (It's still mentioned in manage-ag.sgml,
but I'll leave that file alone so as not to mess up the doc patch
I trust Gavin is working on.)
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql-server/src/bin/Makefile,v 1.43 2004/04/20 00:40:06 momjian Exp $
d18 3
@


1.43
log
@Remove pg_encoding.  Not needed anymore since we have an initdb in C.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql-server/src/bin/Makefile,v 1.42 2004/04/20 00:33:47 pgsql Exp $
d16 1
a16 1
DIRS := initdb initlocation ipcclean pg_ctl pg_dump \
@


1.42
log
@
Remove all of the libpgtcl and pgtclsh files, including all references to
them within the various makefiles

with_tcl is still required for the src/pl/tcl language
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql-server/src/bin/Makefile,v 1.41 2003/12/17 18:44:08 petere Exp $
d17 1
a17 2
	psql scripts pg_config pg_controldata pg_resetxlog \
	pg_encoding
@


1.41
log
@Remove pg_id.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql-server/src/bin/Makefile,v 1.40 2003/11/29 19:52:04 pgsql Exp $
a18 4

ifeq ($(with_tcl), yes)
	DIRS += pgtclsh
endif
@


1.40
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d8 1
a8 1
# $PostgreSQL: /cvsroot/pgsql-server/src/bin/Makefile,v 1.39 2002/09/03 21:45:43 petere Exp $
d16 1
a16 1
DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
@


1.39
log
@Remove all traces of multibyte and locale options.  Clean up comments
referring to "multibyte" where it really means character encoding.
@
text
@d8 1
a8 1
# $Header: /cvsroot/pgsql-server/src/bin/Makefile,v 1.38 2002/08/30 18:14:21 momjian Exp $
@


1.38
log
@Remove pgaccess from Makefile.
@
text
@d8 1
a8 1
# $Header: /cvsroot/pgsql-server/src/bin/Makefile,v 1.37 2002/08/17 04:03:35 tgl Exp $
d17 2
a18 5
	psql scripts pg_config pg_controldata pg_resetxlog

ifdef MULTIBYTE
DIRS += pg_encoding
endif
@


1.37
log
@Fix broken Makefiles.
@
text
@d8 1
a8 1
# $Header: /cvsroot/pgsql-server/src/bin/Makefile,v 1.36 2002/06/20 20:29:41 momjian Exp $
a23 3
ifeq ($(with_tk), yes)
	DIRS += pgaccess
endif
@


1.36
log
@Update copyright to 2002.
@
text
@d8 1
a8 1
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.35 2002/04/04 04:25:50 momjian Exp $
d17 1
a17 1
	psql scripts pg_config
@


1.35
log
@Authentication improvements:

A new pg_hba.conf column, USER
Allow specifiction of lists of users separated by commas
Allow group names specified by +
Allow include files containing lists of users specified by @@
Allow lists of databases, and database files
Allow samegroup in database column to match group name matching dbname
Removal of secondary password files
Remove pg_passwd utility
Lots of code cleanup in user.c and hba.c
New data/global/pg_pwd format
New data/global/pg_group file
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
d8 1
a8 1
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.34 2001/02/18 18:33:59 momjian Exp $
@


1.34
log
@Add copyright mentions, per Tom Lane.
@
text
@d8 1
a8 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.33 2000/10/10 22:01:52 momjian Exp $
d17 1
a17 1
	pg_passwd psql scripts pg_config
@


1.33
log
@Rename pg-config to pg_config to be consistent with other pg commands.
@
text
@d5 2
a6 1
# Copyright (c) 1994, Regents of the University of California
d8 1
a8 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.32 2000/09/25 22:22:54 petere Exp $
@


1.32
log
@Revise Tcl/Tk configuration.  Make missing Tcl after --with-tcl an error,
add --without-tk option to disable Tk.  We don't need the AC_PATH_XTRA
test because tkConfig.sh already contains all the information about how to
compile and link with X.  Also make sure that libpq is up to date for
libpgtcl.  Remove executable bits from pgaccess.sh, but add it to pgaccess.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.31 2000/08/31 16:11:03 petere Exp $
d16 1
a16 1
	pg_passwd psql scripts pg-config
@


1.31
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.30 2000/08/26 13:08:15 petere Exp $
d22 2
a23 3
# TCL/TK programs
ifeq ($(USE_TCL), true)
ifeq ($(USE_TK), true)
@


1.30
log
@Add pg-config utility that stores some configuration parameters other
packages can use to configure their build.

E.g.,
$ pg-config --libdir
/usr/local/pgsql/lib

`pg-config --configure' stores the configure command line.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.29 2000/07/19 16:29:53 petere Exp $
d13 1
a13 1
include ../Makefile.global
@


1.29
log
@Add distprep target to take some of the job of the release_prep script.
The latter updated accordingly. Also add `dist' and `distcheck' targets
to play with, but caveat packager.

Updated backend/bootstrap and backend/parser makefile to make them
marginally builddir aware and fix the usual set of things.

Add rule to automatically remake config.h dependent on config.h.in and
config.status. (Adopted from Autoconf manual and about every other
package.) On a good day we should now have a complete and accurate set
of dependencies throughout everything.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.28 2000/07/02 15:20:56 petere Exp $
d16 1
a16 1
	pg_passwd psql scripts
@


1.28
log
@Version number now set in configure, available through Makefile.global
and config.h. Adjusted all referring code.

Scrapped pg_version and changed initdb accordingly. Integrated
src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all
callers.

Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.27 2000/07/01 15:02:19 petere Exp $
d30 2
a31 2
all install installdirs uninstall depend:
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@ || exit 1; done
@


1.27
log
@A little bit of clean-up/bug fix in Tcl build. Handle gracefully cases
where someone wants to build these but hasn't configured for Tcl.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.26 2000/06/27 00:30:49 petere Exp $
d16 1
a16 1
	pg_passwd pg_version psql scripts
@


1.26
log
@Makefile cleanup for bin and pl subtrees. They should now support
all the standard semantics. Also get rid of Makefile.in's on the
way and instead declare all variables in Makefile.global.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/Makefile,v 1.25 2000/01/20 21:51:02 petere Exp $
a17 2
ALLDIRS := $(DIRS) pg_encoding pgaccess pgtclsh

d33 2
a34 5
clean:
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@; done

distclean maintainer-clean:
	@@for dir in $(ALLDIRS); do $(MAKE) -C $$dir $@@; done
@


1.25
log
@Added new pg_id to fix initdb problems
New INSTALL file
Fixed a copyright notice
@
text
@d3 1
a3 2
# Makefile
#    Makefile for src/bin (client programs)
d7 1
a7 3
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.24 2000/01/19 20:08:23 petere Exp $
d11 2
a12 1
SRCDIR= ..
d15 4
a18 3
DIRS = pg_id pg_version psql pg_dump pg_passwd \
 	scripts initdb initlocation ipcclean \
	pg_ctl
a23 1
#
a24 1
#
d32 8
a39 2
.DEFAULT all:
	for i in $(DIRS); do $(MAKE) -C $$i $@@; done
@


1.24
log
@another round of user interface cleanups
removed pg_id
fixed a few bugs in the scripts
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.23 2000/01/19 02:58:59 petere Exp $
d17 1
a17 1
DIRS = pg_version psql pg_dump pg_passwd \
@


1.23
log
@Removed MBFLAGS from makefiles since it's now done in include/config.h.
@
text
@d4 1
a4 1
#    Makefile for src/bin (utility programs)
d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.22 1999/12/22 04:12:54 ishii Exp $
@


1.22
log
@Add installation of pg_ctl
Locate path of postmaster in a portable way (stolen from initdb)
Add postmaster.opts.default.sample which should be copied into
$PGLIB in the installtion process. Also, it will be installed into
$PGDATA while initdb is running.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.21 1999/12/08 10:29:36 momjian Exp $
d17 1
a17 1
DIRS = pg_id pg_version psql pg_dump pg_passwd \
@


1.21
log
@Change $< to $+ in scripts Makefile, and clean up pg_encoding if logic.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.20 1999/12/05 20:02:43 momjian Exp $
d18 2
a19 1
 	scripts initdb initlocation ipcclean
@


1.20
log
@I cleaned those out as well (the echo -n "bug" was in there ;) and moved
them into the scripts dir. I also added a --list option to show already
installed languages.

This whole moving and renaming totally confused CVS and my checked out
copy got completely fried last night. When you apply the source patch,
please make sure that all the directories src/bin/{create|destroy}* as
well as vacuumdb, cleardbdir are gone and that all the scripts (7) are
in
scripts/.

Meanwhile I am still puzzled about what happened with the docs patch.
Because I don't know what you got now, the second attachment contains
the
files

ref/allfiles.sgml
ref/commands.sgml
ref/createlang.sgml
ref/droplang.sgml
doc/src/sgml/Makefile

Peter Eisentraut                  Sernanders vg 10:115
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.19 1999/12/04 04:53:16 momjian Exp $
d17 1
a17 1
DIRS = pg_id pg_version psql pg_dump pg_passwd cleardbdir \
@


1.19
log
@New scripts for create/drop user/db from Peter Eisentraut
@
text
@d3 1
a3 1
# Makefile.inc--
d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.18 1999/05/20 16:49:59 wieck Exp $
d18 1
a18 1
	createlang destroylang initdb initlocation ipcclean
@


1.18
log
@Removed the automatic installation of built procedural languages
from initdb again.

Added two new commands, createlang and destroylang to bin. These
hopefully end this damned mklang.sql discussion.

Jan
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.17 1998/12/18 17:53:21 momjian Exp $
d17 2
a18 3
DIRS = pg_id pg_version psql pg_dump pg_passwd cleardbdir createdb \
	createlang createuser destroydb destroylang destroyuser initdb \
	vacuumdb initlocation ipcclean
@


1.17
log
@Here are descriptions:

- the first patch is just to preven listing the perl warning in the
  make output unless it is actually emitted by the make.  this may
  prevent new users from being confused by the warning in their output

- the second patch (to 2 files) just enables building/installing
  pgaccess if TCL and TK are available.  a Makefile is created to do
  this, but you may wish to change the heading information in it since
  I just copied another Makefile to use as a template.

I hope these make it into 6.4.1.

Cheers,
Brook
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.16 1998/11/14 01:56:36 thomas Exp $
d18 2
a19 1
	createuser destroydb destroyuser initdb vacuumdb initlocation ipcclean
@


1.16
log
@Add "vacuumdb" utility.
@
text
@d10 1
a10 1
#    $Header: /opt/postgres/cvs/pgsql/src/bin/Makefile,v 1.15 1998/07/26 04:31:08 scrappy Exp $
d28 3
@


1.15
log
@
From: t-ishii@@sra.co.jp

As Bruce mentioned, this is due to the conflict among changes we made.
Included patches should fix the problem(I changed all MB to
MULTIBYTE). Please let me know if you have further problem.

P.S. I did not include pathces to configure and gram.c to save the
file size(configure.in and gram.y modified).
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.14 1998/07/24 03:32:02 scrappy Exp $
d18 1
a18 1
	createuser destroydb destroyuser initdb initlocation ipcclean
@


1.15.2.1
log
@Here are descriptions:

- the first patch is just to preven listing the perl warning in the
  make output unless it is actually emitted by the make.  this may
  prevent new users from being confused by the warning in their output

- the second patch (to 2 files) just enables building/installing
  pgaccess if TCL and TK are available.  a Makefile is created to do
  this, but you may wish to change the heading information in it since
  I just copied another Makefile to use as a template.

I hope these make it into 6.4.1.

Cheers,
Brook
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.15 1998/07/26 04:31:08 scrappy Exp $
a27 3
ifeq ($(USE_TK), true)
	DIRS += pgaccess
endif
@


1.14
log
@
I really hope that I haven't missed anything in this one...

From: t-ishii@@sra.co.jp

Attached are patches to enhance the multi-byte support.  (patches are
against 7/18 snapshot)

* determine encoding at initdb/createdb rather than compile time

Now initdb/createdb has an option to specify the encoding. Also, I
modified the syntax of CREATE DATABASE to accept encoding option. See
README.mb for more details.

For this purpose I have added new column "encoding" to pg_database.
Also pg_attribute and pg_class are changed to catch up the
modification to pg_database.  Actually I haved added pg_database_mb.h,
pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is
enabled. The reason having separate files is I couldn't find a way to
use ifdef or whatever in those files. I have to admit it looks
ugly. No way.

* support for PGCLIENTENCODING when issuing COPY command

commands/copy.c modified.

* support for SQL92 syntax "SET NAMES"

See gram.y.

* support for LATIN2-5
* add UNICODE regression test case
* new test suite for MB

New directory test/mb added.

* clean up source files

Basic idea is to have MB's own subdirectory for easier maintenance.
These are include/mb and backend/utils/mb.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.13 1998/04/06 03:23:01 momjian Exp $
d20 1
a20 1
ifdef MB
@


1.13
log
@Makefile cleanup./
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.12 1998/04/06 00:27:50 momjian Exp $
d19 4
@


1.12
log
@Hi,

Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.

It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.

This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )

This patch is against the 6.3 sources, as it took a while to
complete.

Please review and apply,

Cheers,

Jeroen van Vianen
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.11 1997/11/07 06:24:33 thomas Exp $
d17 2
a18 2
DIRS = pg_id pg_version psql pg_dump pg_passwd cleardbdir createuser \
	destroydb initdb initlocation
@


1.11
log
@Add initlocation.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.10 1997/10/30 17:36:58 momjian Exp $
d17 3
a19 19
.DEFAULT all:
#
# C programs
#
	$(MAKE) -C pg_id $@@
	$(MAKE) -C pg_version $@@
	$(MAKE) -C psql $@@
	$(MAKE) -C pg_dump $@@
	$(MAKE) -C pg_passwd $@@
#
# Shell scripts
# 
	$(MAKE) -C cleardbdir $@@
	$(MAKE) -C createdb $@@
	$(MAKE) -C createuser $@@
	$(MAKE) -C destroydb $@@
	$(MAKE) -C destroyuser $@@
	$(MAKE) -C initdb $@@
	$(MAKE) -C initlocation $@@
d24 1
a24 1
	$(MAKE) -C pgtclsh $@@
d26 3
@


1.10
log
@FIx for libptcl make, from Tatsuo Ishii.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.9 1997/08/25 19:59:52 momjian Exp $
d35 1
@


1.9
log
@pg_passwd cleanup
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.8 1997/08/25 19:41:39 momjian Exp $
d14 2
a15 1
#include ../Makefile.global
@


1.8
log
@pg_password utility.  Cleanup for psql passwords.  New datetime contrib stuff for new version.  Fix for strutils needing config.h.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.7 1997/04/26 05:04:21 scrappy Exp $
d24 1
a24 1
      $(MAKE) -C pg_passwd $@@
@


1.7
log
@clean up the bin/*/Makefiles...up version.h to v6.1 instead of v6.0

Remove bin/Makefile.global since it wasn't actually *doing* anything
that Makefile.global hadn't already done
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/Makefile,v 1.6 1996/11/13 10:35:20 bryanh Exp $
d24 1
@


1.6
log
@Eliminate MKDIR, srcdir, objdir.  Centralize setting of LIBPQDIR.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/Makefile,v 1.4 1996/08/13 07:48:15 scrappy Exp $
d14 1
a14 2
SRCDIR=..
include ../Makefile.global
@


1.5
log
@Makefile simplification: the "bin" chapter
@
text
@d15 1
a15 1
include $(SRCDIR)/Makefile.global
@


1.4
log
@I have attached a minor update for the Postgres make files.  This update
does 2 things:

1) Make it hard to not notice the make failed.  (As you recall, someone on
   the mailing list had this problem.  I've had it to some extent myself).

    The 1.02 make files continue with the next subdirectory when a make
    in a subdirectory fails.  The patch makes the make stop in the
    conventional way when a submake fails.  It also adds a reassuring message
    when the make succeeds and adds a note to the INSTALL file to expect it.

2) Include loader flags on all invocations of the linker.

   The 1.02 make files omit the $(LDFLAGS) on some of the linker invocations.
   On my system, I need one of those flags just to make it invoke the proper
   version of the compiler/linker, so LDFLAGS has to be everywhere.

Submitted by: Bryan Henderson <bryanh@@giraffe.netgate.net>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/Makefile,v 1.3 1996/07/25 06:54:26 scrappy Exp $
d14 2
a15 2
MKDIR=../mk
-include $(MKDIR)/../Makefile.global
@


1.3
log
@Removed monitor from compile/install (will eventually be removed
completely)
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/Makefile,v 1.2 1996/07/23 03:01:58 scrappy Exp $
d17 1
d21 4
a24 2
SUBDIR=  pg_id pg_version psql pg_dump

d28 6
a33 2
SUBDIR+= cleardbdir createdb createuser destroydb destroyuser initdb 

d38 1
a38 1
SUBDIR += pgtclsh
a39 3

include $(MKDIR)/postgres.subdir.mk

@


1.3.2.1
log
@i
Improvements to Makefiles to compensate for errors in compiling

From: bryanh@@giraffe.netgate.net (Bryan Henderson)
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/Makefile,v 1.3 1996/07/25 06:54:26 scrappy Exp $
a16 1
.DEFAULT all:
d20 2
a21 4
	$(MAKE) -C pg_id $@@
	$(MAKE) -C pg_version $@@
	$(MAKE) -C psql $@@
	$(MAKE) -C pg_dump $@@
d25 2
a26 6
	$(MAKE) -C cleardbdir $@@
	$(MAKE) -C createdb $@@
	$(MAKE) -C createuser $@@
	$(MAKE) -C destroydb $@@
	$(MAKE) -C destroyuser $@@
	$(MAKE) -C initdb $@@
d31 1
a31 1
	$(MAKE) -C pgtclsh $@@
d33 3
@


1.2
log
@Put in a new FAQ

Merged in Dr. George's src/bin tree (possibly broke monitor/psql in process)
@
text
@d10 1
a10 1
#    $Header: /usr/local/devel/pglite/cvs/src/bin/Makefile,v 1.5 1996/02/24 01:14:43 jolly Exp $
d20 1
a20 1
SUBDIR=  monitor pg_id pg_version psql pg_dump
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/postgres95/src/bin/Makefile,v 1.1.1.1 1996/07/09 05:32:33 scrappy Exp $
d14 3
a21 4
ifeq ($(USE_TCL), true)
SUBDIR += pgtclsh
endif

d24 1
a24 1
#
d27 6
d34 1
a34 1
include ../mk/postgres.subdir.mk
@


1.1.1.1
log
@Postgres95 1.01 Distribution - Virgin Sources
@
text
@@
