2002-11-02 07:23:29 +08:00
|
|
|
# $Header: /cvsroot/pgsql/contrib/tsearch/Attic/Makefile,v 1.3 2002/11/01 23:23:29 tgl Exp $
|
2001-10-13 07:19:09 +08:00
|
|
|
|
|
|
|
subdir = contrib/tsearch
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
|
2002-11-02 07:23:29 +08:00
|
|
|
override CPPFLAGS := -I. $(CPPFLAGS)
|
|
|
|
|
2001-10-13 07:19:09 +08:00
|
|
|
MODULE_big = tsearch
|
2002-11-02 06:52:34 +08:00
|
|
|
OBJS = crc32.o morph.o txtidx.o query.o gistidx.o rewrite.o
|
2001-10-13 07:19:09 +08:00
|
|
|
|
|
|
|
DATA_built = tsearch.sql
|
|
|
|
DOCS = README.tsearch
|
|
|
|
REGRESS = tsearch
|
|
|
|
|
2002-11-02 06:52:34 +08:00
|
|
|
# parser is compiled as part of query
|
|
|
|
query.o: parser.c
|
|
|
|
|
2001-10-13 07:19:09 +08:00
|
|
|
parser.c: parser.l
|
|
|
|
ifdef FLEX
|
|
|
|
$(FLEX) $(FLEXFLAGS) -8 -Ptsearch_yy -o'$@' $<
|
|
|
|
else
|
|
|
|
@$(missing) flex $< $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_CLEAN = parser.c
|
|
|
|
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
# DO NOT DELETE
|