head	1.6;
access;
symbols
	REL7_4_29:1.3
	REL8_0_25:1.5
	REL7_4_28:1.3
	REL8_0_24:1.5
	REL7_4_27:1.3
	REL8_0_23:1.5
	REL7_4_26:1.3
	REL8_0_22:1.5
	REL7_4_25:1.3
	REL8_0_21:1.5
	REL7_4_24:1.3
	REL8_0_20:1.5
	REL7_4_23:1.3
	REL8_0_19:1.5
	REL7_4_22:1.3
	REL8_0_18:1.5
	REL7_4_21:1.3
	REL8_0_17:1.5
	REL7_4_20:1.3
	REL8_0_16:1.5
	REL7_3_21:1.3
	REL7_4_19:1.3
	REL8_0_15:1.5
	REL7_3_20:1.3
	REL7_4_18:1.3
	REL8_0_14:1.5
	REL7_3_19:1.3
	REL7_4_17:1.3
	REL8_0_13:1.5
	REL8_0_12:1.5
	REL7_3_18:1.3
	REL7_4_16:1.3
	REL8_0_11:1.5
	REL8_0_10:1.5
	REL7_4_15:1.3
	REL7_3_17:1.3
	REL8_0_9:1.5
	REL7_4_14:1.3
	REL7_3_16:1.3
	REL7_3_15:1.3
	REL7_4_13:1.3
	REL8_0_8:1.5
	REL7_3_14:1.3
	REL7_4_12:1.3
	REL8_0_7:1.5
	REL7_3_13:1.3
	REL7_4_11:1.3
	REL8_0_6:1.5
	REL7_3_12:1.3
	REL7_4_10:1.3
	REL8_0_5:1.5
	REL7_3_11:1.3
	REL7_4_9:1.3
	REL8_0_4:1.5
	REL7_2_8:1.3
	REL7_3_10:1.3
	REL7_4_8:1.3
	REL8_0_3:1.5
	REL8_0_2:1.5
	REL7_2_7:1.3
	REL7_3_9:1.3
	REL7_4_7:1.3
	REL8_0_1:1.5
	REL8_0_STABLE:1.5.0.4
	REL8_0_0:1.5.0.2
	REL8_0_0RC5:1.5
	REL8_0_0RC4:1.5
	REL8_0_0RC3:1.5
	REL8_0_0RC2:1.5
	REL8_0_0RC1:1.5
	REL8_0_0BETA5:1.5
	REL8_0_0BETA4:1.5
	REL7_4_6:1.3
	REL7_3_8:1.3
	REL7_2_6:1.3
	REL8_0_0BETA3:1.5
	REL8_0_0BETA2:1.5
	REL7_2_5:1.3
	REL7_4_5:1.3
	REL7_3_7:1.3
	REL7_4_4:1.3
	REL8_0_0BETA1:1.4
	REL7_4_3:1.3
	REL7_4_2:1.3
	REL7_3_6:1.3
	REL7_4_1:1.3
	REL7_3_5:1.3
	REL7_4:1.3
	REL7_4_RC2:1.3
	REL7_4_STABLE:1.3.0.8
	REL7_4_RC1:1.3
	REL7_4_BETA5:1.3
	REL7_4_BETA4:1.3
	REL7_4_BETA3:1.3
	REL7_4_BETA2:1.3
	WIN32_DEV:1.3.0.6
	REL7_4_BETA1:1.3
	REL7_3_4:1.3
	REL7_3_2:1.3
	REL7_2_4:1.3
	REL7_3_STABLE:1.3.0.4
	REL7_2_3:1.3
	REL7_2_STABLE:1.3.0.2
	REL7_2:1.3
	REL7_2_RC2:1.3
	REL7_2_RC1:1.3
	REL7_2_BETA5:1.3
	REL7_2_BETA4:1.3
	REL7_2_BETA3:1.3
	REL7_2_BETA2:1.3
	REL7_2_BETA1:1.3;
locks; strict;
comment	@# @;


1.6
date	2005.07.01.19.23.05;	author tgl;	state dead;
branches;
next	1.5;

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

1.4
date	2003.11.29.19.51.35;	author pgsql;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2001.05.31.18.27.18;	author tgl;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Remove contrib version of rtree_gist --- now in core system.
@
text
@# $PostgreSQL: pgsql/contrib/rtree_gist/Makefile,v 1.5 2004/08/20 20:13:07 momjian Exp $

MODULES = rtree_gist
DATA_built = rtree_gist.sql
DOCS = README.rtree_gist
REGRESS = rtree_gist

ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/rtree_gist
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
@


1.5
log
@> Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/contrib/rtree_gist/Makefile,v 1.4 2003/11/29 19:51:35 pgsql Exp $
@


1.4
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d1 1
a1 5
# $PostgreSQL: /cvsroot/pgsql-server/contrib/rtree_gist/Makefile,v 1.3 2001/09/06 10:49:30 petere Exp $

subdir = contrib/rtree_gist
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
d8 7
d16 1
@


1.3
log
@To fix the perpetually broken makefiles in the contrib tree, I have
written a generic framework of rules that the contrib makefiles can
use instead of writing their own each time.  You only need to set a few
variables and off you go.
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/rtree_gist/Makefile,v 1.2 2001/06/20 00:04:44 momjian Exp $
@


1.2
log
@Attached is a patch to deal with the ones that I missed the first time
around.  I tested this patch under Cygwin and Linux.

Note that I only changed dblink's Makefile in the most minimal way
to fix the link problem under Cygwin (i.e., use the link rule from
Makefile.shlib instead).  dblink's Makefile should probably be further
patched to be consistent with the other PostgreSQL Makefiles.

Jason Tishler
@
text
@d1 1
a1 3
#
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/rtree_gist/Makefile,v 1.1 2001/05/31 18:27:18 tgl Exp $
#
d7 4
a10 2
# override libdir to install shlib in contrib not main directory
libdir := $(libdir)/contrib
d12 1
a12 60
# shared library parameters
NAME= rtree_gist
SO_MAJOR_VERSION= 1
SO_MINOR_VERSION= 0

override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS)

OBJS= rtree_gist.o

all: all-lib $(NAME).sql

# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib


$(NAME).sql: $(NAME).sql.in
	sed -e 's:MODULE_PATHNAME:$(libdir)/$(shlib):g' < $< > $@@

.PHONY: submake
submake:
	$(MAKE) -C $(top_builddir)/src/test/regress pg_regress

# against installed postmaster
installcheck: submake
	$(top_builddir)/src/test/regress/pg_regress rtree_gist

# in-tree test doesn't work yet (no way to install my shared library)
#check: all submake
#	$(top_builddir)/src/test/regress/pg_regress --temp-install \
#	  --top-builddir=$(top_builddir) rtree_gist
check:
	@@echo "'make check' is not supported."
	@@echo "Do 'make install', then 'make installcheck' instead."

install: all installdirs install-lib
	$(INSTALL_DATA) $(srcdir)/README.$(NAME)  $(docdir)/contrib
	$(INSTALL_DATA) $(NAME).sql $(datadir)/contrib

installdirs:
	$(mkinstalldirs) $(docdir)/contrib $(datadir)/contrib $(libdir)

uninstall: uninstall-lib
	rm -f $(docdir)/contrib/README.$(NAME) $(datadir)/contrib/$(NAME).sql

clean distclean maintainer-clean: clean-lib
	rm -f $(OBJS) $(NAME).sql
# things created by various check targets
	rm -rf results tmp_check log
	rm -f regression.diffs regression.out regress.out run_check.out
ifeq ($(PORTNAME), win)
	rm -f regress.def
endif

depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

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


1.1
log
@Support for emulating RTREE indexing in GiST.  Contributed by
Oleg Bartunov and Teodor Sigaev.
@
text
@d2 1
a2 1
# $Header$
d18 1
@
