1# contrib/ltree/Makefile 2 3MODULE_big = ltree 4OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \ 5 ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o $(WIN32RES) 6PG_CPPFLAGS = -DLOWER_NODE 7 8EXTENSION = ltree 9DATA = ltree--1.1.sql ltree--1.0--1.1.sql ltree--unpackaged--1.0.sql 10PGFILEDESC = "ltree - hierarchical label data type" 11 12REGRESS = ltree 13 14ifdef USE_PGXS 15PG_CONFIG = pg_config 16PGXS := $(shell $(PG_CONFIG) --pgxs) 17include $(PGXS) 18else 19subdir = contrib/ltree 20top_builddir = ../.. 21include $(top_builddir)/src/Makefile.global 22include $(top_srcdir)/contrib/contrib-global.mk 23endif 24