1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 backend_sources += files(
6 # see ../parser/meson.build
7 boot_parser_sources = []
9 bootscanner = custom_target('bootscanner',
10 input: 'bootscanner.l',
11 output: 'bootscanner.c',
14 generated_sources += bootscanner
15 boot_parser_sources += bootscanner
17 bootparse = custom_target('bootparse',
21 generated_sources += bootparse.to_list()
22 boot_parser_sources += bootparse
24 boot_parser = static_library('boot_parser',
26 dependencies: [backend_code],
27 include_directories: include_directories('.'),
28 kwargs: internal_lib_args,
30 backend_link_with += boot_parser