postgresql/contrib/Makefile
Peter Eisentraut 7798147a76 Expand test coverage support to entire tree
Test coverage support now covers the entire source tree, including
contrib, instead of just src/backend.  In a related but independent
development, the commands make coverage and make coverage-html can be run
in any directory.

This turned out to be much easier than feared.  Besides a few ad hoc fixes
to pass the make target down the tree, change all affected makefiles to
list their directories in the SUBDIRS variable, changed from variants like
DIRS and WANTED_DIRS.  MSVC build fix was attempted as well.
2009-08-07 20:50:22 +00:00

71 lines
1.2 KiB
Makefile

# $PostgreSQL: pgsql/contrib/Makefile,v 1.88 2009/08/07 20:50:21 petere Exp $
subdir = contrib
top_builddir = ..
include $(top_builddir)/src/Makefile.global
SUBDIRS = \
adminpack \
auto_explain \
btree_gin \
btree_gist \
chkpass \
citext \
cube \
dblink \
dict_int \
dict_xsyn \
earthdistance \
fuzzystrmatch \
hstore \
intagg \
intarray \
isn \
lo \
ltree \
oid2name \
pageinspect \
pg_buffercache \
pg_freespacemap \
pg_standby \
pg_stat_statements \
pg_trgm \
pgbench \
pgcrypto \
pgrowlocks \
pgstattuple \
seg \
spi \
tablefunc \
test_parser \
tsearch2 \
vacuumlo
ifeq ($(with_openssl),yes)
SUBDIRS += sslinfo
endif
ifeq ($(with_ossp_uuid),yes)
SUBDIRS += uuid-ossp
endif
ifeq ($(with_libxml),yes)
SUBDIRS += xml2
endif
# Missing:
# start-scripts \ (does not have a makefile)
all install installdirs uninstall distprep clean distclean maintainer-clean:
@for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \
done
# We'd like check operations to run all the subtests before failing.
check installcheck:
@CHECKERR=0; for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR