meson: Add basic PGXS compatibility

Enterprise / PostgreSQL - Andres Freund [anarazel.de] - 7 December 2022 02:56 UTC

Generate a Makefile.global that's complete enough for PGXS to work for some extensions. It is likely that this compatibility layer will not suffice for every extension and not all platforms - we can expand it over time.

This allows extensions to use a single buildsystem across all the supported postgres versions. Once all supported PG versions support meson, we can remove the compatibility layer.

5bdd0cfb91 meson: Add basic PGXS compatibility
meson.build | 8 +-
meson_options.txt | 3 +
src/common/meson.build | 4 +-
src/include/meson.build | 10 +-
src/makefiles/meson.build | 260 ++++++++++++++++++++++++++++++++++++++++++++++
src/meson.build | 37 +++++++
6 files changed, 311 insertions(+), 11 deletions(-)

Upstream: git.postgresql.org


  • Share