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