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
))
17 PGXS
:= $(shell $(PG_CONFIG
) --pgxs
)
20 subdir
= contrib
/earthdistance
22 include $(top_builddir
)/src
/Makefile.global
23 include $(top_srcdir
)/contrib
/contrib-global.mk