2010-09-21 04:08:53 +08:00
|
|
|
# contrib/test_parser/Makefile
|
2007-10-16 05:36:50 +08:00
|
|
|
|
|
|
|
MODULE_big = test_parser
|
2014-07-15 02:07:52 +08:00
|
|
|
OBJS = test_parser.o $(WIN32RES)
|
|
|
|
PGFILEDESC = "test_parser - example of a custom parser for full-text search"
|
2011-02-14 09:06:41 +08:00
|
|
|
|
|
|
|
EXTENSION = test_parser
|
|
|
|
DATA = test_parser--1.0.sql test_parser--unpackaged--1.0.sql
|
|
|
|
|
2007-10-16 05:36:50 +08:00
|
|
|
REGRESS = test_parser
|
|
|
|
|
|
|
|
ifdef USE_PGXS
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/test_parser
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|