MODULE_big = nominatim_fdw OBJS = nominatim_fdw.o EXTENSION = nominatim_fdw DATA = nominatim_fdw--2.0.sql \ nominatim_fdw--1.3--2.0.sql \ nominatim_fdw--1.2--1.3.sql \ nominatim_fdw--1.1--1.2.sql \ nominatim_fdw--1.0--1.1.sql \ nominatim_fdw--1.0.sql REGRESS = create-extension version upgrade create-user-mapping create-server exceptions functions ifndef SKIP_PROXY_TESTS REGRESS += proxy endif CURL_CONFIG = curl-config XML2_CONFIG = xml2-config PG_CONFIG = pg_config PG_CPPFLAGS += $(shell $(CURL_CONFIG) --cflags) \ $(shell $(XML2_CONFIG) --cflags) \ -DNOMINATIM_FDW_CC="\"$(CC)\"" \ -DNOMINATIM_FDW_BUILD_DATE="\"$(shell date -u +'%Y-%m-%d %H:%M:%S UTC')\"" LIBS += $(shell $(CURL_CONFIG) --libs) SHLIB_LINK := $(LIBS) PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS)