]> granicus.if.org Git - postgresql/blob - contrib/Makefile
Fix some pgcrypto portability issues, per Marko Kreen.
[postgresql] / contrib / Makefile
1 # $PostgreSQL: pgsql/contrib/Makefile,v 1.66 2006/05/30 13:25:57 momjian 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                 dbase           \
13                 dblink          \
14                 dbmirror        \
15                 earthdistance   \
16                 fulltextindex   \
17                 fuzzystrmatch   \
18                 intagg          \
19                 intarray        \
20                 isbn_issn       \
21                 lo              \
22                 ltree           \
23                 oid2name        \
24                 pg_buffercache  \
25                 pg_freespacemap \
26                 pg_trgm         \
27                 pgbench         \
28                 pgcrypto        \
29                 pgrowlocks      \
30                 pgstattuple     \
31                 seg             \
32                 spi             \
33                 tablefunc       \
34                 tips            \
35                 tsearch2        \
36                 userlock        \
37                 vacuumlo
38
39 # Missing:
40 #               adddepend       \ (does not have a makefile)
41 #               mSQL-interface  \ (requires msql installed)
42 #               mac             \ (does not have a makefile)
43 #               start-scripts   \ (does not have a makefile)
44 #               xml2            \ (requires libxml installed)
45
46
47 all install installdirs uninstall distprep clean distclean maintainer-clean:
48         @for dir in $(WANTED_DIRS); do \
49                 $(MAKE) -C $$dir $@ || exit; \
50         done
51
52 # We'd like check operations to run all the subtests before failing;
53 # also insert a sleep to ensure the previous test backend exited before
54 # we try to drop the regression database.
55 check installcheck:
56         @CHECKERR=0; for dir in $(WANTED_DIRS); do \
57                 sleep 1; \
58                 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
59         done; \
60         exit $$CHECKERR