| 1 |
# contrib/postgres_fdw/Makefile |
| 2 |
|
| 3 |
MODULE_big = postgres_fdw |
| 4 |
OBJS = \ |
| 5 |
$(WIN32RES) \ |
| 6 |
connection.o \ |
| 7 |
deparse.o \ |
| 8 |
option.o \ |
| 9 |
postgres_fdw.o \ |
| 10 |
shippable.o |
| 11 |
PGFILEDESC = "postgres_fdw - foreign data wrapper for PostgreSQL" |
| 12 |
|
| 13 |
PG_CPPFLAGS = -I$(libpq_srcdir) |
| 14 |
SHLIB_LINK_INTERNAL = $(libpq) |
| 15 |
|
| 16 |
EXTENSION = postgres_fdw |
| 17 |
DATA = postgres_fdw--1.0.sql postgres_fdw--1.0--1.1.sql postgres_fdw--1.1--1.2.sql |
| 18 |
|
| 19 |
REGRESS = postgres_fdw query_cancel |
| 20 |
ISOLATION = eval_plan_qual |
| 21 |
ISOLATION_OPTS = --load-extension=postgres_fdw |
| 22 |
TAP_TESTS = 1 |
| 23 |
|
| 24 |
ifdef USE_PGXS |
| 25 |
PG_CONFIG = pg_config |
| 26 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 27 |
include $(PGXS) |
| 28 |
else |
| 29 |
SHLIB_PREREQS = submake-libpq |
| 30 |
subdir = contrib/postgres_fdw |
| 31 |
top_builddir = ../.. |
| 32 |
include $(top_builddir)/src/Makefile.global |
| 33 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 34 |
endif |