diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:44:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:44:03 +0000 |
commit | 293913568e6a7a86fd1479e1cff8e2ecb58d6568 (patch) | |
tree | fc3b469a3ec5ab71b36ea97cc7aaddb838423a0c /src/fe_utils/meson.build | |
parent | Initial commit. (diff) | |
download | postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.tar.xz postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.zip |
Adding upstream version 16.2.upstream/16.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fe_utils/meson.build')
-rw-r--r-- | src/fe_utils/meson.build | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/fe_utils/meson.build b/src/fe_utils/meson.build new file mode 100644 index 0000000..ea96e86 --- /dev/null +++ b/src/fe_utils/meson.build @@ -0,0 +1,33 @@ +# Copyright (c) 2022-2023, PostgreSQL Global Development Group + +fe_utils_sources = files( + 'archive.c', + 'cancel.c', + 'conditional.c', + 'connect_utils.c', + 'mbprint.c', + 'option_utils.c', + 'parallel_slot.c', + 'print.c', + 'query_utils.c', + 'recovery_gen.c', + 'simple_list.c', + 'string_utils.c', +) + +psqlscan = custom_target('psqlscan', + input: 'psqlscan.l', + output: 'psqlscan.c', + command: [flex_cmd, '--no-backup', '--fix-warnings', '--', '-Cfe', '-p', '-p'], +) +generated_sources += psqlscan +fe_utils_sources += psqlscan + +fe_utils = static_library('libpgfeutils', + fe_utils_sources + generated_headers, + c_pch: pch_postgres_fe_h, + include_directories: [postgres_inc, libpq_inc], + c_args: host_system == 'windows' ? ['-DFD_SETSIZE=1024'] : [], + dependencies: frontend_common_code, + kwargs: default_lib_args, +) |