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