OSDN Git Service

Remove contrib version of pg_autovacuum --- superseded by integrated
[pg-rex/syncrep.git] / contrib / Makefile
1 # $PostgreSQL: pgsql/contrib/Makefile,v 1.60 2005/07/29 19:38:21 tgl Exp $
2
3 subdir = contrib
4 top_builddir = ..
5 include $(top_builddir)/src/Makefile.global
6
7 WANTED_DIRS = \
8                 btree_gist      \
9                 chkpass         \
10                 cube            \
11                 dbase           \
12                 dblink          \
13                 dbmirror        \
14                 earthdistance   \
15                 fulltextindex   \
16                 fuzzystrmatch   \
17                 intagg          \
18                 intarray        \
19                 isbn_issn       \
20                 lo              \
21                 ltree           \
22                 oid2name        \
23                 pg_buffercache  \
24                 pg_trgm         \
25                 pgbench         \
26                 pgcrypto        \
27                 pgstattuple     \
28                 seg             \
29                 spi             \
30                 tablefunc       \
31                 tips            \
32                 tsearch2        \
33                 userlock        \
34                 vacuumlo
35
36 # Missing:
37 #               adddepend       \ (does not have a makefile)
38 #               mSQL-interface  \ (requires msql installed)
39 #               mac             \ (does not have a makefile)
40 #               oracle          \ (does not have a makefile)
41 #               start-scripts   \ (does not have a makefile)
42 #               xml2            \ (non-standard makefile)
43
44
45 all install installdirs uninstall clean distclean maintainer-clean:
46         @for dir in $(WANTED_DIRS); do \
47                 $(MAKE) -C $$dir $@ || exit; \
48         done
49
50 # We'd like check operations to run all the subtests before failing;
51 # also insert a sleep to ensure the previous test backend exited before
52 # we try to drop the regression database.
53 check installcheck:
54         @CHECKERR=0; for dir in $(WANTED_DIRS); do \
55                 sleep 1; \
56                 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
57         done; \
58         exit $$CHECKERR