| 1 |
# Copyright (c) 2022-2025, PostgreSQL Global Development Group |
| 2 |
|
| 3 |
backend_sources += files( |
| 4 |
'backend_progress.c', |
| 5 |
'backend_status.c', |
| 6 |
'pgstat.c', |
| 7 |
'pgstat_archiver.c', |
| 8 |
'pgstat_backend.c', |
| 9 |
'pgstat_bgwriter.c', |
| 10 |
'pgstat_checkpointer.c', |
| 11 |
'pgstat_database.c', |
| 12 |
'pgstat_function.c', |
| 13 |
'pgstat_io.c', |
| 14 |
'pgstat_relation.c', |
| 15 |
'pgstat_replslot.c', |
| 16 |
'pgstat_shmem.c', |
| 17 |
'pgstat_slru.c', |
| 18 |
'pgstat_subscription.c', |
| 19 |
'pgstat_wal.c', |
| 20 |
'pgstat_xact.c', |
| 21 |
) |
| 22 |
|
| 23 |
# this includes a .c file with contents generated in ../../../include/activity, |
| 24 |
# seems nicer to not add that as an include path for the whole backend. |
| 25 |
waitevent_sources = files( |
| 26 |
'wait_event.c', |
| 27 |
'wait_event_funcs.c', |
| 28 |
) |
| 29 |
|
| 30 |
wait_event = static_library('wait_event_names', |
| 31 |
waitevent_sources, |
| 32 |
dependencies: [backend_code], |
| 33 |
kwargs: internal_lib_args, |
| 34 |
) |
| 35 |
|
| 36 |
backend_link_with += wait_event |