]> granicus.if.org Git - postgresql/blob - src/pl/Makefile
Turn on plpython build by default if we have something that looks like a
[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 # $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.21 2001/08/27 00:29:49 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_tcl), yes)
18 DIRS += tcl
19 endif
20
21 ifeq ($(with_perl), yes)
22 DIRS += plperl
23 endif
24
25 ifeq ($(with_python), yes)
26 DIRS += plpython
27 endif
28
29 all install installdirs uninstall depend distprep:
30         @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
31
32 clean distclean maintainer-clean:
33         @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done