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