]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/coredump/meson.build
Merge pull request #7379 from yuwata/follow-up-7309
[thirdparty/systemd.git] / src / coredump / meson.build
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # Copyright 2017 Zbigniew Jędrzejewski-Szmek
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9 #
10 # systemd is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
17
18 systemd_coredump_sources = files('''
19 coredump.c
20 coredump-vacuum.c
21 coredump-vacuum.h
22 '''.split())
23
24 if conf.get('HAVE_ELFUTILS') == 1
25 systemd_coredump_sources += files(['stacktrace.c',
26 'stacktrace.h'])
27 endif
28
29 coredumpctl_sources = files('coredumpctl.c')
30
31 install_data('coredump.conf',
32 install_dir : pkgsysconfdir)
33
34 tests += [
35 [['src/coredump/test-coredump-vacuum.c',
36 'src/coredump/coredump-vacuum.c',
37 'src/coredump/coredump-vacuum.h'],
38 [],
39 [],
40 'ENABLE_COREDUMP', 'manual'],
41 ]