]> granicus.if.org Git - postgresql/blob - contrib/Makefile
Add EmitWarningsOnPlaceholders calls to contrib modules that are likely to
[postgresql] / contrib / Makefile
1 # $PostgreSQL: pgsql/contrib/Makefile,v 1.86 2009/01/04 22:19:59 tgl Exp $
2
3 subdir = contrib
4 top_builddir = ..
5 include $(top_builddir)/src/Makefile.global
6
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
42
43 ifeq ($(with_openssl),yes)
44 WANTED_DIRS += sslinfo
45 endif
46
47 ifeq ($(with_ossp_uuid),yes)
48 WANTED_DIRS += uuid-ossp
49 endif
50
51 ifeq ($(with_libxml),yes)
52 WANTED_DIRS += xml2
53 endif
54
55 # Missing:
56 #               start-scripts   \ (does not have a makefile)
57
58
59 all install installdirs uninstall distprep clean distclean maintainer-clean:
60         @for dir in $(WANTED_DIRS); do \
61                 $(MAKE) -C $$dir $@ || exit; \
62         done
63
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