# Makefile for pg_synonym, using PGXS (the PostgreSQL extension build system). # # make build # sudo make install install into the PostgreSQL found by pg_config # make installcheck run the regression tests against a running server # # To build against a specific PostgreSQL version: # make PG_CONFIG=/usr/lib/postgresql/17/bin/pg_config EXTENSION = pg_synonym MODULE_big = pg_synonym OBJS = src/pg_synonym.o DATA = pg_synonym--1.0.sql PGFILEDESC = "pg_synonym - synonyms for PostgreSQL" REGRESS = basic dml target_changes late_binding security REGRESS_OPTS = --inputdir=test --outputdir=test PG_CONFIG ?= pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS)