From e795b56322a1e61c94b025065e706e287f758407 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Sat, 7 Feb 2009 17:17:34 +0000 Subject: [PATCH] ecpg requires libpq; add Makefile rules to require libpq to be built first. Alvaro Herrera --- src/interfaces/ecpg/ecpglib/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile index 9d167ad1e96..d4f614e53c4 100644 --- a/src/interfaces/ecpg/ecpglib/Makefile +++ b/src/interfaces/ecpg/ecpglib/Makefile @@ -5,7 +5,7 @@ # Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.62 2009/01/14 14:54:35 petere Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.63 2009/02/07 17:17:34 momjian Exp $ # #------------------------------------------------------------------------- @@ -42,7 +42,13 @@ ifeq ($(PORTNAME), win32) SHLIB_LINK += -lshfolder endif -all: all-lib +all: libpq pgtypeslib all-lib + +libpq: + $(MAKE) -C $(top_builddir)/src/interfaces/libpq all + +pgtypeslib: + $(MAKE) -C $(top_builddir)/src/interfaces/ecpg/pgtypeslib all # Shared library stuff include $(top_srcdir)/src/Makefile.shlib -- GitLab