summaryrefslogtreecommitdiffstats
path: root/src/analyze/meson.build
blob: f150ed7613b558c43f4f6f5d702f10b5a83827eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# SPDX-License-Identifier: LGPL-2.1-or-later

systemd_analyze_sources = files(
        'analyze-architectures.c',
        'analyze-blame.c',
        'analyze-calendar.c',
        'analyze-capability.c',
        'analyze-cat-config.c',
        'analyze-compare-versions.c',
        'analyze-condition.c',
        'analyze-critical-chain.c',
        'analyze-dot.c',
        'analyze-dump.c',
        'analyze-exit-status.c',
        'analyze-fdstore.c',
        'analyze-filesystems.c',
        'analyze-image-policy.c',
        'analyze-inspect-elf.c',
        'analyze-log-control.c',
        'analyze-malloc.c',
        'analyze-pcrs.c',
        'analyze-plot.c',
        'analyze-security.c',
        'analyze-service-watchdogs.c',
        'analyze-srk.c',
        'analyze-syscall-filter.c',
        'analyze-time.c',
        'analyze-time-data.c',
        'analyze-timespan.c',
        'analyze-timestamp.c',
        'analyze-unit-files.c',
        'analyze-unit-paths.c',
        'analyze-verify.c',
        'analyze-verify-util.c',
        'analyze.c',
)

executables += [
        executable_template + {
                'name' : 'systemd-analyze',
                'public' : conf.get('ENABLE_ANALYZE') == 1,
                'sources' : systemd_analyze_sources,
                'include_directories' : core_includes,
                'link_with' : [
                        libcore,
                        libshared,
                ],
                'dependencies' : libseccomp,
                'install' : conf.get('ENABLE_ANALYZE') == 1,
        },
        core_test_template + {
                'sources' : files(
                        'test-verify.c',
                        'analyze-verify-util.c',
                ),
        },
]