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