1 # contrib/earthdistance/Makefile
3 MODULES = earthdistance
5 EXTENSION = earthdistance
6 DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
7 PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth"
9 REGRESS = earthdistance
10 EXTRA_INSTALL = contrib/cube
12 LDFLAGS_SL += $(filter -lm, $(LIBS))
16 PGXS := $(shell $(PG_CONFIG) --pgxs)
19 subdir = contrib/earthdistance
21 include $(top_builddir)/src/Makefile.global
22 include $(top_srcdir)/contrib/contrib-global.mk