2007-11-11 02:59:52 +03:00
|
|
|
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.19 2007/11/10 23:59:50 momjian Exp $
|
1998-06-16 07:55:15 +04:00
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
MODULES = earthdistance
|
|
|
|
DATA_built = earthdistance.sql
|
2006-02-27 15:54:39 +03:00
|
|
|
DATA = uninstall_earthdistance.sql
|
2002-09-20 07:47:22 +04:00
|
|
|
REGRESS = earthdistance
|
1998-06-16 07:55:15 +04:00
|
|
|
|
2005-07-25 03:30:10 +04:00
|
|
|
SHLIB_LINK += $(filter -lm, $(LIBS))
|
|
|
|
|
2004-08-21 00:13:10 +04:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 02:05:04 +04:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-21 00:13:10 +04:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/earthdistance
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 14:49:30 +04:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 00:13:10 +04:00
|
|
|
endif
|