mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 11:43:24 +02:00
an earlier discussion. Centralize assumptions about what libpq depends on in one place in Makefile.global. I am unconvinced that this list is complete, but since ecpg seems to have gotten along with just these entries, we'll try it this way and see what happens.
23 lines
481 B
Makefile
23 lines
481 B
Makefile
# $PostgreSQL: pgsql/contrib/dblink/Makefile,v 1.13 2006/09/10 22:07:02 tgl Exp $
|
|
|
|
MODULE_big = dblink
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
OBJS = dblink.o
|
|
SHLIB_LINK = $(libpq)
|
|
|
|
DATA_built = dblink.sql
|
|
DATA = uninstall_dblink.sql
|
|
DOCS = README.dblink
|
|
REGRESS = dblink
|
|
|
|
|
|
ifdef USE_PGXS
|
|
PGXS := $(shell pg_config --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/dblink
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|