2006-02-27 20:54:39 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.17 2006/02/27 12:54:38 petere Exp $
|
1998-06-16 11:55:15 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
MODULES = earthdistance
|
|
|
|
DATA_built = earthdistance.sql
|
2006-02-27 20:54:39 +08:00
|
|
|
DATA = uninstall_earthdistance.sql
|
2001-09-06 18:49:30 +08:00
|
|
|
DOCS = README.earthdistance
|
2002-09-20 11:47:22 +08:00
|
|
|
REGRESS = earthdistance
|
1998-06-16 11:55:15 +08:00
|
|
|
|
2005-07-25 07:30:10 +08:00
|
|
|
SHLIB_LINK += $(filter -lm, $(LIBS))
|
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
ifdef USE_PGXS
|
2005-09-28 01:13:14 +08:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-21 04:13:10 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/earthdistance
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 18:49:30 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 04:13:10 +08:00
|
|
|
endif
|