Fix UNLISTEN to fall out quickly if the current backend has never executed
[PostgreSQL.git] / contrib / Makefile
blob122143f0180b1b317a993e5dae868ae1262e8419
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_gist \
11 chkpass \
12 citext \
13 cube \
14 dblink \
15 dict_int \
16 dict_xsyn \
17 earthdistance \
18 fuzzystrmatch \
19 hstore \
20 intagg \
21 intarray \
22 isn \
23 lo \
24 ltree \
25 oid2name \
26 pageinspect \
27 pg_buffercache \
28 pg_freespacemap \
29 pg_standby \
30 pg_stat_statements \
31 pg_trgm \
32 pgbench \
33 pgcrypto \
34 pgrowlocks \
35 pgstattuple \
36 seg \
37 spi \
38 tablefunc \
39 test_parser \
40 tsearch2 \
41 vacuumlo
43 ifeq ($(with_openssl),yes)
44 WANTED_DIRS += sslinfo
45 endif
47 ifeq ($(with_ossp_uuid),yes)
48 WANTED_DIRS += uuid-ossp
49 endif
51 ifeq ($(with_libxml),yes)
52 WANTED_DIRS += xml2
53 endif
55 # Missing:
56 # start-scripts \ (does not have a makefile)
59 all install installdirs uninstall distprep clean distclean maintainer-clean:
60 @for dir in $(WANTED_DIRS); do \
61 $(MAKE) -C $$dir $@ || exit; \
62 done
64 # We'd like check operations to run all the subtests before failing.
65 check installcheck:
66 @CHECKERR=0; for dir in $(WANTED_DIRS); do \
67 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
68 done; \
69 exit $$CHECKERR