MODULE_big = oai_fdw
OBJS = oai_fdw.o

EXTENSION = oai_fdw
DATA = oai_fdw--1.12.sql oai_fdw--1.11.sql oai_fdw--1.10--1.11.sql oai_fdw--1.11--1.12.sql
REGRESS = create-extension upgrade create_server import_foreign_schema create_foreign_table select_statements exceptions functions harvest

CURL_CONFIG = curl-config
PG_CONFIG = pg_config

CFLAGS += $(shell $(CURL_CONFIG) --cflags)
LIBS += $(shell $(CURL_CONFIG) --libs)
SHLIB_LINK := $(LIBS)

PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)