head	1.21;
access;
symbols
	REL9_0_0:1.21
	REL9_1_ALPHA1:1.21
	REL9_0_RC1:1.21
	REL9_0_BETA4:1.21
	REL9_0_STABLE:1.21.0.14
	REL9_0_BETA3:1.21
	REL9_0_BETA2:1.21
	REL7_4_29:1.17
	REL8_0_25:1.19
	REL8_1_21:1.19
	REL8_2_17:1.19
	REL8_3_11:1.20
	REL8_4_4:1.21
	REL9_0_BETA1:1.21
	REL9_0_ALPHA5_BRANCH:1.21.0.12
	REL9_0_ALPHA5:1.21
	REL7_4_28:1.17
	REL8_0_24:1.19
	REL8_1_20:1.19
	REL8_2_16:1.19
	REL8_3_10:1.20
	REL8_4_3:1.21
	REL9_0_ALPHA4:1.21
	REL9_0_ALPHA4_BRANCH:1.21.0.10
	REL8_5_ALPHA3:1.21
	REL8_5_ALPHA3_BRANCH:1.21.0.8
	REL7_4_27:1.17
	REL8_0_23:1.19
	REL8_1_19:1.19
	REL8_2_15:1.19
	REL8_3_9:1.20
	REL8_4_2:1.21
	REL8_5_ALPHA2:1.21
	REL8_5_ALPHA2_BRANCH:1.21.0.6
	REL7_4_26:1.17
	REL8_0_22:1.19
	REL8_1_18:1.19
	REL8_2_14:1.19
	REL8_3_8:1.20
	REL8_4_1:1.21
	REL8_5_ALPHA1:1.21
	REL8_5_ALPHA1_BRANCH:1.21.0.4
	REL8_4_STABLE:1.21.0.2
	REL8_4_0:1.21
	REL8_4_RC2:1.21
	REL8_4_RC1:1.21
	REL8_4_BETA2:1.21
	REL8_4_BETA1:1.21
	REL7_4_25:1.17
	REL8_0_21:1.19
	REL8_1_17:1.19
	REL8_2_13:1.19
	REL8_3_7:1.20
	REL7_4_24:1.17
	REL8_0_20:1.19
	REL8_1_16:1.19
	REL8_2_12:1.19
	REL8_3_6:1.20
	REL7_4_23:1.17
	REL8_0_19:1.19
	REL8_1_15:1.19
	REL8_2_11:1.19
	REL8_3_5:1.20
	REL7_4_22:1.17
	REL8_0_18:1.19
	REL8_1_14:1.19
	REL8_2_10:1.19
	REL8_3_4:1.20
	REL7_4_21:1.17
	REL8_0_17:1.19
	REL8_1_13:1.19
	REL8_2_9:1.19
	REL8_3_3:1.20
	REL7_4_20:1.17
	REL8_0_16:1.19
	REL8_1_12:1.19
	REL8_2_8:1.19
	REL8_3_2:1.20
	REL8_2_7:1.19
	REL8_3_1:1.20
	REL8_3_STABLE:1.20.0.2
	REL8_3_0:1.20
	REL8_3_RC2:1.20
	REL7_3_21:1.16
	REL7_4_19:1.17
	REL8_0_15:1.19
	REL8_1_11:1.19
	REL8_2_6:1.19
	REL8_3_RC1:1.20
	REL8_3_BETA4:1.20
	REL8_3_BETA3:1.20
	REL8_3_BETA2:1.20
	REL8_3_BETA1:1.20
	REL7_3_20:1.16
	REL7_4_18:1.17
	REL8_0_14:1.19
	REL8_1_10:1.19
	REL8_2_5:1.19
	REL7_3_19:1.16
	REL7_4_17:1.17
	REL8_0_13:1.19
	REL8_1_9:1.19
	REL8_2_4:1.19
	REL8_0_12:1.19
	REL8_1_8:1.19
	REL8_2_3:1.19
	REL7_3_18:1.16
	REL7_4_16:1.17
	REL8_0_11:1.19
	REL8_1_7:1.19
	REL8_2_2:1.19
	REL8_0_10:1.19
	REL8_1_6:1.19
	REL8_2_1:1.19
	REL7_4_15:1.17
	REL7_3_17:1.16
	REL8_2_STABLE:1.19.0.8
	REL8_2_0:1.19
	REL8_2_RC1:1.19
	REL8_2_BETA3:1.19
	REL8_2_BETA2:1.19
	REL8_1_5:1.19
	REL8_0_9:1.19
	REL7_4_14:1.17
	REL7_3_16:1.16
	REL8_2_BETA1:1.19
	REL7_3_15:1.16
	REL7_4_13:1.17
	REL8_0_8:1.19
	REL8_1_4:1.19
	REL7_3_14:1.16
	REL7_4_12:1.17
	REL8_0_7:1.19
	REL8_1_3:1.19
	REL7_3_13:1.16
	REL7_4_11:1.17
	REL8_0_6:1.19
	REL8_1_2:1.19
	REL7_3_12:1.16
	REL7_4_10:1.17
	REL8_0_5:1.19
	REL8_1_1:1.19
	REL8_1_STABLE:1.19.0.6
	REL8_1_0:1.19
	REL8_1_0RC1:1.19
	REL8_1_0BETA4:1.19
	REL8_1_0BETA3:1.19
	REL7_3_11:1.16
	REL7_4_9:1.17
	REL8_0_4:1.19
	REL8_1_0BETA2:1.19
	REL8_1_0BETA1:1.19
	REL7_2_8:1.16
	REL7_3_10:1.16
	REL7_4_8:1.17
	REL8_0_3:1.19
	REL8_0_2:1.19
	REL7_2_7:1.16
	REL7_3_9:1.16
	REL7_4_7:1.17
	REL8_0_1:1.19
	REL8_0_STABLE:1.19.0.4
	REL8_0_0:1.19.0.2
	REL8_0_0RC5:1.19
	REL8_0_0RC4:1.19
	REL8_0_0RC3:1.19
	REL8_0_0RC2:1.19
	REL8_0_0RC1:1.19
	REL8_0_0BETA5:1.19
	REL8_0_0BETA4:1.19
	REL7_4_6:1.17
	REL7_3_8:1.16
	REL7_2_6:1.16
	REL8_0_0BETA3:1.19
	REL8_0_0BETA2:1.19
	REL7_2_5:1.16
	REL7_4_5:1.17
	REL7_3_7:1.16
	REL7_4_4:1.17
	REL8_0_0BETA1:1.19
	REL7_4_3:1.17
	REL7_4_2:1.17
	REL7_3_6:1.16
	REL7_4_1:1.17
	REL7_3_5:1.16
	REL7_4:1.17
	REL7_4_RC2:1.17
	REL7_4_STABLE:1.17.0.4
	REL7_4_RC1:1.17
	REL7_4_BETA5:1.17
	REL7_4_BETA4:1.17
	REL7_4_BETA3:1.17
	REL7_4_BETA2:1.17
	WIN32_DEV:1.17.0.2
	REL7_4_BETA1:1.17
	REL7_3_4:1.16
	REL7_3_2:1.16
	REL7_2_4:1.16
	REL7_3_STABLE:1.16.0.4
	REL7_2_3:1.16
	REL7_2_STABLE:1.16.0.2
	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.15
	REL7_1_STABLE:1.15.0.2
	REL7_1_BETA:1.15
	REL7_1_BETA3:1.15
	REL7_1_BETA2:1.15
	REL7_1:1.15
	REL7_0_PATCHES:1.12.0.2
	REL7_0:1.12
	REL6_5_PATCHES:1.10.0.4
	REL6_5:1.10
	REL6_4:1.10.0.2
	release-6-3:1.9
	REL2_0B:1.3.0.2
	REL2_0:1.3;
locks; strict;
comment	@# @;


1.21
date	2008.02.19.10.30.07;	author petere;	state Exp;
branches;
next	1.20;

1.20
date	2007.01.20.17.16.11;	author petere;	state Exp;
branches;
next	1.19;

1.19
date	2004.04.25.18.23.56;	author neilc;	state Exp;
branches;
next	1.18;

1.18
date	2003.11.29.19.51.49;	author pgsql;	state Exp;
branches;
next	1.17;

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

1.16
date	2001.10.05.17.28.12;	author tgl;	state Exp;
branches;
next	1.15;

1.15
date	2000.08.31.16.09.59;	author petere;	state Exp;
branches;
next	1.14;

1.14
date	2000.06.28.03.31.34;	author tgl;	state Exp;
branches;
next	1.13;

1.13
date	2000.05.29.05.44.45;	author tgl;	state Exp;
branches;
next	1.12;

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

1.11
date	99.12.09.19.14.39;	author momjian;	state Exp;
branches;
next	1.10;

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

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

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

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

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

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

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

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

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

1.1
date	96.10.27.09.47.37;	author bryanh;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Refactor backend makefiles to remove lots of duplicate code
@
text
@#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for lib (miscellaneous stuff)
#
# IDENTIFICATION
#    $PostgreSQL: pgsql/src/backend/lib/Makefile,v 1.20 2007/01/20 17:16:11 petere Exp $
#
#-------------------------------------------------------------------------

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

OBJS = dllist.o stringinfo.o

include $(top_srcdir)/src/backend/common.mk
@


1.20
log
@Remove remains of old depend target.
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/lib/Makefile,v 1.19 2004/04/25 18:23:56 neilc Exp $
d17 1
a17 7
all: SUBSYS.o

SUBSYS.o: $(OBJS)
	$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)

clean: 
	rm -f SUBSYS.o $(OBJS) 
@


1.19
log
@Remove the last traces of Joe Hellerstein's "xfunc" optimization. Patch
from Alvaro Herrera. Also, removed lispsort.c, since it is no longer
used.
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql-server/src/backend/lib/Makefile,v 1.18 2003/11/29 19:51:49 pgsql Exp $
a21 3
depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

a23 4

ifeq (depend,$(wildcard depend))
include depend
endif
@


1.18
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
#    $PostgreSQL: /cvsroot/pgsql-server/src/backend/lib/Makefile,v 1.17 2003/01/09 01:23:55 momjian Exp $
d15 1
a15 1
OBJS = dllist.o lispsort.o stringinfo.o
@


1.17
log
@Remove bit.c/h routines.  Not used anymore.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql-server/src/backend/lib/Makefile,v 1.16 2001/10/05 17:28:12 tgl Exp $
@


1.16
log
@Further cleanup of dynahash.c API, in pursuit of portability and
readability.  Bizarre '(long *) TRUE' return convention is gone,
in favor of just raising an error internally in dynahash.c when
we detect hashtable corruption.  HashTableWalk is gone, in favor
of using hash_seq_search directly, since it had no hope of working
with non-LONGALIGNable datatypes.  Simplify some other code that was
made undesirably grotty by promixity to HashTableWalk.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.15 2000/08/31 16:09:59 petere Exp $
d15 1
a15 1
OBJS = bit.o dllist.o lispsort.o stringinfo.o
@


1.15
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/backend/lib/Makefile,v 1.14 2000/06/28 03:31:34 tgl Exp $
d15 1
a15 1
OBJS = bit.o hasht.o lispsort.o stringinfo.o dllist.o
@


1.14
log
@First phase of memory management rewrite (see backend/utils/mmgr/README
for details).  It doesn't really do that much yet, since there are no
short-term memory contexts in the executor, but the infrastructure is
in place and long-term contexts are handled reasonably.  A few long-
standing bugs have been fixed, such as 'VACUUM; anything' in a single
query string crashing.  Also, out-of-memory is now considered a
recoverable ERROR, not FATAL.
Eliminate a large amount of crufty, now-dead code in and around
memory management.
Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
backend startup.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/lib/Makefile,v 1.13 2000/05/29 05:44:45 tgl Exp $
d11 3
a13 2
SRCDIR = ../..
include ../../Makefile.global
a30 1

@


1.13
log
@Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/lib/Makefile,v 1.12 1999/12/13 22:32:41 momjian Exp $
d14 1
a14 1
OBJS = bit.o fstack.o hasht.o lispsort.o stringinfo.o dllist.o
@


1.12
log
@New LDOUT makefile variable for QNX os.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/lib/Makefile,v 1.11 1999/12/09 19:14:39 momjian Exp $
a13 4
INCLUDE_OPT = -I.. 

CFLAGS+=$(INCLUDE_OPT)

d22 1
a22 1
	$(CC) -MM $(INCLUDE_OPT) *.c >depend
@


1.11
log
@Make LD -r as macros that can be changed for QNX.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/lib/Makefile,v 1.10 1998/03/30 16:46:24 momjian Exp $
d23 1
a23 1
	$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
@


1.10
log
@There's a patch attached to fix gcc 2.8.x warnings, except for the
yyerror ones from bison. It also includes a few 'enhancements' to
the C programming style (which are, of course, personal).

The other patch removes the compilation of backend/lib/qsort.c, as
qsort() is a standard function in stdlib.h and can be used any
where else (and it is). It was only used in
backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c,
and backend/storage/page/bufpage.c

> > Some or all of these changes might not be appropriate for v6.3,
since we > > are in beta testing and since they do not affect the
current functionality.  > > For those cases, how about submitting
patches based on the final v6.3 > > release?

There's more to come. Please review these patches. I ran the
regression tests and they only failed where this was expected
(random, geo, etc).

Cheers,

Jeroen
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/lib/Makefile,v 1.9 1997/12/20 00:23:48 scrappy Exp $
d23 1
a23 1
	$(LD) -r -o SUBSYS.o $(OBJS)
@


1.9
log
@Major cleanout of PORTNAME variables from Makefiles...bound to screw up
some of the ports...
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/lib/Makefile,v 1.8 1997/12/17 04:58:40 scrappy Exp $
d18 1
a18 1
OBJS = bit.o fstack.o hasht.o lispsort.o qsort.o stringinfo.o dllist.o
@


1.8
log
@First pass through, of many to come, towards making the whole source
tree "non-PORTNAME" dependent.  Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/lib/Makefile,v 1.7 1997/01/14 02:35:34 momjian Exp $
a14 4

ifdef PORTNAME
INCLUDE_OPT+=-I../port/$(PORTNAME) 
endif
@


1.7
log
@Remove CFLAGS_SL from lib/Makefile
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/lib/Makefile,v 1.6 1997/01/12 04:25:23 momjian Exp $
d14 5
a18 3
INCLUDE_OPT = -I.. \
              -I../port/$(PORTNAME) \
              -I../../include
@


1.6
log
@Shared library cleanup for -fpic.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/lib/Makefile,v 1.5 1997/01/10 18:19:02 momjian Exp $
d18 1
a18 1
CFLAGS+=$(INCLUDE_OPT) $(CFLAGS_SL)
@


1.5
log
@Makefile's -fpic only for gcc
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/lib/Makefile,v 1.4 1997/01/05 23:53:57 scrappy Exp $
d18 1
a18 3
ifeq ($(CC), gcc)
  CFLAGS+=$(INCLUDE_OPT) -fpic -DPIC
endif
@


1.4
log
@final fix for shared library under BSD44_derived

Submitted by: "Martin J. Laubach" <mjl@@wwx.vip.at>
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/lib/Makefile,v 1.3 1996/11/09 06:17:54 momjian Exp $
d18 3
a20 1
CFLAGS+=$(INCLUDE_OPT) -fpic -DPIC
@


1.3
log
@Makefile cleanup after reorganization
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/lib/Makefile,v 1.2 1996/10/31 10:26:26 scrappy Exp $
d18 1
a18 1
CFLAGS+=$(INCLUDE_OPT)
@


1.2
log
@Clean out makefile

add #include "postgres.h"
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/lib/Makefile,v 1.1 1996/10/27 09:47:37 bryanh Exp $
d14 2
a15 1
INCLUDE_OPT = -I../port/$(PORTNAME) \
@


1.1
log
@Simplify make files, add full dependencies.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/postgres95/src/backend/access/common/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:09 scrappy Exp $
d14 1
a14 3
INCLUDE_OPT = -I.. \
              -I../port/$(PORTNAME) \
              -I../include \
@
