postgres/contrib/Makefile

58 lines
1.1 KiB
Makefile
Raw Normal View History

# $PostgreSQL: pgsql/contrib/Makefile,v 1.70 2006/09/09 04:07:51 tgl Exp $
2000-06-15 22:55:34 +04:00
subdir = contrib
top_builddir = ..
include $(top_builddir)/src/Makefile.global
2000-06-15 22:55:34 +04:00
WANTED_DIRS = \
adminpack \
btree_gist \
2001-08-23 20:54:25 +04:00
chkpass \
2000-12-11 23:40:59 +03:00
cube \
2001-06-18 21:20:56 +04:00
dblink \
earthdistance \
fuzzystrmatch \
hstore \
2002-08-30 05:44:00 +04:00
intagg \
intarray \
isn \
2001-02-10 15:07:12 +03:00
lo \
ltree \
oid2name \
pg_buffercache \
pg_freespacemap \
pg_trgm \
2000-06-15 22:55:34 +04:00
pgbench \
pgcrypto \
2006-04-23 06:17:59 +04:00
pgrowlocks \
2001-10-01 05:52:38 +04:00
pgstattuple \
2001-02-10 15:07:12 +03:00
seg \
spi \
2002-07-30 20:32:20 +04:00
tablefunc \
2003-07-24 20:54:58 +04:00
tsearch2 \
vacuumlo
ifeq ($(with_openssl),yes)
WANTED_DIRS += sslinfo
endif
# Missing:
# start-scripts \ (does not have a makefile)
# xml2 \ (requires libxml installed)
2000-06-15 22:55:34 +04:00
all install installdirs uninstall distprep clean distclean maintainer-clean:
@for dir in $(WANTED_DIRS); do \
$(MAKE) -C $$dir $@ || exit; \
2000-06-15 22:55:34 +04:00
done
# We'd like check operations to run all the subtests before failing;
# also insert a sleep to ensure the previous test backend exited before
# we try to drop the regression database.
check installcheck:
@CHECKERR=0; for dir in $(WANTED_DIRS); do \
sleep 1; \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR