2007-04-15 16:48:24 +04:00
|
|
|
# $PostgreSQL: pgsql/contrib/Makefile,v 1.74 2007/04/15 12:48:23 adunstan Exp $
|
2000-06-15 22:55:34 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
subdir = contrib
|
|
|
|
top_builddir = ..
|
2000-09-19 00:11:37 +04:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2000-06-15 22:55:34 +04:00
|
|
|
|
2000-12-20 20:22:26 +03:00
|
|
|
WANTED_DIRS = \
|
2006-05-30 17:25:57 +04:00
|
|
|
adminpack \
|
2001-08-22 22:27:54 +04:00
|
|
|
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 \
|
2003-06-30 23:58:57 +04:00
|
|
|
earthdistance \
|
2001-08-22 22:27:54 +04:00
|
|
|
fuzzystrmatch \
|
2006-09-09 08:07:52 +04:00
|
|
|
hstore \
|
2002-08-30 05:44:00 +04:00
|
|
|
intagg \
|
2001-01-16 01:20:00 +03:00
|
|
|
intarray \
|
2006-09-09 08:07:52 +04:00
|
|
|
isn \
|
2001-02-10 15:07:12 +03:00
|
|
|
lo \
|
2002-07-30 20:40:34 +04:00
|
|
|
ltree \
|
2001-02-10 06:44:06 +03:00
|
|
|
oid2name \
|
2005-03-12 18:36:24 +03:00
|
|
|
pg_buffercache \
|
2006-02-12 06:55:53 +03:00
|
|
|
pg_freespacemap \
|
2007-02-08 18:09:47 +03:00
|
|
|
pg_standby \
|
2004-06-01 09:15:47 +04:00
|
|
|
pg_trgm \
|
2000-06-15 22:55:34 +04:00
|
|
|
pgbench \
|
2001-09-29 07:11:58 +04:00
|
|
|
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 \
|
2001-09-06 14:49:30 +04:00
|
|
|
vacuumlo
|
|
|
|
|
2006-09-04 19:07:46 +04:00
|
|
|
ifeq ($(with_openssl),yes)
|
|
|
|
WANTED_DIRS += sslinfo
|
|
|
|
endif
|
|
|
|
|
2007-04-15 16:48:24 +04:00
|
|
|
ifeq ($(with_libxml),yes)
|
|
|
|
ifeq ($(with_libxslt),yes)
|
|
|
|
WANTED_DIRS += xml2
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
# Missing:
|
|
|
|
# start-scripts \ (does not have a makefile)
|
2007-04-15 16:48:24 +04:00
|
|
|
|
2001-07-07 03:07:20 +04:00
|
|
|
|
2006-04-03 22:47:41 +04:00
|
|
|
all install installdirs uninstall distprep clean distclean maintainer-clean:
|
2001-09-06 14:49:30 +04:00
|
|
|
@for dir in $(WANTED_DIRS); do \
|
|
|
|
$(MAKE) -C $$dir $@ || exit; \
|
2000-06-15 22:55:34 +04:00
|
|
|
done
|
2004-12-15 01:50:23 +03:00
|
|
|
|
|
|
|
# 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
|