| 1 |
# Copyright (c) 2022-2025, PostgreSQL Global Development Group |
| 2 |
|
| 3 |
backend_sources += files( |
| 4 |
'conffiles.c', |
| 5 |
'guc.c', |
| 6 |
'guc_funcs.c', |
| 7 |
'guc_tables.c', |
| 8 |
'help_config.c', |
| 9 |
'injection_point.c', |
| 10 |
'pg_config.c', |
| 11 |
'pg_controldata.c', |
| 12 |
'pg_rusage.c', |
| 13 |
'ps_status.c', |
| 14 |
'queryenvironment.c', |
| 15 |
'rls.c', |
| 16 |
'sampling.c', |
| 17 |
'stack_depth.c', |
| 18 |
'superuser.c', |
| 19 |
'timeout.c', |
| 20 |
'tzparser.c', |
| 21 |
) |
| 22 |
|
| 23 |
guc_scan = custom_target('guc_scan', |
| 24 |
input: 'guc-file.l', |
| 25 |
output: 'guc-file.c', |
| 26 |
command: flex_cmd) |
| 27 |
generated_sources += guc_scan |
| 28 |
|
| 29 |
# so we don't need to add . as an include dir for the whole backend |
| 30 |
backend_link_with += static_library('guc-file', |
| 31 |
guc_scan, |
| 32 |
dependencies: [backend_code], |
| 33 |
include_directories: include_directories('.'), |
| 34 |
kwargs: internal_lib_args, |
| 35 |
) |
| 36 |
|
| 37 |
install_data('postgresql.conf.sample', |
| 38 |
install_dir: dir_data, |
| 39 |
) |