mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
c52795d18a
- supports multibyte encodings - more strict rules for lexemes - flex isn't used Add: - tsquery plainto_tsquery(text) Function makes tsquery from plain text. - &&, ||, !! operation for tsquery for combining tsquery from it's parts: 'foo & bar' || 'asd' => 'foo & bar | asd'
27 lines
525 B
Makefile
27 lines
525 B
Makefile
# $PostgreSQL: pgsql/contrib/tsearch2/wordparser/Makefile,v 1.9 2005/11/21 12:27:57 teodor Exp $
|
|
|
|
SUBOBJS = parser.o deflex.o
|
|
|
|
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
|
|
|
|
PG_CPPFLAGS = -I$(srcdir)/..
|
|
|
|
ifdef USE_PGXS
|
|
PGXS := $(shell pg_config --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/tsearch2/wordparser
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|
|
|
|
override CFLAGS += $(CFLAGS_SL)
|
|
|
|
all: SUBSYS.o
|
|
|
|
SUBSYS.o: $(SUBOBJS)
|
|
$(LD) $(LDREL) $(LDOUT) $@ $^
|
|
|
|
|