head	1.10;
access;
symbols
	REL9_0_0:1.10
	REL9_1_ALPHA1:1.10
	REL9_0_RC1:1.10
	REL9_0_BETA4:1.10
	REL9_0_STABLE:1.10.0.12
	REL9_0_BETA3:1.10
	REL9_0_BETA2:1.10
	REL7_4_29:1.7
	REL8_0_25:1.8
	REL8_1_21:1.8
	REL8_2_17:1.8
	REL8_3_11:1.8
	REL8_4_4:1.9
	REL9_0_BETA1:1.10
	REL9_0_ALPHA5_BRANCH:1.10.0.10
	REL9_0_ALPHA5:1.10
	REL7_4_28:1.7
	REL8_0_24:1.8
	REL8_1_20:1.8
	REL8_2_16:1.8
	REL8_3_10:1.8
	REL8_4_3:1.9
	REL9_0_ALPHA4:1.10
	REL9_0_ALPHA4_BRANCH:1.10.0.8
	REL8_5_ALPHA3:1.10
	REL8_5_ALPHA3_BRANCH:1.10.0.6
	REL7_4_27:1.7
	REL8_0_23:1.8
	REL8_1_19:1.8
	REL8_2_15:1.8
	REL8_3_9:1.8
	REL8_4_2:1.9
	REL8_5_ALPHA2:1.10
	REL8_5_ALPHA2_BRANCH:1.10.0.4
	REL7_4_26:1.7
	REL8_0_22:1.8
	REL8_1_18:1.8
	REL8_2_14:1.8
	REL8_3_8:1.8
	REL8_4_1:1.9
	REL8_5_ALPHA1:1.10
	REL8_5_ALPHA1_BRANCH:1.10.0.2
	REL8_4_STABLE:1.9.0.2
	REL8_4_0:1.9
	REL8_4_RC2:1.9
	REL8_4_RC1:1.9
	REL8_4_BETA2:1.9
	REL8_4_BETA1:1.9
	REL7_4_25:1.7
	REL8_0_21:1.8
	REL8_1_17:1.8
	REL8_2_13:1.8
	REL8_3_7:1.8
	REL7_4_24:1.7
	REL8_0_20:1.8
	REL8_1_16:1.8
	REL8_2_12:1.8
	REL8_3_6:1.8
	REL7_4_23:1.7
	REL8_0_19:1.8
	REL8_1_15:1.8
	REL8_2_11:1.8
	REL8_3_5:1.8
	REL7_4_22:1.7
	REL8_0_18:1.8
	REL8_1_14:1.8
	REL8_2_10:1.8
	REL8_3_4:1.8
	REL7_4_21:1.7
	REL8_0_17:1.8
	REL8_1_13:1.8
	REL8_2_9:1.8
	REL8_3_3:1.8
	REL7_4_20:1.7
	REL8_0_16:1.8
	REL8_1_12:1.8
	REL8_2_8:1.8
	REL8_3_2:1.8
	REL8_2_7:1.8
	REL8_3_1:1.8
	REL8_3_STABLE:1.8.0.10
	REL8_3_0:1.8
	REL8_3_RC2:1.8
	REL7_3_21:1.7
	REL7_4_19:1.7
	REL8_0_15:1.8
	REL8_1_11:1.8
	REL8_2_6:1.8
	REL8_3_RC1:1.8
	REL8_3_BETA4:1.8
	REL8_3_BETA3:1.8
	REL8_3_BETA2:1.8
	REL8_3_BETA1:1.8
	REL7_3_20:1.7
	REL7_4_18:1.7
	REL8_0_14:1.8
	REL8_1_10:1.8
	REL8_2_5:1.8
	REL7_3_19:1.7
	REL7_4_17:1.7
	REL8_0_13:1.8
	REL8_1_9:1.8
	REL8_2_4:1.8
	REL8_0_12:1.8
	REL8_1_8:1.8
	REL8_2_3:1.8
	REL7_3_18:1.7
	REL7_4_16:1.7
	REL8_0_11:1.8
	REL8_1_7:1.8
	REL8_2_2:1.8
	REL8_0_10:1.8
	REL8_1_6:1.8
	REL8_2_1:1.8
	REL7_4_15:1.7
	REL7_3_17:1.7
	REL8_2_STABLE:1.8.0.8
	REL8_2_0:1.8
	REL8_2_RC1:1.8
	REL8_2_BETA3:1.8
	REL8_2_BETA2:1.8
	REL8_1_5:1.8
	REL8_0_9:1.8
	REL7_4_14:1.7
	REL7_3_16:1.7
	REL8_2_BETA1:1.8
	REL7_3_15:1.7
	REL7_4_13:1.7
	REL8_0_8:1.8
	REL8_1_4:1.8
	REL7_3_14:1.7
	REL7_4_12:1.7
	REL8_0_7:1.8
	REL8_1_3:1.8
	REL7_3_13:1.7
	REL7_4_11:1.7
	REL8_0_6:1.8
	REL8_1_2:1.8
	REL7_3_12:1.7
	REL7_4_10:1.7
	REL8_0_5:1.8
	REL8_1_1:1.8
	REL8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1.5.0.2
	REL7_1_BETA:1.5
	REL7_1_BETA3:1.5
	REL7_1_BETA2:1.5
	REL7_1:1.5
	REL7_0_PATCHES:1.1.0.6
	REL7_0:1.1
	REL6_5_PATCHES:1.1.0.4
	REL6_5:1.1
	REL6_4:1.1.0.2;
locks; strict;
comment	@# @;


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

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

1.8
date	2003.11.29.19.52.12;	author pgsql;	state Exp;
branches;
next	1.7;

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

1.6
date	2001.05.24.15.53.34;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	2000.08.31.16.12.15;	author petere;	state Exp;
branches;
next	1.4;

1.4
date	2000.07.19.16.30.21;	author petere;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.27.00.31.56;	author petere;	state Exp;
branches;
next	1.2;

1.2
date	2000.06.20.16.40.07;	author petere;	state dead;
branches;
next	1.1;

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


desc
@@


1.10
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/pl/plpgsql (PostgreSQL's SQL procedural language)
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/pl/plpgsql/Makefile,v 1.9 2008/03/18 16:24:50 petere Exp $
#
#-------------------------------------------------------------------------

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

all install installdirs uninstall distprep clean distclean maintainer-clean coverage:
	$(MAKE) -C src $@@
@


1.9
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/pl/plpgsql/Makefile,v 1.8 2003/11/29 19:52:12 pgsql Exp $
d15 1
a15 1
all install installdirs uninstall distprep clean distclean maintainer-clean:
@


1.8
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
# $PostgreSQL: /cvsroot/pgsql-server/src/pl/plpgsql/Makefile,v 1.7 2001/05/24 22:33:18 momjian Exp $
d15 1
a15 1
all install installdirs uninstall distprep:
a16 3

clean distclean maintainer-clean:
	-$(MAKE) -C src $@@
@


1.7
log
@Back out qnx plpgsql/Makefile change and move to src/Makefile.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/pl/plpgsql/Makefile,v 1.5 2000/08/31 16:12:15 petere Exp $
@


1.6
log
@I haven't tried building postgres with the Watcom compiler for 7.1 because
it does not support 64bit integers. AFAIK that's the default data type for
OIDs, so I am not surprised that this does not work. Use gcc instead.
BTW., 7.1 does not compile as is with gcc either, I believed the
required patches made it into the 7.1.1 release but obviously I missed
the deadline.
Since the ports mailing list does not seem to be archived I have attached
a copy of the patch (for 7.1 and 7.1.1).

I've just performed a build of a Watcom compiled version and found a couple
of bugs in the watcom specific part of that patch. Please use the attached
version instead.

Tegge, Bernd
@
text
@a14 2
ifneq ($(PORTNAME), qnx4)

a16 7

else  #qnx4

all install installdirs uninstall distprep:
	echo plpgsql not supported with QNX due to lack of shared library support

endif # qnx4
@


1.5
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/pl/plpgsql/Makefile,v 1.4 2000/07/19 16:30:21 petere Exp $
d15 2
d19 7
@


1.4
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/pl/plpgsql/Makefile,v 1.3 2000/06/27 00:31:56 petere Exp $
d13 1
a13 1
include ../../Makefile.global
@


1.3
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/pl/plpgsql/Makefile.in,v 1.1 2000/06/20 16:40:07 petere Exp $
d15 1
a15 1
all install installdirs uninstall:
@


1.2
log
@Cleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in the
interfaces and interfaces/odbc make files. Adjusted regression test
driver to start building and installing in the top level directory.
@
text
@d3 1
a3 2
# Makefile
#    Makefile for src/pl/plpgsql (PostgreSQL's SQL procedural language)
d7 1
a7 3
#
# IDENTIFICATION
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/pl/plpgsql/Makefile,v 1.1 1998/10/01 03:38:33 scrappy Exp $
d11 3
a13 2
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
d15 2
d18 1
a18 1
.DEFAULT all install clean dep depend distclean:
a19 1

@


1.1
log
@
failed to add some of Jan's files :(
@
text
@d10 1
a10 1
#    $Header: $
@
