]> granicus.if.org Git - postgresql/blob - src/backend/tsearch/Makefile
Implement SEMI and ANTI joins in the planner and executor. (Semijoins replace
[postgresql] / src / backend / tsearch / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for backend/tsearch
4 #
5 # Copyright (c) 2006-2008, PostgreSQL Global Development Group
6 #
7 # $PostgreSQL: pgsql/src/backend/tsearch/Makefile,v 1.7 2008/07/14 00:51:45 tgl Exp $
8 #
9 #-------------------------------------------------------------------------
10 subdir = src/backend/tsearch
11 top_builddir = ../../..
12 include $(top_builddir)/src/Makefile.global
13
14 DICTDIR=tsearch_data
15
16 DICTFILES=synonym_sample.syn thesaurus_sample.ths hunspell_sample.affix \
17         ispell_sample.affix ispell_sample.dict
18
19 OBJS = ts_locale.o ts_parse.o wparser.o wparser_def.o dict.o \
20         dict_simple.o dict_synonym.o dict_thesaurus.o \
21         dict_ispell.o regis.o spell.o \
22         to_tsany.o ts_typanalyze.o ts_utils.o
23
24 include $(top_srcdir)/src/backend/common.mk
25
26 .PHONY: install-data
27 install-data: $(DICTFILES) installdirs
28         for i in $(DICTFILES); \
29                 do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(datadir)/$(DICTDIR)/'$$i || exit; \
30         done
31
32 installdirs:
33         $(mkinstalldirs) '$(DESTDIR)$(datadir)' '$(DESTDIR)$(datadir)/$(DICTDIR)'
34
35 .PHONY: uninstall-data
36 uninstall-data:
37         for i in $(DICTFILES); \
38                 do rm -rf '$(DESTDIR)$(datadir)/$(DICTDIR)/'$$i || exit; \
39         done