]> granicus.if.org Git - postgresql/commitdiff
ecpg requires libpq; add Makefile rules to require libpq to be built
authorBruce Momjian <bruce@momjian.us>
Sat, 7 Feb 2009 17:17:34 +0000 (17:17 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 7 Feb 2009 17:17:34 +0000 (17:17 +0000)
first.

Alvaro Herrera

src/interfaces/ecpg/ecpglib/Makefile

index 9d167ad1e960ad0719f16619250e0e186d32280d..d4f614e53c416f4848489d6223500647191af34a 100644 (file)
@@ -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