head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2001.08.07.18.16.01;	author momjian;	state dead;
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.09.23.00.44;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Sorry - I should have gotten to this sooner. Here's a patch which you should
be able to apply against what you just committed. It rolls soundex into
fuzzystrmatch.

Remove soundex/metaphone and merge into fuzzystrmatch.

Joe Conway
@
text
@#
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/metaphone/Makefile,v 1.2 2001/06/20 00:04:44 momjian Exp $
#

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

NAME	:= metaphone
SONAME	:= $(NAME)$(DLSUFFIX)

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

all: $(SONAME) $(NAME).sql

$(NAME).sql: $(NAME).sql.in
	sed 's,@@MODULE_FILENAME@@,$(libdir)/contrib/$(SONAME),g' $< >$@@

install: all installdirs
	$(INSTALL_SHLIB) $(SONAME)	$(libdir)/contrib
	$(INSTALL_DATA) $(NAME).sql	$(datadir)/contrib
	$(INSTALL_DATA) README.$(NAME)	$(docdir)/contrib

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

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

clean distclean maintainer-clean:
	rm -f $(SONAME) $(NAME).o $(NAME).sql

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

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


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
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/metaphone/Makefile,v 1.1 2001/05/09 23:00:44 momjian Exp $
@


1.1
log
@This directory contains a module that implements the "Metaphone" code as
a PostgreSQL user-defined function.  The Metaphone system is a method of
matching similar sounding names (or any words) to the same code.

Metaphone was invented by Lawrence Philips as an improvement to the popular
name-hashing routine, Soundex.

This metaphone code is from Michael Kuhn, and is detailed at
   http://aspell.sourceforge.net/metaphone/metaphone-kuhn.txt

Joel Burton
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/soundex/Makefile,v 1.9 2000/10/20 21:03:28 petere Exp $
d14 1
@

