head	1.19;
access;
symbols
	REL7_2_8:1.16
	REL7_2_7:1.16
	REL7_2_6:1.16
	REL7_2_5:1.16
	REL7_2_4:1.16
	REL7_2_3:1.16
	REL7_2_STABLE:1.16.0.4
	REL7_2:1.16
	REL7_2_RC2:1.16
	REL7_2_RC1:1.16
	REL7_2_BETA5:1.16
	REL7_2_BETA4:1.16
	REL7_2_BETA3:1.16
	REL7_2_BETA2:1.16
	REL7_2_BETA1:1.16
	REL7_1_2:1.16
	REL7_1_STABLE:1.16.0.2
	REL7_1_BETA:1.14
	REL7_1_BETA3:1.14
	REL7_1_BETA2:1.14
	REL7_1:1.16
	REL7_0_PATCHES:1.8.0.2
	REL7_0:1.8
	REL6_5_PATCHES:1.1.0.4
	REL6_5:1.1
	REL6_4:1.1.0.2;
locks; strict;
comment	@# @;


1.19
date	2002.08.30.16.48.41;	author momjian;	state dead;
branches;
next	1.18;

1.18
date	2002.07.02.06.11.23;	author momjian;	state Exp;
branches;
next	1.17;

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

1.16
date	2001.02.18.18.34.01;	author momjian;	state Exp;
branches;
next	1.15;

1.15
date	2001.02.07.20.30.20;	author tgl;	state Exp;
branches;
next	1.14;

1.14
date	2000.10.20.21.03.58;	author petere;	state Exp;
branches;
next	1.13;

1.13
date	2000.09.25.22.22.56;	author petere;	state Exp;
branches;
next	1.12;

1.12
date	2000.09.17.13.02.41;	author petere;	state Exp;
branches;
next	1.11;

1.11
date	2000.08.31.16.11.20;	author petere;	state Exp;
branches;
next	1.10;

1.10
date	2000.06.28.18.29.22;	author petere;	state Exp;
branches;
next	1.9;

1.9
date	2000.06.27.00.31.34;	author petere;	state Exp;
branches;
next	1.8;

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

1.7
date	99.10.31.19.50.47;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	99.10.31.11.50.03;	author momjian;	state dead;
branches;
next	1.5;

1.5
date	99.10.30.21.21.50;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	99.10.30.16.39.48;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	99.10.30.16.00.54;	author momjian;	state dead;
branches;
next	1.2;

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

1.1
date	98.12.18.17.54.42;	author momjian;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.1.2.1
date	98.12.18.18.01.36;	author momjian;	state Exp;
branches;
next	;

1.1.4.1
date	99.09.13.18.47.06;	author momjian;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	99.09.17.04.02.20;	author momjian;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	99.10.30.21.22.07;	author momjian;	state Exp;
branches;
next	1.1.4.4;

1.1.4.4
date	99.10.31.12.34.10;	author momjian;	state dead;
branches;
next	1.1.4.5;

1.1.4.5
date	99.10.31.19.56.37;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Remove pgaccess from CVS.  It has its own home now.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for src/bin/pgaccess
#
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql-server/src/bin/pgaccess/Makefile,v 1.18 2002/07/02 06:11:23 momjian Exp $
#
#-------------------------------------------------------------------------

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

pgaccessdir = $(datadir)/pgaccess

all: pgaccess

pgaccess: pgaccess.sh $(top_builddir)/src/Makefile.global
	sed -e 's,@@WISH@@,$(WISH),g' \
	    -e 's,@@PGACCESSHOME@@,$(pgaccessdir),g' \
	    -e 's,@@PGLIB@@,$(libdir),g' \
	    -e 's,@@DEF_PGPORT@@,$(DEF_PGPORT),g' \
	  $< >$@@
	chmod a+x $@@

install: all installdirs
	$(INSTALL_SCRIPT) pgaccess $(DESTDIR)$(bindir)/pgaccess
	$(INSTALL_SCRIPT) $(srcdir)/main.tcl $(DESTDIR)$(pgaccessdir)
	for i in $(srcdir)/lib/*.tcl; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/lib || exit 1; done
	for i in $(srcdir)/lib/help/*.hlp; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/lib/help || exit 1; done
	for i in $(srcdir)/lib/languages/[a-z]*; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/lib/languages || exit 1; done
	for i in $(srcdir)/images/*.gif; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/images || exit 1; done

installdirs:
	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(pgaccessdir)/lib/help $(DESTDIR)$(pgaccessdir)/lib/languages $(DESTDIR)$(pgaccessdir)/images

uninstall:
	rm -f $(DESTDIR)$(bindir)/pgaccess
	rm -rf $(DESTDIR)$(pgaccessdir)

clean distclean maintainer-clean:
	rm -f pgaccess
@


1.18
log
@Update to pgaccess 0.91.
@
text
@d8 1
a8 1
# $Header: /home/tacho/cvs/pgaccess/Makefile,v 1.1.1.4 2002/06/10 08:36:04 tacho Exp $
@


1.17
log
@Update copyright to 2002.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
d8 1
a8 1
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.16 2001/02/18 18:34:01 momjian Exp $
@


1.16
log
@Add copyright mentions, per Tom Lane.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
d8 1
a8 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.15 2001/02/07 20:30:20 tgl Exp $
@


1.15
log
@Use explicit path to libpgtcl.so, instead of relying on LD_LIBRARY_PATH
or local equivalent.  Also, honor --with-pgport configure option for
default port number, and allow PGPORT environment variable to override
this.
@
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/pgaccess/Makefile,v 1.14 2000/10/20 21:03:58 petere Exp $
@


1.14
log
@Add support for VPATH builds, that is, building somewhere else than in the
source directory.  This involves mostly makefiles using $(srcdir) when they
might have used ".".  (Regression tests don't work with this, yet.)

Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
in most places, to preserve necessary flags even when the user overrode the
flags.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.13 2000/09/25 22:22:56 petere Exp $
d22 2
@


1.13
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/pgaccess/Makefile,v 1.12 2000/09/17 13:02:41 petere Exp $
d27 5
a31 5
	$(INSTALL_SCRIPT) main.tcl $(DESTDIR)$(pgaccessdir)
	for i in lib/*.tcl; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/lib || exit 1; done
	for i in lib/help/*.hlp; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/lib/help || exit 1; done
	for i in lib/languages/[a-z]*; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/lib/languages || exit 1; done
	for i in images/*.gif; do $(INSTALL_DATA) $$i $(DESTDIR)$(pgaccessdir)/images || exit 1; done
@


1.12
log
@Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@@gnu.org, From: Akim Demaille <akim@@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.11 2000/08/31 16:11:20 petere Exp $
d19 5
a23 2
pgaccess: pgaccess.sh
	sed -e 's,__wish__,$(WISH),' -e 's,__PGACCESSHOME__,$(pgaccessdir),' < $< > $@@
@


1.11
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/pgaccess/Makefile,v 1.10 2000/06/28 18:29:22 petere Exp $
d23 6
a28 6
	$(INSTALL_SCRIPT) pgaccess $(bindir)/pgaccess
	$(INSTALL_SCRIPT) main.tcl $(pgaccessdir)
	for i in lib/*.tcl; do $(INSTALL_DATA) $$i $(pgaccessdir)/lib || exit 1; done
	for i in lib/help/*.hlp; do $(INSTALL_DATA) $$i $(pgaccessdir)/lib/help || exit 1; done
	for i in lib/languages/[a-z]*; do $(INSTALL_DATA) $$i $(pgaccessdir)/lib/languages || exit 1; done
	for i in images/*.gif; do $(INSTALL_DATA) $$i $(pgaccessdir)/images || exit 1; done
d31 1
a31 1
	$(mkinstalldirs) $(bindir) $(pgaccessdir)/lib/help $(pgaccessdir)/lib/languages $(pgaccessdir)/images
d34 2
a35 2
	rm -f $(bindir)/pgaccess
	rm -rf $(pgaccessdir)
@


1.10
log
@Makefile cleanup for interface tree. Now essentially with all the
standard targets and behaviour. Replaced Makefile.in's with
Makefile's and declared the respective variables in Makefile.global.

maintainer-clean target now available at top level, although it does
not work in the backend tree yet.

Cleanup pass over Makefile.shlib, renamed some targets and variables.
The shared library symlink tests are now done by make, not the shell.

ecpg: Remove one warning in sloppy flex output.

PL/Perl and Perl interface: the MakeMaker documentation is confusing,
the realclean target *does* "delete derived files", but it also
uninstalls them. Don't use that.

The submake targets in the various bin directories that update libpq
should `make all', not `make libpq.a'. That is a) unportable, and
b) doesn't build the shared library.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.9 2000/06/27 00:31:34 petere Exp $
d13 1
a13 1
include ../../Makefile.global
@


1.9
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/pgaccess/Makefile,v 1.8 1999/12/16 01:25:10 momjian Exp $
d25 4
a28 4
	$(INSTALL_DATA) lib/*.tcl $(pgaccessdir)/lib
	$(INSTALL_DATA) lib/help/*.hlp $(pgaccessdir)/lib/help
	$(INSTALL_DATA) lib/languages/[a-z]* $(pgaccessdir)/lib/languages
	$(INSTALL_DATA) images/*.gif $(pgaccessdir)/images
@


1.8
log
@I have done the QNX4 port with the current source tree. The number of
backend/Makefiles to be patched could significantly be reduced since
they
have been adopted to the QNX4 needs.

Andreas Kardos
@
text
@d3 1
a3 2
# Makefile
#    Makefile for pgaccess
d7 1
a7 2
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.7 1999/10/31 19:50:47 momjian Exp $
d11 5
a15 2
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
d20 16
a35 16
	sed -e 's;__wish__;$(WISH);' pgaccess.sh |	\
	sed -e 's;__POSTGRESDIR__;$(POSTGRESDIR);' 	\
			> pgaccess

install:
	$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
	-@@if [ ! -d $(POSTGRESDIR)/pgaccess ]; then mkdir $(POSTGRESDIR)/pgaccess; fi
	$(INSTALL) $(INSTL_EXE_OPTS) main.tcl $(POSTGRESDIR)/pgaccess
	-@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib ]; then mkdir $(POSTGRESDIR)/pgaccess/lib; fi
	$(INSTALL) $(INSTLOPTS) lib/*.tcl $(POSTGRESDIR)/pgaccess/lib
	-@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/help ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/help; fi
	$(INSTALL) $(INSTLOPTS) lib/help/*.hlp $(POSTGRESDIR)/pgaccess/lib/help
	-@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/languages ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/languages; fi
	$(INSTALL) $(INSTLOPTS) lib/languages/[a-z]* $(POSTGRESDIR)/pgaccess/lib/languages
	-@@if [ ! -d $(POSTGRESDIR)/pgaccess/images ]; then mkdir $(POSTGRESDIR)/pgaccess/images; fi
	$(INSTALL) $(INSTLOPTS) images/*.gif $(POSTGRESDIR)/pgaccess/images
d37 1
a37 1
clean:
@


1.7
log
@Update to pgaccess 0.98.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile.in,v 1.2 1999/10/31 12:23:41 momjian Exp $
d25 1
a25 1
	@@if [ ! -d $(POSTGRESDIR)/pgaccess ]; then mkdir $(POSTGRESDIR)/pgaccess; fi
d27 1
a27 1
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib ]; then mkdir $(POSTGRESDIR)/pgaccess/lib; fi
d29 1
a29 1
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/help ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/help; fi
d31 1
a31 1
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/languages ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/languages; fi
d33 1
a33 1
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/images ]; then mkdir $(POSTGRESDIR)/pgaccess/images; fi
@


1.6
log
@Update pgaccess makefile for 0.98
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.5 1999/10/30 21:21:50 momjian Exp $
d16 6
a21 2
.PHONY: all clean
all clean: 
a22 1
.PHONY: install
d25 13
@


1.5
log
@Update pgaccess for 0.98.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.4 1999/10/30 16:39:48 momjian Exp $
@


1.4
log
@Add pgaccess Makefile.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.1.4.2 1999/09/17 04:02:20 momjian Exp $
d20 2
a21 2
install: pgaccess.tcl
	$(INSTALL) $(INSTL_EXE_OPTS) pgaccess.tcl $(BINDIR)/pgaccess
@


1.3
log
@Remove 0.96 for update to 0.98
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.2 1999/09/20 22:28:11 scrappy Exp $
@


1.2
log
@
bring in missing files ... this isn't very clean, but :(
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.1.4.2 1999/09/17 04:02:20 momjian Exp $
@


1.1
log
@Add pgaccess Makefile.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/libpgtcl/Makefile.in,v 1.33 1998/10/19 00:00:41 tgl Exp $
@


1.1.4.1
log
@Update pgaccess 0.98
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.1 1998/12/18 17:54:42 momjian Exp $
@


1.1.4.2
log
@re-add Makefile for pgaccess
@
text
@@


1.1.4.3
log
@Update pgaccess for 0.98.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.4 1999/10/30 16:39:48 momjian Exp $
d20 2
a21 2
install:
	$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
@


1.1.4.4
log
@Update for 0.98 pgaccess
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile,v 1.1.4.3 1999/10/30 21:22:07 momjian Exp $
@


1.1.4.5
log
@Update for pgaccess 0.98.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/pgaccess/Makefile,v 1.7 1999/10/31 19:50:47 momjian Exp $
d16 2
a17 6
all: pgaccess

pgaccess: pgaccess.sh
	sed -e 's;__wish__;$(WISH);' pgaccess.sh |	\
	sed -e 's;__POSTGRESDIR__;$(POSTGRESDIR);' 	\
			> pgaccess
d19 1
a21 13
	@@if [ ! -d $(POSTGRESDIR)/pgaccess ]; then mkdir $(POSTGRESDIR)/pgaccess; fi
	$(INSTALL) $(INSTL_EXE_OPTS) main.tcl $(POSTGRESDIR)/pgaccess
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib ]; then mkdir $(POSTGRESDIR)/pgaccess/lib; fi
	$(INSTALL) $(INSTLOPTS) lib/*.tcl $(POSTGRESDIR)/pgaccess/lib
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/help ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/help; fi
	$(INSTALL) $(INSTLOPTS) lib/help/*.hlp $(POSTGRESDIR)/pgaccess/lib/help
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/languages ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/languages; fi
	$(INSTALL) $(INSTLOPTS) lib/languages/[a-z]* $(POSTGRESDIR)/pgaccess/lib/languages
	@@if [ ! -d $(POSTGRESDIR)/pgaccess/images ]; then mkdir $(POSTGRESDIR)/pgaccess/images; fi
	$(INSTALL) $(INSTLOPTS) images/*.gif $(POSTGRESDIR)/pgaccess/images

clean:
	rm -f pgaccess
@


1.1.2.1
log
@Included are patches for doc/README.mb and README.mb.jp.
Please apply to both trees.
--
Tatsuo Ishii
@
text
@@
