Fix pg_dump bug in the database-level collation patch. "datcollate" and
[PostgreSQL.git] / contrib / Makefile
blob30f75c72e95f785d00c030a7cc3253e24949cb97
1 # $PostgreSQL$
3 subdir = contrib
4 top_builddir = ..
5 include $(top_builddir)/src/Makefile.global
7 WANTED_DIRS = \
8 adminpack \
9 btree_gist \
10 chkpass \
11 citext \
12 cube \
13 dblink \
14 dict_int \
15 dict_xsyn \
16 earthdistance \
17 fuzzystrmatch \
18 hstore \
19 intagg \
20 intarray \
21 isn \
22 lo \
23 ltree \
24 oid2name \
25 pageinspect \
26 pg_buffercache \
27 pg_freespacemap \
28 pg_standby \
29 pg_trgm \
30 pgbench \
31 pgcrypto \
32 pgrowlocks \
33 pgstattuple \
34 seg \
35 spi \
36 tablefunc \
37 test_parser \
38 tsearch2 \
39 vacuumlo
41 ifeq ($(with_openssl),yes)
42 WANTED_DIRS += sslinfo
43 endif
45 ifeq ($(with_ossp_uuid),yes)
46 WANTED_DIRS += uuid-ossp
47 endif
49 ifeq ($(with_libxml),yes)
50 WANTED_DIRS += xml2
51 endif
53 # Missing:
54 # start-scripts \ (does not have a makefile)
57 all install installdirs uninstall distprep clean distclean maintainer-clean:
58 @for dir in $(WANTED_DIRS); do \
59 $(MAKE) -C $$dir $@ || exit; \
60 done
62 # We'd like check operations to run all the subtests before failing.
63 check installcheck:
64 @CHECKERR=0; for dir in $(WANTED_DIRS); do \
65 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
66 done; \
67 exit $$CHECKERR