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