1 #-------------------------------------------------------------------------
3 # Makefile for backend/tsearch
5 # Copyright (c) 2006-2008, PostgreSQL Global Development Group
9 #-------------------------------------------------------------------------
10 subdir
= src
/backend
/tsearch
11 top_builddir
= ..
/..
/..
12 include $(top_builddir
)/src
/Makefile.global
16 DICTFILES
=synonym_sample.syn thesaurus_sample.ths hunspell_sample.affix \
17 ispell_sample.affix ispell_sample.dict
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_selfuncs.o ts_typanalyze.o ts_utils.o
24 include $(top_srcdir
)/src
/backend
/common.mk
27 install-data
: $(DICTFILES
) installdirs
28 for i in
$(DICTFILES
); \
29 do
$(INSTALL_DATA
) $(srcdir)/$$i '$(DESTDIR)$(datadir)/$(DICTDIR)/'$$i || exit
; \
33 $(mkinstalldirs
) '$(DESTDIR)$(datadir)' '$(DESTDIR)$(datadir)/$(DICTDIR)'
35 .PHONY
: uninstall-data
37 for i in
$(DICTFILES
); \
38 do
rm -rf
'$(DESTDIR)$(datadir)/$(DICTDIR)/'$$i || exit
; \