aboutsummaryrefslogtreecommitdiff
path: root/src/pl/Makefile
blob: d20104e23b3abdd52e5e61a653ddc192b118979a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for src/pl (procedural languages)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.6 2000/03/27 22:39:13 momjian Exp $
#
#-------------------------------------------------------------------------

SRCDIR= ..
include $(SRCDIR)/Makefile.global


.DEFAULT all install clean dep depend distclean:
	$(MAKE) -C plpgsql $@
ifeq ($(USE_TCL), true)
	$(MAKE) -C tcl $@
endif
ifeq ($(USE_PERL), true)
	-$(MAKE) $(MFLAGS) plperl/Makefile
	-$(MAKE) $(MFLAGS) -C plperl $@
endif

plperl/Makefile: plperl/Makefile.PL
	cd plperl && $(PERL) Makefile.PL POLLUTE=1