]> granicus.if.org Git - postgresql/blobdiff - src/pl/Makefile
Some more FLEXIBLE_ARRAY_MEMBER fixes.
[postgresql] / src / pl / Makefile
index 64882e99bc93949f85be682c86491bc89de44dc5..c4a0d1cd07abdef10d3dec960415bbfc49790e8f 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.20 2001/05/12 01:30:30 petere Exp $
+# src/pl/Makefile
 #
 #-------------------------------------------------------------------------
 
@@ -12,23 +12,25 @@ subdir = src/pl
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
-DIRS := plpgsql
-
-ifeq ($(with_tcl), yes)
-DIRS += tcl
-endif
+SUBDIRS = plpgsql
 
 ifeq ($(with_perl), yes)
-DIRS += plperl
+SUBDIRS += plperl
+else
+ALWAYS_SUBDIRS += plperl
 endif
 
-# Doesn't build portably yet.
-#ifeq ($(with_python), yes)
-#DIRS += plpython
-#endif
+ifeq ($(with_python), yes)
+SUBDIRS += plpython
+else
+ALWAYS_SUBDIRS += plpython
+endif
 
-all install installdirs uninstall depend distprep:
-       @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done
+ifeq ($(with_tcl), yes)
+SUBDIRS += tcl
+else
+ALWAYS_SUBDIRS += tcl
+endif
 
-clean distclean maintainer-clean:
-       @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done
+$(recurse)
+$(recurse_always)