2007-11-11 00:59:52 +01:00
|
|
|
# $PostgreSQL: pgsql/contrib/ltree/Makefile,v 1.8 2007/11/10 23:59:51 momjian Exp $
|
2007-02-09 18:04:00 +01:00
|
|
|
|
2002-07-30 18:40:34 +02:00
|
|
|
PG_CPPFLAGS = -DLOWER_NODE
|
|
|
|
MODULE_big = ltree
|
|
|
|
OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \
|
|
|
|
ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o
|
|
|
|
DATA_built = ltree.sql
|
2006-02-27 13:54:39 +01:00
|
|
|
DATA = uninstall_ltree.sql
|
2002-07-30 18:40:34 +02:00
|
|
|
REGRESS = ltree
|
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 00:05:04 +02:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/ltree
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2002-07-30 18:40:34 +02:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 22:13:10 +02:00
|
|
|
endif
|