summaryrefslogtreecommitdiffstats
path: root/contrib/btree_gist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/btree_gist/Makefile')
-rw-r--r--contrib/btree_gist/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/contrib/btree_gist/Makefile b/contrib/btree_gist/Makefile
new file mode 100644
index 0000000..a85db35
--- /dev/null
+++ b/contrib/btree_gist/Makefile
@@ -0,0 +1,52 @@
+# contrib/btree_gist/Makefile
+
+MODULE_big = btree_gist
+
+OBJS = \
+ $(WIN32RES) \
+ btree_bit.o \
+ btree_bytea.o \
+ btree_cash.o \
+ btree_date.o \
+ btree_enum.o \
+ btree_float4.o \
+ btree_float8.o \
+ btree_gist.o \
+ btree_inet.o \
+ btree_int2.o \
+ btree_int4.o \
+ btree_int8.o \
+ btree_interval.o \
+ btree_macaddr.o \
+ btree_macaddr8.o \
+ btree_numeric.o \
+ btree_oid.o \
+ btree_text.o \
+ btree_time.o \
+ btree_ts.o \
+ btree_utils_num.o \
+ btree_utils_var.o \
+ btree_uuid.o
+
+EXTENSION = btree_gist
+DATA = btree_gist--1.0--1.1.sql \
+ btree_gist--1.1--1.2.sql btree_gist--1.2.sql btree_gist--1.2--1.3.sql \
+ btree_gist--1.3--1.4.sql btree_gist--1.4--1.5.sql
+PGFILEDESC = "btree_gist - B-tree equivalent GiST operator classes"
+
+REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz \
+ time timetz date interval macaddr macaddr8 inet cidr text varchar char \
+ bytea bit varbit numeric uuid not_equal enum
+
+SHLIB_LINK += $(filter -lm, $(LIBS))
+
+ifdef USE_PGXS
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
+include $(PGXS)
+else
+subdir = contrib/btree_gist
+top_builddir = ../..
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif