]> granicus.if.org Git - postgresql/blob - src/pl/Makefile
Make CREATE/DROP/RENAME DATABASE wait a little bit to see if other backends
[postgresql] / src / pl / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for src/pl (procedural languages)
4 #
5 # Copyright (c) 1994, Regents of the University of California
6 #
7 # $PostgreSQL: pgsql/src/pl/Makefile,v 1.26 2007/06/01 19:38:07 tgl Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/pl
12 top_builddir = ../..
13 include $(top_builddir)/src/Makefile.global
14
15 DIRS = plpgsql
16
17 ifeq ($(with_perl), yes)
18 DIRS += plperl
19 endif
20
21 ifeq ($(with_python), yes)
22 DIRS += plpython
23 endif
24
25 ifeq ($(with_tcl), yes)
26 DIRS += tcl
27 endif
28
29 all install installdirs uninstall distprep:
30         @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
31
32 clean distclean maintainer-clean:
33         @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
34
35 # We'd like check operations to run all the subtests before failing.
36 check installcheck:
37         @CHECKERR=0; for dir in $(DIRS); do \
38                 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
39         done; \
40         exit $$CHECKERR