1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00
Files
postgres/src/backend/replication/meson.build
Bruce Momjian 29275b1d17 Update copyright for 2024
Reported-by: Michael Paquier

Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz

Backpatch-through: 12
2024-01-03 20:49:05 -05:00

54 lines
1.2 KiB
Meson

# Copyright (c) 2022-2024, PostgreSQL Global Development Group
backend_sources += files(
'slot.c',
'slotfuncs.c',
'syncrep.c',
'walreceiver.c',
'walreceiverfuncs.c',
'walsender.c',
)
# see ../parser/meson.build
repl_parser_sources = []
repl_scanner = custom_target('repl_scanner',
input: 'repl_scanner.l',
output: 'repl_scanner.c',
command: flex_cmd,
)
generated_sources += repl_scanner
repl_parser_sources += repl_scanner
repl_gram = custom_target('repl_gram',
input: 'repl_gram.y',
kwargs: bison_kw,
)
generated_sources += repl_gram.to_list()
repl_parser_sources += repl_gram
syncrep_scanner = custom_target('syncrep_scanner',
input: 'syncrep_scanner.l',
output: 'syncrep_scanner.c',
command: flex_cmd,
)
generated_sources += syncrep_scanner
repl_parser_sources += syncrep_scanner
syncrep_gram = custom_target('syncrep_gram',
input: 'syncrep_gram.y',
kwargs: bison_kw,
)
generated_sources += syncrep_gram.to_list()
repl_parser_sources += syncrep_gram
repl_parser = static_library('repl_parser',
repl_parser_sources,
dependencies: [backend_code],
include_directories: include_directories('.'),
kwargs: internal_lib_args,
)
backend_link_with += repl_parser
subdir('logical')