head	1.57;
access;
symbols
	REL9_0_0:1.57
	REL9_1_ALPHA1:1.57
	REL9_0_RC1:1.57
	REL9_0_BETA4:1.57
	REL9_0_STABLE:1.57.0.12
	REL9_0_BETA3:1.57
	REL9_0_BETA2:1.57
	REL7_4_29:1.50
	REL8_0_25:1.53
	REL8_1_21:1.53
	REL8_2_17:1.53
	REL8_3_11:1.55
	REL8_4_4:1.56
	REL9_0_BETA1:1.57
	REL9_0_ALPHA5_BRANCH:1.57.0.10
	REL9_0_ALPHA5:1.57
	REL7_4_28:1.50
	REL8_0_24:1.53
	REL8_1_20:1.53
	REL8_2_16:1.53
	REL8_3_10:1.55
	REL8_4_3:1.56
	REL9_0_ALPHA4:1.57
	REL9_0_ALPHA4_BRANCH:1.57.0.8
	REL8_5_ALPHA3:1.57
	REL8_5_ALPHA3_BRANCH:1.57.0.6
	REL7_4_27:1.50
	REL8_0_23:1.53
	REL8_1_19:1.53
	REL8_2_15:1.53
	REL8_3_9:1.55
	REL8_4_2:1.56
	REL8_5_ALPHA2:1.57
	REL8_5_ALPHA2_BRANCH:1.57.0.4
	REL7_4_26:1.50
	REL8_0_22:1.53
	REL8_1_18:1.53
	REL8_2_14:1.53
	REL8_3_8:1.55
	REL8_4_1:1.56
	REL8_5_ALPHA1:1.57
	REL8_5_ALPHA1_BRANCH:1.57.0.2
	REL8_4_STABLE:1.56.0.2
	REL8_4_0:1.56
	REL8_4_RC2:1.56
	REL8_4_RC1:1.56
	REL8_4_BETA2:1.56
	REL8_4_BETA1:1.56
	REL7_4_25:1.50
	REL8_0_21:1.53
	REL8_1_17:1.53
	REL8_2_13:1.53
	REL8_3_7:1.55
	REL7_4_24:1.50
	REL8_0_20:1.53
	REL8_1_16:1.53
	REL8_2_12:1.53
	REL8_3_6:1.55
	REL7_4_23:1.50
	REL8_0_19:1.53
	REL8_1_15:1.53
	REL8_2_11:1.53
	REL8_3_5:1.55
	REL7_4_22:1.50
	REL8_0_18:1.53
	REL8_1_14:1.53
	REL8_2_10:1.53
	REL8_3_4:1.55
	REL7_4_21:1.50
	REL8_0_17:1.53
	REL8_1_13:1.53
	REL8_2_9:1.53
	REL8_3_3:1.55
	REL7_4_20:1.50
	REL8_0_16:1.53
	REL8_1_12:1.53
	REL8_2_8:1.53
	REL8_3_2:1.55
	REL8_2_7:1.53
	REL8_3_1:1.55
	REL8_3_STABLE:1.55.0.2
	REL8_3_0:1.55
	REL8_3_RC2:1.55
	REL7_3_21:1.49
	REL7_4_19:1.50
	REL8_0_15:1.53
	REL8_1_11:1.53
	REL8_2_6:1.53
	REL8_3_RC1:1.55
	REL8_3_BETA4:1.55
	REL8_3_BETA3:1.55
	REL8_3_BETA2:1.55
	REL8_3_BETA1:1.55
	REL7_3_20:1.49
	REL7_4_18:1.50
	REL8_0_14:1.53
	REL8_1_10:1.53
	REL8_2_5:1.53
	REL7_3_19:1.49
	REL7_4_17:1.50
	REL8_0_13:1.53
	REL8_1_9:1.53
	REL8_2_4:1.53
	REL8_0_12:1.53
	REL8_1_8:1.53
	REL8_2_3:1.53
	REL7_3_18:1.49
	REL7_4_16:1.50
	REL8_0_11:1.53
	REL8_1_7:1.53
	REL8_2_2:1.53
	REL8_0_10:1.53
	REL8_1_6:1.53
	REL8_2_1:1.53
	REL7_4_15:1.50
	REL7_3_17:1.49
	REL8_2_STABLE:1.53.0.8
	REL8_2_0:1.53
	REL8_2_RC1:1.53
	REL8_2_BETA3:1.53
	REL8_2_BETA2:1.53
	REL8_1_5:1.53
	REL8_0_9:1.53
	REL7_4_14:1.50
	REL7_3_16:1.49
	REL8_2_BETA1:1.53
	REL7_3_15:1.49
	REL7_4_13:1.50
	REL8_0_8:1.53
	REL8_1_4:1.53
	REL7_3_14:1.49
	REL7_4_12:1.50
	REL8_0_7:1.53
	REL8_1_3:1.53
	REL7_3_13:1.49
	REL7_4_11:1.50
	REL8_0_6:1.53
	REL8_1_2:1.53
	REL7_3_12:1.49
	REL7_4_10:1.50
	REL8_0_5:1.53
	REL8_1_1:1.53
	REL8_1_STABLE:1.53.0.6
	REL8_1_0:1.53
	REL8_1_0RC1:1.53
	REL8_1_0BETA4:1.53
	REL8_1_0BETA3:1.53
	REL7_3_11:1.49
	REL7_4_9:1.50
	REL8_0_4:1.53
	REL8_1_0BETA2:1.53
	REL8_1_0BETA1:1.53
	REL7_2_8:1.45
	REL7_3_10:1.49
	REL7_4_8:1.50
	REL8_0_3:1.53
	REL8_0_2:1.53
	REL7_2_7:1.45
	REL7_3_9:1.49
	REL7_4_7:1.50
	REL8_0_1:1.53
	REL8_0_STABLE:1.53.0.4
	REL8_0_0:1.53.0.2
	REL8_0_0RC5:1.53
	REL8_0_0RC4:1.53
	REL8_0_0RC3:1.53
	REL8_0_0RC2:1.53
	REL8_0_0RC1:1.53
	REL8_0_0BETA5:1.53
	REL8_0_0BETA4:1.53
	REL7_4_6:1.50
	REL7_3_8:1.49
	REL7_2_6:1.45
	REL8_0_0BETA3:1.53
	REL8_0_0BETA2:1.53
	REL7_2_5:1.45
	REL7_4_5:1.50
	REL7_3_7:1.49
	REL7_4_4:1.50
	REL8_0_0BETA1:1.53
	REL7_4_3:1.50
	REL7_4_2:1.50
	REL7_3_6:1.49
	REL7_4_1:1.50
	REL7_3_5:1.49
	REL7_4:1.50
	REL7_4_RC2:1.50
	REL7_4_STABLE:1.50.0.4
	REL7_4_RC1:1.50
	REL7_4_BETA5:1.50
	REL7_4_BETA4:1.50
	REL7_4_BETA3:1.50
	REL7_4_BETA2:1.50
	WIN32_DEV:1.50.0.2
	REL7_4_BETA1:1.50
	REL7_3_4:1.49
	REL7_3_2:1.49
	REL7_2_4:1.45
	REL7_3_STABLE:1.49.0.2
	REL7_2_3:1.45
	REL7_2_STABLE:1.45.0.4
	REL7_2:1.45
	REL7_2_RC2:1.45
	REL7_2_RC1:1.45
	REL7_2_BETA5:1.45
	REL7_2_BETA4:1.45
	REL7_2_BETA3:1.45
	REL7_2_BETA2:1.45
	REL7_2_BETA1:1.45
	REL7_1_2:1.45
	REL7_1_STABLE:1.45.0.2
	REL7_1_BETA:1.43
	REL7_1_BETA3:1.43
	REL7_1_BETA2:1.43
	REL7_1:1.45
	REL7_0_PATCHES:1.38.0.2
	REL7_0:1.38
	REL6_5_PATCHES:1.23.0.2
	REL6_5:1.23
	REL6_4:1.20.0.2
	release-6-3:1.8;
locks; strict;
comment	@# @;


1.57
date	2009.08.07.20.50.22;	author petere;	state Exp;
branches;
next	1.56;

1.56
date	2008.03.18.16.24.50;	author petere;	state Exp;
branches;
next	1.55;

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

1.54
date	2007.01.20.17.16.15;	author petere;	state Exp;
branches;
next	1.53;

1.53
date	2004.04.20.00.33.51;	author pgsql;	state Exp;
branches;
next	1.52;

1.52
date	2004.01.19.21.20.06;	author tgl;	state Exp;
branches;
next	1.51;

1.51
date	2003.11.29.19.52.08;	author pgsql;	state Exp;
branches;
next	1.50;

1.50
date	2003.08.01.04.24.57;	author scrappy;	state Exp;
branches;
next	1.49;

1.49
date	2002.08.30.13.06.20;	author scrappy;	state Exp;
branches;
next	1.48;

1.48
date	2002.08.30.13.03.09;	author scrappy;	state Exp;
branches;
next	1.47;

1.47
date	2002.08.22.22.43.11;	author scrappy;	state Exp;
branches;
next	1.46;

1.46
date	2002.08.22.00.15.10;	author scrappy;	state Exp;
branches;
next	1.45;

1.45
date	2001.03.09.21.50.27;	author petere;	state Exp;
branches;
next	1.44;

1.44
date	2001.03.05.09.39.52;	author peter;	state Exp;
branches;
next	1.43;

1.43
date	2000.09.25.22.23.00;	author petere;	state Exp;
branches;
next	1.42;

1.42
date	2000.08.31.16.11.30;	author petere;	state Exp;
branches;
next	1.41;

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

1.40
date	2000.06.28.18.29.35;	author petere;	state Exp;
branches;
next	1.39;

1.39
date	2000.06.10.18.01.46;	author petere;	state dead;
branches;
next	1.38;

1.38
date	2000.04.26.09.03.10;	author wieck;	state Exp;
branches;
next	1.37;

1.37
date	2000.04.26.05.50.18;	author peter;	state Exp;
branches;
next	1.36;

1.36
date	2000.04.23.04.26.31;	author tgl;	state Exp;
branches;
next	1.35;

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

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

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

1.32
date	2000.03.25.14.25.30;	author momjian;	state Exp;
branches;
next	1.31;

1.31
date	99.12.16.01.25.15;	author momjian;	state Exp;
branches;
next	1.30;

1.30
date	99.10.11.18.05.39;	author momjian;	state Exp;
branches;
next	1.29;

1.29
date	99.10.11.17.51.27;	author momjian;	state Exp;
branches;
next	1.28;

1.28
date	99.10.11.17.46.58;	author momjian;	state Exp;
branches;
next	1.27;

1.27
date	99.10.08.04.28.57;	author momjian;	state Exp;
branches;
next	1.26;

1.26
date	99.10.08.00.15.49;	author momjian;	state Exp;
branches;
next	1.25;

1.25
date	99.09.03.13.46.33;	author thomas;	state Exp;
branches;
next	1.24;

1.24
date	99.08.16.20.12.12;	author momjian;	state Exp;
branches;
next	1.23;

1.23
date	99.05.21.19.03.48;	author momjian;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	99.05.10.17.01.25;	author momjian;	state Exp;
branches;
next	1.21;

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

1.20
date	98.10.27.21.27.36;	author tgl;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	98.10.18.02.33.56;	author tgl;	state Exp;
branches;
next	1.18;

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

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

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

1.15
date	98.08.26.16.43.51;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	98.08.26.05.22.58;	author momjian;	state Exp;
branches;
next	1.13;

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

1.12
date	98.08.17.03.53.37;	author scrappy;	state Exp;
branches;
next	1.11;

1.11
date	98.08.17.03.50.19;	author scrappy;	state Exp;
branches;
next	1.10;

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

1.9
date	98.03.05.13.18.51;	author scrappy;	state Exp;
branches;
next	1.8;

1.8
date	98.02.27.02.31.02;	author scrappy;	state Exp;
branches;
next	1.7;

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

1.6
date	98.02.12.02.14.14;	author scrappy;	state Exp;
branches;
next	1.5;

1.5
date	98.02.11.15.17.47;	author scrappy;	state Exp;
branches;
next	1.4;

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

1.3
date	97.10.30.04.38.30;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	97.09.16.18.47.16;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	97.08.16.20.56.28;	author scrappy;	state Exp;
branches;
next	;

1.20.2.1
date	98.12.18.17.53.46;	author momjian;	state Exp;
branches;
next	;

1.23.2.1
date	99.08.16.20.10.25;	author momjian;	state Exp;
branches;
next	1.23.2.2;

1.23.2.2
date	99.11.02.02.35.58;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.57
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
@#-------------------------------------------------------------------------
#
# Makefile for src/interfaces
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/Makefile,v 1.56 2008/03/18 16:24:50 petere Exp $
#
#-------------------------------------------------------------------------

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

SUBDIRS = libpq ecpg

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


1.56
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
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/Makefile,v 1.55 2007/02/09 15:55:59 petere Exp $
d15 1
a15 1
DIRS = libpq ecpg 
d18 1
a18 1
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@ || exit; done
@


1.55
log
@Replace useless uses of := by = in makefiles.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/Makefile,v 1.54 2007/01/20 17:16:15 petere Exp $
d17 1
a17 3
ALLDIRS = $(DIRS) 

all install installdirs uninstall distprep:
a18 6

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

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


1.54
log
@Remove remains of old depend target.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/Makefile,v 1.53 2004/04/20 00:33:51 pgsql Exp $
d15 1
a15 1
DIRS := libpq ecpg 
d17 1
a17 1
ALLDIRS := $(DIRS) 
@


1.53
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
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/Makefile,v 1.52 2004/01/19 21:20:06 tgl Exp $
d19 1
a19 1
all install installdirs uninstall dep depend distprep:
@


1.52
log
@Remove JDBC from the build system and documentation, too.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/Makefile,v 1.51 2003/11/29 19:52:08 pgsql Exp $
d17 1
a17 6
ALLDIRS := $(DIRS) libpgtcl

ifeq ($(with_tcl), yes)
DIRS += libpgtcl
endif

@


1.51
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
# $PostgreSQL: /cvsroot/pgsql-server/src/interfaces/Makefile,v 1.50 2003/08/01 04:24:57 scrappy Exp $
d17 1
a17 1
ALLDIRS := $(DIRS) libpgtcl jdbc
a20 4
endif

ifeq ($(with_java), yes)
DIRS += jdbc
@


1.50
log
@
clean python out of Makefile
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/Makefile,v 1.49 2002/08/30 13:06:20 scrappy Exp $
@


1.49
log
@
perl5 interface moved to gborg
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/Makefile,v 1.48 2002/08/30 13:03:09 scrappy Exp $
d17 1
a17 1
ALLDIRS := $(DIRS) libpgtcl python jdbc
a20 4
endif

ifeq ($(with_python), yes)
DIRS += python
@


1.48
log
@
libpgeasy moved to gborg ...
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/Makefile,v 1.47 2002/08/22 22:43:11 scrappy Exp $
d17 1
a17 1
ALLDIRS := $(DIRS) libpgtcl perl5 python jdbc
a20 4
endif

ifeq ($(with_perl), yes)
DIRS += perl5
@


1.47
log
@
Remove all traces of the ODBC driver, which is now on GBorg as the psqlodbc
project ...
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/Makefile,v 1.46 2002/08/22 00:15:10 scrappy Exp $
d15 1
a15 1
DIRS := libpq ecpg libpgeasy
@


1.46
log
@
Okay, libpq++ is moved to GBorg, and all traces of it have been removed
from the core repository ... I haven't *moved* the libpq++ files out of the
tree, mainly as we want to keep them in place for past branches ...

Peter, I think I've covered all the files I need, and re-ran autoconf to make
sure the configure file is in place properly ...
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/Makefile,v 1.45 2001/03/09 21:50:27 petere Exp $
d17 1
a17 5
ALLDIRS := $(DIRS) odbc libpgtcl perl5 python jdbc

ifeq ($(enable_odbc), yes)
DIRS += odbc
endif
@


1.45
log
@Recursive distclean shouldn't depend on recursive clean.  Subdirectories
handle this.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/Makefile,v 1.44 2001/03/05 09:39:52 peter Exp $
d17 1
a17 1
ALLDIRS := $(DIRS) odbc libpq++ libpgtcl perl5 python jdbc
a20 4
endif

ifeq ($(with_CXX), yes)
DIRS += libpq++
@


1.44
log
@

Ok, I've split todays commit into three, the first two already done had some
bits in JDBC & the first set of tools into contrib.

This is the third, and deals with enabling JDBC to be compiled with the main
source.

What it does is add a new option to configure: --with-java

This option tells configure to look for ant (our build tool of choice) and
if found, it then compiles both the JDBC driver and the new tools as part
of the normal make.

Also, when the postgresql install is done, all the .jar files are also
installed into the ${PGLIB}/java directory (thought best to keep then separate)

Now I had some conflicts when this applied so could someone please double check
that everything is ok?

Peter
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/Makefile,v 1.43 2000/09/25 22:23:00 petere Exp $
d50 1
a50 1
distclean maintainer-clean: clean
@


1.43
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/interfaces/Makefile,v 1.42 2000/08/31 16:11:30 petere Exp $
d17 1
a17 1
ALLDIRS := $(DIRS) odbc libpq++ libpgtcl perl5 python
d37 4
@


1.42
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/interfaces/Makefile,v 1.41 2000/07/19 16:30:06 petere Exp $
d27 1
a27 1
ifeq ($(USE_TCL), true)
@


1.41
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/interfaces/Makefile,v 1.40 2000/06/28 18:29:35 petere Exp $
d13 1
a13 1
include ../Makefile.global
@


1.40
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$
d40 2
a41 2
all install installdirs uninstall dep depend:
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@ || exit 1; done
@


1.39
log
@Moved the intricacies of the perl interface build into its own makefile
that now functions as a wrapper around the MakeMaker stuff. It might
even behave sensically when we have separate build dirs. Same for plperl,
which of course still doesn't work very well. Made sure that plperl
respects the choice of --libdir.

Added --with-python to automatically build and install the Python interface.
Works similarly to the Perl5 stuff.

Moved the burden of the distclean targets lower down into the source tree.
Eventually, each make file should have its own.

Added automatic remaking of makefiles and configure. Currently only for the
top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around
missing autoconf and aclocal. Start factoring out macros into their own
config/*.m4 files to increase readability and organization.
@
text
@d3 1
a3 2
# Makefile.inc--
#    Makefile for src/bin (utility programs)
d7 1
a7 3
#
# IDENTIFICATION
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/Makefile,v 1.38 2000/04/26 09:03:10 wieck Exp $
d11 5
a15 2
SRCDIR= ..
include $(SRCDIR)/Makefile.global
d17 5
d23 2
a24 14
# Note: the klugery for perl5 is to ensure that the perl5 shared lib
# gets built with the correct path to the installed location of libpq
# during "make install", but is built against the local tree during
# ordinary building and testing.  During install, we must also guard
# against the likelihood that we don't have permissions to install into
# the Perl module library.

.DEFAULT all install clean dep depend distclean:
	$(MAKE) -C libpq $@@
	$(MAKE) -C ecpg $@@
ifeq ($(HAVE_Cplusplus), true)
	$(MAKE) -C libpq++ $@@
else
	echo $(HAVE_Cplusplus): No C++
d26 1
a26 1
	$(MAKE) -C libpgeasy $@@
d28 1
a28 1
	$(MAKE) -C libpgtcl $@@
d30 3
a32 7
ifeq ($(USE_PERL), true)
	if [ "$@@" = "install" ]; then \
		$(MAKE) $(MFLAGS) install-perl5; \
	else \
		$(MAKE) $(MFLAGS) perl5/Makefile; \
		$(MAKE) $(MFLAGS) -C perl5 $@@; \
	fi
d34 3
a36 2
ifeq ($(USE_ODBC), true)
	$(MAKE) -C odbc $@@
a38 2
perl5/Makefile: perl5/Makefile.PL
	cd perl5 && $(PERL) Makefile.PL POLLUTE=1
d40 5
a44 12
install-perl5: perl5/Makefile
	$(MAKE) -C perl5 clean
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL POLLUTE=1
	$(MAKE) -C perl5 all
	-@@if [ -w `$(MAKE) --quiet -C perl5 echo-installdir` ]; then \
		$(MAKE) $(MFLAGS) -C perl5 install; \
		rm -f perl5/Makefile; \
	else \
		echo "Skipping install of Perl module for lack of permissions."; \
		echo "To install it, cd into interfaces/perl5, su to become the"; \
		echo "appropriate user, and do '$(MAKE) install'."; \
	fi
d46 2
a47 1
.PHONY: install-perl5
@


1.38
log
@Reinstalled revision 1.36 (looks Peter Mount installed
a new JDBC Makefile here by accident)

Jan
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.36 2000/04/23 04:26:31 tgl Exp $
@


1.37
log
@third attempt
@
text
@d3 5
a7 2
# Makefile
#    Makefile for Java JDBC interface
d10 1
a10 1
#    $Id$
d14 2
a15 146
FIND		= find
IDL2JAVA	= idltojava -fno-cpp -fno-tie
JAR		= jar
JAVA		= java
JAVAC		= javac -g
JAVADOC		= javadoc
RM		= rm -f
TOUCH		= touch

# This defines how to compile a java class
.java.class:
	$(JAVAC) $<

.SUFFIXES:	.class .java
.PHONY:		all clean doc examples msg

# This is the base directory of the driver. In 7.0, this changed from
# postgresql to org/postgresql
PGBASE		= org/postgresql

# In 6.5, the all rule builds the makeVersion class which then calls make using
# the jdbc1 or jdbc2 rules
all:	
	@@echo ------------------------------------------------------------
	@@echo Due to problems with some JVMs that dont return a meaningful
	@@echo version number, we have had to make the choice of what jdbc
	@@echo version is built as a compile time option.
	@@echo
	@@echo If you are using JDK1.1.x, you will need the JDBC1.2 driver.
	@@echo To compile, type:
	@@echo "  make jdbc1 jar"
	@@echo
	@@echo "If you are using JDK1.2 (aka Java2) you need the JDBC2."
	@@echo To compile, type:
	@@echo "  make jdbc2 jar"
	@@echo
	@@echo Once you have done this, a postgresql.jar file will be
	@@echo produced. This file will only work with that particular
	@@echo JVM.
	@@echo
	@@echo ------------------------------------------------------------

msg:	
	@@echo ------------------------------------------------------------
	@@echo The JDBC driver has now been built. To make it available to
	@@echo other applications, copy the postgresql.jar file to a public
	@@echo "place (under unix this could be /usr/local/lib) and add it"
	@@echo to the class path.
	@@echo
	@@echo Then either add -Djdbc.drivers=postgresql.Driver to the
	@@echo commandline when running your application, or edit the
	@@echo "properties file for your application (~/.hotjava/properties"
	@@echo "under unix for HotJava), and add a line containing"
	@@echo jdbc.drivers=postgresql.Driver
	@@echo
	@@echo More details are in the README file and in the main postgresql
	@@echo documentation.
	@@echo
	@@echo ------------------------------------------------------------
	@@echo To build the examples, type:
	@@echo "  make examples"
	@@echo
	@@echo "To build the CORBA example (requires Java2):"
	@@echo "  make corba"
	@@echo ------------------------------------------------------------
	@@echo

dep depend:

# This rule builds the javadoc documentation
doc:
	export CLASSPATH=.;\
		$(JAVADOC) -public \
			org.postgresql \
			org.postgresql.fastpath \
			org.postgresql.largeobject

# These classes form the driver. These, and only these are placed into
# the jar file.
OBJ_COMMON=	$(PGBASE)/Connection.class \
		$(PGBASE)/Driver.class \
		$(PGBASE)/Field.class \
		$(PGBASE)/PG_Stream.class \
		$(PGBASE)/ResultSet.class \
		$(PGBASE)/errors.properties \
		$(PGBASE)/errors_fr.properties \
		$(PGBASE)/fastpath/Fastpath.class \
		$(PGBASE)/fastpath/FastpathArg.class \
		$(PGBASE)/geometric/PGbox.class \
		$(PGBASE)/geometric/PGcircle.class \
		$(PGBASE)/geometric/PGline.class \
		$(PGBASE)/geometric/PGlseg.class \
		$(PGBASE)/geometric/PGpath.class \
		$(PGBASE)/geometric/PGpoint.class \
		$(PGBASE)/geometric/PGpolygon.class \
		$(PGBASE)/largeobject/LargeObject.class \
		$(PGBASE)/largeobject/LargeObjectManager.class \
		$(PGBASE)/util/PGmoney.class \
		$(PGBASE)/util/PGobject.class \
		$(PGBASE)/util/PGtokenizer.class \
		$(PGBASE)/util/PSQLException.class \
		$(PGBASE)/util/Serialize.class \
		$(PGBASE)/util/UnixCrypt.class

# These files are unique to the JDBC 1 (JDK 1.1) driver
OBJ_JDBC1=	$(PGBASE)/jdbc1/CallableStatement.class \
		$(PGBASE)/jdbc1/Connection.class \
		$(PGBASE)/jdbc1/DatabaseMetaData.class \
		$(PGBASE)/jdbc1/PreparedStatement.class \
		$(PGBASE)/jdbc1/ResultSet.class \
		$(PGBASE)/jdbc1/ResultSetMetaData.class \
		$(PGBASE)/jdbc1/Statement.class

# These files are unique to the JDBC 2 (JDK 2 nee 1.2) driver
OBJ_JDBC2=	$(PGBASE)/jdbc2/ResultSet.class \
		$(PGBASE)/jdbc2/PreparedStatement.class \
		$(PGBASE)/jdbc2/CallableStatement.class \
		$(PGBASE)/jdbc2/Connection.class \
		$(PGBASE)/jdbc2/DatabaseMetaData.class \
		$(PGBASE)/jdbc2/ResultSetMetaData.class \
		$(PGBASE)/jdbc2/Statement.class \
		$(PGBASE)/largeobject/PGblob.class

# This rule builds the JDBC1 compliant driver
jdbc1:
	(echo "package org.postgresql;" ;\
	 echo "public class DriverClass {" ;\
	 echo "public static String connectClass=\"org.postgresql.jdbc1.Connection\";" ;\
	 echo "}" \
	) >$(PGBASE)/DriverClass.java
	@@$(MAKE) jdbc1real

jdbc1real: $(PGBASE)/DriverClass.class \
	$(OBJ_COMMON) $(OBJ_JDBC1) postgresql.jar msg

# This rule builds the JDBC2 compliant driver
jdbc2:	
	(echo "package org.postgresql;" ;\
	 echo "public class DriverClass {" ;\
	 echo "public static String connectClass=\"org.postgresql.jdbc2.Connection\";" ;\
	 echo "}" \
	) >$(PGBASE)/DriverClass.java
	@@$(MAKE) jdbc2real

jdbc2real: $(PGBASE)/DriverClass.class \
	$(OBJ_COMMON) $(OBJ_JDBC2) postgresql.jar msg
a16 86
# If you have problems with this rule, replace the $( ) with ` ` as some
# shells (mainly sh under Solaris) doesn't recognise $( )
#
# Note:	This works by storing all compiled classes under the $(PGBASE)
#	directory. We use this later for compiling the dual-mode driver.
#
postgresql.jar: $(OBJ) $(OBJ_COMMON)
	$(JAR) -c0f $@@ `$(FIND) $(PGBASE) -name "*.class" -print` \
		$(wildcard $(PGBASE)/*.properties)

# This rule removes any temporary and compiled files from the source tree.
clean:
	$(FIND) . -name "*~" -exec $(RM) {} \;
	$(FIND) . -name "*.class" -exec $(RM) {} \;
	$(FIND) . -name "*.html" -exec $(RM) {} \;
	-$(RM) -rf stock example/corba/stock.built
	-$(RM) postgresql.jar
	-$(RM) -rf Package-postgresql *output

#######################################################################
# This helps make workout what classes are from what source files
#
# Java is unlike C in that one source file can generate several
# _Different_ file names
#
$(PGBASE)/Connection.class:		$(PGBASE)/Connection.java
$(PGBASE)/DatabaseMetaData.class:	$(PGBASE)/DatabaseMetaData.java
$(PGBASE)/Driver.class:		$(PGBASE)/Driver.java
$(PGBASE)/Field.class:			$(PGBASE)/Field.java
$(PGBASE)/PG_Stream.class:		$(PGBASE)/PG_Stream.java
$(PGBASE)/PreparedStatement.class:	$(PGBASE)/PreparedStatement.java
$(PGBASE)/ResultSet.class:		$(PGBASE)/ResultSet.java
$(PGBASE)/ResultSetMetaData.class:	$(PGBASE)/ResultSetMetaData.java
$(PGBASE)/Statement.class:		$(PGBASE)/Statement.java
$(PGBASE)/fastpath/Fastpath.class:	$(PGBASE)/fastpath/Fastpath.java
$(PGBASE)/fastpath/FastpathArg.class:	$(PGBASE)/fastpath/FastpathArg.java
$(PGBASE)/geometric/PGbox.class:	$(PGBASE)/geometric/PGbox.java
$(PGBASE)/geometric/PGcircle.class:	$(PGBASE)/geometric/PGcircle.java
$(PGBASE)/geometric/PGlseg.class:	$(PGBASE)/geometric/PGlseg.java
$(PGBASE)/geometric/PGpath.class:	$(PGBASE)/geometric/PGpath.java
$(PGBASE)/geometric/PGpoint.class:	$(PGBASE)/geometric/PGpoint.java
$(PGBASE)/geometric/PGpolygon.class:	$(PGBASE)/geometric/PGpolygon.java
$(PGBASE)/largeobject/LargeObject.class: $(PGBASE)/largeobject/LargeObject.java
$(PGBASE)/largeobject/LargeObjectManager.class: $(PGBASE)/largeobject/LargeObjectManager.java
$(PGBASE)/util/PGmoney.class:		$(PGBASE)/util/PGmoney.java
$(PGBASE)/util/PGobject.class:		$(PGBASE)/util/PGobject.java
$(PGBASE)/util/PGtokenizer.class:	$(PGBASE)/util/PGtokenizer.java
$(PGBASE)/util/Serialize.class:	$(PGBASE)/util/Serialize.java
$(PGBASE)/util/UnixCrypt.class:	$(PGBASE)/util/UnixCrypt.java

#######################################################################
# These classes are in the example directory, and form the examples
EX=	example/basic.class \
	example/blobtest.class \
	example/datestyle.class \
	example/psql.class \
	example/ImageViewer.class \
	example/metadata.class \
	example/threadsafe.class
#	example/Objects.class

# This rule builds the examples
examples:	postgresql.jar $(EX)
	@@echo ------------------------------------------------------------
	@@echo The examples have been built.
	@@echo
	@@echo For instructions on how to use them, simply run them. For example:
	@@echo
	@@echo "  java example.blobtest"
	@@echo
	@@echo This would display instructions on how to run the example.
	@@echo ------------------------------------------------------------
	@@echo Available examples:
	@@echo
	@@echo "  example.basic        Basic JDBC useage"
	@@echo "  example.blobtest     Binary Large Object tests"
	@@echo "  example.datestyle    Shows how datestyles are handled"
	@@echo "  example.ImageViewer  Example application storing images"
	@@echo "  example.psql         Simple java implementation of psql"
	@@echo "  example.Objects      Demonstrates Object Serialisation"
	@@echo " "
	@@echo These are not really examples, but tests various parts of the driver
	@@echo "  example.metadata     Tests various metadata methods"
	@@echo "  example.threadsafe   Tests the driver's thread safety"
	@@echo ------------------------------------------------------------
	@@echo
d18 46
a63 35
example/basic.class:			example/basic.java
example/blobtest.class:			example/blobtest.java
example/datestyle.class:		example/datestyle.java
example/psql.class:			example/psql.java
example/ImageViewer.class:		example/ImageViewer.java
example/threadsafe.class:		example/threadsafe.java
example/metadata.class:			example/metadata.java

#######################################################################
#
# CORBA		This extensive example shows how to integrate PostgreSQL
#		JDBC & CORBA.

CORBASRC = $(wildcard example/corba/*.java)
CORBAOBJ = $(subst .java,.class,$(CORBASRC))

corba: jdbc2 example/corba/stock.built $(CORBAOBJ)
	@@echo -------------------------------------------------------
	@@echo The corba example has been built. Before running, you
	@@echo will need to read the example/corba/readme file on how
	@@echo to run the example.
	@@echo

#
# This compiles our idl file and the stubs
#
# Note: The idl file is in example/corba, but it builds a directory under
# the current one. For safety, we delete that directory before running
# idltojava
#
example/corba/stock.built: example/corba/stock.idl
	-rm -rf stock
	$(IDL2JAVA) $<
	$(JAVAC) stock/*.java
	$(TOUCH) $@@
d65 1
a65 3
# tip: we cant use $(wildcard stock/*.java) in the above rule as a race
#      condition occurs, where javac is passed no arguments
#######################################################################
@


1.36
log
@Our test to see if we had permission to install into Perl5 install area
always failed if Perl makefile's INSTALLSITELIB variable was specified
in terms of another variable.  Fix by adding an echo-installdir target
to the Perl makefile, which the upper-level Makefile can invoke.
@
text
@d3 2
a4 2
# Makefile.inc--
#    Makefile for src/bin (utility programs)
d6 157
a162 1
# Copyright (c) 1994, Regents of the University of California
d164 15
d180 74
a253 2
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.35 2000/04/20 17:21:46 momjian Exp $
d255 2
a256 1
#-------------------------------------------------------------------------
d258 2
a259 2
SRCDIR= ..
include $(SRCDIR)/Makefile.global
d261 6
d268 12
a279 46
# Note: the klugery for perl5 is to ensure that the perl5 shared lib
# gets built with the correct path to the installed location of libpq
# during "make install", but is built against the local tree during
# ordinary building and testing.  During install, we must also guard
# against the likelihood that we don't have permissions to install into
# the Perl module library.

.DEFAULT all install clean dep depend distclean:
	$(MAKE) -C libpq $@@
	$(MAKE) -C ecpg $@@
ifeq ($(HAVE_Cplusplus), true)
	$(MAKE) -C libpq++ $@@
else
	echo $(HAVE_Cplusplus): No C++
endif
	$(MAKE) -C libpgeasy $@@
ifeq ($(USE_TCL), true)
	$(MAKE) -C libpgtcl $@@
endif
ifeq ($(USE_PERL), true)
	if [ "$@@" = "install" ]; then \
		$(MAKE) $(MFLAGS) install-perl5; \
	else \
		$(MAKE) $(MFLAGS) perl5/Makefile; \
		$(MAKE) $(MFLAGS) -C perl5 $@@; \
	fi
endif
ifeq ($(USE_ODBC), true)
	$(MAKE) -C odbc $@@
endif

perl5/Makefile: perl5/Makefile.PL
	cd perl5 && $(PERL) Makefile.PL POLLUTE=1

install-perl5: perl5/Makefile
	$(MAKE) -C perl5 clean
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL POLLUTE=1
	$(MAKE) -C perl5 all
	-@@if [ -w `$(MAKE) --quiet -C perl5 echo-installdir` ]; then \
		$(MAKE) $(MFLAGS) -C perl5 install; \
		rm -f perl5/Makefile; \
	else \
		echo "Skipping install of Perl module for lack of permissions."; \
		echo "To install it, cd into interfaces/perl5, su to become the"; \
		echo "appropriate user, and do '$(MAKE) install'."; \
	fi
d281 3
a283 1
.PHONY: install-perl5
@


1.35
log
@Allow libpq++ compile failure to stop entire compile.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.34 2000/04/11 18:58:18 momjian Exp $
d56 1
a56 1
	-@@if [ -w `sed -n -e 's/^ *INSTALLSITELIB *= *//p' perl5/Makefile` ]; then \
@


1.34
log
@Allow libpq++ compile to fail
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.33 2000/04/06 03:34:55 momjian Exp $
d29 1
a29 1
	-$(MAKE) -C libpq++ $@@
@


1.33
log
@Add POLLUTE to interfaces/Makefile
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.32 2000/03/25 14:25:30 momjian Exp $
d29 1
a29 1
	$(MAKE) -C libpq++ $@@
@


1.32
log
@Add POLLUTE=1 to perl Makefile.PL creations.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.31 1999/12/16 01:25:15 momjian Exp $
d54 1
a54 1
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL
@


1.31
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
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.30 1999/10/11 18:05:39 momjian Exp $
d50 1
a50 1
	cd perl5 && $(PERL) Makefile.PL
@


1.30
log
@Update again.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.29 1999/10/11 17:51:27 momjian Exp $
d56 1
a56 1
	@@if [ -w `sed -n -e 's/^ *INSTALLSITELIB *= *//p' perl5/Makefile` ]; then \
@


1.29
log
@Update pgeasy.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.28 1999/10/11 17:46:58 momjian Exp $
d33 1
a47 1
	$(MAKE) -C pgeasy $@@
@


1.28
log
@Add pginterface into main tree, called pgeasy.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.27 1999/10/08 04:28:57 momjian Exp $
d47 1
a47 1
	$(MAKE) -C pgeasy$@@
@


1.27
log
@Cleanup -is flag to -l for SSL.  Another PERL variable name fix.  Clean
up debugging options for postmaster and postgres programs.  postmaster
-d is no longer optional.  Documentation updates.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.26 1999/10/08 00:15:49 momjian Exp $
d47 1
@


1.26
log
@Use $(PERL) variable for perl compile.  Now in Makefile.global.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.25 1999/09/03 13:46:33 thomas Exp $
d53 1
a53 1
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
@


1.25
log
@Fix for perl5 on BSD/OS breaks most other platforms, so back it out.
istm that this would be a job for configure.
Most modern OSes actually use perl5 by default ;)
@
text
@d10 1
a10 1
#    $Header: /opt/postgres/cvs/pgsql/src/interfaces/Makefile,v 1.24 1999/08/16 20:12:12 momjian Exp $
d49 1
a49 1
	cd perl5 && perl Makefile.PL
@


1.24
log
@Fix for perl5 on BSD/OS.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.23 1999/05/21 19:03:48 momjian Exp $
d49 1
a49 1
	cd perl5 && perl5 Makefile.PL
d53 1
a53 1
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl5 Makefile.PL
@


1.23
log
@Change perl Makefile test.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.22 1999/05/10 17:01:25 momjian Exp $
d49 1
a49 1
	cd perl5 && perl Makefile.PL
d53 1
a53 1
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
@


1.23.2.1
log
@Fix for perl5 on BSD/OS.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.23 1999/05/21 19:03:48 momjian Exp $
d49 1
a49 1
	cd perl5 && perl5 Makefile.PL
d53 1
a53 1
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl5 Makefile.PL
@


1.23.2.2
log
@Update for perl5 in Makefile.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.23.2.1 1999/08/16 20:10:25 momjian Exp $
d49 1
a49 1
	cd perl5 && $(PERL) Makefile.PL
d53 1
a53 1
	cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL
@


1.22
log
@Allow perl install as non-root, from Geoff Keating
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.21 1998/12/18 17:53:22 momjian Exp $
d55 1
a55 1
	@@if [ -w `sed -n -e 's/^ *INSTALLSITELIBEXP *= *//p' perl5/Makefile` ]; then \
@


1.21
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/interfaces/Makefile,v 1.20 1998/10/27 21:27:36 tgl Exp $
d55 1
a55 1
	@@if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ]; then \
@


1.20
log
@Detect lack of permission to install into Perl module library,
and emit informative message instead of aborting the Postgres install.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.19 1998/10/18 02:33:56 tgl Exp $
d51 1
a51 1
install-perl5:
d55 1
a55 1
	if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ]; then \
@


1.20.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/interfaces/Makefile,v 1.20 1998/10/27 21:27:36 tgl Exp $
d51 1
a51 1
install-perl5: perl5/Makefile
d55 1
a55 1
	@@if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ]; then \
@


1.19
log
@Still another round of Perl-module installation tweaks.
This time, src/interfaces/perl5/Makefile.PL no longer needs to be autoconf'd.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.18 1998/10/16 15:31:04 momjian Exp $
d21 3
a23 1
# ordinary building and testing.
d54 9
a62 2
	$(MAKE) -C perl5 install
	rm -f perl5/Makefile
@


1.18
log
@interfaces/Makefile fix.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.17 1998/10/16 04:37:37 momjian Exp $
d18 4
a21 1
PERL_CLEAN := DO_NOTHING
d35 6
a40 3
	-$(MAKE) -C perl5 $(PERL_CLEAN)
	$(MAKE) perl5/Makefile
	$(MAKE) -C perl5 $@@
d48 8
@


1.17
log
@Perl fixes from Brook Milligan
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.16 1998/10/07 06:41:40 thomas Exp $
a18 2
install: PERL_CLEAN := clean

@


1.16
log
@Add conditional compilation of the ODBC directory.
 Requires --with-odbc specified in the standalone configure.
@
text
@d10 1
a10 1
#    $Header: /opt/postgres/cvs/pgsql/src/interfaces/Makefile,v 1.15 1998/08/26 16:43:51 momjian Exp $
d18 2
a19 4
perl-makefile-dep :=
ifeq ($(USE_PERL), true)
  perl-makefile-dep := perl5/Makefile
endif
d22 1
a22 1
.DEFAULT all install clean dep depend distclean: $(perl-makefile-dep)
d34 2
@


1.15
log
@Fix atttypmod alignment again, and re-enable ecpg.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.14 1998/08/26 05:22:58 momjian Exp $
d37 3
@


1.14
log
@Make attalign match type alignment.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.13 1998/08/24 01:18:51 momjian Exp $
d26 1
a26 1
#	$(MAKE) -C ecpg $@@
@


1.13
log
@Compile ecpg by default.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.12 1998/08/17 03:53:37 scrappy Exp $
d26 1
a26 1
	$(MAKE) -C ecpg $@@
@


1.12
log
@
From: Tom Lane <tgl@@sss.pgh.pa.us>To: pgsql-patches@@postgreSQL.org

Sigh.  That tweak needs a tweak --- I didn't realize that ".DEFAULT"
processing ignores dependencies, at least in the version of gmake I
have here (not sure if it's a bug or not).  Apply this patch aftermy previous one...
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.11 1998/08/17 03:50:19 scrappy Exp $
d26 1
a26 1
#	$(MAKE) -C ecpg $@@
@


1.11
log
@
Date: Sun, 16 Aug 1998 14:56:48 -0400
From: Tom Lane <tgl@@sss.pgh.pa.us>
Attached is a patch for this weekend's work on libpq.  I've dealt
with several issues:

        <for details: see message, in pgsql-patches archive for above data>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.10 1998/05/29 17:00:29 momjian Exp $
d24 1
a24 1
.DEFAULT all: $(perl-makefile-dep)
@


1.10
log
@Remove fork()/exec() and only do fork().  Small cleanups.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.9 1998/03/05 13:18:51 scrappy Exp $
d17 8
a24 1
.DEFAULT all:
a35 1
	cd perl5 && perl Makefile.PL
d38 3
@


1.9
log
@Add ecpg back in again
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.8 1998/02/27 02:31:02 scrappy Exp $
d19 1
a19 1
	$(MAKE) -C ecpg $@@
@


1.8
log
@From: Michael Meskes <meskes@@topsystem.de>
Subject: [PATCHES] ecpg: correct whenever statement
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.7 1998/02/17 01:47:19 scrappy Exp $
d19 1
a19 1
#	$(MAKE) -C ecpg $@@
@


1.7
log
@Major update of ecpg preprocessor

From: Michael Meskes <meskes@@topsystem.de>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.6 1998/02/12 02:14:14 scrappy Exp $
d19 1
a19 1
	$(MAKE) -C ecpg $@@
@


1.6
log
@Remove configure code from ecpg, as well as remove the 'for' loop from the
Makefile, as it isn't appropriate for GNUmake
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.5 1998/02/11 15:17:47 scrappy Exp $
d19 1
a19 1
#	$(MAKE) -C ecpg $@@
@


1.5
log
@From: Michael Meskes <meskes@@topsystem.de>

Cleanups for ecpg, as well as a missing patch so that its configured in
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.4 1998/01/25 04:14:36 scrappy Exp $
d19 1
a19 1
	$(MAKE) -C ecpg $@@
@


1.4
log
@From: Tom I Helbekkmo <tih@@Hamartun.Priv.NO>

Hi -- a couple of small items concerning the January 23rd snapshot:
the inclusion of the Kerberos stuff in one Makefile, a "leading tab"
cleanup in another, and a fix for a typo in the configure script.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.3 1997/10/30 04:38:30 momjian Exp $
d19 1
@


1.3
log
@Fix for perl from Brook Milligan
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.2 1997/09/16 18:47:16 momjian Exp $
a26 1

d28 2
a29 2
      cd perl5 && perl Makefile.PL
      $(MAKE) -C perl5 $@@
@


1.2
log
@Makefile cleanup.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/Makefile,v 1.1 1997/08/16 20:56:28 scrappy Exp $
d28 4
a31 1
#	$(MAKE) -C perl5 $@@
@


1.1
log
@Add appropriate links into the interfaces directory, as well as a Makefile
covering the interfaces directory
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/Makefile,v 1.7 1997/04/26 05:04:21 scrappy Exp $
d14 2
a15 1
#include ../Makefile.global
a18 1

d21 2
a23 1

@
