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.14
	REL9_0_BETA3:1.10
	REL9_0_BETA2:1.10
	REL8_0_25:1.2
	REL8_1_21:1.3
	REL8_2_17:1.4
	REL8_3_11:1.9
	REL8_4_4:1.10
	REL9_0_BETA1:1.10
	REL9_0_ALPHA5_BRANCH:1.10.0.12
	REL9_0_ALPHA5:1.10
	REL8_0_24:1.2
	REL8_1_20:1.3
	REL8_2_16:1.4
	REL8_3_10:1.9
	REL8_4_3:1.10
	REL9_0_ALPHA4:1.10
	REL9_0_ALPHA4_BRANCH:1.10.0.10
	REL8_5_ALPHA3:1.10
	REL8_5_ALPHA3_BRANCH:1.10.0.8
	REL8_0_23:1.2
	REL8_1_19:1.3
	REL8_2_15:1.4
	REL8_3_9:1.9
	REL8_4_2:1.10
	REL8_5_ALPHA2:1.10
	REL8_5_ALPHA2_BRANCH:1.10.0.6
	REL8_0_22:1.2
	REL8_1_18:1.3
	REL8_2_14:1.4
	REL8_3_8:1.9
	REL8_4_1:1.10
	REL8_5_ALPHA1:1.10
	REL8_5_ALPHA1_BRANCH:1.10.0.4
	REL8_4_STABLE:1.10.0.2
	REL8_4_0:1.10
	REL8_4_RC2:1.10
	REL8_4_RC1:1.10
	REL8_4_BETA2:1.10
	REL8_4_BETA1:1.9
	REL8_0_21:1.2
	REL8_1_17:1.3
	REL8_2_13:1.4
	REL8_3_7:1.9
	REL8_0_20:1.2
	REL8_1_16:1.3
	REL8_2_12:1.4
	REL8_3_6:1.9
	REL8_0_19:1.2
	REL8_1_15:1.3
	REL8_2_11:1.4
	REL8_3_5:1.9
	REL8_0_18:1.2
	REL8_1_14:1.3
	REL8_2_10:1.4
	REL8_3_4:1.9
	REL8_0_17:1.2
	REL8_1_13:1.3
	REL8_2_9:1.4
	REL8_3_3:1.9
	REL8_0_16:1.2
	REL8_1_12:1.3
	REL8_2_8:1.4
	REL8_3_2:1.9
	REL8_2_7:1.4
	REL8_3_1:1.9
	REL8_3_STABLE:1.9.0.2
	REL8_3_0:1.9
	REL8_3_RC2:1.9
	REL8_0_15:1.2
	REL8_1_11:1.3
	REL8_2_6:1.4
	REL8_3_RC1:1.9
	REL8_3_BETA4:1.9
	REL8_3_BETA3:1.9
	REL8_3_BETA2:1.8
	REL8_3_BETA1:1.8
	REL8_0_14:1.2
	REL8_1_10:1.3
	REL8_2_5:1.4
	REL8_0_13:1.2
	REL8_1_9:1.3
	REL8_2_4:1.4
	REL8_0_12:1.2
	REL8_1_8:1.3
	REL8_2_3:1.4
	REL8_0_11:1.2
	REL8_1_7:1.3
	REL8_2_2:1.4
	REL8_0_10:1.2
	REL8_1_6:1.3
	REL8_2_1:1.4
	REL8_2_STABLE:1.4.0.2
	REL8_2_0:1.4
	REL8_2_RC1:1.4
	REL8_2_BETA3:1.4
	REL8_2_BETA2:1.4
	REL8_1_5:1.3
	REL8_0_9:1.2
	REL8_2_BETA1:1.4
	REL8_0_8:1.2
	REL8_1_4:1.3
	REL8_0_7:1.2
	REL8_1_3:1.3
	REL8_0_6:1.2
	REL8_1_2:1.3
	REL8_0_5:1.2
	REL8_1_1:1.3
	REL8_1_STABLE:1.3.0.2
	REL8_1_0:1.3
	REL8_1_0RC1:1.3
	REL8_1_0BETA4:1.3
	REL8_1_0BETA3:1.3
	REL8_0_4:1.2
	REL8_1_0BETA2:1.2
	REL8_1_0BETA1:1.2
	REL8_0_3:1.2
	REL8_0_2:1.2
	REL8_0_1:1.2
	REL8_0_STABLE:1.2.0.4
	REL8_0_0:1.2.0.2
	REL8_0_0RC5:1.2
	REL8_0_0RC4:1.2
	REL8_0_0RC3:1.2
	REL8_0_0RC2:1.2
	REL8_0_0RC1:1.2
	REL8_0_0BETA5:1.2
	REL8_0_0BETA4:1.2
	REL8_0_0BETA3:1.2
	REL8_0_0BETA2:1.2
	REL8_0_0BETA1:1.1;
locks; strict;
comment	@# @;


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

1.9
date	2007.11.10.23.59.51;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	2007.06.26.22.05.02;	author tgl;	state Exp;
branches;
next	1.7;

1.7
date	2007.03.14.14.15.40;	author teodor;	state Exp;
branches;
next	1.6;

1.6
date	2007.02.09.17.24.33;	author petere;	state Exp;
branches;
next	1.5;

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

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

1.3
date	2005.09.27.17.13.07;	author tgl;	state Exp;
branches;
next	1.2;

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

1.1
date	2004.05.31.17.18.11;	author teodor;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Blank line Makefile cleanups.
@
text
@# $PostgreSQL: pgsql/contrib/pg_trgm/Makefile,v 1.9 2007/11/10 23:59:51 momjian Exp $

MODULE_big = pg_trgm
OBJS = trgm_op.o trgm_gist.o trgm_gin.o

DATA_built = pg_trgm.sql
DATA = uninstall_pg_trgm.sql
REGRESS = pg_trgm

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


1.9
log
@Remove references to READMEs from /contrib Makefiles.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/pg_trgm/Makefile,v 1.8 2007/06/26 22:05:02 tgl Exp $
a9 1

@


1.8
log
@Fix PGXS conventions so that extensions can be built against Postgres
installations whose pg_config program does not appear first in the PATH.
Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho
and others.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/pg_trgm/Makefile,v 1.7 2007/03/14 14:15:40 teodor Exp $
a7 1
DOCS = README.pg_trgm
@


1.7
log
@Add GIN support for pg_trgm. From Guillaume Smet <guillaume.smet@@gmail.com>
with minor editorization by me.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/pg_trgm/Makefile,v 1.6 2007/02/09 17:24:33 petere Exp $
d13 2
a14 1
PGXS := $(shell pg_config --pgxs)
@


1.6
log
@Remove useless CPPFLAGS.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/pg_trgm/Makefile,v 1.5 2007/02/09 17:04:00 petere Exp $
d4 1
a4 1
OBJS = trgm_op.o trgm_gist.o 
@


1.5
log
@Add $PostgreSQL$ marker to contrib makefiles.
@
text
@d1 1
a1 3
# $PostgreSQL$

PG_CPPFLAGS = -I.
@


1.4
log
@contrib uninstall scripts

by David Fetter
@
text
@d1 1
a22 4


# DO NOT DELETE

@


1.3
log
@PGXS should be set with := not =, as specified in the documentation,
to avoid useless multiple executions of pg_config.
@
text
@d8 1
@


1.2
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
@d13 1
a13 1
PGXS = $(shell pg_config --pgxs)
@


1.1
log
@trgm - Trigram matching for PostgreSQL
--------------------------------------

	The pg_trgm contrib module provides functions and index classes
	for determining the similarity of text based on trigram
	matching.
@
text
@a0 3
subdir = contrib/pg_trgm
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
d2 1
a2 2

override CPPFLAGS := -I. $(CPPFLAGS)
d11 8
d20 3
@

