From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- contrib/dblink/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 contrib/dblink/Makefile (limited to 'contrib/dblink/Makefile') diff --git a/contrib/dblink/Makefile b/contrib/dblink/Makefile new file mode 100644 index 0000000..d4c7ed6 --- /dev/null +++ b/contrib/dblink/Makefile @@ -0,0 +1,27 @@ +# contrib/dblink/Makefile + +MODULE_big = dblink +OBJS = \ + $(WIN32RES) \ + dblink.o +PG_CPPFLAGS = -I$(libpq_srcdir) +SHLIB_LINK_INTERNAL = $(libpq) + +EXTENSION = dblink +DATA = dblink--1.2.sql dblink--1.1--1.2.sql dblink--1.0--1.1.sql +PGFILEDESC = "dblink - connect to other PostgreSQL databases" + +REGRESS = dblink +REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress + +ifdef USE_PGXS +PG_CONFIG = pg_config +PGXS := $(shell $(PG_CONFIG) --pgxs) +include $(PGXS) +else +SHLIB_PREREQS = submake-libpq +subdir = contrib/dblink +top_builddir = ../.. +include $(top_builddir)/src/Makefile.global +include $(top_srcdir)/contrib/contrib-global.mk +endif -- cgit v1.2.3