mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 15:47:19 +02:00
Before, make check-world would create a new temporary installation for each test suite, which is slow and wasteful. Instead, we now create one test installation that is used by all test suites that are part of a make run. The management of the temporary installation is removed from pg_regress and handled in the makefiles. This allows for better control, and unifies the code with that of test suites not run through pg_regress. review and msvc support by Michael Paquier <michael.paquier@gmail.com> more review by Fabien Coelho <coelho@cri.ensmp.fr>
24 lines
567 B
Makefile
24 lines
567 B
Makefile
# contrib/earthdistance/Makefile
|
|
|
|
MODULES = earthdistance
|
|
|
|
EXTENSION = earthdistance
|
|
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
|
|
PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth"
|
|
|
|
REGRESS = earthdistance
|
|
EXTRA_INSTALL = contrib/cube
|
|
|
|
LDFLAGS_SL += $(filter -lm, $(LIBS))
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/earthdistance
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|