]> granicus.if.org Git - postgresql/blob - contrib/Makefile
Remove unneed #include now that current_query() has moved to the backend.
[postgresql] / contrib / Makefile
1 # $PostgreSQL: pgsql/contrib/Makefile,v 1.82 2007/11/13 21:04:45 tgl Exp $
2
3 subdir = contrib
4 top_builddir = ..
5 include $(top_builddir)/src/Makefile.global
6
7 WANTED_DIRS = \
8                 adminpack       \
9                 btree_gist      \
10                 chkpass         \
11                 cube            \
12                 dblink          \
13                 dict_int        \
14                 dict_xsyn       \
15                 earthdistance   \
16                 fuzzystrmatch   \
17                 hstore          \
18                 intagg          \
19                 intarray        \
20                 isn             \
21                 lo              \
22                 ltree           \
23                 oid2name        \
24                 pageinspect     \
25                 pg_buffercache  \
26                 pg_freespacemap \
27                 pg_standby      \
28                 pg_trgm         \
29                 pgbench         \
30                 pgcrypto        \
31                 pgrowlocks      \
32                 pgstattuple     \
33                 seg             \
34                 spi             \
35                 tablefunc       \
36                 test_parser     \
37                 tsearch2        \
38                 vacuumlo
39
40 ifeq ($(with_openssl),yes)
41 WANTED_DIRS += sslinfo
42 endif
43
44 ifeq ($(with_ossp_uuid),yes)
45 WANTED_DIRS += uuid-ossp
46 endif
47
48 ifeq ($(with_libxml),yes)
49 ifeq ($(with_libxslt),yes)
50 WANTED_DIRS += xml2
51 endif
52 endif
53
54 # Missing:
55 #               start-scripts   \ (does not have a makefile)
56
57
58 all install installdirs uninstall distprep clean distclean maintainer-clean:
59         @for dir in $(WANTED_DIRS); do \
60                 $(MAKE) -C $$dir $@ || exit; \
61         done
62
63 # We'd like check operations to run all the subtests before failing.
64 check installcheck:
65         @CHECKERR=0; for dir in $(WANTED_DIRS); do \
66                 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
67         done; \
68         exit $$CHECKERR