]> granicus.if.org Git - postgresql/blob - src/pl/Makefile
Improve the recently-added support for properly pluralized error messages
[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.27 2008/03/18 16:24:50 petere 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 clean distclean maintainer-clean:
30         @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
31
32 # We'd like check operations to run all the subtests before failing.
33 check installcheck:
34         @CHECKERR=0; for dir in $(DIRS); do \
35                 $(MAKE) -C $$dir $@ || CHECKERR=$$?; \
36         done; \
37         exit $$CHECKERR