libsystemd-shared.la
libsystemd_shared_la_SOURCES = \
+ src/shared/capability.c \
+ src/shared/capability.h \
src/shared/linux/auto_dev-ioctl.h \
src/shared/ioprio.h \
src/shared/missing.h \
src/shared/audit.h \
src/shared/xml.c \
src/shared/xml.h \
- src/shared/condition-util.c \
- src/shared/condition-util.h \
src/shared/bus-label.c \
src/shared/bus-label.h \
src/shared/gpt.h \
libsystemd_shared_la_CFLAGS = \
$(AM_CFLAGS) \
+ $(CAP_CFLAGS) \
$(SECCOMP_CFLAGS) \
-pthread
+libsystemd_shared_la_LIBADD = \
+ $(CAP_LIBS)
+
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-units.la
src/shared/dev-setup.h \
src/shared/dropin.c \
src/shared/dropin.h \
+ src/shared/condition.c \
+ src/shared/condition.h \
src/shared/generator.h \
src/shared/generator.c
src/shared/logs-show.c \
src/shared/logs-show.h
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-capability.la
-
-libsystemd_capability_la_SOURCES = \
- src/shared/capability.c \
- src/shared/capability.h
-
-libsystemd_capability_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(CAP_CFLAGS)
-
-libsystemd_capability_la_LIBADD = \
- $(CAP_LIBS)
-
# ------------------------------------------------------------------------------
if HAVE_ACL
noinst_LTLIBRARIES += \
src/core/machine-id-setup.h \
src/core/mount-setup.c \
src/core/mount-setup.h \
+ src/core/kmod-setup.c \
+ src/core/kmod-setup.h \
src/core/loopback-setup.h \
src/core/loopback-setup.c \
src/core/namespace.c \
src/core/failure-action.c \
src/core/failure-action.h
-if HAVE_KMOD
-libsystemd_core_la_SOURCES += \
- src/core/kmod-setup.c \
- src/core/kmod-setup.h
-endif
-
nodist_libsystemd_core_la_SOURCES = \
src/core/load-fragment-gperf.c \
src/core/load-fragment-gperf-nulstr.c
$(AM_CFLAGS) \
$(PAM_CFLAGS) \
$(AUDIT_CFLAGS) \
- $(CAP_CFLAGS) \
$(KMOD_CFLAGS) \
$(APPARMOR_CFLAGS) \
$(SECCOMP_CFLAGS) \
-pthread
libsystemd_core_la_LIBADD = \
- libsystemd-capability.la \
libsystemd-units.la \
libsystemd-label.la \
libudev-internal.la \
libsystemd-internal.la \
$(PAM_LIBS) \
$(AUDIT_LIBS) \
- $(CAP_LIBS) \
$(KMOD_LIBS) \
$(APPARMOR_LIBS) \
$(SECCOMP_LIBS)
test-env-replace \
test-strbuf \
test-strv \
+ test-path \
test-path-util \
test-strxcpyx \
test-unit-name \
test-capability \
test-async \
test-ratelimit \
- test-condition-util \
+ test-condition \
test-uid-range \
test-bus-policy \
test-locale-util \
+ test-execute \
test-copy
EXTRA_DIST += \
test/bus-policy/hello.conf \
test/bus-policy/methods.conf \
test/bus-policy/ownerships.conf \
- test/bus-policy/signals.conf
+ test/bus-policy/signals.conf \
+ test/bus-policy/check-own-rules.conf \
+ test/bus-policy/many-rules.conf \
+ test/bus-policy/test.conf
EXTRA_DIST += \
src/test/test-capability.c
test_capability_LDADD = \
- libsystemd-shared.la \
- libsystemd-capability.la
+ libsystemd-shared.la
test_async_SOURCES = \
src/test/test-async.c
test_copy_LDADD = \
libsystemd-shared.la
-test_condition_util_SOURCES = \
- src/test/test-condition-util.c
+test_condition_SOURCES = \
+ src/test/test-condition.c
-test_condition_util_LDADD = \
- libsystemd-shared.la \
+test_condition_LDADD = \
+ libsystemd-label.la \
libsystemd-internal.la \
- libsystemd-capability.la \
- libsystemd-label.la
+ libsystemd-shared.la
test_fdset_SOURCES = \
src/test/test-fdset.c
test_fdset_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la \
+ libsystemd-internal.la
test_ratelimit_SOURCES = \
src/test/test-ratelimit.c
test_util_LDADD = \
-lm \
- libsystemd-core.la
+ libsystemd-shared.la
test_uid_range_SOURCES = \
src/test/test-uid-range.c
test_uid_range_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_socket_util_SOURCES = \
src/test/test-socket-util.c
test_socket_util_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_ring_SOURCES = \
src/test/test-ring.c
test_ring_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_barrier_SOURCES = \
src/test/test-barrier.c
test_barrier_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_pty_SOURCES = \
src/test/test-pty.c
src/test/test-hashmap-plain.c
test_hashmap_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_set_SOURCES = \
src/test/test-set.c
test_set_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_xml_SOURCES = \
src/test/test-xml.c
test_list_SOURCES = \
src/test/test-list.c
+test_list_LDADD = \
+ libsystemd-shared.la
+
test_unaligned_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_unaligned_SOURCES = \
src/test/test-unaligned.c
-test_list_LDADD = \
- libsystemd-core.la
-
test_tables_SOURCES = \
src/test/test-tables.c \
src/shared/test-tables.h \
src/test/test-prioq.c
test_prioq_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_fileio_SOURCES = \
src/test/test-fileio.c
test_fileio_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_time_SOURCES = \
src/test/test-time.c
test_time_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_architecture_SOURCES = \
src/test/test-architecture.c
src/test/test-log.c
test_log_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_ipcrm_SOURCES = \
src/test/test-ipcrm.c
src/test/test-ellipsize.c
test_ellipsize_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_date_SOURCES = \
src/test/test-date.c
test_date_LDADD = \
- libsystemd-core.la
+ libsystemd-shared.la
test_sleep_SOURCES = \
src/test/test-sleep.c
src/test/test-cgroup-mask.c
test_cgroup_mask_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DTEST_DIR=\"$(abs_top_srcdir)/test\"
+ $(AM_CPPFLAGS)
test_cgroup_mask_CFLAGS = \
$(AM_CFLAGS) \
test_path_util_LDADD = \
libsystemd-shared.la
+test_path_SOURCES = \
+ src/test/test-path.c
+
+test_path_CFLAGS = \
+ $(AM_CFLAGS)
+
+test_path_LDADD = \
+ libsystemd-core.la
+
+test_execute_SOURCES = \
+ src/test/test-execute.c
+
+test_execute_CFLAGS = \
+ $(AM_CFLAGS)
+
+test_execute_LDADD = \
+ libsystemd-core.la
+
test_strxcpyx_SOURCES = \
src/test/test-strxcpyx.c
src/test/test-sched-prio.c
test_sched_prio_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DTEST_DIR=\"$(abs_top_srcdir)/test\"
+ $(AM_CPPFLAGS)
test_sched_prio_CFLAGS = \
$(AM_CFLAGS) \
src/bus-proxyd/bus-policy.h
test_bus_policy_LDADD = \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la
$(MKDIR_P) $(coverage_dir)
lcov $(coverage_opts) --compat-libtool --capture --no-external \
| sed 's|$(abspath $(builddir))|$(abspath $(srcdir))|' > $(coverage_dir)/.lcov.info
- genhtml -t "systemd test coverage" -o $(coverage_dir) $(coverage_dir)/.lcov.info
+ lcov --remove $(coverage_dir)/.lcov.info --output-file $(coverage_dir)/.lcov-clean.info 'test-*'
+ genhtml -t "systemd test coverage" -o $(coverage_dir) $(coverage_dir)/.lcov-clean.info
@echo "Coverage report generated in $(abs_builddir)/$(coverage_dir)/index.html"
# lcov doesn't work properly with vpath builds, make sure that bad
systemd_tmpfiles_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la
dist_tmpfiles_DATA = \
tmpfiles.d/systemd.conf \
tmpfiles.d/systemd-nologin.conf \
- tmpfiles.d/systemd-remote.conf \
tmpfiles.d/tmp.conf \
tmpfiles.d/x11.conf \
tmpfiles.d/var.conf
systemd_sysusers_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la
systemd-sysusers.service
dist_sysusers_DATA = \
- sysusers.d/systemd.conf \
- sysusers.d/systemd-remote.conf
+ sysusers.d/systemd.conf
nodist_sysusers_DATA = \
sysusers.d/basic.conf
systemd_firstboot_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la \
-lcrypt
systemd_nspawn_LDADD = \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la \
systemd_run_LDADD = \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la
src/bus-proxyd/bus-policy.h
systemd_bus_proxyd_LDADD = \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la
src/libsystemd/sd-bus/bus-dump.c \
src/libsystemd/sd-bus/bus-dump.h
-libsystemd_dump_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(CAP_CFLAGS)
-
noinst_LTLIBRARIES += \
libsystemd-dump.la
src/libsystemd/sd-bus/test-bus-marshal.c
test_bus_marshal_LDADD = \
+ libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la \
- libsystemd-dump.la \
- libsystemd-capability.la \
$(GLIB_LIBS) \
- $(DBUS_LIBS) \
- $(CAP_LIBS)
+ $(DBUS_LIBS)
test_bus_marshal_CFLAGS = \
$(AM_CFLAGS) \
$(GLIB_CFLAGS) \
- $(DBUS_CFLAGS) \
- $(CAP_CFLAGS)
+ $(DBUS_CFLAGS)
test_bus_signature_SOURCES = \
src/libsystemd/sd-bus/test-bus-signature.c
test_bus_objects_CFLAGS = \
$(AM_CFLAGS) \
- $(CAP_CFLAGS) \
-pthread
test_bus_objects_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la \
libsystemd-dump.la \
- libsystemd-capability.la \
- $(CAP_LIBS)
+ libsystemd-internal.la \
+ libsystemd-shared.la
test_bus_error_SOURCES = \
src/libsystemd/sd-bus/test-bus-error.c
src/libsystemd/sd-bus/test-bus-gvariant.c
test_bus_gvariant_LDADD = \
+ libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la \
- libsystemd-dump.la \
- libsystemd-capability.la \
- $(GLIB_LIBS) \
- $(CAP_LIBS)
+ $(GLIB_LIBS)
test_bus_gvariant_CFLAGS = \
$(AM_CFLAGS) \
$(GLIB_CFLAGS)
- $(CAP_CFLAGS)
test_bus_creds_SOURCES = \
src/libsystemd/sd-bus/test-bus-creds.c
test_bus_creds_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la \
libsystemd-dump.la \
- libsystemd-capability.la
+ libsystemd-internal.la \
+ libsystemd-shared.la
test_bus_match_SOURCES = \
src/libsystemd/sd-bus/test-bus-match.c
src/libsystemd/sd-bus/test-bus-kernel.c
test_bus_kernel_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la \
libsystemd-dump.la \
- libsystemd-capability.la \
- $(CAP_LIBS)
-
-test_bus_kernel_CFLAGS = \
- $(AM_CFLAGS) \
- $(CAP_CFLAGS)
+ libsystemd-internal.la \
+ libsystemd-shared.la
test_bus_kernel_bloom_SOURCES = \
src/libsystemd/sd-bus/test-bus-kernel-bloom.c
src/libsystemd/sd-bus/test-bus-zero-copy.c
test_bus_zero_copy_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la \
libsystemd-dump.la \
- libsystemd-capability.la \
- $(CAP_LIBS)
-
-test_bus_zero_copy_CFLAGS = \
- $(AM_CFLAGS) \
- $(CAP_CFLAGS)
+ libsystemd-internal.la \
+ libsystemd-shared.la
test_bus_introspect_SOURCES = \
src/libsystemd/sd-bus/test-bus-introspect.c
-pthread
busctl_SOURCES = \
- src/libsystemd/sd-bus/busctl.c
+ src/libsystemd/sd-bus/busctl.c \
+ src/libsystemd/sd-bus/busctl-introspect.c \
+ src/libsystemd/sd-bus/busctl-introspect.h
busctl_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la \
libsystemd-dump.la \
- libsystemd-capability.la \
- $(CAP_LIBS)
-
-busctl_CFLAGS = \
- $(AM_CFLAGS) \
- $(CAP_CFLAGS)
+ libsystemd-internal.la \
+ libsystemd-shared.la
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
rules/50-udev-default.rules \
rules/60-drm.rules \
rules/60-keyboard.rules \
+ rules/70-mouse.rules \
rules/60-persistent-storage-tape.rules \
rules/60-persistent-serial.rules \
rules/60-persistent-input.rules \
hwdb/20-acpi-vendor.hwdb \
hwdb/20-OUI.hwdb \
hwdb/20-net-ifname.hwdb \
- hwdb/60-keyboard.hwdb
+ hwdb/60-keyboard.hwdb \
+ hwdb/70-mouse.hwdb
udevconfdir = $(sysconfdir)/udev
dist_udevconf_DATA = \
src/udev/udevd.c
systemd_udevd_LDADD = \
- libudev-core.la \
- libsystemd-capability.la
+ libudev-core.la
udevadm_SOURCES = \
src/udev/udevadm.c \
src/udev/udevadm-settle.c \
src/udev/udevadm-trigger.c \
src/udev/udevadm-test.c \
- src/udev/udevadm-test-builtin.c
+ src/udev/udevadm-test-builtin.c \
+ src/udev/udevadm-util.c \
+ src/udev/udevadm-util.h
udevadm_LDADD = \
- libudev-core.la \
- libsystemd-capability.la
+ libudev-core.la
# Update hwdb on installation. Do not bother if installing
# in DESTDIR, since this is likely for packaging purposes.
test_udev_LDADD = \
libudev-core.la \
- libsystemd-capability.la \
$(BLKID_LIBS) \
$(KMOD_LIBS) \
$(SELINUX_LIBS)
systemd_journal_remote_LDADD += \
$(MICROHTTPD_LIBS)
+if ENABLE_SYSUSERS
+dist_sysusers_DATA += \
+ sysusers.d/systemd-remote.conf
+endif
+
+if ENABLE_TMPFILES
+dist_tmpfiles_DATA += \
+ tmpfiles.d/systemd-remote.conf
+endif
+
if HAVE_GNUTLS
systemd_journal_remote_LDADD += \
$(GNUTLS_LIBS)
$(LIBCURL_CFLAGS)
systemd_journal_upload_LDADD = \
- libsystemd-core.la \
libsystemd-internal.la \
libsystemd-journal-internal.la \
libsystemd-shared.la \
libsystemd_journal_core_la_LIBADD = \
libsystemd-journal-internal.la \
libudev-internal.la \
- libsystemd-capability.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
systemd_localed_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
- libsystemd-shared.la
+ libsystemd-shared.la \
+ $(XKBCOMMON_LIBS)
+
+systemd_localed_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(XKBCOMMON_CFLAGS)
nodist_systemunit_DATA += \
units/systemd-localed.service
libsystemd-resolve.la \
libsystemd-network.la \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la \
-lm
src/resolve/resolved-gperf.c
systemd_resolved_LDADD = \
- libsystemd-capability.la \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
src/resolve/test-dns-domain.c
test_dns_domain_LDADD = \
- libsystemd-capability.la \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
src/network/networkd.c
systemd_networkd_LDADD = \
- libsystemd-networkd-core.la \
- libsystemd-capability.la
+ libsystemd-networkd-core.la
noinst_LTLIBRARIES += \
libsystemd-networkd-core.la
src/network/test-network.c
test_network_LDADD = \
- libsystemd-networkd-core.la \
- libsystemd-capability.la
+ libsystemd-networkd-core.la
test_network_tables_SOURCES = \
src/network/test-network-tables.c \
libsystemd_logind_core_la_LIBADD = \
libsystemd-label.la \
- libsystemd-capability.la \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la
-Wl,--version-script=$(top_srcdir)/src/login/pam_systemd.sym
pam_systemd_la_LIBADD = \
- libsystemd-capability.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(PAM_LIBS)