| 1 |
# contrib/earthdistance/Makefile |
| 2 |
|
| 3 |
MODULES = earthdistance |
| 4 |
|
| 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" |
| 9 |
|
| 10 |
REGRESS = earthdistance |
| 11 |
EXTRA_INSTALL = contrib/cube |
| 12 |
|
| 13 |
LDFLAGS_SL += $(filter -lm, $(LIBS)) |
| 14 |
|
| 15 |
ifdef USE_PGXS |
| 16 |
PG_CONFIG = pg_config |
| 17 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 18 |
include $(PGXS) |
| 19 |
else |
| 20 |
subdir = contrib/earthdistance |
| 21 |
top_builddir = ../.. |
| 22 |
include $(top_builddir)/src/Makefile.global |
| 23 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 24 |
endif |