2005-07-30 03:38:22 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/Makefile,v 1.60 2005/07/29 19:38:21 tgl Exp $
|
2000-06-16 02:55:34 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
subdir = contrib
|
|
|
|
top_builddir = ..
|
2000-09-19 04:11:37 +08:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2000-06-16 02:55:34 +08:00
|
|
|
|
2000-12-21 01:22:26 +08:00
|
|
|
WANTED_DIRS = \
|
2001-08-23 02:27:54 +08:00
|
|
|
btree_gist \
|
2001-08-24 00:54:25 +08:00
|
|
|
chkpass \
|
2000-12-12 04:40:59 +08:00
|
|
|
cube \
|
2001-05-10 23:51:05 +08:00
|
|
|
dbase \
|
2001-06-19 01:20:56 +08:00
|
|
|
dblink \
|
2002-06-24 06:15:04 +08:00
|
|
|
dbmirror \
|
2003-07-01 03:58:57 +08:00
|
|
|
earthdistance \
|
2000-06-16 02:55:34 +08:00
|
|
|
fulltextindex \
|
2001-08-23 02:27:54 +08:00
|
|
|
fuzzystrmatch \
|
2002-08-30 09:44:00 +08:00
|
|
|
intagg \
|
2001-01-16 06:20:00 +08:00
|
|
|
intarray \
|
2000-06-16 02:55:34 +08:00
|
|
|
isbn_issn \
|
2001-02-10 20:07:12 +08:00
|
|
|
lo \
|
2002-07-31 00:40:34 +08:00
|
|
|
ltree \
|
2001-02-10 11:44:06 +08:00
|
|
|
oid2name \
|
2005-03-12 23:36:24 +08:00
|
|
|
pg_buffercache \
|
2004-06-01 13:15:47 +08:00
|
|
|
pg_trgm \
|
2000-06-16 02:55:34 +08:00
|
|
|
pgbench \
|
2001-09-29 11:11:58 +08:00
|
|
|
pgcrypto \
|
2001-10-01 09:52:38 +08:00
|
|
|
pgstattuple \
|
2001-02-10 20:07:12 +08:00
|
|
|
seg \
|
|
|
|
spi \
|
2002-07-31 00:32:20 +08:00
|
|
|
tablefunc \
|
2000-06-16 02:55:34 +08:00
|
|
|
tips \
|
2003-07-25 00:54:58 +08:00
|
|
|
tsearch2 \
|
2000-06-16 02:55:34 +08:00
|
|
|
userlock \
|
2001-09-06 18:49:30 +08:00
|
|
|
vacuumlo
|
|
|
|
|
|
|
|
# Missing:
|
2003-07-01 04:02:53 +08:00
|
|
|
# adddepend \ (does not have a makefile)
|
2001-09-06 18:49:30 +08:00
|
|
|
# mSQL-interface \ (requires msql installed)
|
|
|
|
# mac \ (does not have a makefile)
|
|
|
|
# oracle \ (does not have a makefile)
|
|
|
|
# start-scripts \ (does not have a makefile)
|
2004-03-05 13:15:16 +08:00
|
|
|
# xml2 \ (non-standard makefile)
|
2000-06-16 02:55:34 +08:00
|
|
|
|
2001-07-07 07:07:20 +08:00
|
|
|
|
2004-12-15 06:50:23 +08:00
|
|
|
all install installdirs uninstall clean distclean maintainer-clean:
|
2001-09-06 18:49:30 +08:00
|
|
|
@for dir in $(WANTED_DIRS); do \
|
|
|
|
$(MAKE) -C $$dir $@ || exit; \
|
2000-06-16 02:55:34 +08:00
|
|
|
done
|
2004-12-15 06:50:23 +08: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
|