OSDN Git Service

Add pgrowlocks
[pg-rex/syncrep.git] / contrib / Makefile
1 # $PostgreSQL: pgsql/contrib/Makefile,v 1.65 2006/04/23 02:17:59 ishii 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_freespacemap \
25                 pg_trgm         \
26                 pgbench         \
27                 pgcrypto        \
28                 pgrowlocks      \
29                 pgstattuple     \
30                 seg             \
31                 spi             \
32                 tablefunc       \
33                 tips            \
34                 tsearch2        \
35                 userlock        \
36                 vacuumlo
37
38 # Missing:
39 #               adddepend       \ (does not have a makefile)
40 #               mSQL-interface  \ (requires msql installed)
41 #               mac             \ (does not have a makefile)
42 #               start-scripts   \ (does not have a makefile)
43 #               xml2            \ (requires libxml installed)
44
45
46 all install installdirs uninstall distprep clean distclean maintainer-clean:
47         @for dir in $(WANTED_DIRS); do \
48                 $(MAKE) -C $$dir $@ || exit; \
49         done
50
51 # We'd like check operations to run all the subtests before failing;
52 # also insert a sleep to ensure the previous test backend exited before
53 # we try to drop the regression database.
54 check installcheck:
55         @CHECKERR=0; for dir in $(WANTED_DIRS); do \
56                 sleep 1; \
57                 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
58         done; \
59         exit $$CHECKERR