1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
3 basebackup_to_shell_sources = files(
4 'basebackup_to_shell.c',
7 if host_system == 'windows'
8 basebackup_to_shell_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'basebackup_to_shell',
10 '--FILEDESC', 'basebackup_to_shell - target basebackup to shell command',])
13 basebackup_to_shell = shared_module('basebackup_to_shell',
14 basebackup_to_shell_sources,
15 kwargs: contrib_mod_args,
17 contrib_targets += basebackup_to_shell
20 'name': 'basebackup_to_shell',
21 'sd': meson.current_source_dir(),
22 'bd': meson.current_build_dir(),
27 'env': {'GZIP_PROGRAM': gzip.found() ? gzip.path() : '',
28 'TAR': tar.found() ? tar.path() : '' },