Repair memory leaks in plpython.
[pgsql.git] / contrib / earthdistance / Makefile
blob0cf3fa379a27dae4a221349149041bd48933631b
1 # contrib/earthdistance/Makefile
3 MODULES = earthdistance
5 EXTENSION = earthdistance
6 DATA = earthdistance--1.1.sql earthdistance--1.0--1.1.sql \
7 earthdistance--1.1--1.2.sql
8 PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth"
10 REGRESS = earthdistance
11 EXTRA_INSTALL = contrib/cube
13 LDFLAGS_SL += $(filter -lm, $(LIBS))
15 ifdef USE_PGXS
16 PG_CONFIG = pg_config
17 PGXS := $(shell $(PG_CONFIG) --pgxs)
18 include $(PGXS)
19 else
20 subdir = contrib/earthdistance
21 top_builddir = ../..
22 include $(top_builddir)/src/Makefile.global
23 include $(top_srcdir)/contrib/contrib-global.mk
24 endif