Debian Codegraph @

src/analyze/meson.build

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 systemd_analyze_sources = files(
4 'analyze-architectures.c',
5 'analyze-blame.c',
6 'analyze-calendar.c',
7 'analyze-capability.c',
8 'analyze-cat-config.c',
9 'analyze-chid.c',
10 'analyze-compare-versions.c',
11 'analyze-condition.c',
12 'analyze-critical-chain.c',
13 'analyze-dlopen-metadata.c',
14 'analyze-dot.c',
15 'analyze-dump.c',
16 'analyze-exit-status.c',
17 'analyze-fdstore.c',
18 'analyze-filesystems.c',
19 'analyze-has-tpm2.c',
20 'analyze-image-policy.c',
21 'analyze-inspect-elf.c',
22 'analyze-log-control.c',
23 'analyze-malloc.c',
24 'analyze-nvpcrs.c',
25 'analyze-pcrs.c',
26 'analyze-plot.c',
27 'analyze-security.c',
28 'analyze-service-watchdogs.c',
29 'analyze-smbios11.c',
30 'analyze-srk.c',
31 'analyze-syscall-filter.c',
32 'analyze-time.c',
33 'analyze-time-data.c',
34 'analyze-timespan.c',
35 'analyze-timestamp.c',
36 'analyze-unit-files.c',
37 'analyze-unit-gdb.c',
38 'analyze-unit-paths.c',
39 'analyze-unit-shell.c',
40 'analyze-verify.c',
41 'analyze.c',
42 )
43 systemd_analyze_extract_sources = files(
44 'analyze-verify-util.c'
45 )
46
47 executables += [
48 executable_template + {
49 'name' : 'systemd-analyze',
50 'public' : conf.get('ENABLE_ANALYZE') == 1,
51 'sources' : systemd_analyze_sources,
52 'extract' : systemd_analyze_extract_sources,
53 'include_directories' : core_includes,
54 'link_with' : [
55 libcore,
56 libshared,
57 ],
58 'dependencies' : libseccomp_cflags,
59 'install' : conf.get('ENABLE_ANALYZE') == 1,
60 },
61 core_test_template + {
62 'sources' : files('test-verify.c'),
63 'objects' : ['systemd-analyze'],
64 },
65 ]