2 subdir = contrib/btree_gist
4 include $(top_builddir)/src/Makefile.global
6 MODULE_big = btree_gist
7 OBJS= btree_common.o btree_int4.o btree_int8.o btree_float4.o btree_float8.o btree_ts.o
8 DATA_built = btree_gist.sql
9 DOCS = README.btree_gist
12 EXTRA_CLEAN = btree_int4.c btree_int8.c btree_float4.c btree_float8.c
14 include $(top_srcdir)/contrib/contrib-global.mk
16 btree_int4.c: btree_num.c.in
17 sed 's,__DEFINE_BTREE_TYPE_HERE__,BTREE_GIST_INT4,g;s,__BTREE_GIST_TYPE__,int32,g;s,__BTREE_GIST_TYPE2__,int4,g' < $< > $@
19 btree_int8.c: btree_num.c.in
20 sed 's,__DEFINE_BTREE_TYPE_HERE__,BTREE_GIST_INT8,g;s,__BTREE_GIST_TYPE__,int64,g;s,__BTREE_GIST_TYPE2__,int8,g' < $< > $@
22 btree_float4.c: btree_num.c.in
23 sed 's,__DEFINE_BTREE_TYPE_HERE__,BTREE_GIST_FLOAT4,g;s,__BTREE_GIST_TYPE__,float4,g;s,__BTREE_GIST_TYPE2__,float4,g' < $< > $@
25 btree_float8.c: btree_num.c.in
26 sed 's,__DEFINE_BTREE_TYPE_HERE__,BTREE_GIST_FLOAT8,g;s,__BTREE_GIST_TYPE__,float8,g;s,__BTREE_GIST_TYPE2__,float8,g' < $< > $@