# Test-only module for t/015_oat_hook_chain.pl; built by the top-level # make installcheck and loaded from this directory, never installed. MODULES = oat_observer # PostgreSQL's release-build headers have inline functions whose parameters # are used only under assertions, so unused parameters are not errors. PG_CFLAGS = -Wall -Wextra -Wno-unused-parameter # Warnings are errors only on request (make WERROR=1), so that a compiler # with warnings this code has not met still builds it. ifdef WERROR PG_CFLAGS += -Werror endif PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS)