chiark / gitweb /
systemd-verify: a simple tool for offline unit verification
[elogind.git] / Makefile.am
index c6853e46eba4b98bfc22b8ecba679f57f4bc6371..1e4cfb31f1b03302137f7373b8477e6f03870cb7 100644 (file)
@@ -189,6 +189,7 @@ AM_CPPFLAGS = \
        -DKEXEC=\"$(KEXEC)\" \
        -DLIBDIR=\"$(libdir)\" \
        -DROOTLIBDIR=\"$(rootlibdir)\" \
+       -DTEST_DIR=\"$(abs_top_srcdir)/test\" \
        -I $(top_srcdir)/src \
        -I $(top_builddir)/src/shared \
        -I $(top_srcdir)/src/shared \
@@ -349,7 +350,8 @@ bin_PROGRAMS = \
        systemd-delta \
        systemd-analyze \
        systemd-run \
-       systemd-path
+       systemd-path \
+       systemd-verify
 
 dist_bin_SCRIPTS = \
        src/kernel-install/kernel-install
@@ -1223,14 +1225,26 @@ CLEANFILES += \
        src/core/org.freedesktop.systemd1.policy.in
 
 # ------------------------------------------------------------------------------
+
+systemd_verify_SOURCES = \
+       src/verify/verify.c
+
+systemd_verify_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(SECCOMP_CFLAGS)
+
+systemd_verify_LDADD = \
+       libsystemd-core.la \
+       $(RT_LIBS)
+
+# ------------------------------------------------------------------------------
+
 manual_tests += \
-       test-engine \
        test-ns \
        test-loopback \
        test-hostname \
        test-daemon \
        test-cgroup \
-       test-cgroup-mask \
        test-install \
        test-watchdog \
        test-log \
@@ -1242,6 +1256,8 @@ manual_tests += \
 endif
 
 tests += \
+       test-engine \
+       test-cgroup-mask \
        test-job-type \
        test-env-replace \
        test-strbuf \