summaryrefslogtreecommitdiff
path: root/src/interfaces/Makefile
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-08-17 03:50:43 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-08-17 03:50:43 +0000
commit93120330713916c28f87deb3466010b1f23a213e (patch)
treefc56a3e099f78a8f4d3b10a1c4fbfc1aba594099 /src/interfaces/Makefile
parent3fa676a74cd7f4e010610e1da1bf17395b1d05c7 (diff)
downloadpostgresql-93120330713916c28f87deb3466010b1f23a213e.tar.gz
Date: Sun, 16 Aug 1998 14:56:48 -0400
From: Tom Lane <tgl@sss.pgh.pa.us> Attached is a patch for this weekend's work on libpq. I've dealt with several issues: <for details: see message, in pgsql-patches archive for above data>
Diffstat (limited to 'src/interfaces/Makefile')
-rw-r--r--src/interfaces/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile
index 12b0306f08..5cb43e2c97 100644
--- a/src/interfaces/Makefile
+++ b/src/interfaces/Makefile
@@ -7,14 +7,21 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.10 1998/05/29 17:00:29 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.11 1998/08/17 03:50:19 scrappy Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ..
include $(SRCDIR)/Makefile.global
-.DEFAULT all:
+
+perl-makefile-dep :=
+ifeq ($(USE_PERL), true)
+ perl-makefile-dep := perl5/Makefile
+endif
+
+
+.DEFAULT all: $(perl-makefile-dep)
$(MAKE) -C libpq $@
# $(MAKE) -C ecpg $@
ifeq ($(HAVE_Cplusplus), true)
@@ -26,6 +33,8 @@ ifeq ($(USE_TCL), true)
$(MAKE) -C libpgtcl $@
endif
ifeq ($(USE_PERL), true)
- cd perl5 && perl Makefile.PL
$(MAKE) -C perl5 $@
endif
+
+perl5/Makefile: perl5/Makefile.PL
+ cd perl5 && perl Makefile.PL