| 1 |
# contrib/dblink/Makefile |
| 2 |
|
| 3 |
MODULE_big = dblink |
| 4 |
OBJS = \ |
| 5 |
$(WIN32RES) \ |
| 6 |
dblink.o |
| 7 |
PG_CPPFLAGS = -I$(libpq_srcdir) |
| 8 |
SHLIB_LINK_INTERNAL = $(libpq) |
| 9 |
|
| 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" |
| 13 |
|
| 14 |
REGRESS = dblink |
| 15 |
REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress |
| 16 |
TAP_TESTS = 1 |
| 17 |
|
| 18 |
ifdef USE_PGXS |
| 19 |
PG_CONFIG = pg_config |
| 20 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 21 |
include $(PGXS) |
| 22 |
else |
| 23 |
SHLIB_PREREQS = submake-libpq |
| 24 |
subdir = contrib/dblink |
| 25 |
top_builddir = ../.. |
| 26 |
include $(top_builddir)/src/Makefile.global |
| 27 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 28 |
endif |