summaryrefslogtreecommitdiffstats
path: root/src/analyze/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:49:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:49:52 +0000
commit55944e5e40b1be2afc4855d8d2baf4b73d1876b5 (patch)
tree33f869f55a1b149e9b7c2b7e201867ca5dd52992 /src/analyze/meson.build
parentInitial commit. (diff)
downloadsystemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.tar.xz
systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.zip
Adding upstream version 255.4.upstream/255.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/analyze/meson.build')
-rw-r--r--src/analyze/meson.build56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/analyze/meson.build b/src/analyze/meson.build
new file mode 100644
index 0000000..a505447
--- /dev/null
+++ b/src/analyze/meson.build
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+systemd_analyze_sources = files(
+ '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',
+ ),
+ },
+]