1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

ecpg requires libpq; add Makefile rules to require libpq to be built

first.

Alvaro Herrera
This commit is contained in:
Bruce Momjian
2009-02-07 17:17:34 +00:00
parent 952fe78a05
commit e795b56322

View File

@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group # Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California # 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 SHLIB_LINK += -lshfolder
endif 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 # Shared library stuff
include $(top_srcdir)/src/Makefile.shlib include $(top_srcdir)/src/Makefile.shlib