1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 lwlocknames_h = custom_target('lwlocknames_h',
5 '../../include/storage/lwlocklist.h',
6 '../../backend/utils/activity/wait_event_names.txt'),
7 output: ['lwlocknames.h'],
9 perl, files('../../backend/storage/lmgr/generate-lwlocknames.pl'),
13 build_by_default: true,
15 install_dir: dir_include_server / 'storage',
18 generated_backend_headers += lwlocknames_h
20 # autoconf generates the file there, ensure we get a conflict
21 generated_sources_ac += {'src/backend/storage/lmgr': ['lwlocknames.h']}