postgresql/src/pl/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

#-------------------------------------------------------------------------
#
# Makefile for src/pl (procedural languages)
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/pl/Makefile,v 1.25 2007/02/09 15:55:59 petere Exp $
#
#-------------------------------------------------------------------------
subdir = src/pl
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
DIRS = plpgsql
ifeq ($(with_perl), yes)
DIRS += plperl
endif
ifeq ($(with_python), yes)
DIRS += plpython
endif
2001-05-09 21:54:38 +02:00
ifeq ($(with_tcl), yes)
DIRS += tcl
endif
2007-01-20 18:16:17 +01:00
all install installdirs uninstall distprep:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
clean distclean maintainer-clean:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
# We'd like check operations to run all the subtests before failing;
# also insert a sleep to ensure the previous test backend exited before
# we try to drop the regression database.
check installcheck:
@CHECKERR=0; for dir in $(DIRS); do \
sleep 1; \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR