2010-09-21 04:08:53 +08:00
|
|
|
# contrib/ltree/Makefile
|
2007-02-10 01:04:00 +08:00
|
|
|
|
2002-07-31 00:40:34 +08:00
|
|
|
MODULE_big = ltree
|
|
|
|
OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \
|
2014-07-15 02:07:52 +08:00
|
|
|
ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o $(WIN32RES)
|
2011-02-14 09:06:41 +08:00
|
|
|
PG_CPPFLAGS = -DLOWER_NODE
|
|
|
|
|
|
|
|
EXTENSION = ltree
|
2016-06-10 04:44:25 +08:00
|
|
|
DATA = ltree--1.1.sql ltree--1.0--1.1.sql ltree--unpackaged--1.0.sql
|
2014-07-15 02:07:52 +08:00
|
|
|
PGFILEDESC = "ltree - hierarchical label data type"
|
2011-02-14 09:06:41 +08:00
|
|
|
|
2002-07-31 00:40:34 +08:00
|
|
|
REGRESS = ltree
|
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 06:05:04 +08:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-21 04:13:10 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/ltree
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2002-07-31 00:40:34 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 04:13:10 +08:00
|
|
|
endif
|