summaryrefslogtreecommitdiffstats
path: root/src/analyze/meson.build
diff options
context:
space:
mode:
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',
+ ),
+ },
+]