From 46651ce6fe013220ed397add242004d764fc0153 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:15:05 +0200 Subject: Adding upstream version 14.5. Signed-off-by: Daniel Baumann --- contrib/earthdistance/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 contrib/earthdistance/Makefile (limited to 'contrib/earthdistance/Makefile') diff --git a/contrib/earthdistance/Makefile b/contrib/earthdistance/Makefile new file mode 100644 index 0000000..f93b7a9 --- /dev/null +++ b/contrib/earthdistance/Makefile @@ -0,0 +1,23 @@ +# contrib/earthdistance/Makefile + +MODULES = earthdistance + +EXTENSION = earthdistance +DATA = earthdistance--1.1.sql earthdistance--1.0--1.1.sql +PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth" + +REGRESS = earthdistance +EXTRA_INSTALL = contrib/cube + +LDFLAGS_SL += $(filter -lm, $(LIBS)) + +ifdef USE_PGXS +PG_CONFIG = pg_config +PGXS := $(shell $(PG_CONFIG) --pgxs) +include $(PGXS) +else +subdir = contrib/earthdistance +top_builddir = ../.. +include $(top_builddir)/src/Makefile.global +include $(top_srcdir)/contrib/contrib-global.mk +endif -- cgit v1.2.3