2000-06-27 02:32:06 +02:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile for src/pl (procedural languages)
|
|
|
|
#
|
|
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
|
|
#
|
2008-03-18 17:24:50 +01:00
|
|
|
# $PostgreSQL: pgsql/src/pl/Makefile,v 1.27 2008/03/18 16:24:50 petere Exp $
|
2000-06-27 02:32:06 +02:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
subdir = src/pl
|
|
|
|
top_builddir = ../..
|
2000-08-31 18:12:35 +02:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2000-06-27 02:32:06 +02:00
|
|
|
|
2007-02-09 16:56:00 +01:00
|
|
|
DIRS = plpgsql
|
2000-06-27 02:32:06 +02:00
|
|
|
|
2000-10-24 21:31:13 +02:00
|
|
|
ifeq ($(with_perl), yes)
|
2000-10-24 19:03:46 +02:00
|
|
|
DIRS += plperl
|
2000-10-24 21:31:13 +02:00
|
|
|
endif
|
2000-06-27 02:32:06 +02:00
|
|
|
|
2001-08-27 02:29:49 +02:00
|
|
|
ifeq ($(with_python), yes)
|
|
|
|
DIRS += plpython
|
|
|
|
endif
|
2001-05-09 21:54:38 +02:00
|
|
|
|
2005-05-14 19:55:22 +02:00
|
|
|
ifeq ($(with_tcl), yes)
|
|
|
|
DIRS += tcl
|
|
|
|
endif
|
|
|
|
|
2008-03-18 17:24:50 +01:00
|
|
|
all install installdirs uninstall distprep clean distclean maintainer-clean:
|
|
|
|
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
|
2005-05-14 19:55:22 +02:00
|
|
|
|
2007-06-01 21:38:07 +02:00
|
|
|
# We'd like check operations to run all the subtests before failing.
|
2005-05-14 19:55:22 +02:00
|
|
|
check installcheck:
|
|
|
|
@CHECKERR=0; for dir in $(DIRS); do \
|
|
|
|
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
|
|
|
|
done; \
|
|
|
|
exit $$CHECKERR
|