ecpg requires libpq; add Makefile rules to require libpq to be built
first. Alvaro Herrera
This commit is contained in:
parent
952fe78a05
commit
e795b56322
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user