2010-06-14 18:17:56 +02:00
|
|
|
# $PostgreSQL: pgsql/contrib/Makefile,v 1.93 2010/06/14 16:17:56 sriggs 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
|
|
|
|
2009-08-07 22:50:22 +02:00
|
|
|
SUBDIRS = \
|
2006-05-30 15:25:57 +02:00
|
|
|
adminpack \
|
2008-11-19 03:59:28 +01:00
|
|
|
auto_explain \
|
2009-03-26 00:20:01 +01:00
|
|
|
btree_gin \
|
2001-08-22 20:27:54 +02:00
|
|
|
btree_gist \
|
2001-08-23 18:54:25 +02:00
|
|
|
chkpass \
|
2008-07-29 20:31:20 +02:00
|
|
|
citext \
|
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 \
|
2009-11-18 22:57:56 +01:00
|
|
|
passwordcheck \
|
2010-06-14 18:17:56 +02:00
|
|
|
pg_archivecleanup \
|
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 \
|
2009-01-04 23:19:59 +01:00
|
|
|
pg_stat_statements \
|
2004-06-01 07:15:47 +02:00
|
|
|
pg_trgm \
|
2010-05-12 18:50:58 +02:00
|
|
|
pg_upgrade \
|
2010-05-13 03:03:01 +02:00
|
|
|
pg_upgrade_support \
|
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 \
|
2009-08-18 12:34:39 +02:00
|
|
|
unaccent \
|
2001-09-06 12:49:30 +02:00
|
|
|
vacuumlo
|
|
|
|
|
2006-09-04 17:07:46 +02:00
|
|
|
ifeq ($(with_openssl),yes)
|
2009-08-07 22:50:22 +02:00
|
|
|
SUBDIRS += sslinfo
|
2006-09-04 17:07:46 +02:00
|
|
|
endif
|
|
|
|
|
2007-04-21 19:26:18 +02:00
|
|
|
ifeq ($(with_ossp_uuid),yes)
|
2009-08-07 22:50:22 +02:00
|
|
|
SUBDIRS += uuid-ossp
|
2007-04-21 19:26:18 +02:00
|
|
|
endif
|
|
|
|
|
2007-04-15 14:48:24 +02:00
|
|
|
ifeq ($(with_libxml),yes)
|
2009-08-07 22:50:22 +02:00
|
|
|
SUBDIRS += xml2
|
2007-04-15 14:48:24 +02:00
|
|
|
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:
|
2009-08-07 22:50:22 +02:00
|
|
|
@for dir in $(SUBDIRS); do \
|
2001-09-06 12:49:30 +02:00
|
|
|
$(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:
|
2009-08-07 22:50:22 +02:00
|
|
|
@CHECKERR=0; for dir in $(SUBDIRS); do \
|
2004-12-14 23:50:23 +01:00
|
|
|
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
|
|
|
|
done; \
|
|
|
|
exit $$CHECKERR
|