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