]> granicus.if.org Git - postgresql/blob - contrib/Makefile
I've written on like that a while ago:
[postgresql] / contrib / Makefile
1 # $Header: /cvsroot/pgsql/contrib/Makefile,v 1.31 2002/02/22 23:05:34 momjian Exp $
2
3 subdir = contrib
4 top_builddir = ..
5 include $(top_builddir)/src/Makefile.global
6
7 WANTED_DIRS = \
8                 array           \
9                 btree_gist      \
10                 chkpass         \
11                 cube            \
12                 dbase           \
13                 dblink          \
14                 dbsize          \
15                 earthdistance   \
16                 findoidjoins    \
17                 fulltextindex   \
18                 fuzzystrmatch   \
19                 intarray        \
20                 isbn_issn       \
21                 lo              \
22                 miscutil        \
23                 noupdate        \
24                 oid2name        \
25                 pg_controldata  \
26                 pg_dumplo       \
27                 pg_logger       \
28                 pg_resetxlog    \
29                 pgbench         \
30                 pgcrypto        \
31                 pgstattuple     \
32                 rserv           \
33                 rtree_gist      \
34                 seg             \
35                 spi             \
36                 string          \
37                 tips            \
38                 tsearch         \
39                 userlock        \
40                 vacuumlo
41
42 ifeq ($(with_java),yes)
43 WANTED_DIRS += retep
44 endif
45
46 # Missing:
47 #               ipc_check       \ (does not have a makefile)
48 #               mSQL-interface  \ (requires msql installed)
49 #               mac             \ (does not have a makefile)
50 #               mysql           \ (does not have a makefile)
51 #               oracle          \ (does not have a makefile)
52 #               start-scripts   \ (does not have a makefile)
53 #               tools           \ (does not have a makefile)
54 #               xml             \ (non-standard makefile)
55
56
57 all install installdirs uninstall clean distclean maintainer-clean check installcheck:
58         @for dir in $(WANTED_DIRS); do \
59                 $(MAKE) -C $$dir $@ || exit; \
60         done