SHUTDOWN_TARGET_WANTS =
LOCAL_FS_TARGET_WANTS =
+REMOTE_FS_TARGET_WANTS =
MULTI_USER_TARGET_WANTS =
GRAPHICAL_TARGET_WANTS =
+MACHINES_TARGET_WANTS =
RESCUE_TARGET_WANTS =
SYSINIT_TARGET_WANTS =
SOCKETS_TARGET_WANTS =
install-target-wants-hook:
what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && dir=$(systemunitdir) && $(add-wants)
what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && dir=$(systemunitdir) && $(add-wants)
+ what="$(REMOTE_FS_TARGET_WANTS)" && wants=remote-fs.target && dir=$(systemunitdir) && $(add-wants)
+ what="$(MACHINES_TARGET_WANTS)" && wants=machines.target && dir=$(systemunitdir) && $(add-wants)
what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && dir=$(systemunitdir) && $(add-wants)
what="$(GRAPHICAL_TARGET_WANTS)" && wants=graphical.target && dir=$(systemunitdir) && $(add-wants)
what="$(RESCUE_TARGET_WANTS)" && wants=rescue.target && dir=$(systemunitdir) && $(add-wants)
units/sys-kernel-debug.mount \
units/sys-fs-fuse-connections.mount \
units/tmp.mount \
- units/var-lib-machines.mount \
units/printer.target \
units/sound.target \
units/bluetooth.target \
test/test-execute/exec-readonlypaths-mount-propagation.service \
test/test-execute/exec-readwritepaths-mount-propagation.service \
test/test-execute/exec-inaccessiblepaths-mount-propagation.service \
+ test/test-execute/exec-inaccessiblepaths-proc.service \
test/test-execute/exec-spec-interpolation.service \
test/test-execute/exec-systemcallerrornumber.service \
test/test-execute/exec-systemcallfilter-failing2.service \
nodist_tmpfiles_DATA = \
tmpfiles.d/systemd.conf \
+ tmpfiles.d/var.conf \
tmpfiles.d/etc.conf
dist_tmpfiles_DATA = \
tmpfiles.d/systemd-nologin.conf \
tmpfiles.d/tmp.conf \
tmpfiles.d/x11.conf \
- tmpfiles.d/var.conf \
tmpfiles.d/home.conf \
tmpfiles.d/systemd-nspawn.conf \
tmpfiles.d/journal-nocow.conf
tmpfiles.d/legacy.conf
endif
+if HAVE_REMOTE
+nodist_tmpfiles_DATA += \
+ tmpfiles.d/systemd-remote.conf
+endif
+
SYSINIT_TARGET_WANTS += \
systemd-tmpfiles-setup-dev.service \
systemd-tmpfiles-setup.service
EXTRA_DIST += \
tmpfiles.d/systemd.conf.m4 \
+ tmpfiles.d/systemd-remote.conf.m4 \
tmpfiles.d/etc.conf.m4 \
+ tmpfiles.d/var.conf.m4 \
units/systemd-tmpfiles-setup-dev.service.in \
units/systemd-tmpfiles-setup.service.in \
units/systemd-tmpfiles-clean.service.in
test-bus-zero-copy \
test-bus-introspect \
test-bus-objects \
+ test-bus-vtable \
test-bus-error \
test-bus-creds \
test-bus-gvariant \
test_bus_objects_LDADD = \
libsystemd-shared.la
+test_bus_vtable_SOURCES = \
+ src/libsystemd/sd-bus/test-bus-vtable.c
+
+test_bus_vtable_LDADD = \
+ libsystemd-shared.la
+
test_bus_error_SOURCES = \
src/libsystemd/sd-bus/test-bus-error.c
src/systemd/sd-ipv4ll.h \
src/systemd/sd-ipv4acd.h \
src/systemd/sd-ndisc.h \
+ src/systemd/sd-radv.h \
src/systemd/sd-dhcp6-client.h \
src/systemd/sd-dhcp6-lease.h \
src/systemd/sd-lldp.h \
src/libsystemd-network/ndisc-internal.h \
src/libsystemd-network/ndisc-router.h \
src/libsystemd-network/ndisc-router.c \
+ src/libsystemd-network/sd-radv.c \
+ src/libsystemd-network/radv-internal.h \
src/libsystemd-network/icmp6-util.h \
src/libsystemd-network/icmp6-util.c \
src/libsystemd-network/sd-dhcp6-client.c \
libudev.la \
libsystemd-shared.la
+test_ndisc_ra_SOURCES = \
+ src/systemd/sd-ndisc.h \
+ src/libsystemd-network/icmp6-util.h \
+ src/libsystemd-network/test-ndisc-ra.c
+
+test_ndisc_ra_LDADD = \
+ libsystemd-network.la \
+ libudev.la \
+ libsystemd-shared.la
+
test_dhcp6_client_SOURCES = \
src/systemd/sd-dhcp6-client.h \
src/libsystemd-network/dhcp6-internal.h \
test-sd-dhcp-lease \
test-ipv4ll \
test-ndisc-rs \
+ test-ndisc-ra \
test-dhcp6-client \
test-lldp
systemd_journal_remote_LDADD += \
$(MICROHTTPD_LIBS)
-if ENABLE_TMPFILES
-dist_tmpfiles_DATA += \
- tmpfiles.d/systemd-remote.conf
-endif
-
if HAVE_GNUTLS
systemd_journal_remote_LDADD += \
$(GNUTLS_LIBS)
libsystemd-shared.la \
-lm
+test_timesync_SOURCES = \
+ src/timesync/test-timesync.c \
+ src/timesync/timesyncd-manager.c \
+ src/timesync/timesyncd-manager.h \
+ src/timesync/timesyncd-conf.c \
+ src/timesync/timesyncd-conf.h \
+ src/timesync/timesyncd-server.c \
+ src/timesync/timesyncd-server.h
+
+nodist_test_timesync_SOURCES = \
+ src/timesync/timesyncd-gperf.c
+
+test_timesync_LDADD = \
+ libsystemd-shared.la \
+ -lm
+
+tests += \
+ test-timesync
+
rootlibexec_PROGRAMS += \
systemd-timesyncd
test-nss
# ------------------------------------------------------------------------------
+if ENABLE_NSS_SYSTEMD
libnss_systemd_la_SOURCES = \
src/nss-systemd/nss-systemd.sym \
src/nss-systemd/nss-systemd.c
rootlib_LTLIBRARIES += \
libnss_systemd.la
+endif
# ------------------------------------------------------------------------------
if HAVE_MYHOSTNAME
# ------------------------------------------------------------------------------
if ENABLE_MACHINED
+
+dist_systemunit_DATA += \
+ units/var-lib-machines.mount
+
systemd_machined_SOURCES = \
src/machine/machined.c \
src/machine/machined.h
src/network/networkd-dhcp4.c \
src/network/networkd-dhcp6.c \
src/network/networkd-ndisc.h \
+ src/network/networkd-radv.c \
+ src/network/networkd-radv.h \
src/network/networkd-ndisc.c \
src/network/networkd-network.h \
src/network/networkd-network.c \
liblogind-core.la
manual_tests += \
- test-login \
test-inhibit
tests += \
+ test-login \
test-login-tables \
test-login-shared
LOCAL_FS_TARGET_WANTS += \
systemd-remount-fs.service \
- tmp.mount \
+ tmp.mount
+
+REMOTE_FS_TARGET_WANTS += \
var-lib-machines.mount
MULTI_USER_TARGET_WANTS += \
systemd-sysctl.service \
systemd-ask-password-console.path
+if ENABLE_MACHINED
+MACHINES_TARGET_WANTS += \
+ var-lib-machines.mount
+endif
+
if HAVE_SYSV_COMPAT
SYSTEM_UNIT_ALIASES += \
poweroff.target runlevel0.target \