2010-09-20 22:08:53 +02:00
|
|
|
# contrib/earthdistance/Makefile
|
1998-06-16 05:55:15 +02:00
|
|
|
|
2001-09-06 12:49:30 +02:00
|
|
|
MODULES = earthdistance
|
2011-02-14 02:06:41 +01:00
|
|
|
|
|
|
|
EXTENSION = earthdistance
|
|
|
|
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
|
2014-07-14 20:07:52 +02:00
|
|
|
PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth"
|
2011-02-14 02:06:41 +01:00
|
|
|
|
2002-09-20 05:47:22 +02:00
|
|
|
REGRESS = earthdistance
|
2011-04-25 21:21:37 +02:00
|
|
|
REGRESS_OPTS = --extra-install=contrib/cube
|
1998-06-16 05:55:15 +02:00
|
|
|
|
2010-07-06 01:15:56 +02:00
|
|
|
LDFLAGS_SL += $(filter -lm, $(LIBS))
|
2005-07-25 01:30:10 +02:00
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 00:05:04 +02:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/earthdistance
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 12:49:30 +02:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 22:13:10 +02:00
|
|
|
endif
|