When archiving is enabled, rotate the last WAL segment at shutdown so that
[PostgreSQL.git] / contrib / Makefile
blob738a28a63ade82ceed10d37c8eae1dba8a311fb5
1 # $PostgreSQL$
3 subdir = contrib
4 top_builddir = ..
5 include $(top_builddir)/src/Makefile.global
7 WANTED_DIRS = \
8 adminpack \
9 auto_explain \
10 btree_gin \
11 btree_gist \
12 chkpass \
13 citext \
14 cube \
15 dblink \
16 dict_int \
17 dict_xsyn \
18 earthdistance \
19 fuzzystrmatch \
20 hstore \
21 intagg \
22 intarray \
23 isn \
24 lo \
25 ltree \
26 oid2name \
27 pageinspect \
28 pg_buffercache \
29 pg_freespacemap \
30 pg_standby \
31 pg_stat_statements \
32 pg_trgm \
33 pgbench \
34 pgcrypto \
35 pgrowlocks \
36 pgstattuple \
37 seg \
38 spi \
39 tablefunc \
40 test_parser \
41 tsearch2 \
42 vacuumlo
44 ifeq ($(with_openssl),yes)
45 WANTED_DIRS += sslinfo
46 endif
48 ifeq ($(with_ossp_uuid),yes)
49 WANTED_DIRS += uuid-ossp
50 endif
52 ifeq ($(with_libxml),yes)
53 WANTED_DIRS += xml2
54 endif
56 # Missing:
57 # start-scripts \ (does not have a makefile)
60 all install installdirs uninstall distprep clean distclean maintainer-clean:
61 @for dir in $(WANTED_DIRS); do \
62 $(MAKE) -C $$dir $@ || exit; \
63 done
65 # We'd like check operations to run all the subtests before failing.
66 check installcheck:
67 @CHECKERR=0; for dir in $(WANTED_DIRS); do \
68 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
69 done; \
70 exit $$CHECKERR