postgresql/contrib/Makefile

68 lines
1.2 KiB
Makefile
Raw Normal View History

# $PostgreSQL: pgsql/contrib/Makefile,v 1.75 2007/04/21 17:26:17 petere Exp $
2000-06-15 20:55:34 +02:00
subdir = contrib
top_builddir = ..
include $(top_builddir)/src/Makefile.global
2000-06-15 20:55:34 +02:00
WANTED_DIRS = \
adminpack \
btree_gist \
2001-08-23 18:54:25 +02:00
chkpass \
2000-12-11 21:40:59 +01:00
cube \
2001-06-18 19:20:56 +02:00
dblink \
earthdistance \
fuzzystrmatch \
hstore \
2002-08-30 03:44:00 +02:00
intagg \
intarray \
isn \
2001-02-10 13:07:12 +01:00
lo \
ltree \
oid2name \
pg_buffercache \
pg_freespacemap \
pg_standby \
pg_trgm \
2000-06-15 20:55:34 +02:00
pgbench \
pgcrypto \
2006-04-23 04:17:59 +02:00
pgrowlocks \
2001-10-01 03:52:38 +02:00
pgstattuple \
2001-02-10 13:07:12 +01:00
seg \
spi \
2002-07-30 18:32:20 +02:00
tablefunc \
2003-07-24 18:54:58 +02:00
tsearch2 \
vacuumlo
ifeq ($(with_openssl),yes)
WANTED_DIRS += sslinfo
endif
ifeq ($(with_ossp_uuid),yes)
WANTED_DIRS += uuid-ossp
endif
2007-04-15 14:48:24 +02:00
ifeq ($(with_libxml),yes)
ifeq ($(with_libxslt),yes)
WANTED_DIRS += xml2
endif
endif
# Missing:
# start-scripts \ (does not have a makefile)
2007-04-15 14:48:24 +02:00
all install installdirs uninstall distprep clean distclean maintainer-clean:
@for dir in $(WANTED_DIRS); do \
$(MAKE) -C $$dir $@ || exit; \
2000-06-15 20:55:34 +02: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