1# contrib/hstore/Makefile
2
3MODULE_big = hstore
4OBJS = \
5	$(WIN32RES) \
6	hstore_compat.o \
7	hstore_gin.o \
8	hstore_gist.o \
9	hstore_io.o \
10	hstore_op.o
11
12EXTENSION = hstore
13DATA = hstore--1.4.sql \
14	hstore--1.6--1.7.sql \
15	hstore--1.5--1.6.sql \
16	hstore--1.4--1.5.sql \
17	hstore--1.3--1.4.sql hstore--1.2--1.3.sql \
18	hstore--1.1--1.2.sql hstore--1.0--1.1.sql
19PGFILEDESC = "hstore - key/value pair data type"
20
21HEADERS = hstore.h
22
23REGRESS = hstore
24
25ifdef USE_PGXS
26PG_CONFIG = pg_config
27PGXS := $(shell $(PG_CONFIG) --pgxs)
28include $(PGXS)
29else
30subdir = contrib/hstore
31top_builddir = ../..
32include $(top_builddir)/src/Makefile.global
33include $(top_srcdir)/contrib/contrib-global.mk
34endif
35