]> granicus.if.org Git - postgresql/blob - src/pl/Makefile
Makefile cleanup for bin and pl subtrees. They should now support
[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.9 2000/06/27 00:31:48 petere Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/pl
12 top_builddir = ../..
13 include ../Makefile.global
14
15 DIRS := plpgsql
16
17 ifeq ($(USE_TCL), true)
18 DIRS += tcl
19 endif
20
21 # Disabled because it doesn't work
22 #ifeq ($(with_perl), yes)
23 #       $(MAKE) -C plperl $@
24 #endif
25
26 ALLDIRS := plpgsql tcl plperl
27
28
29 all install installdirs uninstall depend:
30         @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
31
32 clean:
33         @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
34
35 distclean maintainer-clean:
36         @for dir in $(ALLDIRS); do $(MAKE) -C $$dir $@; done