mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-14 10:27:04 +08:00
This is advance preparation for introducing even more test modules; the easy solution is to add them to contrib, but that's bloated enough that it seems a good time to think of something different. Moved modules are dummy_seclabel, test_shm_mq, test_parser and worker_spi. (test_decoding was also a candidate, but there was too much opposition to moving that one. We can always reconsider later.)
22 lines
544 B
Makefile
22 lines
544 B
Makefile
# src/test/modules/test_parser/Makefile
|
|
|
|
MODULE_big = test_parser
|
|
OBJS = test_parser.o $(WIN32RES)
|
|
PGFILEDESC = "test_parser - example of a custom parser for full-text search"
|
|
|
|
EXTENSION = test_parser
|
|
DATA = test_parser--1.0.sql test_parser--unpackaged--1.0.sql
|
|
|
|
REGRESS = test_parser
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = src/test/modules/test_parser
|
|
top_builddir = ../../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|