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