README: remove duplicate download link & mention related softw.
[pgsql.git] / contrib / dblink / Makefile
blobd4c7ed625ab6ce1205cf86225e7c83b025c8d49e
1 # contrib/dblink/Makefile
3 MODULE_big = dblink
4 OBJS = \
5 $(WIN32RES) \
6 dblink.o
7 PG_CPPFLAGS = -I$(libpq_srcdir)
8 SHLIB_LINK_INTERNAL = $(libpq)
10 EXTENSION = dblink
11 DATA = dblink--1.2.sql dblink--1.1--1.2.sql dblink--1.0--1.1.sql
12 PGFILEDESC = "dblink - connect to other PostgreSQL databases"
14 REGRESS = dblink
15 REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress
17 ifdef USE_PGXS
18 PG_CONFIG = pg_config
19 PGXS := $(shell $(PG_CONFIG) --pgxs)
20 include $(PGXS)
21 else
22 SHLIB_PREREQS = submake-libpq
23 subdir = contrib/dblink
24 top_builddir = ../..
25 include $(top_builddir)/src/Makefile.global
26 include $(top_srcdir)/contrib/contrib-global.mk
27 endif