1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00
Files
postgres/src/backend/replication/meson.build
Bruce Momjian c8e1ba736b Update copyright for 2023
Backpatch-through: 11
2023-01-02 15:00:37 -05:00

54 lines
1.2 KiB
Meson

# Copyright (c) 2022-2023, 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')