diff options
191 files changed, 100 insertions, 13093 deletions
diff --git a/.gitignore b/.gitignore index aa20b80602..4f0c6a7892 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ *.a *.cache *.gch -*.la -*.lo *.log *.o *.plist @@ -13,318 +11,22 @@ *~ .config.args .deps/ -.dirstamp -.libs/ /*.gcda /*.gcno /*.tar.bz2 /*.tar.gz /*.tar.xz -/30-systemd-environment-d-generator /GPATH /GRTAGS /GSYMS /GTAGS -/Makefile /TAGS -/ata_id -/bootctl /build* -/busctl -/cdrom_id -/collect -/coredumpctl /coverage/ -/defined -/exported -/exported-* -/hostnamectl /image.raw /image.raw.cache-pre-dev /image.raw.cache-pre-inst /install-tree -/journalctl -/libtool -/linuxx64.efi.stub -/localectl -/loginctl -/machinectl /mkosi.builddir/ -/mkosi.cache/ -/mtd_probe -/networkctl -/scsi_id -/systemctl -/systemd -/systemd-ac-power -/systemd-analyze -/systemd-ask-password -/systemd-backlight -/systemd-binfmt -/systemd-bootx64.efi -/systemd-cat -/systemd-cgls -/systemd-cgroups-agent -/systemd-cgtop -/systemd-coredump -/systemd-cryptsetup -/systemd-cryptsetup-generator -/systemd-dbus1-generator -/systemd-debug-generator -/systemd-delta -/systemd-detect-virt -/systemd-dissect -/systemd-escape -/systemd-export -/systemd-firstboot -/systemd-fsck -/systemd-fstab-generator -/systemd-getty-generator -/systemd-gpt-auto-generator -/systemd-hibernate-resume -/systemd-hibernate-resume-generator -/systemd-hostnamed -/systemd-hwdb -/systemd-import -/systemd-importd -/systemd-inhibit -/systemd-initctl -/systemd-journal-gatewayd -/systemd-journal-remote -/systemd-journal-upload -/systemd-journald -/systemd-localed -/systemd-logind -/systemd-machine-id-setup -/systemd-machined -/systemd-modules-load -/systemd-mount -/systemd-networkd -/systemd-networkd-wait-online -/systemd-notify -/systemd-nspawn -/systemd-path -/systemd-pull -/systemd-quotacheck -/systemd-random-seed -/systemd-rc-local-generator -/systemd-remount-fs -/systemd-reply-password -/systemd-resolve -/systemd-resolved -/systemd-rfkill -/systemd-run -/systemd-shutdown -/systemd-sleep -/systemd-socket-activate -/systemd-socket-proxyd -/systemd-stdio-bridge -/systemd-sysctl -/systemd-system-update-generator -/systemd-sysusers -/systemd-sysv-generator -/systemd-timedated -/systemd-timesyncd -/systemd-tmpfiles -/systemd-tty-ask-password-agent -/systemd-udevd -/systemd-update-done -/systemd-update-utmp -/systemd-user-sessions -/systemd-vconsole-setup -/systemd-veritysetup -/systemd-veritysetup-generator -/systemd-volatile-root /tags -/test-acd -/test-acl-util -/test-af-list -/test-alloc-util -/test-architecture -/test-arphrd-list -/test-ask-password-api -/test-async -/test-audit-type -/test-barrier -/test-bitmap -/test-boot-timestamps -/test-btrfs -/test-bus-benchmark -/test-bus-chat -/test-bus-cleanup -/test-bus-creds -/test-bus-error -/test-bus-gvariant -/test-bus-introspect -/test-bus-kernel -/test-bus-kernel-bloom -/test-bus-marshal -/test-bus-match -/test-bus-objects -/test-bus-policy -/test-bus-server -/test-bus-signature -/test-bus-track -/test-bus-vtable -/test-bus-vtable-cc -/test-bus-zero-copy -/test-calendarspec -/test-cap-list -/test-capability -/test-catalog -/test-cgroup -/test-cgroup-mask -/test-cgroup-util -/test-clock -/test-compress -/test-compress-benchmark -/test-condition -/test-conf-files -/test-conf-parser -/test-copy -/test-coredump-vacuum -/test-cpu-set-util -/test-daemon -/test-date -/test-device-nodes -/test-dhcp-client -/test-dhcp-option -/test-dhcp-server -/test-dhcp6-client -/test-dissect-image -/test-dns-domain -/test-dns-packet -/test-dnssec -/test-dnssec-complex -/test-efi-disk.img -/test-ellipsize -/test-engine -/test-env-util -/test-escape -/test-event -/test-exec-util -/test-execute -/test-extract-word -/test-fd-util -/test-fdset -/test-fileio -/test-firewall-util -/test-fs-util -/test-fstab-util -/test-glob-util -/test-hash -/test-hashmap -/test-hexdecoct -/test-hostname -/test-hostname-util -/test-id128 -/test-inhibit -/test-install -/test-install-root -/test-io-util -/test-ipcrm -/test-ipv4ll -/test-ipv4ll-manual -/test-job-type -/test-journal -/test-journal-enum -/test-journal-flush -/test-journal-importer -/test-journal-init -/test-journal-interleaving -/test-journal-match -/test-journal-send -/test-journal-stream -/test-journal-syslog -/test-journal-verify -/test-keymap-util -/test-libsystemd-sym* -/test-libudev -/test-libudev-sym* -/test-list -/test-lldp -/test-local-addresses -/test-locale-util -/test-log -/test-login -/test-login-shared -/test-login-tables -/test-loopback -/test-machine-tables -/test-mmap-cache -/test-mount-util -/test-namespace -/test-ndisc-rs -/test-netlink -/test-netlink-manual -/test-network -/test-network-tables -/test-networkd-conf -/test-ns -/test-nss -/test-parse-util -/test-patch-uid -/test-path -/test-path-lookup -/test-path-util -/test-prioq -/test-proc-cmdline -/test-process-util -/test-pty -/test-qcow2 -/test-random-util -/test-ratelimit -/test-replace-var -/test-resolve -/test-resolve-tables -/test-resolved-packet -/test-ring -/test-rlimit-util -/test-sched-prio -/test-sd-dhcp-lease -/test-seccomp -/test-selinux -/test-set -/test-sigbus -/test-signal-util -/test-siphash24 -/test-sizeof -/test-sleep -/test-socket-util -/test-stat-util -/test-strbuf -/test-string-util -/test-strip-tab-ansi -/test-strv -/test-strxcpyx -/test-tables -/test-terminal-util -/test-time -/test-timesync -/test-tmpfiles -/test-udev -/test-uid-range -/test-unaligned -/test-unit-file -/test-unit-name -/test-user-util -/test-utf8 -/test-util -/test-verbs -/test-watchdog -/test-web-util -/test-xattr-util -/test-xml -/timedatectl -/udevadm -/undefined -/v4l_id -Makefile.in __pycache__/ -aclocal.m4 -config.h -config.h.in -config.log -config.status -configure -stamp-* @@ -123,3 +123,4 @@ Federico Di Pierro <nierro92@gmail.com> Josef Andersson <josef.andersson@fripost.org> Josef Andersson <l10nl18nsweja@gmail.com> Hendrik Westerberg <hendrik@gestorf.com> +Stefan Pietsch <mail.ipv4v6@gmail.com> diff --git a/.mkosi/Makefile b/.mkosi/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/.mkosi/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/DISTRO_PORTING b/DISTRO_PORTING index 68107e46c9..0846ef0857 100644 --- a/DISTRO_PORTING +++ b/DISTRO_PORTING @@ -6,22 +6,22 @@ HOWTO: 1) Find the right configure parameters for: - --with-rootprefix= - --with-sysvinit-path= - --with-sysvrcnd-path= - --with-rc-local-script-path-start= - --with-rc-local-script-path-stop= - --with-kbd-loadkeys= - --with-kbd-setfont= - --with-tty-gid= - --with-ntp-servers= - --with-support-url= + -D rootprefix= + -D sysvinit-path= + -D sysvrcnd-path= + -D rc-local= + -D halt-local= + -D loadkeys-path= + -D setfont-path= + -D tty-gid= + -D ntp-servers= + -D support-url= 2) Try it out. Play around (as an ordinary user) with '/usr/lib/systemd/systemd --test --system' for a test run of systemd without booting. This will read the unit files and print the initial transaction it would execute during boot-up. - This will also inform you about ordering loops and suchlike + This will also inform you about ordering loops and suchlike. NTP POOL: @@ -46,17 +46,16 @@ PAM: /etc/security/limits.conf will not be read unless you load pam_limits. Make sure you add modules your distro expects from user services. - Pass --with-pamconfdir=no to ./configure to avoid installing this file - and instead install your own. + Pass -D pamconfdir=no to meson to avoid installing this file and + instead install your own. CONTRIBUTING UPSTREAM: - We generally do no longer accept distribution-specific - patches to systemd upstream. If you have to make changes to - systemd's source code to make it work on your distribution, - unless your code is generic enough to be generally useful, we - are unlikely to merge it. Please always consider adopting the - upstream defaults. If that is not possible, please maintain - the relevant patches downstream. + We generally do no longer accept distribution-specific patches to + systemd upstream. If you have to make changes to systemd's source code + to make it work on your distribution, unless your code is generic + enough to be generally useful, we are unlikely to merge it. Please + always consider adopting the upstream defaults. If that is not + possible, please maintain the relevant patches downstream. Thank you for understanding. @@ -56,15 +56,17 @@ for systemd (this example is for Fedora): $ git clone https://github.com/systemd/systemd.git $ cd systemd $ vim src/core/main.c # or wherever you'd like to make your changes - $ ./autogen.sh c # configure the source tree - $ make -j `nproc` # build it locally, see if everything compiles fine - $ make -j `nproc` check # run some simple regression tests + $ meson build # configure the build + $ ninja -C build # build it locally, see if everything compiles fine + $ ninja -C build test # run some simple regression tests $ sudo mkosi # build a test image $ sudo systemd-nspawn -bi image.raw # boot up the test image $ git add -p # interactively put together your patch $ git commit # commit it - $ ... + $ git push REMOTE HEAD:refs/heads/BRANCH + # where REMOTE is your "fork" on github + # and BRANCH is a branch name. -And after that, please submit your branch as PR to systemd via github. +And after that, head over to your repo on github and click "Compare & pull request" Happy hacking! diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..09222128cd --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +all: + ninja -C build + +install: + DESTDIR=$(DESTDIR) ninja -C build diff --git a/Makefile-man.am b/Makefile-man.am deleted file mode 100644 index d51236ed56..0000000000 --- a/Makefile-man.am +++ /dev/null @@ -1,2910 +0,0 @@ -# Do not edit. Generated by make-man-rules.py. -# To regenerate: -# 1. Create, update, or remove source .xml files in man/ -# 2. Run 'make update-man-list' -# 3. Run 'make man' to generate manpages -# -# To make a man page conditional on a configure switch add -# attribute conditional="ENABLE_WHAT" or conditional="WITH_WHAT" -# to <refentry> element. -MANPAGES += \ - man/bootup.7 \ - man/busctl.1 \ - man/daemon.7 \ - man/file-hierarchy.7 \ - man/halt.8 \ - man/hostname.5 \ - man/journalctl.1 \ - man/journald.conf.5 \ - man/kernel-command-line.7 \ - man/kernel-install.8 \ - man/libudev.3 \ - man/locale.conf.5 \ - man/localtime.5 \ - man/machine-id.5 \ - man/machine-info.5 \ - man/os-release.5 \ - man/sd-bus-errors.3 \ - man/sd-bus.3 \ - man/sd-daemon.3 \ - man/sd-event.3 \ - man/sd-id128.3 \ - man/sd-journal.3 \ - man/sd_booted.3 \ - man/sd_bus_add_match.3 \ - man/sd_bus_creds_get_pid.3 \ - man/sd_bus_creds_new_from_pid.3 \ - man/sd_bus_default.3 \ - man/sd_bus_error.3 \ - man/sd_bus_error_add_map.3 \ - man/sd_bus_get_fd.3 \ - man/sd_bus_message_append.3 \ - man/sd_bus_message_append_array.3 \ - man/sd_bus_message_append_basic.3 \ - man/sd_bus_message_append_string_memfd.3 \ - man/sd_bus_message_append_strv.3 \ - man/sd_bus_message_get_cookie.3 \ - man/sd_bus_message_get_monotonic_usec.3 \ - man/sd_bus_message_read_basic.3 \ - man/sd_bus_negotiate_fds.3 \ - man/sd_bus_new.3 \ - man/sd_bus_path_encode.3 \ - man/sd_bus_process.3 \ - man/sd_bus_request_name.3 \ - man/sd_bus_track_add_name.3 \ - man/sd_bus_track_new.3 \ - man/sd_event_add_child.3 \ - man/sd_event_add_defer.3 \ - man/sd_event_add_io.3 \ - man/sd_event_add_signal.3 \ - man/sd_event_add_time.3 \ - man/sd_event_exit.3 \ - man/sd_event_get_fd.3 \ - man/sd_event_new.3 \ - man/sd_event_now.3 \ - man/sd_event_run.3 \ - man/sd_event_set_watchdog.3 \ - man/sd_event_source_get_event.3 \ - man/sd_event_source_get_pending.3 \ - man/sd_event_source_set_description.3 \ - man/sd_event_source_set_enabled.3 \ - man/sd_event_source_set_prepare.3 \ - man/sd_event_source_set_priority.3 \ - man/sd_event_source_set_userdata.3 \ - man/sd_event_source_unref.3 \ - man/sd_event_wait.3 \ - man/sd_id128_get_machine.3 \ - man/sd_id128_randomize.3 \ - man/sd_id128_to_string.3 \ - man/sd_is_fifo.3 \ - man/sd_journal_add_match.3 \ - man/sd_journal_enumerate_fields.3 \ - man/sd_journal_get_catalog.3 \ - man/sd_journal_get_cursor.3 \ - man/sd_journal_get_cutoff_realtime_usec.3 \ - man/sd_journal_get_data.3 \ - man/sd_journal_get_fd.3 \ - man/sd_journal_get_realtime_usec.3 \ - man/sd_journal_get_usage.3 \ - man/sd_journal_has_runtime_files.3 \ - man/sd_journal_next.3 \ - man/sd_journal_open.3 \ - man/sd_journal_print.3 \ - man/sd_journal_query_unique.3 \ - man/sd_journal_seek_head.3 \ - man/sd_journal_stream_fd.3 \ - man/sd_listen_fds.3 \ - man/sd_machine_get_class.3 \ - man/sd_notify.3 \ - man/sd_watchdog_enabled.3 \ - man/shutdown.8 \ - man/sysctl.d.5 \ - man/systemctl.1 \ - man/systemd-analyze.1 \ - man/systemd-ask-password-console.service.8 \ - man/systemd-ask-password.1 \ - man/systemd-cat.1 \ - man/systemd-cgls.1 \ - man/systemd-cgtop.1 \ - man/systemd-debug-generator.8 \ - man/systemd-delta.1 \ - man/systemd-detect-virt.1 \ - man/systemd-escape.1 \ - man/systemd-fsck@.service.8 \ - man/systemd-fstab-generator.8 \ - man/systemd-getty-generator.8 \ - man/systemd-gpt-auto-generator.8 \ - man/systemd-halt.service.8 \ - man/systemd-inhibit.1 \ - man/systemd-initctl.service.8 \ - man/systemd-journald.service.8 \ - man/systemd-machine-id-commit.service.8 \ - man/systemd-machine-id-setup.1 \ - man/systemd-mount.1 \ - man/systemd-notify.1 \ - man/systemd-nspawn.1 \ - man/systemd-path.1 \ - man/systemd-remount-fs.service.8 \ - man/systemd-run.1 \ - man/systemd-sleep.conf.5 \ - man/systemd-socket-activate.1 \ - man/systemd-socket-proxyd.8 \ - man/systemd-suspend.service.8 \ - man/systemd-sysctl.service.8 \ - man/systemd-system-update-generator.8 \ - man/systemd-system.conf.5 \ - man/systemd-sysusers.8 \ - man/systemd-tmpfiles.8 \ - man/systemd-tty-ask-password-agent.1 \ - man/systemd-udevd.service.8 \ - man/systemd-update-done.service.8 \ - man/systemd-volatile-root.service.8 \ - man/systemd.1 \ - man/systemd.automount.5 \ - man/systemd.device.5 \ - man/systemd.exec.5 \ - man/systemd.generator.7 \ - man/systemd.journal-fields.7 \ - man/systemd.kill.5 \ - man/systemd.link.5 \ - man/systemd.mount.5 \ - man/systemd.nspawn.5 \ - man/systemd.offline-updates.7 \ - man/systemd.path.5 \ - man/systemd.preset.5 \ - man/systemd.resource-control.5 \ - man/systemd.scope.5 \ - man/systemd.service.5 \ - man/systemd.slice.5 \ - man/systemd.socket.5 \ - man/systemd.special.7 \ - man/systemd.swap.5 \ - man/systemd.target.5 \ - man/systemd.time.7 \ - man/systemd.timer.5 \ - man/systemd.unit.5 \ - man/telinit.8 \ - man/tmpfiles.d.5 \ - man/udev.7 \ - man/udev.conf.5 \ - man/udev_device_get_syspath.3 \ - man/udev_device_has_tag.3 \ - man/udev_device_new_from_syspath.3 \ - man/udev_enumerate_add_match_subsystem.3 \ - man/udev_enumerate_new.3 \ - man/udev_enumerate_scan_devices.3 \ - man/udev_list_entry.3 \ - man/udev_monitor_filter_update.3 \ - man/udev_monitor_new_from_netlink.3 \ - man/udev_monitor_receive_device.3 \ - man/udev_new.3 \ - man/udevadm.8 -MANPAGES_ALIAS += \ - man/SD_ALERT.3 \ - man/SD_BUS_ERROR_ACCESS_DENIED.3 \ - man/SD_BUS_ERROR_ADDRESS_IN_USE.3 \ - man/SD_BUS_ERROR_AUTH_FAILED.3 \ - man/SD_BUS_ERROR_BAD_ADDRESS.3 \ - man/SD_BUS_ERROR_DISCONNECTED.3 \ - man/SD_BUS_ERROR_END.3 \ - man/SD_BUS_ERROR_FAILED.3 \ - man/SD_BUS_ERROR_FILE_EXISTS.3 \ - man/SD_BUS_ERROR_FILE_NOT_FOUND.3 \ - man/SD_BUS_ERROR_INCONSISTENT_MESSAGE.3 \ - man/SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED.3 \ - man/SD_BUS_ERROR_INVALID_ARGS.3 \ - man/SD_BUS_ERROR_INVALID_SIGNATURE.3 \ - man/SD_BUS_ERROR_IO_ERROR.3 \ - man/SD_BUS_ERROR_LIMITS_EXCEEDED.3 \ - man/SD_BUS_ERROR_MAKE_CONST.3 \ - man/SD_BUS_ERROR_MAP.3 \ - man/SD_BUS_ERROR_MATCH_RULE_INVALID.3 \ - man/SD_BUS_ERROR_MATCH_RULE_NOT_FOUND.3 \ - man/SD_BUS_ERROR_NAME_HAS_NO_OWNER.3 \ - man/SD_BUS_ERROR_NOT_SUPPORTED.3 \ - man/SD_BUS_ERROR_NO_MEMORY.3 \ - man/SD_BUS_ERROR_NO_NETWORK.3 \ - man/SD_BUS_ERROR_NO_REPLY.3 \ - man/SD_BUS_ERROR_NO_SERVER.3 \ - man/SD_BUS_ERROR_NULL.3 \ - man/SD_BUS_ERROR_PROPERTY_READ_ONLY.3 \ - man/SD_BUS_ERROR_SERVICE_UNKNOWN.3 \ - man/SD_BUS_ERROR_TIMEOUT.3 \ - man/SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN.3 \ - man/SD_BUS_ERROR_UNKNOWN_INTERFACE.3 \ - man/SD_BUS_ERROR_UNKNOWN_METHOD.3 \ - man/SD_BUS_ERROR_UNKNOWN_OBJECT.3 \ - man/SD_BUS_ERROR_UNKNOWN_PROPERTY.3 \ - man/SD_CRIT.3 \ - man/SD_DEBUG.3 \ - man/SD_EMERG.3 \ - man/SD_ERR.3 \ - man/SD_EVENT_ARMED.3 \ - man/SD_EVENT_EXITING.3 \ - man/SD_EVENT_FINISHED.3 \ - man/SD_EVENT_INITIAL.3 \ - man/SD_EVENT_OFF.3 \ - man/SD_EVENT_ON.3 \ - man/SD_EVENT_ONESHOT.3 \ - man/SD_EVENT_PENDING.3 \ - man/SD_EVENT_PREPARING.3 \ - man/SD_EVENT_PRIORITY_IDLE.3 \ - man/SD_EVENT_PRIORITY_IMPORTANT.3 \ - man/SD_EVENT_PRIORITY_NORMAL.3 \ - man/SD_EVENT_RUNNING.3 \ - man/SD_ID128_CONST_STR.3 \ - man/SD_ID128_FORMAT_STR.3 \ - man/SD_ID128_FORMAT_VAL.3 \ - man/SD_ID128_MAKE.3 \ - man/SD_ID128_MAKE_STR.3 \ - man/SD_ID128_NULL.3 \ - man/SD_INFO.3 \ - man/SD_JOURNAL_APPEND.3 \ - man/SD_JOURNAL_CURRENT_USER.3 \ - man/SD_JOURNAL_FOREACH.3 \ - man/SD_JOURNAL_FOREACH_BACKWARDS.3 \ - man/SD_JOURNAL_FOREACH_DATA.3 \ - man/SD_JOURNAL_FOREACH_FIELD.3 \ - man/SD_JOURNAL_FOREACH_UNIQUE.3 \ - man/SD_JOURNAL_INVALIDATE.3 \ - man/SD_JOURNAL_LOCAL_ONLY.3 \ - man/SD_JOURNAL_NOP.3 \ - man/SD_JOURNAL_OS_ROOT.3 \ - man/SD_JOURNAL_RUNTIME_ONLY.3 \ - man/SD_JOURNAL_SUPPRESS_LOCATION.3 \ - man/SD_JOURNAL_SYSTEM.3 \ - man/SD_LISTEN_FDS_START.3 \ - man/SD_NOTICE.3 \ - man/SD_WARNING.3 \ - man/init.1 \ - man/journald.conf.d.5 \ - man/poweroff.8 \ - man/reboot.8 \ - man/sd_bus_creds_get_audit_login_uid.3 \ - man/sd_bus_creds_get_audit_session_id.3 \ - man/sd_bus_creds_get_augmented_mask.3 \ - man/sd_bus_creds_get_cgroup.3 \ - man/sd_bus_creds_get_cmdline.3 \ - man/sd_bus_creds_get_comm.3 \ - man/sd_bus_creds_get_description.3 \ - man/sd_bus_creds_get_egid.3 \ - man/sd_bus_creds_get_euid.3 \ - man/sd_bus_creds_get_exe.3 \ - man/sd_bus_creds_get_fsgid.3 \ - man/sd_bus_creds_get_fsuid.3 \ - man/sd_bus_creds_get_gid.3 \ - man/sd_bus_creds_get_mask.3 \ - man/sd_bus_creds_get_owner_uid.3 \ - man/sd_bus_creds_get_ppid.3 \ - man/sd_bus_creds_get_selinux_context.3 \ - man/sd_bus_creds_get_session.3 \ - man/sd_bus_creds_get_sgid.3 \ - man/sd_bus_creds_get_slice.3 \ - man/sd_bus_creds_get_suid.3 \ - man/sd_bus_creds_get_supplementary_gids.3 \ - man/sd_bus_creds_get_tid.3 \ - man/sd_bus_creds_get_tid_comm.3 \ - man/sd_bus_creds_get_tty.3 \ - man/sd_bus_creds_get_uid.3 \ - man/sd_bus_creds_get_unique_name.3 \ - man/sd_bus_creds_get_unit.3 \ - man/sd_bus_creds_get_user_slice.3 \ - man/sd_bus_creds_get_user_unit.3 \ - man/sd_bus_creds_get_well_known_names.3 \ - man/sd_bus_creds_has_bounding_cap.3 \ - man/sd_bus_creds_has_effective_cap.3 \ - man/sd_bus_creds_has_inheritable_cap.3 \ - man/sd_bus_creds_has_permitted_cap.3 \ - man/sd_bus_creds_ref.3 \ - man/sd_bus_creds_unref.3 \ - man/sd_bus_creds_unrefp.3 \ - man/sd_bus_default_system.3 \ - man/sd_bus_default_user.3 \ - man/sd_bus_error_copy.3 \ - man/sd_bus_error_free.3 \ - man/sd_bus_error_get_errno.3 \ - man/sd_bus_error_has_name.3 \ - man/sd_bus_error_is_set.3 \ - man/sd_bus_error_map.3 \ - man/sd_bus_error_set.3 \ - man/sd_bus_error_set_const.3 \ - man/sd_bus_error_set_errno.3 \ - man/sd_bus_error_set_errnof.3 \ - man/sd_bus_error_set_errnofv.3 \ - man/sd_bus_error_setf.3 \ - man/sd_bus_message_append_array_iovec.3 \ - man/sd_bus_message_append_array_memfd.3 \ - man/sd_bus_message_append_array_space.3 \ - man/sd_bus_message_append_string_iovec.3 \ - man/sd_bus_message_append_string_space.3 \ - man/sd_bus_message_appendv.3 \ - man/sd_bus_message_get_realtime_usec.3 \ - man/sd_bus_message_get_reply_cookie.3 \ - man/sd_bus_message_get_seqnum.3 \ - man/sd_bus_negotiate_creds.3 \ - man/sd_bus_negotiate_timestamp.3 \ - man/sd_bus_open.3 \ - man/sd_bus_open_system.3 \ - man/sd_bus_open_system_machine.3 \ - man/sd_bus_open_system_remote.3 \ - man/sd_bus_open_user.3 \ - man/sd_bus_path_decode.3 \ - man/sd_bus_path_decode_many.3 \ - man/sd_bus_path_encode_many.3 \ - man/sd_bus_ref.3 \ - man/sd_bus_release_name.3 \ - man/sd_bus_track_add_sender.3 \ - man/sd_bus_track_contains.3 \ - man/sd_bus_track_count.3 \ - man/sd_bus_track_count_name.3 \ - man/sd_bus_track_count_sender.3 \ - man/sd_bus_track_first.3 \ - man/sd_bus_track_get_bus.3 \ - man/sd_bus_track_get_recursive.3 \ - man/sd_bus_track_get_userdata.3 \ - man/sd_bus_track_next.3 \ - man/sd_bus_track_ref.3 \ - man/sd_bus_track_remove_name.3 \ - man/sd_bus_track_remove_sender.3 \ - man/sd_bus_track_set_recursive.3 \ - man/sd_bus_track_set_userdata.3 \ - man/sd_bus_track_unref.3 \ - man/sd_bus_track_unrefp.3 \ - man/sd_bus_unref.3 \ - man/sd_bus_unrefp.3 \ - man/sd_event.3 \ - man/sd_event_add_exit.3 \ - man/sd_event_add_post.3 \ - man/sd_event_child_handler_t.3 \ - man/sd_event_default.3 \ - man/sd_event_dispatch.3 \ - man/sd_event_get_exit_code.3 \ - man/sd_event_get_iteration.3 \ - man/sd_event_get_state.3 \ - man/sd_event_get_tid.3 \ - man/sd_event_get_watchdog.3 \ - man/sd_event_handler_t.3 \ - man/sd_event_io_handler_t.3 \ - man/sd_event_loop.3 \ - man/sd_event_prepare.3 \ - man/sd_event_ref.3 \ - man/sd_event_signal_handler_t.3 \ - man/sd_event_source.3 \ - man/sd_event_source_get_child_pid.3 \ - man/sd_event_source_get_description.3 \ - man/sd_event_source_get_enabled.3 \ - man/sd_event_source_get_io_events.3 \ - man/sd_event_source_get_io_fd.3 \ - man/sd_event_source_get_io_revents.3 \ - man/sd_event_source_get_priority.3 \ - man/sd_event_source_get_signal.3 \ - man/sd_event_source_get_time.3 \ - man/sd_event_source_get_time_accuracy.3 \ - man/sd_event_source_get_time_clock.3 \ - man/sd_event_source_get_userdata.3 \ - man/sd_event_source_ref.3 \ - man/sd_event_source_set_io_events.3 \ - man/sd_event_source_set_io_fd.3 \ - man/sd_event_source_set_time.3 \ - man/sd_event_source_set_time_accuracy.3 \ - man/sd_event_source_unrefp.3 \ - man/sd_event_time_handler_t.3 \ - man/sd_event_unref.3 \ - man/sd_event_unrefp.3 \ - man/sd_id128_equal.3 \ - man/sd_id128_from_string.3 \ - man/sd_id128_get_boot.3 \ - man/sd_id128_get_invocation.3 \ - man/sd_id128_get_machine_app_specific.3 \ - man/sd_id128_is_null.3 \ - man/sd_id128_t.3 \ - man/sd_is_mq.3 \ - man/sd_is_socket.3 \ - man/sd_is_socket_inet.3 \ - man/sd_is_socket_sockaddr.3 \ - man/sd_is_socket_unix.3 \ - man/sd_is_special.3 \ - man/sd_journal.3 \ - man/sd_journal_add_conjunction.3 \ - man/sd_journal_add_disjunction.3 \ - man/sd_journal_close.3 \ - man/sd_journal_enumerate_data.3 \ - man/sd_journal_enumerate_unique.3 \ - man/sd_journal_flush_matches.3 \ - man/sd_journal_get_catalog_for_message_id.3 \ - man/sd_journal_get_cutoff_monotonic_usec.3 \ - man/sd_journal_get_data_threshold.3 \ - man/sd_journal_get_events.3 \ - man/sd_journal_get_monotonic_usec.3 \ - man/sd_journal_get_timeout.3 \ - man/sd_journal_has_persistent_files.3 \ - man/sd_journal_next_skip.3 \ - man/sd_journal_open_directory.3 \ - man/sd_journal_open_directory_fd.3 \ - man/sd_journal_open_files.3 \ - man/sd_journal_open_files_fd.3 \ - man/sd_journal_perror.3 \ - man/sd_journal_previous.3 \ - man/sd_journal_previous_skip.3 \ - man/sd_journal_printv.3 \ - man/sd_journal_process.3 \ - man/sd_journal_reliable_fd.3 \ - man/sd_journal_restart_data.3 \ - man/sd_journal_restart_fields.3 \ - man/sd_journal_restart_unique.3 \ - man/sd_journal_seek_cursor.3 \ - man/sd_journal_seek_monotonic_usec.3 \ - man/sd_journal_seek_realtime_usec.3 \ - man/sd_journal_seek_tail.3 \ - man/sd_journal_send.3 \ - man/sd_journal_sendv.3 \ - man/sd_journal_set_data_threshold.3 \ - man/sd_journal_test_cursor.3 \ - man/sd_journal_wait.3 \ - man/sd_listen_fds_with_names.3 \ - man/sd_machine_get_ifindices.3 \ - man/sd_notifyf.3 \ - man/sd_pid_notify.3 \ - man/sd_pid_notify_with_fds.3 \ - man/sd_pid_notifyf.3 \ - man/sleep.conf.d.5 \ - man/system.conf.d.5 \ - man/systemd-ask-password-console.path.8 \ - man/systemd-ask-password-wall.path.8 \ - man/systemd-ask-password-wall.service.8 \ - man/systemd-fsck-root.service.8 \ - man/systemd-fsck.8 \ - man/systemd-hibernate.service.8 \ - man/systemd-hybrid-sleep.service.8 \ - man/systemd-initctl.8 \ - man/systemd-initctl.socket.8 \ - man/systemd-journald-audit.socket.8 \ - man/systemd-journald-dev-log.socket.8 \ - man/systemd-journald.8 \ - man/systemd-journald.socket.8 \ - man/systemd-kexec.service.8 \ - man/systemd-poweroff.service.8 \ - man/systemd-reboot.service.8 \ - man/systemd-remount-fs.8 \ - man/systemd-shutdown.8 \ - man/systemd-sleep.8 \ - man/systemd-sysctl.8 \ - man/systemd-sysusers.service.8 \ - man/systemd-tmpfiles-clean.service.8 \ - man/systemd-tmpfiles-clean.timer.8 \ - man/systemd-tmpfiles-setup-dev.service.8 \ - man/systemd-tmpfiles-setup.service.8 \ - man/systemd-udevd-control.socket.8 \ - man/systemd-udevd-kernel.socket.8 \ - man/systemd-udevd.8 \ - man/systemd-umount.1 \ - man/systemd-update-done.8 \ - man/systemd-user.conf.5 \ - man/systemd-volatile-root.8 \ - man/udev_device_get_action.3 \ - man/udev_device_get_devlinks_list_entry.3 \ - man/udev_device_get_devnode.3 \ - man/udev_device_get_devnum.3 \ - man/udev_device_get_devpath.3 \ - man/udev_device_get_devtype.3 \ - man/udev_device_get_driver.3 \ - man/udev_device_get_is_initialized.3 \ - man/udev_device_get_parent.3 \ - man/udev_device_get_parent_with_subsystem_devtype.3 \ - man/udev_device_get_properties_list_entry.3 \ - man/udev_device_get_property_value.3 \ - man/udev_device_get_subsystem.3 \ - man/udev_device_get_sysattr_list_entry.3 \ - man/udev_device_get_sysattr_value.3 \ - man/udev_device_get_sysname.3 \ - man/udev_device_get_sysnum.3 \ - man/udev_device_get_tags_list_entry.3 \ - man/udev_device_get_udev.3 \ - man/udev_device_new_from_device_id.3 \ - man/udev_device_new_from_devnum.3 \ - man/udev_device_new_from_environment.3 \ - man/udev_device_new_from_subsystem_sysname.3 \ - man/udev_device_ref.3 \ - man/udev_device_set_sysattr_value.3 \ - man/udev_device_unref.3 \ - man/udev_enumerate_add_match_is_initialized.3 \ - man/udev_enumerate_add_match_parent.3 \ - man/udev_enumerate_add_match_property.3 \ - man/udev_enumerate_add_match_sysattr.3 \ - man/udev_enumerate_add_match_sysname.3 \ - man/udev_enumerate_add_match_tag.3 \ - man/udev_enumerate_add_nomatch_subsystem.3 \ - man/udev_enumerate_add_nomatch_sysattr.3 \ - man/udev_enumerate_add_syspath.3 \ - man/udev_enumerate_get_list_entry.3 \ - man/udev_enumerate_get_udev.3 \ - man/udev_enumerate_ref.3 \ - man/udev_enumerate_scan_subsystems.3 \ - man/udev_enumerate_unref.3 \ - man/udev_list_entry_get_by_name.3 \ - man/udev_list_entry_get_name.3 \ - man/udev_list_entry_get_next.3 \ - man/udev_list_entry_get_value.3 \ - man/udev_monitor_enable_receiving.3 \ - man/udev_monitor_filter_add_match_subsystem_devtype.3 \ - man/udev_monitor_filter_add_match_tag.3 \ - man/udev_monitor_filter_remove.3 \ - man/udev_monitor_get_fd.3 \ - man/udev_monitor_get_udev.3 \ - man/udev_monitor_ref.3 \ - man/udev_monitor_set_receive_buffer_size.3 \ - man/udev_monitor_unref.3 \ - man/udev_ref.3 \ - man/udev_unref.3 \ - man/user.conf.d.5 -man/SD_ALERT.3: man/sd-daemon.3 -man/SD_BUS_ERROR_ACCESS_DENIED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_ADDRESS_IN_USE.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_AUTH_FAILED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_BAD_ADDRESS.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_DISCONNECTED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_END.3: man/sd_bus_error_add_map.3 -man/SD_BUS_ERROR_FAILED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_FILE_EXISTS.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_FILE_NOT_FOUND.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_INCONSISTENT_MESSAGE.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_INVALID_ARGS.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_INVALID_SIGNATURE.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_IO_ERROR.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_LIMITS_EXCEEDED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_MAKE_CONST.3: man/sd_bus_error.3 -man/SD_BUS_ERROR_MAP.3: man/sd_bus_error_add_map.3 -man/SD_BUS_ERROR_MATCH_RULE_INVALID.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_MATCH_RULE_NOT_FOUND.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NAME_HAS_NO_OWNER.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NOT_SUPPORTED.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NO_MEMORY.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NO_NETWORK.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NO_REPLY.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NO_SERVER.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_NULL.3: man/sd_bus_error.3 -man/SD_BUS_ERROR_PROPERTY_READ_ONLY.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_SERVICE_UNKNOWN.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_TIMEOUT.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_UNKNOWN_INTERFACE.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_UNKNOWN_METHOD.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_UNKNOWN_OBJECT.3: man/sd-bus-errors.3 -man/SD_BUS_ERROR_UNKNOWN_PROPERTY.3: man/sd-bus-errors.3 -man/SD_CRIT.3: man/sd-daemon.3 -man/SD_DEBUG.3: man/sd-daemon.3 -man/SD_EMERG.3: man/sd-daemon.3 -man/SD_ERR.3: man/sd-daemon.3 -man/SD_EVENT_ARMED.3: man/sd_event_wait.3 -man/SD_EVENT_EXITING.3: man/sd_event_wait.3 -man/SD_EVENT_FINISHED.3: man/sd_event_wait.3 -man/SD_EVENT_INITIAL.3: man/sd_event_wait.3 -man/SD_EVENT_OFF.3: man/sd_event_source_set_enabled.3 -man/SD_EVENT_ON.3: man/sd_event_source_set_enabled.3 -man/SD_EVENT_ONESHOT.3: man/sd_event_source_set_enabled.3 -man/SD_EVENT_PENDING.3: man/sd_event_wait.3 -man/SD_EVENT_PREPARING.3: man/sd_event_wait.3 -man/SD_EVENT_PRIORITY_IDLE.3: man/sd_event_source_set_priority.3 -man/SD_EVENT_PRIORITY_IMPORTANT.3: man/sd_event_source_set_priority.3 -man/SD_EVENT_PRIORITY_NORMAL.3: man/sd_event_source_set_priority.3 -man/SD_EVENT_RUNNING.3: man/sd_event_wait.3 -man/SD_ID128_CONST_STR.3: man/sd-id128.3 -man/SD_ID128_FORMAT_STR.3: man/sd-id128.3 -man/SD_ID128_FORMAT_VAL.3: man/sd-id128.3 -man/SD_ID128_MAKE.3: man/sd-id128.3 -man/SD_ID128_MAKE_STR.3: man/sd-id128.3 -man/SD_ID128_NULL.3: man/sd-id128.3 -man/SD_INFO.3: man/sd-daemon.3 -man/SD_JOURNAL_APPEND.3: man/sd_journal_get_fd.3 -man/SD_JOURNAL_CURRENT_USER.3: man/sd_journal_open.3 -man/SD_JOURNAL_FOREACH.3: man/sd_journal_next.3 -man/SD_JOURNAL_FOREACH_BACKWARDS.3: man/sd_journal_next.3 -man/SD_JOURNAL_FOREACH_DATA.3: man/sd_journal_get_data.3 -man/SD_JOURNAL_FOREACH_FIELD.3: man/sd_journal_enumerate_fields.3 -man/SD_JOURNAL_FOREACH_UNIQUE.3: man/sd_journal_query_unique.3 -man/SD_JOURNAL_INVALIDATE.3: man/sd_journal_get_fd.3 -man/SD_JOURNAL_LOCAL_ONLY.3: man/sd_journal_open.3 -man/SD_JOURNAL_NOP.3: man/sd_journal_get_fd.3 -man/SD_JOURNAL_OS_ROOT.3: man/sd_journal_open.3 -man/SD_JOURNAL_RUNTIME_ONLY.3: man/sd_journal_open.3 -man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3 -man/SD_JOURNAL_SYSTEM.3: man/sd_journal_open.3 -man/SD_LISTEN_FDS_START.3: man/sd_listen_fds.3 -man/SD_NOTICE.3: man/sd-daemon.3 -man/SD_WARNING.3: man/sd-daemon.3 -man/init.1: man/systemd.1 -man/journald.conf.d.5: man/journald.conf.5 -man/poweroff.8: man/halt.8 -man/reboot.8: man/halt.8 -man/sd_bus_creds_get_audit_login_uid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_audit_session_id.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_augmented_mask.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_creds_get_cgroup.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_cmdline.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_comm.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_description.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_egid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_euid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_exe.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_fsgid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_fsuid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_gid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_mask.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_creds_get_owner_uid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_ppid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_selinux_context.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_session.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_sgid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_slice.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_suid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_supplementary_gids.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_tid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_tid_comm.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_tty.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_uid.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_unique_name.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_unit.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_user_slice.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_user_unit.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_get_well_known_names.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_bounding_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_effective_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_inheritable_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_has_permitted_cap.3: man/sd_bus_creds_get_pid.3 -man/sd_bus_creds_ref.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_creds_unref.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_creds_unrefp.3: man/sd_bus_creds_new_from_pid.3 -man/sd_bus_default_system.3: man/sd_bus_default.3 -man/sd_bus_default_user.3: man/sd_bus_default.3 -man/sd_bus_error_copy.3: man/sd_bus_error.3 -man/sd_bus_error_free.3: man/sd_bus_error.3 -man/sd_bus_error_get_errno.3: man/sd_bus_error.3 -man/sd_bus_error_has_name.3: man/sd_bus_error.3 -man/sd_bus_error_is_set.3: man/sd_bus_error.3 -man/sd_bus_error_map.3: man/sd_bus_error_add_map.3 -man/sd_bus_error_set.3: man/sd_bus_error.3 -man/sd_bus_error_set_const.3: man/sd_bus_error.3 -man/sd_bus_error_set_errno.3: man/sd_bus_error.3 -man/sd_bus_error_set_errnof.3: man/sd_bus_error.3 -man/sd_bus_error_set_errnofv.3: man/sd_bus_error.3 -man/sd_bus_error_setf.3: man/sd_bus_error.3 -man/sd_bus_message_append_array_iovec.3: man/sd_bus_message_append_array.3 -man/sd_bus_message_append_array_memfd.3: man/sd_bus_message_append_array.3 -man/sd_bus_message_append_array_space.3: man/sd_bus_message_append_array.3 -man/sd_bus_message_append_string_iovec.3: man/sd_bus_message_append_string_memfd.3 -man/sd_bus_message_append_string_space.3: man/sd_bus_message_append_string_memfd.3 -man/sd_bus_message_appendv.3: man/sd_bus_message_append.3 -man/sd_bus_message_get_realtime_usec.3: man/sd_bus_message_get_monotonic_usec.3 -man/sd_bus_message_get_reply_cookie.3: man/sd_bus_message_get_cookie.3 -man/sd_bus_message_get_seqnum.3: man/sd_bus_message_get_monotonic_usec.3 -man/sd_bus_negotiate_creds.3: man/sd_bus_negotiate_fds.3 -man/sd_bus_negotiate_timestamp.3: man/sd_bus_negotiate_fds.3 -man/sd_bus_open.3: man/sd_bus_default.3 -man/sd_bus_open_system.3: man/sd_bus_default.3 -man/sd_bus_open_system_machine.3: man/sd_bus_default.3 -man/sd_bus_open_system_remote.3: man/sd_bus_default.3 -man/sd_bus_open_user.3: man/sd_bus_default.3 -man/sd_bus_path_decode.3: man/sd_bus_path_encode.3 -man/sd_bus_path_decode_many.3: man/sd_bus_path_encode.3 -man/sd_bus_path_encode_many.3: man/sd_bus_path_encode.3 -man/sd_bus_ref.3: man/sd_bus_new.3 -man/sd_bus_release_name.3: man/sd_bus_request_name.3 -man/sd_bus_track_add_sender.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_contains.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_count.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_count_name.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_count_sender.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_first.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_get_bus.3: man/sd_bus_track_new.3 -man/sd_bus_track_get_recursive.3: man/sd_bus_track_new.3 -man/sd_bus_track_get_userdata.3: man/sd_bus_track_new.3 -man/sd_bus_track_next.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_ref.3: man/sd_bus_track_new.3 -man/sd_bus_track_remove_name.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_remove_sender.3: man/sd_bus_track_add_name.3 -man/sd_bus_track_set_recursive.3: man/sd_bus_track_new.3 -man/sd_bus_track_set_userdata.3: man/sd_bus_track_new.3 -man/sd_bus_track_unref.3: man/sd_bus_track_new.3 -man/sd_bus_track_unrefp.3: man/sd_bus_track_new.3 -man/sd_bus_unref.3: man/sd_bus_new.3 -man/sd_bus_unrefp.3: man/sd_bus_new.3 -man/sd_event.3: man/sd_event_new.3 -man/sd_event_add_exit.3: man/sd_event_add_defer.3 -man/sd_event_add_post.3: man/sd_event_add_defer.3 -man/sd_event_child_handler_t.3: man/sd_event_add_child.3 -man/sd_event_default.3: man/sd_event_new.3 -man/sd_event_dispatch.3: man/sd_event_wait.3 -man/sd_event_get_exit_code.3: man/sd_event_exit.3 -man/sd_event_get_iteration.3: man/sd_event_wait.3 -man/sd_event_get_state.3: man/sd_event_wait.3 -man/sd_event_get_tid.3: man/sd_event_new.3 -man/sd_event_get_watchdog.3: man/sd_event_set_watchdog.3 -man/sd_event_handler_t.3: man/sd_event_add_defer.3 -man/sd_event_io_handler_t.3: man/sd_event_add_io.3 -man/sd_event_loop.3: man/sd_event_run.3 -man/sd_event_prepare.3: man/sd_event_wait.3 -man/sd_event_ref.3: man/sd_event_new.3 -man/sd_event_signal_handler_t.3: man/sd_event_add_signal.3 -man/sd_event_source.3: man/sd_event_add_io.3 -man/sd_event_source_get_child_pid.3: man/sd_event_add_child.3 -man/sd_event_source_get_description.3: man/sd_event_source_set_description.3 -man/sd_event_source_get_enabled.3: man/sd_event_source_set_enabled.3 -man/sd_event_source_get_io_events.3: man/sd_event_add_io.3 -man/sd_event_source_get_io_fd.3: man/sd_event_add_io.3 -man/sd_event_source_get_io_revents.3: man/sd_event_add_io.3 -man/sd_event_source_get_priority.3: man/sd_event_source_set_priority.3 -man/sd_event_source_get_signal.3: man/sd_event_add_signal.3 -man/sd_event_source_get_time.3: man/sd_event_add_time.3 -man/sd_event_source_get_time_accuracy.3: man/sd_event_add_time.3 -man/sd_event_source_get_time_clock.3: man/sd_event_add_time.3 -man/sd_event_source_get_userdata.3: man/sd_event_source_set_userdata.3 -man/sd_event_source_ref.3: man/sd_event_source_unref.3 -man/sd_event_source_set_io_events.3: man/sd_event_add_io.3 -man/sd_event_source_set_io_fd.3: man/sd_event_add_io.3 -man/sd_event_source_set_time.3: man/sd_event_add_time.3 -man/sd_event_source_set_time_accuracy.3: man/sd_event_add_time.3 -man/sd_event_source_unrefp.3: man/sd_event_source_unref.3 -man/sd_event_time_handler_t.3: man/sd_event_add_time.3 -man/sd_event_unref.3: man/sd_event_new.3 -man/sd_event_unrefp.3: man/sd_event_new.3 -man/sd_id128_equal.3: man/sd-id128.3 -man/sd_id128_from_string.3: man/sd_id128_to_string.3 -man/sd_id128_get_boot.3: man/sd_id128_get_machine.3 -man/sd_id128_get_invocation.3: man/sd_id128_get_machine.3 -man/sd_id128_get_machine_app_specific.3: man/sd_id128_get_machine.3 -man/sd_id128_is_null.3: man/sd-id128.3 -man/sd_id128_t.3: man/sd-id128.3 -man/sd_is_mq.3: man/sd_is_fifo.3 -man/sd_is_socket.3: man/sd_is_fifo.3 -man/sd_is_socket_inet.3: man/sd_is_fifo.3 -man/sd_is_socket_sockaddr.3: man/sd_is_fifo.3 -man/sd_is_socket_unix.3: man/sd_is_fifo.3 -man/sd_is_special.3: man/sd_is_fifo.3 -man/sd_journal.3: man/sd_journal_open.3 -man/sd_journal_add_conjunction.3: man/sd_journal_add_match.3 -man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3 -man/sd_journal_close.3: man/sd_journal_open.3 -man/sd_journal_enumerate_data.3: man/sd_journal_get_data.3 -man/sd_journal_enumerate_unique.3: man/sd_journal_query_unique.3 -man/sd_journal_flush_matches.3: man/sd_journal_add_match.3 -man/sd_journal_get_catalog_for_message_id.3: man/sd_journal_get_catalog.3 -man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3 -man/sd_journal_get_data_threshold.3: man/sd_journal_get_data.3 -man/sd_journal_get_events.3: man/sd_journal_get_fd.3 -man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3 -man/sd_journal_get_timeout.3: man/sd_journal_get_fd.3 -man/sd_journal_has_persistent_files.3: man/sd_journal_has_runtime_files.3 -man/sd_journal_next_skip.3: man/sd_journal_next.3 -man/sd_journal_open_directory.3: man/sd_journal_open.3 -man/sd_journal_open_directory_fd.3: man/sd_journal_open.3 -man/sd_journal_open_files.3: man/sd_journal_open.3 -man/sd_journal_open_files_fd.3: man/sd_journal_open.3 -man/sd_journal_perror.3: man/sd_journal_print.3 -man/sd_journal_previous.3: man/sd_journal_next.3 -man/sd_journal_previous_skip.3: man/sd_journal_next.3 -man/sd_journal_printv.3: man/sd_journal_print.3 -man/sd_journal_process.3: man/sd_journal_get_fd.3 -man/sd_journal_reliable_fd.3: man/sd_journal_get_fd.3 -man/sd_journal_restart_data.3: man/sd_journal_get_data.3 -man/sd_journal_restart_fields.3: man/sd_journal_enumerate_fields.3 -man/sd_journal_restart_unique.3: man/sd_journal_query_unique.3 -man/sd_journal_seek_cursor.3: man/sd_journal_seek_head.3 -man/sd_journal_seek_monotonic_usec.3: man/sd_journal_seek_head.3 -man/sd_journal_seek_realtime_usec.3: man/sd_journal_seek_head.3 -man/sd_journal_seek_tail.3: man/sd_journal_seek_head.3 -man/sd_journal_send.3: man/sd_journal_print.3 -man/sd_journal_sendv.3: man/sd_journal_print.3 -man/sd_journal_set_data_threshold.3: man/sd_journal_get_data.3 -man/sd_journal_test_cursor.3: man/sd_journal_get_cursor.3 -man/sd_journal_wait.3: man/sd_journal_get_fd.3 -man/sd_listen_fds_with_names.3: man/sd_listen_fds.3 -man/sd_machine_get_ifindices.3: man/sd_machine_get_class.3 -man/sd_notifyf.3: man/sd_notify.3 -man/sd_pid_notify.3: man/sd_notify.3 -man/sd_pid_notify_with_fds.3: man/sd_notify.3 -man/sd_pid_notifyf.3: man/sd_notify.3 -man/sleep.conf.d.5: man/systemd-sleep.conf.5 -man/system.conf.d.5: man/systemd-system.conf.5 -man/systemd-ask-password-console.path.8: man/systemd-ask-password-console.service.8 -man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8 -man/systemd-ask-password-wall.service.8: man/systemd-ask-password-console.service.8 -man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8 -man/systemd-fsck.8: man/systemd-fsck@.service.8 -man/systemd-hibernate.service.8: man/systemd-suspend.service.8 -man/systemd-hybrid-sleep.service.8: man/systemd-suspend.service.8 -man/systemd-initctl.8: man/systemd-initctl.service.8 -man/systemd-initctl.socket.8: man/systemd-initctl.service.8 -man/systemd-journald-audit.socket.8: man/systemd-journald.service.8 -man/systemd-journald-dev-log.socket.8: man/systemd-journald.service.8 -man/systemd-journald.8: man/systemd-journald.service.8 -man/systemd-journald.socket.8: man/systemd-journald.service.8 -man/systemd-kexec.service.8: man/systemd-halt.service.8 -man/systemd-poweroff.service.8: man/systemd-halt.service.8 -man/systemd-reboot.service.8: man/systemd-halt.service.8 -man/systemd-remount-fs.8: man/systemd-remount-fs.service.8 -man/systemd-shutdown.8: man/systemd-halt.service.8 -man/systemd-sleep.8: man/systemd-suspend.service.8 -man/systemd-sysctl.8: man/systemd-sysctl.service.8 -man/systemd-sysusers.service.8: man/systemd-sysusers.8 -man/systemd-tmpfiles-clean.service.8: man/systemd-tmpfiles.8 -man/systemd-tmpfiles-clean.timer.8: man/systemd-tmpfiles.8 -man/systemd-tmpfiles-setup-dev.service.8: man/systemd-tmpfiles.8 -man/systemd-tmpfiles-setup.service.8: man/systemd-tmpfiles.8 -man/systemd-udevd-control.socket.8: man/systemd-udevd.service.8 -man/systemd-udevd-kernel.socket.8: man/systemd-udevd.service.8 -man/systemd-udevd.8: man/systemd-udevd.service.8 -man/systemd-umount.1: man/systemd-mount.1 -man/systemd-update-done.8: man/systemd-update-done.service.8 -man/systemd-user.conf.5: man/systemd-system.conf.5 -man/systemd-volatile-root.8: man/systemd-volatile-root.service.8 -man/udev_device_get_action.3: man/udev_device_get_syspath.3 -man/udev_device_get_devlinks_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_devnode.3: man/udev_device_get_syspath.3 -man/udev_device_get_devnum.3: man/udev_device_get_syspath.3 -man/udev_device_get_devpath.3: man/udev_device_get_syspath.3 -man/udev_device_get_devtype.3: man/udev_device_get_syspath.3 -man/udev_device_get_driver.3: man/udev_device_get_syspath.3 -man/udev_device_get_is_initialized.3: man/udev_device_get_syspath.3 -man/udev_device_get_parent.3: man/udev_device_get_syspath.3 -man/udev_device_get_parent_with_subsystem_devtype.3: man/udev_device_get_syspath.3 -man/udev_device_get_properties_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_property_value.3: man/udev_device_has_tag.3 -man/udev_device_get_subsystem.3: man/udev_device_get_syspath.3 -man/udev_device_get_sysattr_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_sysattr_value.3: man/udev_device_has_tag.3 -man/udev_device_get_sysname.3: man/udev_device_get_syspath.3 -man/udev_device_get_sysnum.3: man/udev_device_get_syspath.3 -man/udev_device_get_tags_list_entry.3: man/udev_device_has_tag.3 -man/udev_device_get_udev.3: man/udev_device_get_syspath.3 -man/udev_device_new_from_device_id.3: man/udev_device_new_from_syspath.3 -man/udev_device_new_from_devnum.3: man/udev_device_new_from_syspath.3 -man/udev_device_new_from_environment.3: man/udev_device_new_from_syspath.3 -man/udev_device_new_from_subsystem_sysname.3: man/udev_device_new_from_syspath.3 -man/udev_device_ref.3: man/udev_device_new_from_syspath.3 -man/udev_device_set_sysattr_value.3: man/udev_device_has_tag.3 -man/udev_device_unref.3: man/udev_device_new_from_syspath.3 -man/udev_enumerate_add_match_is_initialized.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_parent.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_property.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_sysattr.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_sysname.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_match_tag.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_nomatch_subsystem.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_nomatch_sysattr.3: man/udev_enumerate_add_match_subsystem.3 -man/udev_enumerate_add_syspath.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_get_list_entry.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_get_udev.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_ref.3: man/udev_enumerate_new.3 -man/udev_enumerate_scan_subsystems.3: man/udev_enumerate_scan_devices.3 -man/udev_enumerate_unref.3: man/udev_enumerate_new.3 -man/udev_list_entry_get_by_name.3: man/udev_list_entry.3 -man/udev_list_entry_get_name.3: man/udev_list_entry.3 -man/udev_list_entry_get_next.3: man/udev_list_entry.3 -man/udev_list_entry_get_value.3: man/udev_list_entry.3 -man/udev_monitor_enable_receiving.3: man/udev_monitor_receive_device.3 -man/udev_monitor_filter_add_match_subsystem_devtype.3: man/udev_monitor_filter_update.3 -man/udev_monitor_filter_add_match_tag.3: man/udev_monitor_filter_update.3 -man/udev_monitor_filter_remove.3: man/udev_monitor_filter_update.3 -man/udev_monitor_get_fd.3: man/udev_monitor_receive_device.3 -man/udev_monitor_get_udev.3: man/udev_monitor_receive_device.3 -man/udev_monitor_ref.3: man/udev_monitor_new_from_netlink.3 -man/udev_monitor_set_receive_buffer_size.3: man/udev_monitor_receive_device.3 -man/udev_monitor_unref.3: man/udev_monitor_new_from_netlink.3 -man/udev_ref.3: man/udev_new.3 -man/udev_unref.3: man/udev_new.3 -man/user.conf.d.5: man/systemd-system.conf.5 -man/SD_ALERT.html: man/sd-daemon.html - $(html-alias) - -man/SD_BUS_ERROR_ACCESS_DENIED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_ADDRESS_IN_USE.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_AUTH_FAILED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_BAD_ADDRESS.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_DISCONNECTED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_END.html: man/sd_bus_error_add_map.html - $(html-alias) - -man/SD_BUS_ERROR_FAILED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_FILE_EXISTS.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_FILE_NOT_FOUND.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_INCONSISTENT_MESSAGE.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_INVALID_ARGS.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_INVALID_SIGNATURE.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_IO_ERROR.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_LIMITS_EXCEEDED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_MAKE_CONST.html: man/sd_bus_error.html - $(html-alias) - -man/SD_BUS_ERROR_MAP.html: man/sd_bus_error_add_map.html - $(html-alias) - -man/SD_BUS_ERROR_MATCH_RULE_INVALID.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_MATCH_RULE_NOT_FOUND.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NAME_HAS_NO_OWNER.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NOT_SUPPORTED.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NO_MEMORY.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NO_NETWORK.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NO_REPLY.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NO_SERVER.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_NULL.html: man/sd_bus_error.html - $(html-alias) - -man/SD_BUS_ERROR_PROPERTY_READ_ONLY.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_SERVICE_UNKNOWN.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_TIMEOUT.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_UNKNOWN_INTERFACE.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_UNKNOWN_METHOD.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_UNKNOWN_OBJECT.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_BUS_ERROR_UNKNOWN_PROPERTY.html: man/sd-bus-errors.html - $(html-alias) - -man/SD_CRIT.html: man/sd-daemon.html - $(html-alias) - -man/SD_DEBUG.html: man/sd-daemon.html - $(html-alias) - -man/SD_EMERG.html: man/sd-daemon.html - $(html-alias) - -man/SD_ERR.html: man/sd-daemon.html - $(html-alias) - -man/SD_EVENT_ARMED.html: man/sd_event_wait.html - $(html-alias) - -man/SD_EVENT_EXITING.html: man/sd_event_wait.html - $(html-alias) - -man/SD_EVENT_FINISHED.html: man/sd_event_wait.html - $(html-alias) - -man/SD_EVENT_INITIAL.html: man/sd_event_wait.html - $(html-alias) - -man/SD_EVENT_OFF.html: man/sd_event_source_set_enabled.html - $(html-alias) - -man/SD_EVENT_ON.html: man/sd_event_source_set_enabled.html - $(html-alias) - -man/SD_EVENT_ONESHOT.html: man/sd_event_source_set_enabled.html - $(html-alias) - -man/SD_EVENT_PENDING.html: man/sd_event_wait.html - $(html-alias) - -man/SD_EVENT_PREPARING.html: man/sd_event_wait.html - $(html-alias) - -man/SD_EVENT_PRIORITY_IDLE.html: man/sd_event_source_set_priority.html - $(html-alias) - -man/SD_EVENT_PRIORITY_IMPORTANT.html: man/sd_event_source_set_priority.html - $(html-alias) - -man/SD_EVENT_PRIORITY_NORMAL.html: man/sd_event_source_set_priority.html - $(html-alias) - -man/SD_EVENT_RUNNING.html: man/sd_event_wait.html - $(html-alias) - -man/SD_ID128_CONST_STR.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_FORMAT_STR.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_FORMAT_VAL.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_MAKE.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_MAKE_STR.html: man/sd-id128.html - $(html-alias) - -man/SD_ID128_NULL.html: man/sd-id128.html - $(html-alias) - -man/SD_INFO.html: man/sd-daemon.html - $(html-alias) - -man/SD_JOURNAL_APPEND.html: man/sd_journal_get_fd.html - $(html-alias) - -man/SD_JOURNAL_CURRENT_USER.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_FOREACH.html: man/sd_journal_next.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_BACKWARDS.html: man/sd_journal_next.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_DATA.html: man/sd_journal_get_data.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_FIELD.html: man/sd_journal_enumerate_fields.html - $(html-alias) - -man/SD_JOURNAL_FOREACH_UNIQUE.html: man/sd_journal_query_unique.html - $(html-alias) - -man/SD_JOURNAL_INVALIDATE.html: man/sd_journal_get_fd.html - $(html-alias) - -man/SD_JOURNAL_LOCAL_ONLY.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_NOP.html: man/sd_journal_get_fd.html - $(html-alias) - -man/SD_JOURNAL_OS_ROOT.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_RUNTIME_ONLY.html: man/sd_journal_open.html - $(html-alias) - -man/SD_JOURNAL_SUPPRESS_LOCATION.html: man/sd_journal_print.html - $(html-alias) - -man/SD_JOURNAL_SYSTEM.html: man/sd_journal_open.html - $(html-alias) - -man/SD_LISTEN_FDS_START.html: man/sd_listen_fds.html - $(html-alias) - -man/SD_NOTICE.html: man/sd-daemon.html - $(html-alias) - -man/SD_WARNING.html: man/sd-daemon.html - $(html-alias) - -man/init.html: man/systemd.html - $(html-alias) - -man/journald.conf.d.html: man/journald.conf.html - $(html-alias) - -man/poweroff.html: man/halt.html - $(html-alias) - -man/reboot.html: man/halt.html - $(html-alias) - -man/sd_bus_creds_get_audit_login_uid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_audit_session_id.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_augmented_mask.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_creds_get_cgroup.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_cmdline.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_comm.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_description.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_egid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_euid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_exe.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_fsgid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_fsuid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_gid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_mask.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_creds_get_owner_uid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_ppid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_selinux_context.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_session.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_sgid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_slice.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_suid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_supplementary_gids.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_tid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_tid_comm.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_tty.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_uid.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_unique_name.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_unit.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_user_slice.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_user_unit.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_get_well_known_names.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_bounding_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_effective_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_inheritable_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_has_permitted_cap.html: man/sd_bus_creds_get_pid.html - $(html-alias) - -man/sd_bus_creds_ref.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_creds_unref.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_creds_unrefp.html: man/sd_bus_creds_new_from_pid.html - $(html-alias) - -man/sd_bus_default_system.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_default_user.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_error_copy.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_free.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_get_errno.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_has_name.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_is_set.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_map.html: man/sd_bus_error_add_map.html - $(html-alias) - -man/sd_bus_error_set.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_const.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_errno.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_errnof.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_set_errnofv.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_error_setf.html: man/sd_bus_error.html - $(html-alias) - -man/sd_bus_message_append_array_iovec.html: man/sd_bus_message_append_array.html - $(html-alias) - -man/sd_bus_message_append_array_memfd.html: man/sd_bus_message_append_array.html - $(html-alias) - -man/sd_bus_message_append_array_space.html: man/sd_bus_message_append_array.html - $(html-alias) - -man/sd_bus_message_append_string_iovec.html: man/sd_bus_message_append_string_memfd.html - $(html-alias) - -man/sd_bus_message_append_string_space.html: man/sd_bus_message_append_string_memfd.html - $(html-alias) - -man/sd_bus_message_appendv.html: man/sd_bus_message_append.html - $(html-alias) - -man/sd_bus_message_get_realtime_usec.html: man/sd_bus_message_get_monotonic_usec.html - $(html-alias) - -man/sd_bus_message_get_reply_cookie.html: man/sd_bus_message_get_cookie.html - $(html-alias) - -man/sd_bus_message_get_seqnum.html: man/sd_bus_message_get_monotonic_usec.html - $(html-alias) - -man/sd_bus_negotiate_creds.html: man/sd_bus_negotiate_fds.html - $(html-alias) - -man/sd_bus_negotiate_timestamp.html: man/sd_bus_negotiate_fds.html - $(html-alias) - -man/sd_bus_open.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_system.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_system_machine.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_system_remote.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_open_user.html: man/sd_bus_default.html - $(html-alias) - -man/sd_bus_path_decode.html: man/sd_bus_path_encode.html - $(html-alias) - -man/sd_bus_path_decode_many.html: man/sd_bus_path_encode.html - $(html-alias) - -man/sd_bus_path_encode_many.html: man/sd_bus_path_encode.html - $(html-alias) - -man/sd_bus_ref.html: man/sd_bus_new.html - $(html-alias) - -man/sd_bus_release_name.html: man/sd_bus_request_name.html - $(html-alias) - -man/sd_bus_track_add_sender.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_contains.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_count.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_count_name.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_count_sender.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_first.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_get_bus.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_get_recursive.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_get_userdata.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_next.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_ref.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_remove_name.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_remove_sender.html: man/sd_bus_track_add_name.html - $(html-alias) - -man/sd_bus_track_set_recursive.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_set_userdata.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_unref.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_track_unrefp.html: man/sd_bus_track_new.html - $(html-alias) - -man/sd_bus_unref.html: man/sd_bus_new.html - $(html-alias) - -man/sd_bus_unrefp.html: man/sd_bus_new.html - $(html-alias) - -man/sd_event.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_add_exit.html: man/sd_event_add_defer.html - $(html-alias) - -man/sd_event_add_post.html: man/sd_event_add_defer.html - $(html-alias) - -man/sd_event_child_handler_t.html: man/sd_event_add_child.html - $(html-alias) - -man/sd_event_default.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_dispatch.html: man/sd_event_wait.html - $(html-alias) - -man/sd_event_get_exit_code.html: man/sd_event_exit.html - $(html-alias) - -man/sd_event_get_iteration.html: man/sd_event_wait.html - $(html-alias) - -man/sd_event_get_state.html: man/sd_event_wait.html - $(html-alias) - -man/sd_event_get_tid.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_get_watchdog.html: man/sd_event_set_watchdog.html - $(html-alias) - -man/sd_event_handler_t.html: man/sd_event_add_defer.html - $(html-alias) - -man/sd_event_io_handler_t.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_loop.html: man/sd_event_run.html - $(html-alias) - -man/sd_event_prepare.html: man/sd_event_wait.html - $(html-alias) - -man/sd_event_ref.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_signal_handler_t.html: man/sd_event_add_signal.html - $(html-alias) - -man/sd_event_source.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_source_get_child_pid.html: man/sd_event_add_child.html - $(html-alias) - -man/sd_event_source_get_description.html: man/sd_event_source_set_description.html - $(html-alias) - -man/sd_event_source_get_enabled.html: man/sd_event_source_set_enabled.html - $(html-alias) - -man/sd_event_source_get_io_events.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_source_get_io_fd.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_source_get_io_revents.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_source_get_priority.html: man/sd_event_source_set_priority.html - $(html-alias) - -man/sd_event_source_get_signal.html: man/sd_event_add_signal.html - $(html-alias) - -man/sd_event_source_get_time.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_get_time_accuracy.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_get_time_clock.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_get_userdata.html: man/sd_event_source_set_userdata.html - $(html-alias) - -man/sd_event_source_ref.html: man/sd_event_source_unref.html - $(html-alias) - -man/sd_event_source_set_io_events.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_source_set_io_fd.html: man/sd_event_add_io.html - $(html-alias) - -man/sd_event_source_set_time.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_set_time_accuracy.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_source_unrefp.html: man/sd_event_source_unref.html - $(html-alias) - -man/sd_event_time_handler_t.html: man/sd_event_add_time.html - $(html-alias) - -man/sd_event_unref.html: man/sd_event_new.html - $(html-alias) - -man/sd_event_unrefp.html: man/sd_event_new.html - $(html-alias) - -man/sd_id128_equal.html: man/sd-id128.html - $(html-alias) - -man/sd_id128_from_string.html: man/sd_id128_to_string.html - $(html-alias) - -man/sd_id128_get_boot.html: man/sd_id128_get_machine.html - $(html-alias) - -man/sd_id128_get_invocation.html: man/sd_id128_get_machine.html - $(html-alias) - -man/sd_id128_get_machine_app_specific.html: man/sd_id128_get_machine.html - $(html-alias) - -man/sd_id128_is_null.html: man/sd-id128.html - $(html-alias) - -man/sd_id128_t.html: man/sd-id128.html - $(html-alias) - -man/sd_is_mq.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket_inet.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket_sockaddr.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_socket_unix.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_is_special.html: man/sd_is_fifo.html - $(html-alias) - -man/sd_journal.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_add_conjunction.html: man/sd_journal_add_match.html - $(html-alias) - -man/sd_journal_add_disjunction.html: man/sd_journal_add_match.html - $(html-alias) - -man/sd_journal_close.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_enumerate_data.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_enumerate_unique.html: man/sd_journal_query_unique.html - $(html-alias) - -man/sd_journal_flush_matches.html: man/sd_journal_add_match.html - $(html-alias) - -man/sd_journal_get_catalog_for_message_id.html: man/sd_journal_get_catalog.html - $(html-alias) - -man/sd_journal_get_cutoff_monotonic_usec.html: man/sd_journal_get_cutoff_realtime_usec.html - $(html-alias) - -man/sd_journal_get_data_threshold.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_get_events.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_get_monotonic_usec.html: man/sd_journal_get_realtime_usec.html - $(html-alias) - -man/sd_journal_get_timeout.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_has_persistent_files.html: man/sd_journal_has_runtime_files.html - $(html-alias) - -man/sd_journal_next_skip.html: man/sd_journal_next.html - $(html-alias) - -man/sd_journal_open_directory.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_open_directory_fd.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_open_files.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_open_files_fd.html: man/sd_journal_open.html - $(html-alias) - -man/sd_journal_perror.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_previous.html: man/sd_journal_next.html - $(html-alias) - -man/sd_journal_previous_skip.html: man/sd_journal_next.html - $(html-alias) - -man/sd_journal_printv.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_process.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_reliable_fd.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_journal_restart_data.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_restart_fields.html: man/sd_journal_enumerate_fields.html - $(html-alias) - -man/sd_journal_restart_unique.html: man/sd_journal_query_unique.html - $(html-alias) - -man/sd_journal_seek_cursor.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_seek_monotonic_usec.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_seek_realtime_usec.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_seek_tail.html: man/sd_journal_seek_head.html - $(html-alias) - -man/sd_journal_send.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_sendv.html: man/sd_journal_print.html - $(html-alias) - -man/sd_journal_set_data_threshold.html: man/sd_journal_get_data.html - $(html-alias) - -man/sd_journal_test_cursor.html: man/sd_journal_get_cursor.html - $(html-alias) - -man/sd_journal_wait.html: man/sd_journal_get_fd.html - $(html-alias) - -man/sd_listen_fds_with_names.html: man/sd_listen_fds.html - $(html-alias) - -man/sd_machine_get_ifindices.html: man/sd_machine_get_class.html - $(html-alias) - -man/sd_notifyf.html: man/sd_notify.html - $(html-alias) - -man/sd_pid_notify.html: man/sd_notify.html - $(html-alias) - -man/sd_pid_notify_with_fds.html: man/sd_notify.html - $(html-alias) - -man/sd_pid_notifyf.html: man/sd_notify.html - $(html-alias) - -man/sleep.conf.d.html: man/systemd-sleep.conf.html - $(html-alias) - -man/system.conf.d.html: man/systemd-system.conf.html - $(html-alias) - -man/systemd-ask-password-console.path.html: man/systemd-ask-password-console.service.html - $(html-alias) - -man/systemd-ask-password-wall.path.html: man/systemd-ask-password-console.service.html - $(html-alias) - -man/systemd-ask-password-wall.service.html: man/systemd-ask-password-console.service.html - $(html-alias) - -man/systemd-fsck-root.service.html: man/systemd-fsck@.service.html - $(html-alias) - -man/systemd-fsck.html: man/systemd-fsck@.service.html - $(html-alias) - -man/systemd-hibernate.service.html: man/systemd-suspend.service.html - $(html-alias) - -man/systemd-hybrid-sleep.service.html: man/systemd-suspend.service.html - $(html-alias) - -man/systemd-initctl.html: man/systemd-initctl.service.html - $(html-alias) - -man/systemd-initctl.socket.html: man/systemd-initctl.service.html - $(html-alias) - -man/systemd-journald-audit.socket.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-journald-dev-log.socket.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-journald.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-journald.socket.html: man/systemd-journald.service.html - $(html-alias) - -man/systemd-kexec.service.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-poweroff.service.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-reboot.service.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-remount-fs.html: man/systemd-remount-fs.service.html - $(html-alias) - -man/systemd-shutdown.html: man/systemd-halt.service.html - $(html-alias) - -man/systemd-sleep.html: man/systemd-suspend.service.html - $(html-alias) - -man/systemd-sysctl.html: man/systemd-sysctl.service.html - $(html-alias) - -man/systemd-sysusers.service.html: man/systemd-sysusers.html - $(html-alias) - -man/systemd-tmpfiles-clean.service.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-tmpfiles-clean.timer.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-tmpfiles-setup-dev.service.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-tmpfiles-setup.service.html: man/systemd-tmpfiles.html - $(html-alias) - -man/systemd-udevd-control.socket.html: man/systemd-udevd.service.html - $(html-alias) - -man/systemd-udevd-kernel.socket.html: man/systemd-udevd.service.html - $(html-alias) - -man/systemd-udevd.html: man/systemd-udevd.service.html - $(html-alias) - -man/systemd-umount.html: man/systemd-mount.html - $(html-alias) - -man/systemd-update-done.html: man/systemd-update-done.service.html - $(html-alias) - -man/systemd-user.conf.html: man/systemd-system.conf.html - $(html-alias) - -man/systemd-volatile-root.html: man/systemd-volatile-root.service.html - $(html-alias) - -man/udev_device_get_action.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devlinks_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_devnode.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devnum.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devpath.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_devtype.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_driver.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_is_initialized.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_parent.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_parent_with_subsystem_devtype.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_properties_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_property_value.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_subsystem.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_sysattr_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_sysattr_value.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_sysname.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_sysnum.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_get_tags_list_entry.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_get_udev.html: man/udev_device_get_syspath.html - $(html-alias) - -man/udev_device_new_from_device_id.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_new_from_devnum.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_new_from_environment.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_new_from_subsystem_sysname.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_ref.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_device_set_sysattr_value.html: man/udev_device_has_tag.html - $(html-alias) - -man/udev_device_unref.html: man/udev_device_new_from_syspath.html - $(html-alias) - -man/udev_enumerate_add_match_is_initialized.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_parent.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_property.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_sysattr.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_sysname.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_match_tag.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_nomatch_subsystem.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_nomatch_sysattr.html: man/udev_enumerate_add_match_subsystem.html - $(html-alias) - -man/udev_enumerate_add_syspath.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_get_list_entry.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_get_udev.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_ref.html: man/udev_enumerate_new.html - $(html-alias) - -man/udev_enumerate_scan_subsystems.html: man/udev_enumerate_scan_devices.html - $(html-alias) - -man/udev_enumerate_unref.html: man/udev_enumerate_new.html - $(html-alias) - -man/udev_list_entry_get_by_name.html: man/udev_list_entry.html - $(html-alias) - -man/udev_list_entry_get_name.html: man/udev_list_entry.html - $(html-alias) - -man/udev_list_entry_get_next.html: man/udev_list_entry.html - $(html-alias) - -man/udev_list_entry_get_value.html: man/udev_list_entry.html - $(html-alias) - -man/udev_monitor_enable_receiving.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_filter_add_match_subsystem_devtype.html: man/udev_monitor_filter_update.html - $(html-alias) - -man/udev_monitor_filter_add_match_tag.html: man/udev_monitor_filter_update.html - $(html-alias) - -man/udev_monitor_filter_remove.html: man/udev_monitor_filter_update.html - $(html-alias) - -man/udev_monitor_get_fd.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_get_udev.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_ref.html: man/udev_monitor_new_from_netlink.html - $(html-alias) - -man/udev_monitor_set_receive_buffer_size.html: man/udev_monitor_receive_device.html - $(html-alias) - -man/udev_monitor_unref.html: man/udev_monitor_new_from_netlink.html - $(html-alias) - -man/udev_ref.html: man/udev_new.html - $(html-alias) - -man/udev_unref.html: man/udev_new.html - $(html-alias) - -man/user.conf.d.html: man/systemd-system.conf.html - $(html-alias) - - -if ENABLE_BACKLIGHT -MANPAGES += \ - man/systemd-backlight@.service.8 -MANPAGES_ALIAS += \ - man/systemd-backlight.8 -man/systemd-backlight.8: man/systemd-backlight@.service.8 -man/systemd-backlight.html: man/systemd-backlight@.service.html - $(html-alias) - -endif - -if ENABLE_BINFMT -MANPAGES += \ - man/binfmt.d.5 \ - man/systemd-binfmt.service.8 -MANPAGES_ALIAS += \ - man/systemd-binfmt.8 -man/systemd-binfmt.8: man/systemd-binfmt.service.8 -man/systemd-binfmt.html: man/systemd-binfmt.service.html - $(html-alias) - -endif - -if ENABLE_COREDUMP -MANPAGES += \ - man/coredump.conf.5 \ - man/coredumpctl.1 \ - man/systemd-coredump.8 -MANPAGES_ALIAS += \ - man/coredump.conf.d.5 \ - man/systemd-coredump.socket.8 \ - man/systemd-coredump@.service.8 -man/coredump.conf.d.5: man/coredump.conf.5 -man/systemd-coredump.socket.8: man/systemd-coredump.8 -man/systemd-coredump@.service.8: man/systemd-coredump.8 -man/coredump.conf.d.html: man/coredump.conf.html - $(html-alias) - -man/systemd-coredump.socket.html: man/systemd-coredump.html - $(html-alias) - -man/systemd-coredump@.service.html: man/systemd-coredump.html - $(html-alias) - -endif - -if ENABLE_EFI -MANPAGES += \ - man/bootctl.1 -MANPAGES_ALIAS += \ - # - - -endif - -if ENABLE_ENVIRONMENT_D -MANPAGES += \ - man/environment.d.5 \ - man/systemd-environment-d-generator.8 \ - man/systemd.environment-generator.7 -MANPAGES_ALIAS += \ - man/30-systemd-environment-d-generator.8 -man/30-systemd-environment-d-generator.8: man/systemd-environment-d-generator.8 -man/30-systemd-environment-d-generator.html: man/systemd-environment-d-generator.html - $(html-alias) - -endif - -if ENABLE_FIRSTBOOT -MANPAGES += \ - man/systemd-firstboot.1 -MANPAGES_ALIAS += \ - man/systemd-firstboot.service.1 -man/systemd-firstboot.service.1: man/systemd-firstboot.1 -man/systemd-firstboot.service.html: man/systemd-firstboot.html - $(html-alias) - -endif - -if ENABLE_HIBERNATE -MANPAGES += \ - man/systemd-hibernate-resume-generator.8 \ - man/systemd-hibernate-resume@.service.8 -MANPAGES_ALIAS += \ - man/systemd-hibernate-resume.8 -man/systemd-hibernate-resume.8: man/systemd-hibernate-resume@.service.8 -man/systemd-hibernate-resume.html: man/systemd-hibernate-resume@.service.html - $(html-alias) - -endif - -if ENABLE_HOSTNAMED -MANPAGES += \ - man/hostnamectl.1 \ - man/systemd-hostnamed.service.8 -MANPAGES_ALIAS += \ - man/systemd-hostnamed.8 -man/systemd-hostnamed.8: man/systemd-hostnamed.service.8 -man/systemd-hostnamed.html: man/systemd-hostnamed.service.html - $(html-alias) - -endif - -if ENABLE_HWDB -MANPAGES += \ - man/hwdb.7 \ - man/systemd-hwdb.8 -MANPAGES_ALIAS += \ - # - - -endif - -if ENABLE_IMPORTD -MANPAGES += \ - man/systemd-importd.service.8 -MANPAGES_ALIAS += \ - man/systemd-importd.8 -man/systemd-importd.8: man/systemd-importd.service.8 -man/systemd-importd.html: man/systemd-importd.service.html - $(html-alias) - -endif - -if ENABLE_LOCALED -MANPAGES += \ - man/localectl.1 \ - man/systemd-localed.service.8 -MANPAGES_ALIAS += \ - man/systemd-localed.8 -man/systemd-localed.8: man/systemd-localed.service.8 -man/systemd-localed.html: man/systemd-localed.service.html - $(html-alias) - -endif - -if ENABLE_LOGIND -MANPAGES += \ - man/loginctl.1 \ - man/logind.conf.5 \ - man/systemd-logind.service.8 -MANPAGES_ALIAS += \ - man/logind.conf.d.5 \ - man/systemd-logind.8 -man/logind.conf.d.5: man/logind.conf.5 -man/systemd-logind.8: man/systemd-logind.service.8 -man/logind.conf.d.html: man/logind.conf.html - $(html-alias) - -man/systemd-logind.html: man/systemd-logind.service.html - $(html-alias) - -endif - -if ENABLE_MACHINED -MANPAGES += \ - man/machinectl.1 \ - man/nss-mymachines.8 \ - man/systemd-machined.service.8 -MANPAGES_ALIAS += \ - man/libnss_mymachines.so.2.8 \ - man/systemd-machined.8 -man/libnss_mymachines.so.2.8: man/nss-mymachines.8 -man/systemd-machined.8: man/systemd-machined.service.8 -man/libnss_mymachines.so.2.html: man/nss-mymachines.html - $(html-alias) - -man/systemd-machined.html: man/systemd-machined.service.html - $(html-alias) - -endif - -if ENABLE_NETWORKD -MANPAGES += \ - man/networkctl.1 \ - man/networkd.conf.5 \ - man/systemd-networkd-wait-online.service.8 \ - man/systemd-networkd.service.8 \ - man/systemd.netdev.5 \ - man/systemd.network.5 -MANPAGES_ALIAS += \ - man/networkd.conf.d.5 \ - man/systemd-networkd-wait-online.8 \ - man/systemd-networkd.8 -man/networkd.conf.d.5: man/networkd.conf.5 -man/systemd-networkd-wait-online.8: man/systemd-networkd-wait-online.service.8 -man/systemd-networkd.8: man/systemd-networkd.service.8 -man/networkd.conf.d.html: man/networkd.conf.html - $(html-alias) - -man/systemd-networkd-wait-online.html: man/systemd-networkd-wait-online.service.html - $(html-alias) - -man/systemd-networkd.html: man/systemd-networkd.service.html - $(html-alias) - -endif - -if ENABLE_NSS_SYSTEMD -MANPAGES += \ - man/nss-systemd.8 -MANPAGES_ALIAS += \ - man/libnss_systemd.so.2.8 -man/libnss_systemd.so.2.8: man/nss-systemd.8 -man/libnss_systemd.so.2.html: man/nss-systemd.html - $(html-alias) - -endif - -if ENABLE_QUOTACHECK -MANPAGES += \ - man/systemd-quotacheck.service.8 -MANPAGES_ALIAS += \ - man/systemd-quotacheck.8 -man/systemd-quotacheck.8: man/systemd-quotacheck.service.8 -man/systemd-quotacheck.html: man/systemd-quotacheck.service.html - $(html-alias) - -endif - -if ENABLE_RANDOMSEED -MANPAGES += \ - man/systemd-random-seed.service.8 -MANPAGES_ALIAS += \ - man/systemd-random-seed.8 -man/systemd-random-seed.8: man/systemd-random-seed.service.8 -man/systemd-random-seed.html: man/systemd-random-seed.service.html - $(html-alias) - -endif - -if ENABLE_RESOLVED -MANPAGES += \ - man/dnssec-trust-anchors.d.5 \ - man/nss-resolve.8 \ - man/resolved.conf.5 \ - man/systemd-resolve.1 \ - man/systemd-resolved.service.8 -MANPAGES_ALIAS += \ - man/libnss_resolve.so.2.8 \ - man/resolved.conf.d.5 \ - man/systemd-resolved.8 \ - man/systemd.negative.5 \ - man/systemd.positive.5 -man/libnss_resolve.so.2.8: man/nss-resolve.8 -man/resolved.conf.d.5: man/resolved.conf.5 -man/systemd-resolved.8: man/systemd-resolved.service.8 -man/systemd.negative.5: man/dnssec-trust-anchors.d.5 -man/systemd.positive.5: man/dnssec-trust-anchors.d.5 -man/libnss_resolve.so.2.html: man/nss-resolve.html - $(html-alias) - -man/resolved.conf.d.html: man/resolved.conf.html - $(html-alias) - -man/systemd-resolved.html: man/systemd-resolved.service.html - $(html-alias) - -man/systemd.negative.html: man/dnssec-trust-anchors.d.html - $(html-alias) - -man/systemd.positive.html: man/dnssec-trust-anchors.d.html - $(html-alias) - -endif - -if ENABLE_RFKILL -MANPAGES += \ - man/systemd-rfkill.service.8 -MANPAGES_ALIAS += \ - man/systemd-rfkill.8 \ - man/systemd-rfkill.socket.8 -man/systemd-rfkill.8: man/systemd-rfkill.service.8 -man/systemd-rfkill.socket.8: man/systemd-rfkill.service.8 -man/systemd-rfkill.html: man/systemd-rfkill.service.html - $(html-alias) - -man/systemd-rfkill.socket.html: man/systemd-rfkill.service.html - $(html-alias) - -endif - -if ENABLE_SYSUSERS -MANPAGES += \ - man/sysusers.d.5 -MANPAGES_ALIAS += \ - # - - -endif - -if ENABLE_TIMEDATED -MANPAGES += \ - man/systemd-timedated.service.8 \ - man/timedatectl.1 -MANPAGES_ALIAS += \ - man/systemd-timedated.8 -man/systemd-timedated.8: man/systemd-timedated.service.8 -man/systemd-timedated.html: man/systemd-timedated.service.html - $(html-alias) - -endif - -if ENABLE_TIMESYNCD -MANPAGES += \ - man/systemd-timesyncd.service.8 \ - man/timesyncd.conf.5 -MANPAGES_ALIAS += \ - man/systemd-timesyncd.8 \ - man/timesyncd.conf.d.5 -man/systemd-timesyncd.8: man/systemd-timesyncd.service.8 -man/timesyncd.conf.d.5: man/timesyncd.conf.5 -man/systemd-timesyncd.html: man/systemd-timesyncd.service.html - $(html-alias) - -man/timesyncd.conf.d.html: man/timesyncd.conf.html - $(html-alias) - -endif - -if ENABLE_VCONSOLE -MANPAGES += \ - man/systemd-vconsole-setup.service.8 \ - man/vconsole.conf.5 -MANPAGES_ALIAS += \ - man/systemd-vconsole-setup.8 -man/systemd-vconsole-setup.8: man/systemd-vconsole-setup.service.8 -man/systemd-vconsole-setup.html: man/systemd-vconsole-setup.service.html - $(html-alias) - -endif - -if HAVE_KMOD -MANPAGES += \ - man/modules-load.d.5 \ - man/systemd-modules-load.service.8 -MANPAGES_ALIAS += \ - man/systemd-modules-load.8 -man/systemd-modules-load.8: man/systemd-modules-load.service.8 -man/systemd-modules-load.html: man/systemd-modules-load.service.html - $(html-alias) - -endif - -if HAVE_LIBCRYPTSETUP -MANPAGES += \ - man/crypttab.5 \ - man/systemd-cryptsetup-generator.8 \ - man/systemd-cryptsetup@.service.8 \ - man/systemd-veritysetup-generator.8 \ - man/systemd-veritysetup@.service.8 -MANPAGES_ALIAS += \ - man/systemd-cryptsetup.8 \ - man/systemd-veritysetup.8 -man/systemd-cryptsetup.8: man/systemd-cryptsetup@.service.8 -man/systemd-veritysetup.8: man/systemd-veritysetup@.service.8 -man/systemd-cryptsetup.html: man/systemd-cryptsetup@.service.html - $(html-alias) - -man/systemd-veritysetup.html: man/systemd-veritysetup@.service.html - $(html-alias) - -endif - -if HAVE_MICROHTTPD -MANPAGES += \ - man/journal-remote.conf.5 \ - man/journal-upload.conf.5 \ - man/systemd-journal-gatewayd.service.8 \ - man/systemd-journal-remote.8 \ - man/systemd-journal-upload.8 -MANPAGES_ALIAS += \ - man/journal-remote.conf.d.5 \ - man/journal-upload.conf.d.5 \ - man/systemd-journal-gatewayd.8 \ - man/systemd-journal-gatewayd.socket.8 -man/journal-remote.conf.d.5: man/journal-remote.conf.5 -man/journal-upload.conf.d.5: man/journal-upload.conf.5 -man/systemd-journal-gatewayd.8: man/systemd-journal-gatewayd.service.8 -man/systemd-journal-gatewayd.socket.8: man/systemd-journal-gatewayd.service.8 -man/journal-remote.conf.d.html: man/journal-remote.conf.html - $(html-alias) - -man/journal-upload.conf.d.html: man/journal-upload.conf.html - $(html-alias) - -man/systemd-journal-gatewayd.html: man/systemd-journal-gatewayd.service.html - $(html-alias) - -man/systemd-journal-gatewayd.socket.html: man/systemd-journal-gatewayd.service.html - $(html-alias) - -endif - -if HAVE_MYHOSTNAME -MANPAGES += \ - man/nss-myhostname.8 -MANPAGES_ALIAS += \ - man/libnss_myhostname.so.2.8 -man/libnss_myhostname.so.2.8: man/nss-myhostname.8 -man/libnss_myhostname.so.2.html: man/nss-myhostname.html - $(html-alias) - -endif - -if HAVE_PAM -MANPAGES += \ - man/pam_systemd.8 \ - man/sd-login.3 \ - man/sd_get_seats.3 \ - man/sd_login_monitor_new.3 \ - man/sd_pid_get_session.3 \ - man/sd_seat_get_active.3 \ - man/sd_session_is_active.3 \ - man/sd_uid_get_state.3 \ - man/systemd-user-sessions.service.8 -MANPAGES_ALIAS += \ - man/sd_get_machine_names.3 \ - man/sd_get_sessions.3 \ - man/sd_get_uids.3 \ - man/sd_login_monitor.3 \ - man/sd_login_monitor_flush.3 \ - man/sd_login_monitor_get_events.3 \ - man/sd_login_monitor_get_fd.3 \ - man/sd_login_monitor_get_timeout.3 \ - man/sd_login_monitor_unref.3 \ - man/sd_login_monitor_unrefp.3 \ - man/sd_peer_get_cgroup.3 \ - man/sd_peer_get_machine_name.3 \ - man/sd_peer_get_owner_uid.3 \ - man/sd_peer_get_session.3 \ - man/sd_peer_get_slice.3 \ - man/sd_peer_get_unit.3 \ - man/sd_peer_get_user_slice.3 \ - man/sd_peer_get_user_unit.3 \ - man/sd_pid_get_cgroup.3 \ - man/sd_pid_get_machine_name.3 \ - man/sd_pid_get_owner_uid.3 \ - man/sd_pid_get_slice.3 \ - man/sd_pid_get_unit.3 \ - man/sd_pid_get_user_slice.3 \ - man/sd_pid_get_user_unit.3 \ - man/sd_seat_can_graphical.3 \ - man/sd_seat_can_multi_session.3 \ - man/sd_seat_can_tty.3 \ - man/sd_seat_get_sessions.3 \ - man/sd_session_get_class.3 \ - man/sd_session_get_desktop.3 \ - man/sd_session_get_display.3 \ - man/sd_session_get_remote_host.3 \ - man/sd_session_get_remote_user.3 \ - man/sd_session_get_seat.3 \ - man/sd_session_get_service.3 \ - man/sd_session_get_state.3 \ - man/sd_session_get_tty.3 \ - man/sd_session_get_type.3 \ - man/sd_session_get_uid.3 \ - man/sd_session_get_vt.3 \ - man/sd_session_is_remote.3 \ - man/sd_uid_get_display.3 \ - man/sd_uid_get_seats.3 \ - man/sd_uid_get_sessions.3 \ - man/sd_uid_is_on_seat.3 \ - man/systemd-user-sessions.8 -man/sd_get_machine_names.3: man/sd_get_seats.3 -man/sd_get_sessions.3: man/sd_get_seats.3 -man/sd_get_uids.3: man/sd_get_seats.3 -man/sd_login_monitor.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_get_events.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_get_timeout.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3 -man/sd_login_monitor_unrefp.3: man/sd_login_monitor_new.3 -man/sd_peer_get_cgroup.3: man/sd_pid_get_session.3 -man/sd_peer_get_machine_name.3: man/sd_pid_get_session.3 -man/sd_peer_get_owner_uid.3: man/sd_pid_get_session.3 -man/sd_peer_get_session.3: man/sd_pid_get_session.3 -man/sd_peer_get_slice.3: man/sd_pid_get_session.3 -man/sd_peer_get_unit.3: man/sd_pid_get_session.3 -man/sd_peer_get_user_slice.3: man/sd_pid_get_session.3 -man/sd_peer_get_user_unit.3: man/sd_pid_get_session.3 -man/sd_pid_get_cgroup.3: man/sd_pid_get_session.3 -man/sd_pid_get_machine_name.3: man/sd_pid_get_session.3 -man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3 -man/sd_pid_get_slice.3: man/sd_pid_get_session.3 -man/sd_pid_get_unit.3: man/sd_pid_get_session.3 -man/sd_pid_get_user_slice.3: man/sd_pid_get_session.3 -man/sd_pid_get_user_unit.3: man/sd_pid_get_session.3 -man/sd_seat_can_graphical.3: man/sd_seat_get_active.3 -man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3 -man/sd_seat_can_tty.3: man/sd_seat_get_active.3 -man/sd_seat_get_sessions.3: man/sd_seat_get_active.3 -man/sd_session_get_class.3: man/sd_session_is_active.3 -man/sd_session_get_desktop.3: man/sd_session_is_active.3 -man/sd_session_get_display.3: man/sd_session_is_active.3 -man/sd_session_get_remote_host.3: man/sd_session_is_active.3 -man/sd_session_get_remote_user.3: man/sd_session_is_active.3 -man/sd_session_get_seat.3: man/sd_session_is_active.3 -man/sd_session_get_service.3: man/sd_session_is_active.3 -man/sd_session_get_state.3: man/sd_session_is_active.3 -man/sd_session_get_tty.3: man/sd_session_is_active.3 -man/sd_session_get_type.3: man/sd_session_is_active.3 -man/sd_session_get_uid.3: man/sd_session_is_active.3 -man/sd_session_get_vt.3: man/sd_session_is_active.3 -man/sd_session_is_remote.3: man/sd_session_is_active.3 -man/sd_uid_get_display.3: man/sd_uid_get_state.3 -man/sd_uid_get_seats.3: man/sd_uid_get_state.3 -man/sd_uid_get_sessions.3: man/sd_uid_get_state.3 -man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3 -man/systemd-user-sessions.8: man/systemd-user-sessions.service.8 -man/sd_get_machine_names.html: man/sd_get_seats.html - $(html-alias) - -man/sd_get_sessions.html: man/sd_get_seats.html - $(html-alias) - -man/sd_get_uids.html: man/sd_get_seats.html - $(html-alias) - -man/sd_login_monitor.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_flush.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_get_events.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_get_fd.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_get_timeout.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_unref.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_login_monitor_unrefp.html: man/sd_login_monitor_new.html - $(html-alias) - -man/sd_peer_get_cgroup.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_machine_name.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_owner_uid.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_session.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_slice.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_user_slice.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_peer_get_user_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_cgroup.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_machine_name.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_owner_uid.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_slice.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_user_slice.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_pid_get_user_unit.html: man/sd_pid_get_session.html - $(html-alias) - -man/sd_seat_can_graphical.html: man/sd_seat_get_active.html - $(html-alias) - -man/sd_seat_can_multi_session.html: man/sd_seat_get_active.html - $(html-alias) - -man/sd_seat_can_tty.html: man/sd_seat_get_active.html - $(html-alias) - -man/sd_seat_get_sessions.html: man/sd_seat_get_active.html - $(html-alias) - -man/sd_session_get_class.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_desktop.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_display.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_remote_host.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_remote_user.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_seat.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_service.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_state.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_tty.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_type.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_uid.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_get_vt.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_session_is_remote.html: man/sd_session_is_active.html - $(html-alias) - -man/sd_uid_get_display.html: man/sd_uid_get_state.html - $(html-alias) - -man/sd_uid_get_seats.html: man/sd_uid_get_state.html - $(html-alias) - -man/sd_uid_get_sessions.html: man/sd_uid_get_state.html - $(html-alias) - -man/sd_uid_is_on_seat.html: man/sd_uid_get_state.html - $(html-alias) - -man/systemd-user-sessions.html: man/systemd-user-sessions.service.html - $(html-alias) - -endif - -if HAVE_PYTHON -MANPAGES += \ - man/systemd.directives.7 \ - man/systemd.index.7 -MANPAGES_ALIAS += \ - # - - -endif - -if HAVE_SYSV_COMPAT -MANPAGES += \ - man/systemd-sysv-generator.8 -MANPAGES_ALIAS += \ - # - - -endif - -if HAVE_UTMP -MANPAGES += \ - man/runlevel.8 \ - man/systemd-update-utmp.service.8 -MANPAGES_ALIAS += \ - man/systemd-update-utmp-runlevel.service.8 \ - man/systemd-update-utmp.8 -man/systemd-update-utmp-runlevel.service.8: man/systemd-update-utmp.service.8 -man/systemd-update-utmp.8: man/systemd-update-utmp.service.8 -man/systemd-update-utmp-runlevel.service.html: man/systemd-update-utmp.service.html - $(html-alias) - -man/systemd-update-utmp.html: man/systemd-update-utmp.service.html - $(html-alias) - -endif - -# Really, do not edit this file. - -EXTRA_DIST += \ - man/binfmt.d.xml \ - man/bootctl.xml \ - man/bootup.xml \ - man/busctl.xml \ - man/coredump.conf.xml \ - man/coredumpctl.xml \ - man/crypttab.xml \ - man/daemon.xml \ - man/dnssec-trust-anchors.d.xml \ - man/environment.d.xml \ - man/file-hierarchy.xml \ - man/halt.xml \ - man/hostname.xml \ - man/hostnamectl.xml \ - man/hwdb.xml \ - man/journal-remote.conf.xml \ - man/journal-upload.conf.xml \ - man/journalctl.xml \ - man/journald.conf.xml \ - man/kernel-command-line.xml \ - man/kernel-install.xml \ - man/less-variables.xml \ - man/libsystemd-pkgconfig.xml \ - man/libudev.xml \ - man/locale.conf.xml \ - man/localectl.xml \ - man/localtime.xml \ - man/loginctl.xml \ - man/logind.conf.xml \ - man/machine-id.xml \ - man/machine-info.xml \ - man/machinectl.xml \ - man/modules-load.d.xml \ - man/networkctl.xml \ - man/networkd.conf.xml \ - man/nss-myhostname.xml \ - man/nss-mymachines.xml \ - man/nss-resolve.xml \ - man/nss-systemd.xml \ - man/os-release.xml \ - man/pam_systemd.xml \ - man/resolved.conf.xml \ - man/runlevel.xml \ - man/sd-bus-errors.xml \ - man/sd-bus.xml \ - man/sd-daemon.xml \ - man/sd-event.xml \ - man/sd-id128.xml \ - man/sd-journal.xml \ - man/sd-login.xml \ - man/sd_booted.xml \ - man/sd_bus_add_match.xml \ - man/sd_bus_creds_get_pid.xml \ - man/sd_bus_creds_new_from_pid.xml \ - man/sd_bus_default.xml \ - man/sd_bus_error.xml \ - man/sd_bus_error_add_map.xml \ - man/sd_bus_get_fd.xml \ - man/sd_bus_message_append.xml \ - man/sd_bus_message_append_array.xml \ - man/sd_bus_message_append_basic.xml \ - man/sd_bus_message_append_string_memfd.xml \ - man/sd_bus_message_append_strv.xml \ - man/sd_bus_message_get_cookie.xml \ - man/sd_bus_message_get_monotonic_usec.xml \ - man/sd_bus_message_read_basic.xml \ - man/sd_bus_negotiate_fds.xml \ - man/sd_bus_new.xml \ - man/sd_bus_path_encode.xml \ - man/sd_bus_process.xml \ - man/sd_bus_request_name.xml \ - man/sd_bus_track_add_name.xml \ - man/sd_bus_track_new.xml \ - man/sd_event_add_child.xml \ - man/sd_event_add_defer.xml \ - man/sd_event_add_io.xml \ - man/sd_event_add_signal.xml \ - man/sd_event_add_time.xml \ - man/sd_event_exit.xml \ - man/sd_event_get_fd.xml \ - man/sd_event_new.xml \ - man/sd_event_now.xml \ - man/sd_event_run.xml \ - man/sd_event_set_watchdog.xml \ - man/sd_event_source_get_event.xml \ - man/sd_event_source_get_pending.xml \ - man/sd_event_source_set_description.xml \ - man/sd_event_source_set_enabled.xml \ - man/sd_event_source_set_prepare.xml \ - man/sd_event_source_set_priority.xml \ - man/sd_event_source_set_userdata.xml \ - man/sd_event_source_unref.xml \ - man/sd_event_wait.xml \ - man/sd_get_seats.xml \ - man/sd_id128_get_machine.xml \ - man/sd_id128_randomize.xml \ - man/sd_id128_to_string.xml \ - man/sd_is_fifo.xml \ - man/sd_journal_add_match.xml \ - man/sd_journal_enumerate_fields.xml \ - man/sd_journal_get_catalog.xml \ - man/sd_journal_get_cursor.xml \ - man/sd_journal_get_cutoff_realtime_usec.xml \ - man/sd_journal_get_data.xml \ - man/sd_journal_get_fd.xml \ - man/sd_journal_get_realtime_usec.xml \ - man/sd_journal_get_usage.xml \ - man/sd_journal_has_runtime_files.xml \ - man/sd_journal_next.xml \ - man/sd_journal_open.xml \ - man/sd_journal_print.xml \ - man/sd_journal_query_unique.xml \ - man/sd_journal_seek_head.xml \ - man/sd_journal_stream_fd.xml \ - man/sd_listen_fds.xml \ - man/sd_login_monitor_new.xml \ - man/sd_machine_get_class.xml \ - man/sd_notify.xml \ - man/sd_pid_get_session.xml \ - man/sd_seat_get_active.xml \ - man/sd_session_is_active.xml \ - man/sd_uid_get_state.xml \ - man/sd_watchdog_enabled.xml \ - man/shutdown.xml \ - man/standard-conf.xml \ - man/standard-options.xml \ - man/sysctl.d.xml \ - man/systemctl.xml \ - man/systemd-analyze.xml \ - man/systemd-ask-password-console.service.xml \ - man/systemd-ask-password.xml \ - man/systemd-backlight@.service.xml \ - man/systemd-binfmt.service.xml \ - man/systemd-cat.xml \ - man/systemd-cgls.xml \ - man/systemd-cgtop.xml \ - man/systemd-coredump.xml \ - man/systemd-cryptsetup-generator.xml \ - man/systemd-cryptsetup@.service.xml \ - man/systemd-debug-generator.xml \ - man/systemd-delta.xml \ - man/systemd-detect-virt.xml \ - man/systemd-environment-d-generator.xml \ - man/systemd-escape.xml \ - man/systemd-firstboot.xml \ - man/systemd-fsck@.service.xml \ - man/systemd-fstab-generator.xml \ - man/systemd-getty-generator.xml \ - man/systemd-gpt-auto-generator.xml \ - man/systemd-halt.service.xml \ - man/systemd-hibernate-resume-generator.xml \ - man/systemd-hibernate-resume@.service.xml \ - man/systemd-hostnamed.service.xml \ - man/systemd-hwdb.xml \ - man/systemd-importd.service.xml \ - man/systemd-inhibit.xml \ - man/systemd-initctl.service.xml \ - man/systemd-journal-gatewayd.service.xml \ - man/systemd-journal-remote.xml \ - man/systemd-journal-upload.xml \ - man/systemd-journald.service.xml \ - man/systemd-localed.service.xml \ - man/systemd-logind.service.xml \ - man/systemd-machine-id-commit.service.xml \ - man/systemd-machine-id-setup.xml \ - man/systemd-machined.service.xml \ - man/systemd-modules-load.service.xml \ - man/systemd-mount.xml \ - man/systemd-networkd-wait-online.service.xml \ - man/systemd-networkd.service.xml \ - man/systemd-notify.xml \ - man/systemd-nspawn.xml \ - man/systemd-path.xml \ - man/systemd-quotacheck.service.xml \ - man/systemd-random-seed.service.xml \ - man/systemd-remount-fs.service.xml \ - man/systemd-resolve.xml \ - man/systemd-resolved.service.xml \ - man/systemd-rfkill.service.xml \ - man/systemd-run.xml \ - man/systemd-sleep.conf.xml \ - man/systemd-socket-activate.xml \ - man/systemd-socket-proxyd.xml \ - man/systemd-suspend.service.xml \ - man/systemd-sysctl.service.xml \ - man/systemd-system-update-generator.xml \ - man/systemd-system.conf.xml \ - man/systemd-sysusers.xml \ - man/systemd-sysv-generator.xml \ - man/systemd-timedated.service.xml \ - man/systemd-timesyncd.service.xml \ - man/systemd-tmpfiles.xml \ - man/systemd-tty-ask-password-agent.xml \ - man/systemd-udevd.service.xml \ - man/systemd-update-done.service.xml \ - man/systemd-update-utmp.service.xml \ - man/systemd-user-sessions.service.xml \ - man/systemd-vconsole-setup.service.xml \ - man/systemd-veritysetup-generator.xml \ - man/systemd-veritysetup@.service.xml \ - man/systemd-volatile-root.service.xml \ - man/systemd.automount.xml \ - man/systemd.device.xml \ - man/systemd.environment-generator.xml \ - man/systemd.exec.xml \ - man/systemd.generator.xml \ - man/systemd.journal-fields.xml \ - man/systemd.kill.xml \ - man/systemd.link.xml \ - man/systemd.mount.xml \ - man/systemd.netdev.xml \ - man/systemd.network.xml \ - man/systemd.nspawn.xml \ - man/systemd.offline-updates.xml \ - man/systemd.path.xml \ - man/systemd.preset.xml \ - man/systemd.resource-control.xml \ - man/systemd.scope.xml \ - man/systemd.service.xml \ - man/systemd.slice.xml \ - man/systemd.socket.xml \ - man/systemd.special.xml \ - man/systemd.swap.xml \ - man/systemd.target.xml \ - man/systemd.time.xml \ - man/systemd.timer.xml \ - man/systemd.unit.xml \ - man/systemd.xml \ - man/sysusers.d.xml \ - man/telinit.xml \ - man/timedatectl.xml \ - man/timesyncd.conf.xml \ - man/tmpfiles.d.xml \ - man/udev.conf.xml \ - man/udev.xml \ - man/udev_device_get_syspath.xml \ - man/udev_device_has_tag.xml \ - man/udev_device_new_from_syspath.xml \ - man/udev_enumerate_add_match_subsystem.xml \ - man/udev_enumerate_new.xml \ - man/udev_enumerate_scan_devices.xml \ - man/udev_list_entry.xml \ - man/udev_monitor_filter_update.xml \ - man/udev_monitor_new_from_netlink.xml \ - man/udev_monitor_receive_device.xml \ - man/udev_new.xml \ - man/udevadm.xml \ - man/user-system-options.xml \ - man/vconsole.conf.xml diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index b95c93bb98..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,6916 +0,0 @@ -# -*- Mode: makefile; indent-tabs-mode: t -*- -# -# This file is part of systemd. -# -# Copyright 2010-2012 Lennart Poettering -# Copyright 2010-2012 Kay Sievers -# Copyright 2013 Zbigniew Jędrzejewski-Szmek -# Copyright 2013 David Strauss -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with systemd; If not, see <http://www.gnu.org/licenses/>. - -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -AM_MAKEFLAGS = --no-print-directory -AUTOMAKE_OPTIONS = color-tests parallel-tests - -GCC_COLORS ?= 'ooh, shiny!' -export GCC_COLORS - -SUBDIRS = . po - -# remove targets if the command fails -.DELETE_ON_ERROR: - -# keep intermediate files -.SECONDARY: - -# Keep the test-suite.log -.PRECIOUS: $(TEST_SUITE_LOG) Makefile - -LIBUDEV_CURRENT=7 -LIBUDEV_REVISION=6 -LIBUDEV_AGE=6 - -LIBSYSTEMD_CURRENT=19 -LIBSYSTEMD_REVISION=0 -LIBSYSTEMD_AGE=19 - -# Dirs of external packages -dbuspolicydir=@dbuspolicydir@ -dbussessionservicedir=@dbussessionservicedir@ -dbussystemservicedir=@dbussystemservicedir@ -pamlibdir=@pamlibdir@ -pamconfdir=@pamconfdir@ -pkgconfigdatadir=$(datadir)/pkgconfig -pkgconfiglibdir=$(libdir)/pkgconfig -polkitpolicydir=$(datadir)/polkit-1/actions -polkitrulesdir=$(datadir)/polkit-1/rules.d -polkitpkladir=$(localstatedir)/lib/polkit-1/localauthority/10-vendor.d -bashcompletiondir=@bashcompletiondir@ -zshcompletiondir=@zshcompletiondir@ -rpmmacrosdir=@rpmmacrosdir@ -sysvinitdir=$(SYSTEM_SYSVINIT_PATH) -sysvrcnddir=$(SYSTEM_SYSVRCND_PATH) -varlogdir=$(localstatedir)/log -systemdstatedir=$(localstatedir)/lib/systemd -catalogstatedir=$(systemdstatedir)/catalog -xinitrcdir=$(sysconfdir)/X11/xinit/xinitrc.d - -# Our own, non-special dirs -environmentdir=$(prefix)/lib/environment.d -pkgsysconfdir=$(sysconfdir)/systemd -userunitdir=$(prefix)/lib/systemd/user -userpresetdir=$(prefix)/lib/systemd/user-preset -tmpfilesdir=$(prefix)/lib/tmpfiles.d -sysusersdir=$(prefix)/lib/sysusers.d -sysctldir=$(prefix)/lib/sysctl.d -binfmtdir=$(prefix)/lib/binfmt.d -modulesloaddir=$(prefix)/lib/modules-load.d -networkdir=$(rootprefix)/lib/systemd/network -pkgincludedir=$(includedir)/systemd -systemgeneratordir=$(rootlibexecdir)/system-generators -usergeneratordir=$(prefix)/lib/systemd/user-generators -systemenvgeneratordir=$(prefix)/lib/systemd/system-environment-generators -userenvgeneratordir=$(prefix)/lib/systemd/user-environment-generators -systemshutdowndir=$(rootlibexecdir)/system-shutdown -systemsleepdir=$(rootlibexecdir)/system-sleep -systemunitdir=$(rootprefix)/lib/systemd/system -systempresetdir=$(rootprefix)/lib/systemd/system-preset -udevlibexecdir=$(rootprefix)/lib/udev -udevhomedir=$(udevlibexecdir) -udevrulesdir=$(udevlibexecdir)/rules.d -udevhwdbdir=$(udevlibexecdir)/hwdb.d -catalogdir=$(prefix)/lib/systemd/catalog -kernelinstalldir = $(prefix)/lib/kernel/install.d -factory_etcdir = $(datadir)/factory/etc -factory_pamdir = $(datadir)/factory/etc/pam.d -bootlibdir = $(prefix)/lib/systemd/boot/efi -testsdir = $(prefix)/lib/systemd/tests - -# And these are the special ones for / -rootprefix=@rootprefix@ -rootbindir=$(rootprefix)/bin -rootlibexecdir=$(rootprefix)/lib/systemd - -EXTRA_DIST = -BUILT_SOURCES = -INSTALL_EXEC_HOOKS = -UNINSTALL_EXEC_HOOKS = -INSTALL_DATA_HOOKS = -UNINSTALL_DATA_HOOKS = -DISTCLEAN_LOCAL_HOOKS = -CLEAN_LOCAL_HOOKS = -pkginclude_HEADERS = -noinst_LTLIBRARIES = -lib_LTLIBRARIES = -rootlibexec_LTLIBRARIES = -include_HEADERS = -noinst_DATA = -pkgconfigdata_DATA = -pkgconfiglib_DATA = -polkitpolicy_in_in_files = -polkitpolicy_in_files = -polkitpolicy_files = -polkitrules_files = -polkitpkla_files = -dist_udevrules_DATA = -nodist_udevrules_DATA = -dist_pkgsysconf_DATA = -nodist_pkgsysconf_DATA = -dist_dbuspolicy_DATA = -dist_dbussystemservice_DATA = -dist_systemunit_DATA_busnames = -dist_sysusers_DATA = -check_PROGRAMS = -check_DATA = -dist_rootlibexec_DATA = -tests= -manual_tests = -TEST_DATA_FILES = -TEST_EXTENSIONS = .py -PY_LOG_COMPILER = $(PYTHON) -DISABLE_HARD_ERRORS = yes -if ENABLE_TESTS -noinst_PROGRAMS = $(manual_tests) $(tests) $(unsafe_tests) -TESTS = $(tests) -if ENABLE_UNSAFE_TESTS -TESTS += \ - $(unsafe_tests) -endif -else -noinst_PROGRAMS = -TESTS = -endif -AM_TESTS_ENVIRONMENT = \ - export SYSTEMD_KBD_MODEL_MAP=$(abs_top_srcdir)/src/locale/kbd-model-map; \ - export SYSTEMD_LANGUAGE_FALLBACK_MAP=$(abs_top_srcdir)/src/locale/language-fallback-map; \ - export PATH=$(abs_top_builddir):$$PATH; - -if ENABLE_BASH_COMPLETION -dist_bashcompletion_DATA = $(dist_bashcompletion_data) -nodist_bashcompletion_DATA = $(nodist_bashcompletion_data) -endif -if ENABLE_ZSH_COMPLETION -dist_zshcompletion_DATA = $(dist_zshcompletion_data) -nodist_zshcompletion_DATA = $(nodist_zshcompletion_data) -endif -udevlibexec_PROGRAMS = -gperf_gperf_sources = -rootlib_LTLIBRARIES = - -in_files = $(filter %.in,$(EXTRA_DIST)) -in_in_files = $(filter %.in.in, $(in_files)) -m4_files = $(filter %.m4,$(EXTRA_DIST) $(in_files:.m4.in=.m4)) - -CLEANFILES = $(BUILT_SOURCES) \ - $(pkgconfigdata_DATA) \ - $(pkgconfiglib_DATA) \ - $(nodist_bashcompletion_data) \ - $(nodist_zshcompletion_data) \ - $(nodist_rpmmacros_DATA) \ - $(in_files:.in=) $(in_in_files:.in.in=) \ - $(m4_files:.m4=) - -.PHONY: $(INSTALL_EXEC_HOOKS) $(UNINSTALL_EXEC_HOOKS) \ - $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS) \ - $(DISTCLEAN_LOCAL_HOOKS) $(CLEAN_LOCAL_HOOKS) - -AM_CPPFLAGS = \ - -include $(top_builddir)/config.h \ - -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \ - -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ - -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ - -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ - -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ - -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \ - -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \ - -DCERTIFICATE_ROOT=\"$(CERTIFICATEROOT)\" \ - -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \ - -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ - -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \ - -DSYSTEMD_FSCK_PATH=\"$(rootlibexecdir)/systemd-fsck\" \ - -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ - -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \ - -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ - -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ - -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \ - -DROOTPREFIX=\"$(rootprefix)\" \ - -DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \ - -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \ - -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \ - -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \ - -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \ - -DSYSTEM_ENV_GENERATOR_PATH=\"$(systemenvgeneratordir)\" \ - -DUSER_ENV_GENERATOR_PATH=\"$(userenvgeneratordir)\" \ - -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ - -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \ - -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \ - -DSYSTEMD_LANGUAGE_FALLBACK_MAP=\"$(pkgdatadir)/language-fallback-map\" \ - -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \ - -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \ - -DQUOTACHECK=\"$(QUOTACHECK)\" \ - -DKEXEC=\"$(KEXEC)\" \ - -DMOUNT_PATH=\"$(MOUNT_PATH)\" \ - -DUMOUNT_PATH=\"$(UMOUNT_PATH)\" \ - -DLIBDIR=\"$(libdir)\" \ - -DROOTLIBDIR=\"$(rootlibdir)\" \ - -DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \ - -I $(top_srcdir)/src \ - -I $(top_builddir)/src/basic \ - -I $(top_srcdir)/src/basic \ - -I $(top_srcdir)/src/shared \ - -I $(top_builddir)/src/shared \ - -I $(top_srcdir)/src/network \ - -I $(top_srcdir)/src/locale \ - -I $(top_srcdir)/src/login \ - -I $(top_srcdir)/src/journal \ - -I $(top_builddir)/src/journal \ - -I $(top_srcdir)/src/timedate \ - -I $(top_srcdir)/src/timesync \ - -I $(top_srcdir)/src/nspawn \ - -I $(top_srcdir)/src/resolve \ - -I $(top_builddir)/src/resolve \ - -I $(top_srcdir)/src/systemd \ - -I $(top_builddir)/src/core \ - -I $(top_srcdir)/src/core \ - -I $(top_srcdir)/src/libudev \ - -I $(top_srcdir)/src/udev \ - -I $(top_srcdir)/src/udev/net \ - -I $(top_builddir)/src/udev \ - -I $(top_srcdir)/src/libsystemd/sd-bus \ - -I $(top_srcdir)/src/libsystemd/sd-event \ - -I $(top_srcdir)/src/libsystemd/sd-login \ - -I $(top_srcdir)/src/libsystemd/sd-netlink \ - -I $(top_srcdir)/src/libsystemd/sd-network \ - -I $(top_srcdir)/src/libsystemd/sd-hwdb \ - -I $(top_srcdir)/src/libsystemd/sd-device \ - -I $(top_srcdir)/src/libsystemd/sd-id128 \ - -I $(top_srcdir)/src/libsystemd-network \ - -DABS_SRC_DIR=\"$(abs_top_srcdir)\" \ - -DABS_BUILD_DIR=\"$(abs_top_builddir)\" \ - $(OUR_CPPFLAGS) - -AM_CFLAGS = $(OUR_CFLAGS) -AM_LDFLAGS = $(OUR_LDFLAGS) - -# ------------------------------------------------------------------------------ -INSTALL_DIRS = - -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 = -BUSNAMES_TARGET_WANTS = -TIMERS_TARGET_WANTS = -USER_SOCKETS_TARGET_WANTS = -USER_DEFAULT_TARGET_WANTS = -USER_BUSNAMES_TARGET_WANTS = - -SYSTEM_UNIT_ALIASES = -USER_UNIT_ALIASES = -GENERAL_ALIASES = - -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) - what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && dir=$(systemunitdir) && $(add-wants) - what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(systemunitdir) && $(add-wants) - what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && dir=$(systemunitdir) && $(add-wants) - what="$(SLICES_TARGET_WANTS)" && wants=slices.target && dir=$(systemunitdir) && $(add-wants) - what="$(USER_SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(userunitdir) && $(add-wants) - what="$(USER_DEFAULT_TARGET_WANTS)" && wants=default.target && dir=$(userunitdir) && $(add-wants) - -install-busnames-target-wants-hook: - what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants) - what="$(USER_BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(userunitdir) && $(add-wants) - -define add-wants - [ -z "$$what" ] || ( \ - dir=$(DESTDIR)$$dir/$$wants.wants && \ - $(MKDIR_P) -m 0755 $$dir && \ - cd $$dir && \ - rm -f $$what && \ - for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done ) -endef - -install-directories-hook: - $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS)) - -install-environment-conf-hook: install-directories-hook - $(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(sysconfdir)/environment \ - $(DESTDIR)$(environmentdir)/99-environment.conf - -install-aliases-hook: - set -- $(SYSTEM_UNIT_ALIASES) && \ - dir=$(systemunitdir) && $(install-aliases) - set -- $(USER_UNIT_ALIASES) && \ - dir=$(userunitdir) && $(install-relative-aliases) - set -- $(GENERAL_ALIASES) && \ - dir= && $(install-relative-aliases) - -define install-aliases - while [ -n "$$1" ]; do \ - $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \ - rm -f $(DESTDIR)$$dir/$$2 && \ - $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \ - shift 2 || exit $$?; \ - done -endef - -define install-relative-aliases - while [ -n "$$1" ]; do \ - $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \ - rm -f $(DESTDIR)$$dir/$$2 && \ - $(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \ - shift 2 || exit $$?; \ - done -endef - -install-touch-usr-hook: - touch -c $(DESTDIR)/$(prefix) - -INSTALL_EXEC_HOOKS += \ - install-target-wants-hook \ - install-directories-hook \ - install-aliases-hook \ - install-touch-usr-hook \ - install-busnames-target-wants-hook - -if ENABLE_ENVIRONMENT_D -INSTALL_EXEC_HOOKS += \ - install-environment-conf-hook -endif - -# ------------------------------------------------------------------------------ -AM_V_M4 = $(AM_V_M4_$(V)) -AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY)) -AM_V_M4_0 = @echo " M4 " $@; - -AM_V_XSLT = $(AM_V_XSLT_$(V)) -AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY)) -AM_V_XSLT_0 = @echo " XSLT " $@; - -AM_V_GPERF = $(AM_V_GPERF_$(V)) -AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY)) -AM_V_GPERF_0 = @echo " GPERF " $@; - -AM_V_LN = $(AM_V_LN_$(V)) -AM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY)) -AM_V_LN_0 = @echo " LN " $@; - -AM_V_RM = $(AM_V_RM_$(V)) -AM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY)) -AM_V_RM_0 = @echo " RM " $@; - -# ------------------------------------------------------------------------------ -rootbin_PROGRAMS = \ - systemctl \ - systemd-notify \ - systemd-ask-password \ - systemd-tty-ask-password-agent \ - systemd-machine-id-setup \ - systemd-escape - -bin_PROGRAMS = \ - systemd-cgls \ - systemd-cgtop \ - systemd-nspawn \ - systemd-detect-virt \ - systemd-delta \ - systemd-analyze \ - systemd-run \ - systemd-mount \ - systemd-stdio-bridge \ - systemd-path - -dist_bin_SCRIPTS = \ - src/kernel-install/kernel-install - -dist_kernelinstall_SCRIPTS = \ - src/kernel-install/50-depmod.install \ - src/kernel-install/90-loaderentry.install - -rootlibexec_PROGRAMS = \ - systemd \ - systemd-cgroups-agent \ - systemd-initctl \ - systemd-shutdown \ - systemd-remount-fs \ - systemd-volatile-root \ - systemd-reply-password \ - systemd-fsck \ - systemd-ac-power \ - systemd-sysctl \ - systemd-sleep \ - systemd-socket-proxyd \ - systemd-update-done - -if HAVE_BLKID -rootlibexec_PROGRAMS += \ - systemd-dissect -endif - -if HAVE_UTMP -rootlibexec_PROGRAMS += \ - systemd-update-utmp -endif - -systemgenerator_PROGRAMS = \ - systemd-getty-generator \ - systemd-fstab-generator \ - systemd-system-update-generator \ - systemd-debug-generator - -if ENABLE_ENVIRONMENT_D -userenvgenerator_PROGRAMS = \ - 30-systemd-environment-d-generator -endif - -rootlibexec_SCRIPTS = \ - src/sulogin-shell/systemd-sulogin-shell - -EXTRA_DIST += \ - src/sulogin-shell/systemd-sulogin-shell.in - -dist_bashcompletion_data = \ - shell-completion/bash/busctl \ - shell-completion/bash/journalctl \ - shell-completion/bash/systemd-analyze \ - shell-completion/bash/systemd-cat \ - shell-completion/bash/systemd-cgls \ - shell-completion/bash/systemd-cgtop \ - shell-completion/bash/systemd-delta \ - shell-completion/bash/systemd-detect-virt \ - shell-completion/bash/systemd-nspawn \ - shell-completion/bash/systemd-path \ - shell-completion/bash/systemd-run \ - shell-completion/bash/udevadm \ - shell-completion/bash/kernel-install - -nodist_bashcompletion_data = \ - shell-completion/bash/systemctl - -dist_zshcompletion_data = \ - shell-completion/zsh/_busctl \ - shell-completion/zsh/_journalctl \ - shell-completion/zsh/_udevadm \ - shell-completion/zsh/_kernel-install \ - shell-completion/zsh/_systemd-nspawn \ - shell-completion/zsh/_systemd-analyze \ - shell-completion/zsh/_systemd-run \ - shell-completion/zsh/_sd_hosts_or_user_at_host \ - shell-completion/zsh/_sd_outputmodes \ - shell-completion/zsh/_sd_unit_files \ - shell-completion/zsh/_systemd-delta \ - shell-completion/zsh/_systemd - -nodist_zshcompletion_data = \ - shell-completion/zsh/_systemctl - -EXTRA_DIST += \ - shell-completion/bash/systemctl.in \ - shell-completion/zsh/_systemctl.in - -dist_sysctl_DATA = \ - sysctl.d/50-default.conf - -dist_systemunit_DATA = \ - units/graphical.target \ - units/multi-user.target \ - units/emergency.target \ - units/sysinit.target \ - units/basic.target \ - units/getty.target \ - units/halt.target \ - units/kexec.target \ - units/exit.target \ - units/local-fs.target \ - units/local-fs-pre.target \ - units/initrd.target \ - units/initrd-fs.target \ - units/initrd-root-device.target \ - units/initrd-root-fs.target \ - units/remote-fs.target \ - units/remote-fs-pre.target \ - units/network.target \ - units/network-pre.target \ - units/network-online.target \ - units/nss-lookup.target \ - units/nss-user-lookup.target \ - units/poweroff.target \ - units/reboot.target \ - units/rescue.target \ - units/rpcbind.target \ - units/time-sync.target \ - units/shutdown.target \ - units/final.target \ - units/umount.target \ - units/sigpwr.target \ - units/sleep.target \ - units/sockets.target \ - units/timers.target \ - units/paths.target \ - units/suspend.target \ - units/swap.target \ - units/slices.target \ - units/system.slice \ - units/systemd-initctl.socket \ - units/syslog.socket \ - units/dev-hugepages.mount \ - units/dev-mqueue.mount \ - units/sys-kernel-config.mount \ - units/sys-kernel-debug.mount \ - units/sys-fs-fuse-connections.mount \ - units/tmp.mount \ - units/printer.target \ - units/sound.target \ - units/bluetooth.target \ - units/smartcard.target \ - units/systemd-ask-password-wall.path \ - units/systemd-ask-password-console.path \ - units/systemd-udevd-control.socket \ - units/systemd-udevd-kernel.socket \ - units/system-update.target \ - units/initrd-switch-root.target \ - units/machines.target - -dist_systemunit_DATA += \ - $(dist_systemunit_DATA_busnames) - -dist_systemunit_DATA_busnames += \ - units/busnames.target - -nodist_systemunit_DATA = \ - units/getty@.service \ - units/serial-getty@.service \ - units/console-getty.service \ - units/container-getty@.service \ - units/system-update-cleanup.service \ - units/systemd-initctl.service \ - units/systemd-remount-fs.service \ - units/systemd-volatile-root.service \ - units/systemd-ask-password-wall.service \ - units/systemd-ask-password-console.service \ - units/systemd-sysctl.service \ - units/emergency.service \ - units/rescue.service \ - units/user@.service \ - units/systemd-suspend.service \ - units/systemd-halt.service \ - units/systemd-poweroff.service \ - units/systemd-reboot.service \ - units/systemd-kexec.service \ - units/systemd-exit.service \ - units/systemd-fsck@.service \ - units/systemd-fsck-root.service \ - units/systemd-machine-id-commit.service \ - units/systemd-udevd.service \ - units/systemd-udev-trigger.service \ - units/systemd-udev-settle.service \ - units/systemd-hwdb-update.service \ - units/debug-shell.service \ - units/initrd-parse-etc.service \ - units/initrd-cleanup.service \ - units/initrd-udevadm-cleanup-db.service \ - units/initrd-switch-root.service \ - units/systemd-nspawn@.service \ - units/systemd-update-done.service - -if HAVE_UTMP -nodist_systemunit_DATA += \ - units/systemd-update-utmp.service \ - units/systemd-update-utmp-runlevel.service -endif - -dist_userunit_DATA = \ - units/user/basic.target \ - units/user/default.target \ - units/user/exit.target \ - units/user/graphical-session.target \ - units/user/graphical-session-pre.target \ - units/user/bluetooth.target \ - units/user/busnames.target \ - units/user/paths.target \ - units/user/printer.target \ - units/user/shutdown.target \ - units/user/smartcard.target \ - units/user/sockets.target \ - units/user/sound.target \ - units/user/timers.target - -nodist_userunit_DATA = \ - units/user/systemd-exit.service - -dist_systempreset_DATA = \ - system-preset/90-systemd.preset - -EXTRA_DIST += \ - units/getty@.service.m4 \ - units/serial-getty@.service.m4 \ - units/console-getty.service.m4.in \ - units/container-getty@.service.m4.in \ - units/rescue.service.in \ - units/system-update-cleanup.service.in \ - units/systemd-initctl.service.in \ - units/systemd-remount-fs.service.in \ - units/systemd-volatile-root.service.in \ - units/systemd-update-utmp.service.in \ - units/systemd-update-utmp-runlevel.service.in \ - units/systemd-ask-password-wall.service.in \ - units/systemd-ask-password-console.service.in \ - units/systemd-sysctl.service.in \ - units/emergency.service.in \ - units/systemd-halt.service.in \ - units/systemd-poweroff.service.in \ - units/systemd-reboot.service.in \ - units/systemd-kexec.service.in \ - units/systemd-exit.service.in \ - units/user/systemd-exit.service.in \ - units/systemd-fsck@.service.in \ - units/systemd-fsck-root.service.in \ - units/systemd-machine-id-commit.service.in \ - units/user@.service.m4.in \ - units/debug-shell.service.in \ - units/systemd-suspend.service.in \ - units/quotaon.service.in \ - units/initrd-parse-etc.service.in \ - units/initrd-cleanup.service.in \ - units/initrd-udevadm-cleanup-db.service.in \ - units/initrd-switch-root.service.in \ - units/systemd-nspawn@.service.in \ - units/systemd-update-done.service.in \ - units/tmp.mount.m4 - -if HAVE_SYSV_COMPAT -nodist_systemunit_DATA += \ - units/rc-local.service \ - units/halt-local.service - -systemgenerator_PROGRAMS += \ - systemd-sysv-generator \ - systemd-rc-local-generator -endif - -EXTRA_DIST += \ - src/systemctl/systemd-sysv-install.SKELETON \ - units/rc-local.service.in \ - units/halt-local.service.in - -GENERAL_ALIASES += \ - $(systemunitdir)/machines.target $(pkgsysconfdir)/system/multi-user.target.wants/machines.target - -dist_doc_DATA = \ - README \ - NEWS \ - CODING_STYLE \ - LICENSE.LGPL2.1 \ - LICENSE.GPL2 \ - DISTRO_PORTING \ - src/libsystemd/sd-bus/GVARIANT-SERIALIZATION - -EXTRA_DIST += \ - README.md \ - autogen.sh \ - .dir-locals.el \ - .editorconfig \ - .vimrc \ - .ycm_extra_conf.py \ - .travis.yml \ - .mailmap - -@INTLTOOL_POLICY_RULE@ - -systemd-mount-install-hook: - -$(LN_S) systemd-mount $(DESTDIR)$(bindir)/systemd-umount - -systemd-mount-uninstall-hook: - -rm $(DESTDIR)$(bindir)/systemd-umount - -INSTALL_EXEC_HOOKS += systemd-mount-install-hook -UNINSTALL_EXEC_HOOKS += systemd-mount-uninstall-hook - -# ------------------------------------------------------------------------------ - -MANPAGES = -MANPAGES_ALIAS = - -include Makefile-man.am - -.PHONY: man update-man-list -man: $(MANPAGES) $(MANPAGES_ALIAS) $(HTML_FILES) $(HTML_ALIAS) - -XML_FILES = \ - ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} -HTML_FILES = \ - ${XML_FILES:.xml=.html} -HTML_ALIAS = \ - ${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}} - -if ENABLE_MANPAGES -man_MANS = \ - $(MANPAGES) \ - $(MANPAGES_ALIAS) - -noinst_DATA += \ - $(HTML_FILES) \ - $(HTML_ALIAS) \ - docs/html/man -endif - -CLEANFILES += \ - $(man_MANS) \ - $(HTML_FILES) \ - $(HTML_ALIAS) \ - docs/html/man - -docs/html/man: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_LN)$(LN_S) -f ../../man $@ - -man/index.html: man/systemd.index.html - $(AM_V_LN)$(LN_S) -f systemd.index.html $@ - -if HAVE_PYTHON -if ENABLE_MANPAGES -noinst_DATA += \ - man/index.html -endif -endif - -CLEANFILES += \ - man/index.html - -XML_GLOB = $(wildcard $(top_srcdir)/man/*.xml) -NON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES)) -SOURCE_XML_FILES = ${patsubst %,$(top_srcdir)/%,$(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))} - -# This target should only be run manually. It recreates Makefile-man.am -# file in the source directory based on all man/*.xml files. Run it after -# adding, removing, or changing the conditional in a man page. -update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB) man/custom-entities.ent - $(AM_V_GEN)$(PYTHON) $< $(XML_GLOB) > $(top_srcdir)/Makefile-man.tmp - $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am - @echo "Makefile-man.am has been regenerated" - -man/systemd.index.xml: $(top_srcdir)/tools/make-man-index.py $(NON_INDEX_XML_FILES) - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^) - -man/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py man/custom-entities.ent $(SOURCE_XML_FILES) - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(PYTHON) $< $@ $(SOURCE_XML_FILES) - -CLEANFILES += \ - man/systemd.index.xml \ - man/systemd.directives.xml - -EXTRA_DIST += \ - $(filter-out man/systemd.directives.xml man/systemd.index.xml,$(XML_FILES)) \ - tools/make-man-index.py \ - tools/make-man-rules.py \ - tools/make-directive-index.py \ - tools/xml_helper.py \ - man/glib-event-glue.c \ - man/50-xdg-data-dirs.sh \ - man/90-rearrange-path.py - -# ------------------------------------------------------------------------------ -noinst_LTLIBRARIES += \ - libbasic.la - -libbasic_la_SOURCES = \ - src/basic/missing.h \ - src/basic/missing_syscall.h \ - src/basic/raw-clone.h \ - src/basic/capability-util.c \ - src/basic/capability-util.h \ - src/basic/conf-files.c \ - src/basic/conf-files.h \ - src/basic/stdio-util.h \ - src/basic/hostname-util.h \ - src/basic/hostname-util.c \ - src/basic/unit-name.c \ - src/basic/unit-name.h \ - src/basic/ioprio.h \ - src/basic/securebits.h \ - src/basic/special.h \ - src/basic/list.h \ - src/basic/unaligned.h \ - src/basic/macro.h \ - src/basic/def.h \ - src/basic/sparse-endian.h \ - src/basic/refcnt.h \ - src/basic/util.c \ - src/basic/util.h \ - src/basic/io-util.c \ - src/basic/io-util.h \ - src/basic/string-util.c \ - src/basic/string-util.h \ - src/basic/fd-util.c \ - src/basic/fd-util.h \ - src/basic/parse-util.c \ - src/basic/parse-util.h \ - src/basic/user-util.c \ - src/basic/user-util.h \ - src/basic/rlimit-util.c \ - src/basic/rlimit-util.h \ - src/basic/dirent-util.c \ - src/basic/dirent-util.h \ - src/basic/xattr-util.c \ - src/basic/xattr-util.h \ - src/basic/chattr-util.c \ - src/basic/chattr-util.h \ - src/basic/proc-cmdline.c \ - src/basic/proc-cmdline.h \ - src/basic/fs-util.c \ - src/basic/fs-util.h \ - src/basic/syslog-util.c \ - src/basic/syslog-util.h \ - src/basic/stat-util.c \ - src/basic/stat-util.h \ - src/basic/mount-util.c \ - src/basic/mount-util.h \ - src/basic/hexdecoct.c \ - src/basic/hexdecoct.h \ - src/basic/glob-util.h \ - src/basic/glob-util.c \ - src/basic/extract-word.c \ - src/basic/extract-word.h \ - src/basic/escape.c \ - src/basic/escape.h \ - src/basic/cpu-set-util.c \ - src/basic/cpu-set-util.h \ - src/basic/lockfile-util.c \ - src/basic/lockfile-util.h \ - src/basic/path-util.c \ - src/basic/path-util.h \ - src/basic/time-util.c \ - src/basic/time-util.h \ - src/basic/locale-util.c \ - src/basic/locale-util.h \ - src/basic/umask-util.h \ - src/basic/signal-util.c \ - src/basic/signal-util.h \ - src/basic/string-table.c \ - src/basic/string-table.h \ - src/basic/mempool.c \ - src/basic/mempool.h \ - src/basic/hashmap.c \ - src/basic/hashmap.h \ - src/basic/hash-funcs.c \ - src/basic/hash-funcs.h \ - src/basic/siphash24.c \ - src/basic/siphash24.h \ - src/basic/set.h \ - src/basic/ordered-set.h \ - src/basic/ordered-set.c \ - src/basic/bitmap.c \ - src/basic/bitmap.h \ - src/basic/prioq.c \ - src/basic/prioq.h \ - src/basic/web-util.c \ - src/basic/web-util.h \ - src/basic/strv.c \ - src/basic/strv.h \ - src/basic/env-util.c \ - src/basic/env-util.h \ - src/basic/strbuf.c \ - src/basic/strbuf.h \ - src/basic/strxcpyx.c \ - src/basic/strxcpyx.h \ - src/basic/log.c \ - src/basic/log.h \ - src/basic/bus-label.c \ - src/basic/bus-label.h \ - src/basic/ratelimit.h \ - src/basic/ratelimit.c \ - src/basic/exec-util.c \ - src/basic/exec-util.h \ - src/basic/exit-status.c \ - src/basic/exit-status.h \ - src/basic/virt.c \ - src/basic/virt.h \ - src/basic/architecture.c \ - src/basic/architecture.h \ - src/basic/smack-util.c \ - src/basic/smack-util.h \ - src/basic/device-nodes.c \ - src/basic/device-nodes.h \ - src/basic/utf8.c \ - src/basic/utf8.h \ - src/basic/gunicode.c \ - src/basic/gunicode.h \ - src/basic/socket-util.c \ - src/basic/socket-util.h \ - src/basic/in-addr-util.c \ - src/basic/in-addr-util.h \ - src/basic/ether-addr-util.h \ - src/basic/ether-addr-util.c \ - src/basic/replace-var.c \ - src/basic/replace-var.h \ - src/basic/clock-util.c \ - src/basic/clock-util.h \ - src/basic/calendarspec.c \ - src/basic/calendarspec.h \ - src/basic/fileio.c \ - src/basic/fileio.h \ - src/basic/MurmurHash2.c \ - src/basic/MurmurHash2.h \ - src/basic/mkdir.c \ - src/basic/mkdir.h \ - src/basic/cgroup-util.c \ - src/basic/cgroup-util.h \ - src/basic/errno-list.c \ - src/basic/errno-list.h \ - src/basic/af-list.c \ - src/basic/af-list.h \ - src/basic/arphrd-list.c \ - src/basic/arphrd-list.h \ - src/basic/terminal-util.c \ - src/basic/terminal-util.h \ - src/basic/login-util.h \ - src/basic/login-util.c \ - src/basic/cap-list.c \ - src/basic/cap-list.h \ - src/basic/audit-util.c \ - src/basic/audit-util.h \ - src/basic/xml.c \ - src/basic/xml.h \ - src/basic/barrier.c \ - src/basic/barrier.h \ - src/basic/async.c \ - src/basic/async.h \ - src/basic/memfd-util.c \ - src/basic/memfd-util.h \ - src/basic/process-util.c \ - src/basic/process-util.h \ - src/basic/random-util.c \ - src/basic/random-util.h \ - src/basic/verbs.c \ - src/basic/verbs.h \ - src/basic/sigbus.c \ - src/basic/sigbus.h \ - src/basic/build.h \ - src/basic/socket-label.c \ - src/basic/label.c \ - src/basic/label.h \ - src/basic/btrfs-util.c \ - src/basic/btrfs-util.h \ - src/basic/btrfs-ctree.h \ - src/basic/selinux-util.c \ - src/basic/selinux-util.h \ - src/basic/mkdir-label.c \ - src/basic/fileio-label.c \ - src/basic/fileio-label.h \ - src/basic/rm-rf.c \ - src/basic/rm-rf.h \ - src/basic/copy.c \ - src/basic/copy.h \ - src/basic/alloc-util.h \ - src/basic/alloc-util.c \ - src/basic/format-util.h \ - src/basic/nss-util.h \ - src/basic/khash.h \ - src/basic/khash.c \ - src/basic/journal-importer.h \ - src/basic/journal-importer.c - -nodist_libbasic_la_SOURCES = \ - src/basic/errno-from-name.h \ - src/basic/errno-to-name.h \ - src/basic/af-from-name.h \ - src/basic/af-to-name.h \ - src/basic/arphrd-from-name.h \ - src/basic/arphrd-to-name.h \ - src/basic/cap-from-name.h \ - src/basic/cap-to-name.h - -libbasic_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(SELINUX_CFLAGS) \ - $(CAP_CFLAGS) \ - -pthread - -libbasic_la_LIBADD = \ - $(SELINUX_LIBS) \ - $(CAP_LIBS) \ - -lrt - -# ----------------------------------------------------------------------------- -noinst_LTLIBRARIES += \ - libshared.la - -libshared_la_SOURCES = \ - src/shared/output-mode.h \ - src/shared/output-mode.c \ - src/shared/gpt.h \ - src/shared/udev-util.h \ - src/shared/udev-util.c \ - src/shared/linux/auto_dev-ioctl.h \ - src/shared/linux-3.13/dm-ioctl.h \ - src/shared/initreq.h \ - src/shared/dns-domain.c \ - src/shared/dns-domain.h \ - src/shared/efivars.c \ - src/shared/efivars.h \ - src/shared/fstab-util.c \ - src/shared/fstab-util.h \ - src/shared/sleep-config.c \ - src/shared/sleep-config.h \ - src/shared/conf-parser.c \ - src/shared/conf-parser.h \ - src/shared/pager.c \ - src/shared/pager.h \ - src/shared/spawn-polkit-agent.c \ - src/shared/spawn-polkit-agent.h \ - src/shared/apparmor-util.c \ - src/shared/apparmor-util.h \ - src/shared/ima-util.c \ - src/shared/ima-util.h \ - src/shared/journal-util.c \ - src/shared/journal-util.h \ - src/shared/ptyfwd.c \ - src/shared/ptyfwd.h \ - src/shared/base-filesystem.c \ - src/shared/base-filesystem.h \ - src/shared/uid-range.c \ - src/shared/uid-range.h \ - src/shared/install.c \ - src/shared/install.h \ - src/shared/install-printf.c \ - src/shared/install-printf.h \ - src/shared/path-lookup.c \ - src/shared/path-lookup.h \ - src/shared/specifier.c \ - src/shared/specifier.h \ - src/shared/dev-setup.c \ - src/shared/dev-setup.h \ - src/shared/dropin.c \ - src/shared/dropin.h \ - src/shared/condition.c \ - src/shared/condition.h \ - src/shared/clean-ipc.c \ - src/shared/clean-ipc.h \ - src/shared/generator.h \ - src/shared/generator.c \ - src/shared/acpi-fpdt.h \ - src/shared/acpi-fpdt.c \ - src/shared/boot-timestamps.h \ - src/shared/boot-timestamps.c \ - src/shared/cgroup-show.c \ - src/shared/cgroup-show.h \ - src/shared/utmp-wtmp.h \ - src/shared/watchdog.c \ - src/shared/watchdog.h \ - src/shared/spawn-ask-password-agent.c \ - src/shared/spawn-ask-password-agent.h \ - src/shared/ask-password-api.c \ - src/shared/ask-password-api.h \ - src/shared/switch-root.h \ - src/shared/switch-root.c \ - src/shared/import-util.c \ - src/shared/import-util.h \ - src/shared/sysctl-util.c \ - src/shared/sysctl-util.h \ - src/shared/bus-util.c \ - src/shared/bus-util.h \ - src/shared/logs-show.c \ - src/shared/logs-show.h \ - src/shared/machine-image.c \ - src/shared/machine-image.h \ - src/shared/machine-pool.c \ - src/shared/machine-pool.h \ - src/shared/loop-util.c \ - src/shared/loop-util.h \ - src/shared/resolve-util.c \ - src/shared/resolve-util.h \ - src/shared/bus-unit-util.c \ - src/shared/bus-unit-util.h \ - src/shared/vlan-util.h \ - src/shared/vlan-util.c \ - src/shared/tests.h \ - src/shared/tests.c \ - src/shared/fdset.c \ - src/shared/fdset.h \ - src/shared/nsflags.h \ - src/shared/nsflags.c \ - src/shared/dissect-image.c \ - src/shared/dissect-image.h \ - src/shared/volatile-util.c \ - src/shared/volatile-util.h - -if HAVE_UTMP -libshared_la_SOURCES += \ - src/shared/utmp-wtmp.c -endif - -if HAVE_SECCOMP -libshared_la_SOURCES += \ - src/shared/seccomp-util.h \ - src/shared/seccomp-util.c -endif - -if HAVE_ACL -libshared_la_SOURCES += \ - src/shared/acl-util.c \ - src/shared/acl-util.h -endif - -libshared_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(ACL_CFLAGS) \ - $(LIBIDN_CFLAGS) \ - $(LIBIDN2_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(BLKID_CFLAGS) \ - $(LIBCRYPTSETUP_CFLAGS) - -libshared_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la \ - libsystemd-journal-internal.la \ - libudev-internal.la \ - $(ACL_LIBS) \ - $(LIBIDN_LIBS) \ - $(LIBIDN2_LIBS) \ - $(SECCOMP_LIBS) \ - $(BLKID_LIBS) \ - $(LIBCRYPTSETUP_LIBS) - -rootlibexec_LTLIBRARIES += \ - libsystemd-shared.la - -libsystemd_shared_la_SOURCES = \ - $(libbasic_la_SOURCES) \ - $(libshared_la_SOURCES) \ - $(libsystemd_internal_la_SOURCES) \ - $(libsystemd_journal_internal_la_SOURCES) \ - $(libudev_internal_la_SOURCES) - -libsystemd_shared_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(libbasic_la_CFLAGS) \ - $(libshared_la_CFLAGS) \ - $(libsystemd_internal_la_CFLAGS) \ - $(libsystemd_journal_internal_la_CFLAGS) \ - $(libudev_internal_la_CFLAGS) \ - $(ACL_CFLAGS) \ - $(LIBIDN_CFLAGS) \ - $(LIBIDN2_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(BLKID_CFLAGS) \ - $(LIBCRYPTSETUP_CFLAGS) \ - -fvisibility=default - -# We can't use libshared_la_LIBADD here because it would -# pull in libsystemd*-internal.la -libsystemd_shared_la_LIBADD = \ - $(libbasic_la_LIBADD) \ - $(libsystemd_internal_la_LIBADD) \ - $(libsystemd_journal_internal_la_LIBADD) \ - $(libudev_internal_la_LIBADD) \ - $(ACL_LIBS) \ - $(LIBIDN_LIBS) \ - $(LIBIDN2_LIBS) \ - $(SECCOMP_LIBS) \ - $(BLKID_LIBS) \ - $(LIBCRYPTSETUP_LIBS) - -libsystemd_shared_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -release $(PACKAGE_VERSION) - - -# ----------------------------------------------------------------------------- -if HAVE_LIBIPTC -noinst_LTLIBRARIES += \ - libfirewall.la - -libfirewall_la_SOURCES = \ - src/shared/firewall-util.h \ - src/shared/firewall-util.c - -libfirewall_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(LIBIPTC_CFLAGS) - -libfirewall_la_LIBADD = \ - $(LIBIPTC_LIBS) -endif - -# ----------------------------------------------------------------------------- -if ENABLE_LDCONFIG -dist_systemunit_DATA += \ - units/ldconfig.service - -SYSINIT_TARGET_WANTS += \ - ldconfig.service -endif - -# ------------------------------------------------------------------------------ -noinst_LTLIBRARIES += \ - libcore.la - -libcore_la_SOURCES = \ - src/core/unit.c \ - src/core/unit.h \ - src/core/unit-printf.c \ - src/core/unit-printf.h \ - src/core/job.c \ - src/core/job.h \ - src/core/manager.c \ - src/core/manager.h \ - src/core/transaction.c \ - src/core/transaction.h \ - src/core/load-fragment.c \ - src/core/load-fragment.h \ - src/core/service.c \ - src/core/service.h \ - src/core/socket.c \ - src/core/socket.h \ - src/core/busname.c \ - src/core/busname.h \ - src/core/bus-policy.c \ - src/core/bus-policy.h \ - src/core/target.c \ - src/core/target.h \ - src/core/device.c \ - src/core/device.h \ - src/core/mount.c \ - src/core/mount.h \ - src/core/automount.c \ - src/core/automount.h \ - src/core/swap.c \ - src/core/swap.h \ - src/core/timer.c \ - src/core/timer.h \ - src/core/path.c \ - src/core/path.h \ - src/core/slice.c \ - src/core/slice.h \ - src/core/scope.c \ - src/core/scope.h \ - src/core/load-dropin.c \ - src/core/load-dropin.h \ - src/core/execute.c \ - src/core/execute.h \ - src/core/dynamic-user.c \ - src/core/dynamic-user.h \ - src/core/kill.c \ - src/core/kill.h \ - src/core/dbus.c \ - src/core/dbus.h \ - src/core/dbus-manager.c \ - src/core/dbus-manager.h \ - src/core/dbus-unit.c \ - src/core/dbus-unit.h \ - src/core/dbus-job.c \ - src/core/dbus-job.h \ - src/core/dbus-service.c \ - src/core/dbus-service.h \ - src/core/dbus-socket.c \ - src/core/dbus-socket.h \ - src/core/dbus-busname.c \ - src/core/dbus-busname.h \ - src/core/dbus-target.c \ - src/core/dbus-target.h \ - src/core/dbus-device.c \ - src/core/dbus-device.h \ - src/core/dbus-mount.c \ - src/core/dbus-mount.h \ - src/core/dbus-automount.c \ - src/core/dbus-automount.h \ - src/core/dbus-swap.c \ - src/core/dbus-swap.h \ - src/core/dbus-timer.c \ - src/core/dbus-timer.h \ - src/core/dbus-path.c \ - src/core/dbus-path.h \ - src/core/dbus-slice.c \ - src/core/dbus-slice.h \ - src/core/dbus-scope.c \ - src/core/dbus-scope.h \ - src/core/dbus-execute.c \ - src/core/dbus-execute.h \ - src/core/dbus-kill.c \ - src/core/dbus-kill.h \ - src/core/dbus-cgroup.c \ - src/core/dbus-cgroup.h \ - src/core/cgroup.c \ - src/core/cgroup.h \ - src/core/selinux-access.c \ - src/core/selinux-access.h \ - src/core/selinux-setup.c \ - src/core/selinux-setup.h \ - src/core/smack-setup.c \ - src/core/smack-setup.h \ - src/core/ima-setup.c \ - src/core/ima-setup.h \ - src/core/locale-setup.h \ - src/core/locale-setup.c \ - src/core/hostname-setup.c \ - src/core/hostname-setup.h \ - src/core/machine-id-setup.c \ - 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/namespace.h \ - src/core/killall.h \ - src/core/killall.c \ - src/core/audit-fd.c \ - src/core/audit-fd.h \ - src/core/show-status.c \ - src/core/show-status.h \ - src/core/emergency-action.c \ - src/core/emergency-action.h - -nodist_libcore_la_SOURCES = \ - src/core/load-fragment-gperf.c \ - src/core/load-fragment-gperf-nulstr.c - -libcore_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(PAM_CFLAGS) \ - $(AUDIT_CFLAGS) \ - $(KMOD_CFLAGS) \ - $(APPARMOR_CFLAGS) \ - $(MOUNT_CFLAGS) \ - $(SECCOMP_CFLAGS) - -libcore_la_LIBADD = \ - libsystemd-shared.la \ - $(PAM_LIBS) \ - $(AUDIT_LIBS) \ - $(KMOD_LIBS) \ - $(APPARMOR_LIBS) \ - $(MOUNT_LIBS) - -src/core/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@ - -gperf_gperf_m4_sources = \ - src/core/load-fragment-gperf.gperf.m4 - -gperf_txt_sources = \ - src/basic/errno-list.txt \ - src/basic/af-list.txt \ - src/basic/arphrd-list.txt \ - src/basic/cap-list.txt - -BUILT_SOURCES += \ - $(gperf_gperf_m4_sources:-gperf.gperf.m4=-gperf.c) \ - $(gperf_gperf_m4_sources:-gperf.gperf.m4=-gperf-nulstr.c) \ - $(gperf_gperf_sources:-gperf.gperf=-gperf.c) \ - $(gperf_txt_sources:-list.txt=-from-name.h) \ - $(filter-out %keyboard-keys-to-name.h,$(gperf_txt_sources:-list.txt=-to-name.h)) - -CLEANFILES += \ - $(gperf_txt_sources:-list.txt=-from-name.gperf) -DISTCLEANFILES = \ - $(gperf_txt_sources) - -EXTRA_DIST += \ - $(gperf_gperf_m4_sources) \ - $(gperf_gperf_sources) - -CLEANFILES += \ - $(gperf_txt_sources) - -%-from-name.gperf: %-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct $(notdir $*)_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@ - -%-from-name.h: %-from-name.gperf - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@ - - -src/basic/errno-list.txt: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@ - -src/basic/errno-to-name.h: src/basic/errno-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} !/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@ - - -src/basic/af-list.txt: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/socket.h - </dev/null | grep -v AF_UNSPEC | grep -v AF_MAX | $(AWK) '/^#define[ \t]+AF_[^ \t]+[ \t]+PF_[^ \t]/ { print $$2; }' >$@ - -src/basic/af-to-name.h: src/basic/af-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const af_names[] = { "} !/AF_FILE/ && !/AF_ROUTE/ && !/AF_LOCAL/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@ - - -src/basic/arphrd-list.txt: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include net/if_arp.h - </dev/null | $(AWK) '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $$2; }' | sed -e 's/ARPHRD_//' >$@ - -src/basic/arphrd-to-name.h: src/basic/arphrd-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const arphrd_names[] = { "} !/CISCO/ { printf "[ARPHRD_%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@ - -src/basic/arphrd-from-name.gperf: src/basic/arphrd-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct arphrd_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, ARPHRD_%s\n", $$1, $$1 }' <$< >$@ - - -src/basic/cap-list.txt: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/capability.h -include missing.h - </dev/null | $(AWK) '/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $$2; }' | grep -v CAP_LAST_CAP >$@ - -src/basic/cap-to-name.h: src/basic/cap-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const capability_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, tolower($$1) } END{print "};"}' <$< >$@ - -src/basic/cap-from-name.gperf: src/basic/cap-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct capability_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@ - -src/basic/cap-from-name.h: src/basic/cap-from-name.gperf - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@ - -audit_list_includes = -include linux/audit.h -include missing.h -if HAVE_AUDIT -audit_list_includes += -include libaudit.h -endif - -src/journal/audit_type-list.txt: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM $(audit_list_includes) - </dev/null | grep -vE 'AUDIT_.*(FIRST|LAST)_' | $(SED) -r -n 's/^#define\s+AUDIT_(\w+)\s+([0-9]{4})\s*$$/\1\t\2/p' | sort -k2 >$@ - -src/journal/audit_type-to-name.h: src/journal/audit_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *audit_type_to_string(int type) {\n\tswitch(type) {" } {printf " case AUDIT_%s: return \"%s\";\n", $$1, $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@ - - -src/resolve/dns_type-list.txt: src/resolve/dns-type.h - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(SED) -n -r 's/.* DNS_TYPE_(\w+).*/\1/p' <$< >$@ - -src/resolve/dns_type-to-name.h: src/resolve/dns_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *dns_type_to_string(int type) {\n\tswitch(type) {" } {printf " case DNS_TYPE_%s: return ", $$1; sub(/_/, "-"); printf "\"%s\";\n", $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@ - -src/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct dns_type_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { s=$$1; sub(/_/, "-", s); printf "%s, ", $$s; printf "DNS_TYPE_%s\n", $$1 }' <$< >$@ - -# ------------------------------------------------------------------------------ -systemd_SOURCES = \ - src/core/main.c - -systemd_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -systemd_LDADD = \ - libcore.la - -dist_pkgsysconf_DATA += \ - src/core/system.conf \ - src/core/user.conf - -dist_dbuspolicy_DATA += \ - src/core/org.freedesktop.systemd1.conf - -dist_dbussystemservice_DATA += \ - src/core/org.freedesktop.systemd1.service - -polkitpolicy_in_in_files += \ - src/core/org.freedesktop.systemd1.policy.in.in - -pkgconfigdata_DATA += \ - src/core/systemd.pc - -if ENABLE_RPM_MACROS -nodist_rpmmacros_DATA = \ - src/core/macros.systemd -endif - -BUILT_SOURCES += \ - src/core/triggers.systemd - -EXTRA_DIST += \ - src/core/systemd.pc.in \ - src/core/macros.systemd.in \ - src/core/triggers.systemd.in - -# ------------------------------------------------------------------------------ - -manual_tests += \ - test-ns \ - test-cgroup \ - test-install \ - test-btrfs \ - test-acd \ - test-ipv4ll-manual \ - test-ask-password-api \ - test-dissect-image - -unsafe_tests = \ - test-hostname \ - test-ipcrm - -if HAVE_LIBIPTC -manual_tests += \ - test-firewall-util -endif - -if HAVE_KMOD -manual_tests += \ - test-netlink-manual -endif - -tests += \ - test-daemon \ - test-log \ - test-loopback \ - test-engine \ - test-watchdog \ - test-cgroup-mask \ - test-job-type \ - test-env-util \ - test-strbuf \ - test-strv \ - test-path \ - test-path-util \ - test-strxcpyx \ - test-siphash24 \ - test-unit-name \ - test-unit-file \ - test-utf8 \ - test-ellipsize \ - test-util \ - test-mount-util \ - test-exec-util \ - test-cpu-set-util \ - test-hexdecoct \ - test-escape \ - test-alloc-util \ - test-proc-cmdline \ - test-io-util \ - test-glob-util \ - test-xattr-util \ - test-fs-util \ - test-web-util \ - test-stat-util \ - test-fd-util \ - test-string-util \ - test-extract-word \ - test-parse-util \ - test-user-util \ - test-hostname-util \ - test-process-util \ - test-terminal-util \ - test-path-lookup \ - test-barrier \ - test-tmpfiles \ - test-namespace \ - test-date \ - test-sleep \ - test-replace-var \ - test-sched-prio \ - test-calendarspec \ - test-strip-tab-ansi \ - test-cgroup-util \ - test-fstab-util \ - test-prioq \ - test-fileio \ - test-time \ - test-clock \ - test-hashmap \ - test-set \ - test-bitmap \ - test-list \ - test-unaligned \ - test-tables \ - test-device-nodes \ - test-xml \ - test-architecture \ - test-socket-util \ - test-fdset \ - test-conf-files \ - test-conf-parser \ - test-capability \ - test-async \ - test-random-util \ - test-ratelimit \ - test-condition \ - test-uid-range \ - test-locale-util \ - test-execute \ - test-copy \ - test-cap-list \ - test-sigbus \ - test-verbs \ - test-af-list \ - test-arphrd-list \ - test-dns-domain \ - test-install-root \ - test-rlimit-util \ - test-signal-util \ - test-selinux \ - test-sizeof \ - test-journal-importer - -if HAVE_ACL -tests += \ - test-acl-util -endif - -if HAVE_SECCOMP -tests += \ - test-seccomp -endif - -TEST_DATA_FILES += \ - test/a.service \ - test/basic.target \ - test/b.service \ - test/c.service \ - test/daughter.service \ - test/d.service \ - test/end.service \ - test/e.service \ - test/f.service \ - test/grandchild.service \ - test/g.service \ - test/hello-after-sleep.target \ - test/hello.service \ - test/h.service \ - test/parent-deep.slice \ - test/parent.slice \ - test/sched_idle_bad.service \ - test/sched_idle_ok.service \ - test/sched_rr_bad.service \ - test/sched_rr_change.service \ - test/sched_rr_ok.service \ - test/shutdown.target \ - test/sleep.service \ - test/sockets.target \ - test/son.service \ - test/sysinit.target \ - test/testsuite.target \ - test/timers.target \ - test/unstoppable.service \ - test/test-path/paths.target \ - test/test-path/basic.target \ - test/test-path/sysinit.target \ - test/test-path/path-changed.service \ - test/test-path/path-directorynotempty.service \ - test/test-path/path-existsglob.service \ - test/test-path/path-exists.service \ - test/test-path/path-makedirectory.service \ - test/test-path/path-modified.service \ - test/test-path/path-mycustomunit.service \ - test/test-path/path-service.service \ - test/test-path/path-changed.path \ - test/test-path/path-directorynotempty.path \ - test/test-path/path-existsglob.path \ - test/test-path/path-exists.path \ - test/test-path/path-makedirectory.path \ - test/test-path/path-modified.path \ - test/test-path/path-unit.path \ - test/test-execute/exec-environment-empty.service \ - test/test-execute/exec-environment-multiple.service \ - test/test-execute/exec-environment.service \ - test/test-execute/exec-passenvironment-absent.service \ - test/test-execute/exec-passenvironment-empty.service \ - test/test-execute/exec-passenvironment-repeated.service \ - test/test-execute/exec-passenvironment.service \ - test/test-execute/exec-group.service \ - test/test-execute/exec-group-nfsnobody.service \ - test/test-execute/exec-supplementarygroups.service \ - test/test-execute/exec-supplementarygroups-single-group.service \ - test/test-execute/exec-supplementarygroups-single-group-user.service \ - test/test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service \ - test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service \ - test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service \ - test/test-execute/exec-dynamicuser-fixeduser.service \ - test/test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service \ - test/test-execute/exec-dynamicuser-supplementarygroups.service \ - test/test-execute/exec-ignoresigpipe-no.service \ - test/test-execute/exec-ignoresigpipe-yes.service \ - test/test-execute/exec-personality-x86-64.service \ - test/test-execute/exec-personality-x86.service \ - test/test-execute/exec-personality-s390.service \ - test/test-execute/exec-personality-ppc64.service \ - test/test-execute/exec-personality-ppc64le.service \ - test/test-execute/exec-personality-aarch64.service \ - test/test-execute/exec-privatedevices-no.service \ - test/test-execute/exec-privatedevices-yes.service \ - test/test-execute/exec-privatedevices-no-capability-mknod.service \ - test/test-execute/exec-privatedevices-yes-capability-mknod.service \ - test/test-execute/exec-protectkernelmodules-no-capabilities.service \ - test/test-execute/exec-protectkernelmodules-yes-capabilities.service \ - test/test-execute/exec-protectkernelmodules-yes-mount-propagation.service \ - test/test-execute/exec-privatetmp-no.service \ - test/test-execute/exec-privatetmp-yes.service \ - test/test-execute/exec-readonlypaths.service \ - 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 \ - test/test-execute/exec-systemcallfilter-failing.service \ - test/test-execute/exec-systemcallfilter-not-failing2.service \ - test/test-execute/exec-systemcallfilter-not-failing.service \ - test/test-execute/exec-systemcallfilter-system-user.service \ - test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service \ - test/test-execute/exec-user.service \ - test/test-execute/exec-user-nfsnobody.service \ - test/test-execute/exec-workingdirectory.service \ - test/test-execute/exec-umask-0177.service \ - test/test-execute/exec-umask-default.service \ - test/test-execute/exec-privatenetwork-yes.service \ - test/test-execute/exec-environmentfile.service \ - test/test-execute/exec-oomscoreadjust-positive.service \ - test/test-execute/exec-oomscoreadjust-negative.service \ - test/test-execute/exec-ioschedulingclass-best-effort.service \ - test/test-execute/exec-ioschedulingclass-idle.service \ - test/test-execute/exec-ioschedulingclass-none.service \ - test/test-execute/exec-ioschedulingclass-realtime.service \ - test/test-execute/exec-capabilityboundingset-invert.service \ - test/test-execute/exec-capabilityboundingset-merge.service \ - test/test-execute/exec-capabilityboundingset-reset.service \ - test/test-execute/exec-capabilityboundingset-simple.service \ - test/test-execute/exec-capabilityambientset.service \ - test/test-execute/exec-capabilityambientset-nfsnobody.service \ - test/test-execute/exec-capabilityambientset-merge.service \ - test/test-execute/exec-capabilityambientset-merge-nfsnobody.service \ - test/test-execute/exec-runtimedirectory.service \ - test/test-execute/exec-runtimedirectory-mode.service \ - test/test-execute/exec-runtimedirectory-owner.service \ - test/test-execute/exec-runtimedirectory-owner-nfsnobody.service \ - test/test-execute/exec-restrict-namespaces-no.service \ - test/test-execute/exec-restrict-namespaces-yes.service \ - test/test-execute/exec-restrict-namespaces-mnt.service \ - test/test-execute/exec-restrict-namespaces-mnt-blacklist.service \ - test/test-execute/exec-read-only-path-succeed.service \ - test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service \ - test/test-execute/exec-privatedevices-no-capability-sys-rawio.service \ - test/bus-policy/hello.conf \ - test/bus-policy/methods.conf \ - test/bus-policy/ownerships.conf \ - test/bus-policy/signals.conf \ - test/bus-policy/check-own-rules.conf \ - test/bus-policy/many-rules.conf \ - test/bus-policy/test.conf \ - test/hwdb/10-bad.hwdb - - -EXTRA_DIST += \ - src/test/test-helper.h - -test_device_nodes_SOURCES = \ - src/test/test-device-nodes.c - -test_device_nodes_LDADD = \ - libsystemd-shared.la - -test_engine_SOURCES = \ - src/test/test-engine.c - -test_engine_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_engine_LDADD = \ - libcore.la - -test_job_type_SOURCES = \ - src/test/test-job-type.c - -test_job_type_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_job_type_LDADD = \ - libcore.la - -test_ns_SOURCES = \ - src/test/test-ns.c - -test_ns_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) - -test_ns_LDADD = \ - libcore.la - -test_loopback_SOURCES = \ - src/test/test-loopback.c - -test_loopback_LDADD = \ - libcore.la - -test_hostname_SOURCES = \ - src/test/test-hostname.c - -test_hostname_LDADD = \ - libcore.la - -test_dns_domain_SOURCES = \ - src/test/test-dns-domain.c - -test_dns_domain_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - - -if ENABLE_EFI -tests += \ - test-boot-timestamps - -test_boot_timestamps_SOURCES = \ - src/test/test-boot-timestamps.c - -test_boot_timestamps_LDADD = \ - libsystemd-shared.la -endif - -test_unit_name_SOURCES = \ - src/test/test-unit-name.c - -test_unit_name_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_unit_name_LDADD = \ - libcore.la - -test_unit_file_SOURCES = \ - src/test/test-unit-file.c - -test_unit_file_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_unit_file_LDADD = \ - libcore.la - -test_utf8_SOURCES = \ - src/test/test-utf8.c - -test_utf8_LDADD = \ - libsystemd-shared.la - -test_capability_SOURCES = \ - src/test/test-capability.c - -test_capability_CFLAGS = \ - $(AM_CFLAGS) \ - $(CAP_CFLAGS) - -test_capability_LDADD = \ - libsystemd-shared.la \ - $(CAP_LIBS) - -test_async_SOURCES = \ - src/test/test-async.c - -test_async_LDADD = \ - libsystemd-shared.la - -test_locale_util_SOURCES = \ - src/test/test-locale-util.c - -test_locale_util_LDADD = \ - libsystemd-shared.la - -test_copy_SOURCES = \ - src/test/test-copy.c - -# Link statically to ensure file is large -test_copy_LDADD = \ - libshared.la - -test_sigbus_SOURCES = \ - src/test/test-sigbus.c - -test_sigbus_LDADD = \ - libsystemd-shared.la - -test_condition_SOURCES = \ - src/test/test-condition.c - -test_condition_LDADD = \ - libsystemd-shared.la - -test_fdset_SOURCES = \ - src/test/test-fdset.c - -test_fdset_LDADD = \ - libsystemd-shared.la - -test_fstab_util_SOURCES = \ - src/test/test-fstab-util.c - -test_fstab_util_LDADD = \ - libsystemd-shared.la - -test_random_util_SOURCES = \ - src/test/test-random-util.c - -test_random_util_LDADD = \ - libsystemd-shared.la - -test_ratelimit_SOURCES = \ - src/test/test-ratelimit.c - -test_ratelimit_LDADD = \ - libsystemd-shared.la - -test_util_SOURCES = \ - src/test/test-util.c - -test_util_LDADD = \ - libsystemd-shared.la - -test_mount_util_SOURCES = \ - src/test/test-mount-util.c - -test_mount_util_LDADD = \ - libsystemd-shared.la - -test_exec_util_SOURCES = \ - src/test/test-exec-util.c - -test_exec_util_LDADD = \ - libsystemd-shared.la - -test_hexdecoct_SOURCES = \ - src/test/test-hexdecoct.c - -test_hexdecoct_LDADD = \ - libsystemd-shared.la - -test_alloc_util_SOURCES = \ - src/test/test-alloc-util.c - -test_alloc_util_LDADD = \ - libsystemd-shared.la - -test_xattr_util_SOURCES = \ - src/test/test-xattr-util.c - -test_xattr_util_LDADD = \ - libsystemd-shared.la - -test_io_util_SOURCES = \ - src/test/test-io-util.c - -test_io_util_LDADD = \ - libsystemd-shared.la - -test_glob_util_SOURCES = \ - src/test/test-glob-util.c - -test_glob_util_LDADD = \ - libsystemd-shared.la - -test_fs_util_SOURCES = \ - src/test/test-fs-util.c - -test_fs_util_LDADD = \ - libsystemd-shared.la - -test_proc_cmdline_SOURCES = \ - src/test/test-proc-cmdline.c - -test_proc_cmdline_LDADD = \ - libsystemd-shared.la - -test_fd_util_SOURCES = \ - src/test/test-fd-util.c - -test_fd_util_LDADD = \ - libsystemd-shared.la - -test_web_util_SOURCES = \ - src/test/test-web-util.c - -test_web_util_LDADD = \ - libsystemd-shared.la - -test_cpu_set_util_SOURCES = \ - src/test/test-cpu-set-util.c - -test_cpu_set_util_LDADD = \ - libsystemd-shared.la - -test_stat_util_SOURCES = \ - src/test/test-stat-util.c - -test_stat_util_LDADD = \ - libsystemd-shared.la - -test_escape_SOURCES = \ - src/test/test-escape.c - -test_escape_LDADD = \ - libsystemd-shared.la - -test_string_util_SOURCES = \ - src/test/test-string-util.c - -test_string_util_LDADD = \ - libsystemd-shared.la - -test_extract_word_SOURCES = \ - src/test/test-extract-word.c - -test_extract_word_LDADD = \ - libsystemd-shared.la - -test_parse_util_SOURCES = \ - src/test/test-parse-util.c - -test_parse_util_LDADD = \ - libsystemd-shared.la - -test_user_util_SOURCES = \ - src/test/test-user-util.c - -test_user_util_LDADD = \ - libsystemd-shared.la - -test_hostname_util_SOURCES = \ - src/test/test-hostname-util.c - -test_hostname_util_LDADD = \ - libsystemd-shared.la - -test_process_util_SOURCES = \ - src/test/test-process-util.c - -test_process_util_LDADD = \ - libsystemd-shared.la - -test_terminal_util_SOURCES = \ - src/test/test-terminal-util.c - -test_terminal_util_LDADD = \ - libsystemd-shared.la - -test_path_lookup_SOURCES = \ - src/test/test-path-lookup.c - -test_path_lookup_LDADD = \ - libsystemd-shared.la - -test_uid_range_SOURCES = \ - src/test/test-uid-range.c - -test_uid_range_LDADD = \ - libsystemd-shared.la - -test_cap_list_SOURCES = \ - src/test/test-cap-list.c - -test_cap_list_CFLAGS = \ - $(AM_CFLAGS) \ - $(CAP_CFLAGS) - -test_cap_list_LDADD = \ - libsystemd-shared.la \ - $(CAP_LIBS) - -test_socket_util_SOURCES = \ - src/test/test-socket-util.c - -test_socket_util_LDADD = \ - libsystemd-shared.la - -test_barrier_SOURCES = \ - src/test/test-barrier.c - -test_barrier_LDADD = \ - libsystemd-shared.la - -test_tmpfiles_SOURCES = \ - src/test/test-tmpfiles.c - -test_tmpfiles_LDADD = \ - libsystemd-shared.la - -test_namespace_SOURCES = \ - src/test/test-namespace.c - -test_verbs_SOURCES = \ - src/test/test-verbs.c - -test_verbs_LDADD = \ - libsystemd-shared.la - -test_install_root_SOURCES = \ - src/test/test-install-root.c - -test_install_root_LDADD = \ - libsystemd-shared.la - -test_acl_util_SOURCES = \ - src/test/test-acl-util.c - -test_acl_util_LDADD = \ - libsystemd-shared.la - -test_seccomp_SOURCES = \ - src/test/test-seccomp.c - -test_seccomp_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) - -test_seccomp_LDADD = \ - libsystemd-shared.la \ - $(SECCOMP_LIBS) - -test_namespace_LDADD = \ - libcore.la - -test_rlimit_util_SOURCES = \ - src/test/test-rlimit-util.c - -test_rlimit_util_LDADD = \ - libsystemd-shared.la - -test_ask_password_api_SOURCES = \ - src/test/test-ask-password-api.c - -test_ask_password_api_LDADD = \ - libsystemd-shared.la - -test_dissect_image_SOURCES = \ - src/test/test-dissect-image.c - -test_dissect_image_CFLAGS = \ - $(AM_CFLAGS) \ - $(BLKID_CFLAGS) - -test_dissect_image_LDADD = \ - libsystemd-shared.la \ - $(BLKID_LIBS) - -test_signal_util_SOURCES = \ - src/test/test-signal-util.c - -test_signal_util_LDADD = \ - libsystemd-shared.la - -test_selinux_SOURCES = \ - src/test/test-selinux.c - -test_selinux_LDADD = \ - libsystemd-shared.la - -test_sizeof_SOURCES = \ - src/test/test-sizeof.c - -BUILT_SOURCES += \ - src/test/test-hashmap-ordered.c - -src/test/test-hashmap-ordered.c: src/test/test-hashmap-plain.c - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(AWK) 'BEGIN { print "/* GENERATED FILE */\n#define ORDERED" } \ - { if (!match($$0, "^#include")) \ - gsub(/hashmap/, "ordered_hashmap"); \ - gsub(/HASHMAP/, "ORDERED_HASHMAP"); \ - gsub(/Hashmap/, "OrderedHashmap"); \ - print }' <$< >$@ - -nodist_test_hashmap_SOURCES = \ - src/test/test-hashmap-ordered.c - -test_hashmap_SOURCES = \ - src/test/test-hashmap.c \ - src/test/test-hashmap-plain.c - -test_hashmap_LDADD = \ - libsystemd-shared.la - -test_set_SOURCES = \ - src/test/test-set.c - -test_set_LDADD = \ - libsystemd-shared.la - -test_bitmap_SOURCES = \ - src/test/test-bitmap.c - -test_bitmap_LDADD = \ - libsystemd-shared.la - -test_xml_SOURCES = \ - src/test/test-xml.c - -test_xml_LDADD = \ - libsystemd-shared.la - -test_list_SOURCES = \ - src/test/test-list.c - -test_list_LDADD = \ - libsystemd-shared.la - -test_unaligned_LDADD = \ - libsystemd-shared.la - -test_unaligned_SOURCES = \ - src/test/test-unaligned.c - -test_tables_SOURCES = \ - src/test/test-tables.c \ - src/shared/test-tables.h \ - src/journal/journald-server.c \ - src/journal/journald-server.h - -test_tables_CPPFLAGS = \ - $(AM_CPPFLAGS) - -test_tables_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_tables_LDADD = \ - libjournal-core.la \ - libcore.la \ - libudev-core.la - -test_prioq_SOURCES = \ - src/test/test-prioq.c - -test_prioq_LDADD = \ - libsystemd-shared.la - -test_fileio_SOURCES = \ - src/test/test-fileio.c - -test_fileio_LDADD = \ - libsystemd-shared.la - -test_time_SOURCES = \ - src/test/test-time.c - -test_time_LDADD = \ - libsystemd-shared.la - -test_clock_SOURCES = \ - src/test/test-clock.c - -test_clock_LDADD = \ - libsystemd-shared.la - -test_architecture_SOURCES = \ - src/test/test-architecture.c - -test_architecture_LDADD = \ - libsystemd-shared.la - -test_log_SOURCES = \ - src/test/test-log.c - -test_log_LDADD = \ - libsystemd-shared.la - -test_ipcrm_SOURCES = \ - src/test/test-ipcrm.c - -test_ipcrm_LDADD = \ - libsystemd-shared.la - -test_btrfs_SOURCES = \ - src/test/test-btrfs.c - -test_btrfs_LDADD = \ - libsystemd-shared.la - -if HAVE_LIBIPTC -test_firewall_util_SOURCES = \ - src/test/test-firewall-util.c - -test_firewall_util_CFLAGS = \ - $(AM_CFLAGS) \ - $(LIBIPTC_CFLAGS) - -test_firewall_util_LDADD = \ - libfirewall.la \ - libsystemd-shared.la \ - $(LIBIPTC_LIBS) -endif - -test_netlink_manual_SOURCES = \ - src/test/test-netlink-manual.c - -test_netlink_manual_CFLAGS = \ - $(AM_CFLAGS) \ - $(KMOD_CFLAGS) - -test_netlink_manual_LDADD = \ - libsystemd-shared.la \ - $(KMOD_LIBS) - -test_ellipsize_SOURCES = \ - src/test/test-ellipsize.c - -test_ellipsize_LDADD = \ - libsystemd-shared.la - -test_date_SOURCES = \ - src/test/test-date.c - -test_date_LDADD = \ - libsystemd-shared.la - -test_sleep_SOURCES = \ - src/test/test-sleep.c - -test_sleep_LDADD = \ - libcore.la - -test_replace_var_SOURCES = \ - src/test/test-replace-var.c - -test_replace_var_LDADD = \ - libsystemd-shared.la - -test_calendarspec_SOURCES = \ - src/test/test-calendarspec.c - -test_calendarspec_LDADD = \ - libsystemd-shared.la - -test_strip_tab_ansi_SOURCES = \ - src/test/test-strip-tab-ansi.c - -test_strip_tab_ansi_LDADD = \ - libsystemd-shared.la - -test_daemon_SOURCES = \ - src/test/test-daemon.c - -test_daemon_LDADD = \ - libsystemd-shared.la - -test_cgroup_SOURCES = \ - src/test/test-cgroup.c - -test_cgroup_LDADD = \ - libsystemd-shared.la - -test_cgroup_mask_SOURCES = \ - src/test/test-cgroup-mask.c - -test_cgroup_mask_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - $(MOUNT_CFLAGS) - -test_cgroup_mask_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) - -test_cgroup_mask_LDADD = \ - libcore.la - -test_cgroup_util_SOURCES = \ - src/test/test-cgroup-util.c - -test_cgroup_util_LDADD = \ - libsystemd-shared.la - -test_env_util_SOURCES = \ - src/test/test-env-util.c - -test_env_util_LDADD = \ - libsystemd-shared.la - -test_strbuf_SOURCES = \ - src/test/test-strbuf.c - -test_strbuf_LDADD = \ - libsystemd-shared.la - -test_strv_SOURCES = \ - src/test/test-strv.c - -test_strv_LDADD = \ - libsystemd-shared.la - -test_path_util_SOURCES = \ - src/test/test-path-util.c - -test_path_util_LDADD = \ - libsystemd-shared.la - -test_path_SOURCES = \ - src/test/test-path.c - -test_path_CFLAGS = \ - $(AM_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_path_LDADD = \ - libcore.la - -test_execute_SOURCES = \ - src/test/test-execute.c - -test_execute_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -test_execute_LDADD = \ - libcore.la - -test_siphash24_SOURCES = \ - src/test/test-siphash24.c - -test_siphash24_LDADD = \ - libsystemd-shared.la - -test_strxcpyx_SOURCES = \ - src/test/test-strxcpyx.c - -test_strxcpyx_LDADD = \ - libsystemd-shared.la - -test_install_SOURCES = \ - src/test/test-install.c - -test_install_LDADD = \ - libsystemd-shared.la - -test_watchdog_SOURCES = \ - src/test/test-watchdog.c - -test_watchdog_LDADD = \ - libsystemd-shared.la - -test_sched_prio_SOURCES = \ - src/test/test-sched-prio.c - -test_sched_prio_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - $(MOUNT_CFLAGS) - -test_sched_prio_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) - -test_sched_prio_LDADD = \ - libcore.la - -test_conf_files_SOURCES = \ - src/test/test-conf-files.c - -test_conf_files_LDADD = \ - libsystemd-shared.la - -test_conf_parser_SOURCES = \ - src/test/test-conf-parser.c - -test_conf_parser_LDADD = \ - libsystemd-shared.la - -test_af_list_SOURCES = \ - src/test/test-af-list.c - -test_af_list_LDADD = \ - libsystemd-shared.la - -test_arphrd_list_SOURCES = \ - src/test/test-arphrd-list.c - -test_arphrd_list_LDADD = \ - libsystemd-shared.la - -test_journal_importer_SOURCES = \ - src/test/test-journal-importer.c - -test_journal_importer_LDADD = \ - libsystemd-shared.la - -TEST_DATA_FILES += \ - test/journal-data/journal-1.txt \ - test/journal-data/journal-2.txt - -# ------------------------------------------------------------------------------ -## .PHONY so it always rebuilds it -.PHONY: coverage lcov-run lcov-report coverage-sync - -# run lcov from scratch, always -coverage: all - $(MAKE) lcov-run - $(MAKE) lcov-report - -coverage_dir = coverage -coverage_opts = --base-directory $(srcdir) --directory $(builddir) --rc 'geninfo_adjust_src_path=$(abspath $(srcdir))=>$(abspath $(builddir))' - -if ENABLE_COVERAGE -# reset run coverage tests -lcov-run: - @rm -rf $(coverage_dir) - lcov $(coverage_opts) --zerocounters - -$(MAKE) check - -# generate report based on current coverage data -lcov-report: - $(MKDIR_P) $(coverage_dir) - lcov $(coverage_opts) --compat-libtool --capture --no-external \ - | sed 's|$(abspath $(builddir))|$(abspath $(srcdir))|' > $(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 -# output is not uploaded by mistake. -coverage-sync: coverage - test "$(builddir)" = "$(srcdir)" - rsync -rlv --delete --omit-dir-times coverage/ $(www_target)/coverage - -else -lcov-run lcov-report: - echo "Need to reconfigure with --enable-coverage" -endif - -# ------------------------------------------------------------------------------ -systemd_analyze_SOURCES = \ - src/analyze/analyze.c \ - src/analyze/analyze-verify.c \ - src/analyze/analyze-verify.h - -systemd_analyze_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(MOUNT_CFLAGS) - -systemd_analyze_LDADD = \ - libcore.la - -# ------------------------------------------------------------------------------ -systemd_initctl_SOURCES = \ - src/initctl/initctl.c - -systemd_initctl_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_update_utmp_SOURCES = \ - src/update-utmp/update-utmp.c - -systemd_update_utmp_CFLAGS = \ - $(AM_CFLAGS) \ - $(AUDIT_CFLAGS) - -systemd_update_utmp_LDADD = \ - libsystemd-shared.la \ - $(AUDIT_LIBS) - -# ------------------------------------------------------------------------------ -systemd_update_done_SOURCES = \ - src/update-done/update-done.c - -systemd_update_done_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_shutdown_SOURCES = \ - src/core/umount.c \ - src/core/umount.h \ - src/core/shutdown.c \ - src/core/mount-setup.c \ - src/core/mount-setup.h \ - src/core/killall.h \ - src/core/killall.c - -systemd_shutdown_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -if HAVE_KMOD -systemd_modules_load_SOURCES = \ - src/modules-load/modules-load.c - -systemd_modules_load_CFLAGS = \ - $(AM_CFLAGS) \ - $(KMOD_CFLAGS) - -systemd_modules_load_LDADD = \ - libsystemd-shared.la \ - $(KMOD_LIBS) - -rootlibexec_PROGRAMS += \ - systemd-modules-load - -nodist_systemunit_DATA += \ - units/systemd-modules-load.service - -SYSINIT_TARGET_WANTS += \ - systemd-modules-load.service - -if ENABLE_TMPFILES -nodist_systemunit_DATA += \ - units/kmod-static-nodes.service - -SYSINIT_TARGET_WANTS += \ - kmod-static-nodes.service -endif -endif - -EXTRA_DIST += \ - units/systemd-modules-load.service.in \ - units/kmod-static-nodes.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_TMPFILES -systemd_tmpfiles_SOURCES = \ - src/tmpfiles/tmpfiles.c - -systemd_tmpfiles_CFLAGS = \ - $(AM_CFLAGS) \ - $(ACL_CFLAGS) - -systemd_tmpfiles_LDADD = \ - libsystemd-shared.la \ - $(ACL_LIBS) - -rootbin_PROGRAMS += \ - systemd-tmpfiles - -dist_systemunit_DATA += \ - units/systemd-tmpfiles-clean.timer - -nodist_systemunit_DATA += \ - units/systemd-tmpfiles-setup-dev.service \ - units/systemd-tmpfiles-setup.service \ - units/systemd-tmpfiles-clean.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/home.conf \ - tmpfiles.d/systemd-nspawn.conf \ - tmpfiles.d/journal-nocow.conf - -if HAVE_SYSV_COMPAT -dist_tmpfiles_DATA += \ - 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 - -dist_zshcompletion_data += \ - shell-completion/zsh/_systemd-tmpfiles - -TIMERS_TARGET_WANTS += \ - systemd-tmpfiles-clean.timer - -INSTALL_DIRS += \ - $(tmpfilesdir) \ - $(sysconfdir)/tmpfiles.d -endif - -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 - -# ------------------------------------------------------------------------------ -if ENABLE_SYSUSERS -systemd_sysusers_SOURCES = \ - src/sysusers/sysusers.c - -systemd_sysusers_LDADD = \ - libsystemd-shared.la - -rootbin_PROGRAMS += \ - systemd-sysusers - -nodist_systemunit_DATA += \ - units/systemd-sysusers.service - -SYSINIT_TARGET_WANTS += \ - systemd-sysusers.service - -nodist_sysusers_DATA = \ - sysusers.d/systemd.conf \ - sysusers.d/basic.conf - -if HAVE_REMOTE -nodist_sysusers_DATA += \ - sysusers.d/systemd-remote.conf -endif - -INSTALL_DIRS += \ - $(sysusersdir) -endif - -EXTRA_DIST += \ - units/systemd-sysusers.service.in \ - sysusers.d/systemd.conf.m4 \ - sysusers.d/systemd-remote.conf.m4 \ - sysusers.d/basic.conf.in - -# ------------------------------------------------------------------------------ -dist_factory_etc_DATA = \ - factory/etc/nsswitch.conf - -if HAVE_PAM -dist_factory_pam_DATA = \ - factory/etc/pam.d/system-auth \ - factory/etc/pam.d/other -endif - -# ------------------------------------------------------------------------------ -if ENABLE_FIRSTBOOT -systemd_firstboot_SOURCES = \ - src/firstboot/firstboot.c - -systemd_firstboot_LDADD = \ - libsystemd-shared.la \ - -lcrypt - -rootbin_PROGRAMS += \ - systemd-firstboot - -nodist_systemunit_DATA += \ - units/systemd-firstboot.service - -SYSINIT_TARGET_WANTS += \ - systemd-firstboot.service -endif - -EXTRA_DIST += \ - units/systemd-firstboot.service.in - -# ------------------------------------------------------------------------------ -systemd_machine_id_setup_SOURCES = \ - src/machine-id-setup/machine-id-setup-main.c \ - src/core/machine-id-setup.c \ - src/core/machine-id-setup.h - -systemd_machine_id_setup_LDADD = \ - libsystemd-shared.la - -SYSINIT_TARGET_WANTS += \ - systemd-machine-id-commit.service - -# ------------------------------------------------------------------------------ -systemd_sysctl_SOURCES = \ - src/sysctl/sysctl.c - -systemd_sysctl_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_sleep_SOURCES = \ - src/sleep/sleep.c - -systemd_sleep_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_fsck_SOURCES = \ - src/fsck/fsck.c - -systemd_fsck_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_ac_power_SOURCES = \ - src/ac-power/ac-power.c - -systemd_ac_power_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_detect_virt_SOURCES = \ - src/detect-virt/detect-virt.c - -systemd_detect_virt_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_delta_SOURCES = \ - src/delta/delta.c - -systemd_delta_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_getty_generator_SOURCES = \ - src/getty-generator/getty-generator.c - -systemd_getty_generator_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_debug_generator_SOURCES = \ - src/debug-generator/debug-generator.c - -systemd_debug_generator_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_fstab_generator_SOURCES = \ - src/fstab-generator/fstab-generator.c \ - src/core/mount-setup.c - -systemd_fstab_generator_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_system_update_generator_SOURCES = \ - src/system-update-generator/system-update-generator.c - -systemd_system_update_generator_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -30_systemd_environment_d_generator_SOURCES = \ - src/environment-d-generator/environment-d-generator.c - -30_systemd_environment_d_generator_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -if ENABLE_HIBERNATE -systemgenerator_PROGRAMS += \ - systemd-hibernate-resume-generator - -rootlibexec_PROGRAMS += \ - systemd-hibernate-resume - -systemd_hibernate_resume_SOURCES = \ - src/hibernate-resume/hibernate-resume.c - -systemd_hibernate_resume_LDADD = \ - libsystemd-shared.la - -systemd_hibernate_resume_generator_SOURCES = \ - src/hibernate-resume/hibernate-resume-generator.c - -systemd_hibernate_resume_generator_LDADD = \ - libsystemd-shared.la - -dist_systemunit_DATA += \ - units/hibernate.target \ - units/hybrid-sleep.target - -nodist_systemunit_DATA += \ - units/systemd-hibernate.service \ - units/systemd-hibernate-resume@.service \ - units/systemd-hybrid-sleep.service -endif - -EXTRA_DIST += \ - units/systemd-hibernate.service.in \ - units/systemd-hibernate-resume@.service.in \ - units/systemd-hybrid-sleep.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_EFI -if HAVE_BLKID -bootctl_SOURCES = \ - src/boot/bootctl.c - -bootctl_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -DEFI_MACHINE_TYPE_NAME=\"$(EFI_MACHINE_TYPE_NAME)\" \ - -DBOOTLIBDIR=\"$(bootlibdir)\" - -bootctl_CFLAGS = \ - $(AM_CFLAGS) \ - $(BLKID_CFLAGS) - -bootctl_LDADD = \ - libsystemd-shared.la \ - $(BLKID_LIBS) - -bin_PROGRAMS += \ - bootctl - -dist_bashcompletion_data += \ - shell-completion/bash/bootctl - -dist_zshcompletion_data += \ - shell-completion/zsh/_bootctl -endif - -# ------------------------------------------------------------------------------ -if HAVE_GNUEFI -efi_cppflags = \ - $(EFI_CPPFLAGS) \ - -I$(top_builddir) -include config.h \ - -I$(EFI_INC_DIR)/efi \ - -I$(EFI_INC_DIR)/efi/$(EFI_ARCH) \ - -DEFI_MACHINE_TYPE_NAME=\"$(EFI_MACHINE_TYPE_NAME)\" - -efi_cflags = \ - $(EFI_CFLAGS) \ - -Wall \ - -Wextra \ - -std=gnu90 \ - -nostdinc \ - -ggdb -O0 \ - -fpic \ - -fshort-wchar \ - -nostdinc \ - -ffreestanding \ - -fno-strict-aliasing \ - -fno-stack-protector \ - -Wsign-compare \ - -Wno-missing-field-initializers - -if ARCH_X86_64 -efi_cflags += \ - -mno-red-zone \ - -mno-sse \ - -mno-mmx \ - -DEFI_FUNCTION_WRAPPER \ - -DGNU_EFI_USE_MS_ABI -endif - -if ARCH_IA32 -efi_cflags += \ - -mno-sse \ - -mno-mmx -endif - -efi_ldflags = \ - $(EFI_LDFLAGS) \ - -T $(EFI_LDS_DIR)/elf_$(EFI_ARCH)_efi.lds \ - -shared \ - -Bsymbolic \ - -nostdlib \ - -znocombreloc \ - -L $(EFI_LIB_DIR) \ - $(EFI_LDS_DIR)/crt0-efi-$(EFI_ARCH).o - -# Aarch64 and ARM32 don't have an EFI capable objcopy. Use 'binary' instead, -# and add required symbols manually. -if ARCH_AARCH64 -efi_ldflags += --defsym=EFI_SUBSYSTEM=0xa -EFI_FORMAT = -O binary -else -if ARCH_ARM -efi_ldflags += --defsym=EFI_SUBSYSTEM=0xa -EFI_FORMAT = -O binary -else -EFI_FORMAT = --target=efi-app-$(EFI_ARCH) -endif -endif -endif -endif - -# ------------------------------------------------------------------------------ -efi_headers = \ - src/boot/efi/console.h \ - src/boot/efi/disk.h \ - src/boot/efi/graphics.h \ - src/boot/efi/linux.h \ - src/boot/efi/measure.h \ - src/boot/efi/pe.h \ - src/boot/efi/splash.h \ - src/boot/efi/util.h \ - src/boot/efi/shim.h - -systemd_boot_sources = \ - src/boot/efi/boot.c \ - src/boot/efi/console.c \ - src/boot/efi/disk.c \ - src/boot/efi/graphics.c \ - src/boot/efi/measure.c \ - src/boot/efi/pe.c \ - src/boot/efi/util.c \ - src/boot/efi/shim.c - -EXTRA_DIST += $(systemd_boot_sources) $(systemd_boot_headers) - -systemd_boot_objects = $(addprefix $(top_builddir)/,$(systemd_boot_sources:.c=.o)) -systemd_boot_solib = $(top_builddir)/src/boot/efi/systemd_boot.so -systemd_boot = systemd-boot$(EFI_MACHINE_TYPE_NAME).efi - -if ENABLE_EFI -if HAVE_GNUEFI -bootlib_DATA = $(systemd_boot) - -$(top_builddir)/src/boot/efi/%.o: $(top_srcdir)/src/boot/efi/%.c $(addprefix $(top_srcdir)/,$(efi_headers)) - @$(MKDIR_P) $(top_builddir)/src/boot/efi/ - $(AM_V_CC)$(EFI_CC) $(efi_cppflags) $(efi_cflags) -c $< -o $@ - -$(systemd_boot_solib): $(systemd_boot_objects) - $(AM_V_CCLD)$(LD) $(efi_ldflags) $(systemd_boot_objects) \ - -o $@ -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name); \ - nm -D -u $@ | grep ' U ' && exit 1 || : - -$(systemd_boot): $(systemd_boot_solib) - $(AM_V_GEN)$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \ - -j .dynsym -j .rel -j .rela -j .reloc $(EFI_FORMAT) $< $@ -endif -endif - -CLEANFILES += $(systemd_boot_objects) $(systemd_boot_solib) $(systemd_boot) - -# ------------------------------------------------------------------------------ -stub_sources = \ - src/boot/efi/disk.c \ - src/boot/efi/graphics.c \ - src/boot/efi/linux.c \ - src/boot/efi/measure.c \ - src/boot/efi/pe.c \ - src/boot/efi/splash.c \ - src/boot/efi/stub.c \ - src/boot/efi/util.c - -EXTRA_DIST += \ - $(stub_sources) \ - $(stub_headers) \ - test/splash.bmp - -stub_objects = $(addprefix $(top_builddir)/,$(stub_sources:.c=.o)) -stub_solib = $(top_builddir)/src/boot/efi/stub.so -stub = linux$(EFI_MACHINE_TYPE_NAME).efi.stub - -if ENABLE_EFI -if HAVE_GNUEFI -bootlib_DATA += $(stub) - -$(stub_solib): $(stub_objects) - $(AM_V_CCLD)$(LD) $(efi_ldflags) $(stub_objects) \ - -o $@ -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name); \ - nm -D -u $@ | grep ' U ' && exit 1 || : - -$(stub): $(stub_solib) - $(AM_V_GEN)$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \ - -j .dynsym -j .rel -j .rela -j .reloc $(EFI_FORMAT) $< $@ -endif -endif - -CLEANFILES += $(stub_objects) $(stub_solib) $(stub) - - -# ------------------------------------------------------------------------------ -CLEANFILES += test-efi-disk.img - -test-efi-disk.img: $(systemd_boot) $(stub) test/splash.bmp test/test-efi-create-disk.sh - $(AM_V_GEN)test/test-efi-create-disk.sh $@ $(systemd_boot) $(stub) test/splash.bmp - -test-efi: test-efi-disk.img - $(QEMU) -machine accel=kvm -m 1024 -bios $(QEMU_BIOS) -snapshot test-efi-disk.img - -EXTRA_DIST += test/test-efi-create-disk.sh - -# ------------------------------------------------------------------------------ -if HAVE_BLKID -systemgenerator_PROGRAMS += \ - systemd-gpt-auto-generator - -systemd_gpt_auto_generator_SOURCES = \ - src/gpt-auto-generator/gpt-auto-generator.c \ - src/basic/blkid-util.h - -systemd_gpt_auto_generator_LDADD = \ - libsystemd-shared.la \ - $(BLKID_LIBS) - -systemd_gpt_auto_generator_CFLAGS = \ - $(AM_CFLAGS) \ - $(BLKID_CFLAGS) -endif - -# ------------------------------------------------------------------------------ -dist_xinitrc_SCRIPTS = \ - xorg/50-systemd-user.sh - -# ------------------------------------------------------------------------------ -systemd_sysv_generator_SOURCES = \ - src/sysv-generator/sysv-generator.c - -systemd_sysv_generator_LDADD = \ - libcore.la - -# ------------------------------------------------------------------------------ -systemd_rc_local_generator_SOURCES = \ - src/rc-local-generator/rc-local-generator.c - -systemd_rc_local_generator_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_remount_fs_SOURCES = \ - src/remount-fs/remount-fs.c \ - src/core/mount-setup.c \ - src/core/mount-setup.h - -systemd_remount_fs_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_volatile_root_SOURCES = \ - src/volatile-root/volatile-root.c - -systemd_volatile_root_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_cgroups_agent_SOURCES = \ - src/cgroups-agent/cgroups-agent.c - -systemd_cgroups_agent_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_escape_SOURCES = \ - src/escape/escape.c - -systemd_escape_LDADD = \ - libsystemd-shared.la - -# ----------------------------------------------------------------------------- -systemctl_SOURCES = \ - src/systemctl/systemctl.c - -systemctl_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_notify_SOURCES = \ - src/notify/notify.c - -systemd_notify_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_dissect_SOURCES = \ - src/dissect/dissect.c - -systemd_dissect_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_path_SOURCES = \ - src/path/path.c - -systemd_path_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_ask_password_SOURCES = \ - src/ask-password/ask-password.c - -systemd_ask_password_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_reply_password_SOURCES = \ - src/reply-password/reply-password.c - -systemd_reply_password_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_cgls_SOURCES = \ - src/cgls/cgls.c - -systemd_cgls_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_cgtop_SOURCES = \ - src/cgtop/cgtop.c - -systemd_cgtop_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_nspawn_SOURCES = \ - src/nspawn/nspawn.c \ - src/nspawn/nspawn-settings.c \ - src/nspawn/nspawn-settings.h \ - src/nspawn/nspawn-mount.c \ - src/nspawn/nspawn-mount.h \ - src/nspawn/nspawn-network.c \ - src/nspawn/nspawn-network.h \ - src/nspawn/nspawn-expose-ports.c \ - src/nspawn/nspawn-expose-ports.h \ - src/nspawn/nspawn-cgroup.c \ - src/nspawn/nspawn-cgroup.h \ - src/nspawn/nspawn-seccomp.c \ - src/nspawn/nspawn-seccomp.h \ - src/nspawn/nspawn-register.c \ - src/nspawn/nspawn-register.h \ - src/nspawn/nspawn-setuid.c \ - src/nspawn/nspawn-setuid.h \ - src/nspawn/nspawn-stub-pid1.c \ - src/nspawn/nspawn-stub-pid1.h \ - src/nspawn/nspawn-patch-uid.c \ - src/nspawn/nspawn-patch-uid.h \ - src/core/mount-setup.c \ - src/core/mount-setup.h \ - src/core/loopback-setup.c \ - src/core/loopback-setup.h - -nodist_systemd_nspawn_SOURCES = \ - src/nspawn/nspawn-gperf.c - -gperf_gperf_sources += \ - src/nspawn/nspawn-gperf.gperf - -systemd_nspawn_CFLAGS = \ - $(AM_CFLAGS) \ - $(ACL_CFLAGS) \ - $(BLKID_CFLAGS) \ - $(SECCOMP_CFLAGS) \ - $(SELINUX_CFLAGS) - -systemd_nspawn_LDADD = \ - libsystemd-shared.la \ - $(ACL_LIBS) \ - $(BLKID_LIBS) \ - $(SECCOMP_LIBS) \ - $(SELINUX_LIBS) - -if HAVE_LIBIPTC -systemd_nspawn_LDADD += \ - libfirewall.la -endif - -test_patch_uid_SOURCES = \ - src/nspawn/nspawn-patch-uid.c \ - src/nspawn/nspawn-patch-uid.h \ - src/nspawn/test-patch-uid.c - -test_patch_uid_CFLAGS = \ - $(AM_CFLAGS) \ - $(ACL_CFLAGS) - -test_patch_uid_LDADD = \ - libsystemd-shared.la \ - $(ACL_LIBS) - -manual_tests += \ - test-patch-uid - -# ------------------------------------------------------------------------------ -systemd_run_SOURCES = \ - src/run/run.c - -systemd_run_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_mount_SOURCES = \ - src/mount/mount-tool.c - -systemd_mount_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_stdio_bridge_SOURCES = \ - src/stdio-bridge/stdio-bridge.c - -systemd_stdio_bridge_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_tty_ask_password_agent_SOURCES = \ - src/tty-ask-password-agent/tty-ask-password-agent.c - -systemd_tty_ask_password_agent_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -libsystemd_internal_la_SOURCES = \ - src/systemd/sd-bus.h \ - src/systemd/sd-bus-protocol.h \ - src/systemd/sd-bus-vtable.h \ - src/systemd/sd-utf8.h \ - src/systemd/sd-event.h \ - src/systemd/sd-netlink.h \ - src/systemd/sd-resolve.h \ - src/systemd/sd-login.h \ - src/systemd/sd-id128.h \ - src/systemd/sd-daemon.h \ - src/systemd/sd-path.h \ - src/systemd/sd-network.h \ - src/systemd/sd-hwdb.h \ - src/systemd/sd-device.h \ - src/libsystemd/libsystemd.sym \ - src/libsystemd/sd-bus/sd-bus.c \ - src/libsystemd/sd-bus/bus-control.c \ - src/libsystemd/sd-bus/bus-control.h \ - src/libsystemd/sd-bus/bus-error.c \ - src/libsystemd/sd-bus/bus-error.h \ - src/libsystemd/sd-bus/bus-common-errors.h \ - src/libsystemd/sd-bus/bus-common-errors.c \ - src/libsystemd/sd-bus/bus-internal.c \ - src/libsystemd/sd-bus/bus-internal.h \ - src/libsystemd/sd-bus/bus-socket.c \ - src/libsystemd/sd-bus/bus-socket.h \ - src/libsystemd/sd-bus/bus-kernel.c \ - src/libsystemd/sd-bus/bus-kernel.h \ - src/libsystemd/sd-bus/bus-container.c \ - src/libsystemd/sd-bus/bus-container.h \ - src/libsystemd/sd-bus/bus-message.c \ - src/libsystemd/sd-bus/bus-message.h \ - src/libsystemd/sd-bus/bus-creds.c \ - src/libsystemd/sd-bus/bus-creds.h \ - src/libsystemd/sd-bus/bus-signature.c \ - src/libsystemd/sd-bus/bus-signature.h \ - src/libsystemd/sd-bus/bus-type.c \ - src/libsystemd/sd-bus/bus-type.h \ - src/libsystemd/sd-bus/bus-match.c \ - src/libsystemd/sd-bus/bus-match.h \ - src/libsystemd/sd-bus/bus-bloom.c \ - src/libsystemd/sd-bus/bus-bloom.h \ - src/libsystemd/sd-bus/bus-introspect.c \ - src/libsystemd/sd-bus/bus-introspect.h \ - src/libsystemd/sd-bus/bus-objects.c \ - src/libsystemd/sd-bus/bus-objects.h \ - src/libsystemd/sd-bus/bus-gvariant.c \ - src/libsystemd/sd-bus/bus-gvariant.h \ - src/libsystemd/sd-bus/bus-convenience.c \ - src/libsystemd/sd-bus/bus-track.c \ - src/libsystemd/sd-bus/bus-track.h \ - src/libsystemd/sd-bus/bus-slot.c \ - src/libsystemd/sd-bus/bus-slot.h \ - src/libsystemd/sd-bus/bus-protocol.h \ - src/libsystemd/sd-bus/kdbus.h \ - src/libsystemd/sd-bus/bus-dump.c \ - src/libsystemd/sd-bus/bus-dump.h \ - src/libsystemd/sd-utf8/sd-utf8.c \ - src/libsystemd/sd-event/sd-event.c \ - src/libsystemd/sd-netlink/sd-netlink.c \ - src/libsystemd/sd-netlink/netlink-internal.h \ - src/libsystemd/sd-netlink/netlink-message.c \ - src/libsystemd/sd-netlink/netlink-socket.c \ - src/libsystemd/sd-netlink/rtnl-message.c \ - src/libsystemd/sd-netlink/netlink-types.h \ - src/libsystemd/sd-netlink/netlink-types.c \ - src/libsystemd/sd-netlink/netlink-util.h \ - src/libsystemd/sd-netlink/netlink-util.c \ - src/libsystemd/sd-netlink/local-addresses.h \ - src/libsystemd/sd-netlink/local-addresses.c \ - src/libsystemd/sd-id128/sd-id128.c \ - src/libsystemd/sd-id128/id128-util.h \ - src/libsystemd/sd-id128/id128-util.c \ - src/libsystemd/sd-daemon/sd-daemon.c \ - src/libsystemd/sd-login/sd-login.c \ - src/libsystemd/sd-path/sd-path.c \ - src/libsystemd/sd-network/sd-network.c \ - src/libsystemd/sd-network/network-util.h \ - src/libsystemd/sd-network/network-util.c \ - src/libsystemd/sd-hwdb/sd-hwdb.c \ - src/libsystemd/sd-hwdb/hwdb-util.h \ - src/libsystemd/sd-hwdb/hwdb-internal.h \ - src/libsystemd/sd-device/device-internal.h \ - src/libsystemd/sd-device/device-util.h \ - src/libsystemd/sd-device/device-enumerator.c \ - src/libsystemd/sd-device/device-enumerator-private.h \ - src/libsystemd/sd-device/sd-device.c \ - src/libsystemd/sd-device/device-private.c \ - src/libsystemd/sd-device/device-private.h \ - src/libsystemd/sd-resolve/sd-resolve.c - -libsystemd_internal_la_LIBADD = \ - -lresolv - -noinst_LTLIBRARIES += \ - libsystemd-internal.la - -EXTRA_DIST += \ - src/libsystemd/libsystemd.pc.in \ - src/libsystemd/sd-bus/GVARIANT-SERIALIZATION - -libsystemd_la_SOURCES = - -libsystemd_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -version-info $(LIBSYSTEMD_CURRENT):$(LIBSYSTEMD_REVISION):$(LIBSYSTEMD_AGE) \ - -Wl,--version-script=$(top_srcdir)/src/libsystemd/libsystemd.sym - -libsystemd_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la \ - libsystemd-journal-internal.la - -pkgconfiglib_DATA += \ - src/libsystemd/libsystemd.pc - -pkginclude_HEADERS += \ - src/systemd/sd-bus.h \ - src/systemd/sd-bus-protocol.h \ - src/systemd/sd-bus-vtable.h \ - src/systemd/sd-event.h \ - src/systemd/sd-login.h \ - src/systemd/sd-id128.h \ - src/systemd/sd-daemon.h - -rootlib_LTLIBRARIES += \ - libsystemd.la - -tests += \ - test-bus-marshal \ - test-bus-signature \ - test-bus-benchmark \ - test-bus-chat \ - test-bus-cleanup \ - test-bus-server \ - test-bus-match \ - test-bus-kernel \ - test-bus-kernel-bloom \ - test-bus-zero-copy \ - test-bus-introspect \ - test-bus-objects \ - test-bus-vtable \ - test-bus-error \ - test-bus-creds \ - test-bus-gvariant \ - test-bus-track \ - test-event \ - test-netlink \ - test-local-addresses \ - test-resolve - -bin_PROGRAMS += \ - busctl - -test_bus_marshal_SOURCES = \ - src/libsystemd/sd-bus/test-bus-marshal.c - -test_bus_marshal_LDADD = \ - libsystemd-shared.la \ - $(GLIB_LIBS) \ - $(DBUS_LIBS) - -test_bus_marshal_CFLAGS = \ - $(AM_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(DBUS_CFLAGS) - -test_bus_signature_SOURCES = \ - src/libsystemd/sd-bus/test-bus-signature.c - -test_bus_signature_LDADD = \ - libsystemd-shared.la - -test_bus_chat_SOURCES = \ - src/libsystemd/sd-bus/test-bus-chat.c - -test_bus_chat_LDADD = \ - libsystemd-shared.la - -test_bus_cleanup_SOURCES = \ - src/libsystemd/sd-bus/test-bus-cleanup.c - -test_bus_cleanup_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) - -test_bus_cleanup_LDADD = \ - libsystemd-shared.la - -test_bus_track_SOURCES = \ - src/libsystemd/sd-bus/test-bus-track.c - -test_bus_track_CFLAGS = \ - $(AM_CFLAGS) \ - $(SECCOMP_CFLAGS) - -test_bus_track_LDADD = \ - libsystemd-shared.la - -test_bus_server_SOURCES = \ - src/libsystemd/sd-bus/test-bus-server.c - -test_bus_server_LDADD = \ - libsystemd-shared.la - -test_bus_objects_SOURCES = \ - src/libsystemd/sd-bus/test-bus-objects.c - -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 - -# Link statically because this test uses BUS_ERROR_MAP_ELF_REGISTER -test_bus_error_LDADD = \ - libshared.la - -test_bus_gvariant_SOURCES = \ - src/libsystemd/sd-bus/test-bus-gvariant.c - -test_bus_gvariant_LDADD = \ - libsystemd-shared.la \ - $(GLIB_LIBS) - -test_bus_gvariant_CFLAGS = \ - $(AM_CFLAGS) \ - $(GLIB_CFLAGS) - -test_bus_creds_SOURCES = \ - src/libsystemd/sd-bus/test-bus-creds.c - -test_bus_creds_LDADD = \ - libsystemd-shared.la - -test_bus_match_SOURCES = \ - src/libsystemd/sd-bus/test-bus-match.c - -test_bus_match_LDADD = \ - libsystemd-shared.la - -test_bus_kernel_SOURCES = \ - src/libsystemd/sd-bus/test-bus-kernel.c - -test_bus_kernel_LDADD = \ - libsystemd-shared.la - -test_bus_kernel_bloom_SOURCES = \ - src/libsystemd/sd-bus/test-bus-kernel-bloom.c - -test_bus_kernel_bloom_LDADD = \ - libsystemd-shared.la - -test_bus_benchmark_SOURCES = \ - src/libsystemd/sd-bus/test-bus-benchmark.c - -test_bus_benchmark_LDADD = \ - libsystemd-shared.la - -test_bus_zero_copy_SOURCES = \ - src/libsystemd/sd-bus/test-bus-zero-copy.c - -test_bus_zero_copy_LDADD = \ - libsystemd-shared.la - -test_bus_introspect_SOURCES = \ - src/libsystemd/sd-bus/test-bus-introspect.c - -test_bus_introspect_LDADD = \ - libsystemd-shared.la - -test_event_SOURCES = \ - src/libsystemd/sd-event/test-event.c - -test_event_LDADD = \ - libsystemd-shared.la - -test_netlink_SOURCES = \ - src/libsystemd/sd-netlink/test-netlink.c - -test_netlink_LDADD = \ - libsystemd-shared.la - -test_local_addresses_SOURCES = \ - src/libsystemd/sd-netlink/test-local-addresses.c - -test_local_addresses_LDADD = \ - libsystemd-shared.la - -test_resolve_SOURCES = \ - src/libsystemd/sd-resolve/test-resolve.c - -test_resolve_LDADD = \ - libsystemd-shared.la - -busctl_SOURCES = \ - src/busctl/busctl.c \ - src/busctl/busctl-introspect.c \ - src/busctl/busctl-introspect.h - -busctl_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -noinst_LTLIBRARIES += \ - libsystemd-network.la - -libsystemd_network_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(KMOD_CFLAGS) - -libsystemd_network_la_SOURCES = \ - src/systemd/sd-dhcp-client.h \ - src/systemd/sd-dhcp-server.h \ - src/systemd/sd-dhcp-lease.h \ - 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/sd-dhcp-client.c \ - src/libsystemd-network/sd-dhcp-server.c \ - src/libsystemd-network/dhcp-network.c \ - src/libsystemd-network/dhcp-option.c \ - src/libsystemd-network/dhcp-packet.c \ - src/libsystemd-network/dhcp-internal.h \ - src/libsystemd-network/dhcp-server-internal.h \ - src/libsystemd-network/dhcp-protocol.h \ - src/libsystemd-network/dhcp-lease-internal.h \ - src/libsystemd-network/sd-dhcp-lease.c \ - src/libsystemd-network/sd-ipv4ll.c \ - src/libsystemd-network/sd-ipv4acd.c \ - src/libsystemd-network/arp-util.h \ - src/libsystemd-network/arp-util.c \ - src/libsystemd-network/network-internal.c \ - src/libsystemd-network/network-internal.h \ - src/libsystemd-network/sd-ndisc.c \ - 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 \ - src/libsystemd-network/dhcp6-internal.h \ - src/libsystemd-network/dhcp6-protocol.h \ - src/libsystemd-network/dhcp6-network.c \ - src/libsystemd-network/dhcp6-option.c \ - src/libsystemd-network/dhcp6-lease-internal.h \ - src/libsystemd-network/sd-dhcp6-lease.c \ - src/libsystemd-network/dhcp-identifier.h \ - src/libsystemd-network/dhcp-identifier.c \ - src/libsystemd-network/lldp-internal.h \ - src/libsystemd-network/lldp-network.h \ - src/libsystemd-network/lldp-network.c \ - src/libsystemd-network/lldp-neighbor.h \ - src/libsystemd-network/lldp-neighbor.c \ - src/libsystemd-network/sd-lldp.c - -libsystemd_network_la_LIBADD = \ - $(KMOD_LIBS) - -test_dhcp_option_SOURCES = \ - src/libsystemd-network/dhcp-protocol.h \ - src/libsystemd-network/dhcp-internal.h \ - src/libsystemd-network/test-dhcp-option.c - -test_dhcp_option_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_sd_dhcp_lease_SOURCES = \ - src/libsystemd-network/dhcp-lease-internal.h \ - src/libsystemd-network/test-sd-dhcp-lease.c - -test_sd_dhcp_lease_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_dhcp_client_SOURCES = \ - src/systemd/sd-dhcp-client.h \ - src/libsystemd-network/dhcp-protocol.h \ - src/libsystemd-network/dhcp-internal.h \ - src/libsystemd-network/test-dhcp-client.c - -test_dhcp_client_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_dhcp_server_SOURCES = \ - src/libsystemd-network/test-dhcp-server.c - -test_dhcp_server_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_ipv4ll_SOURCES = \ - src/systemd/sd-ipv4ll.h \ - src/libsystemd-network/arp-util.h \ - src/libsystemd-network/test-ipv4ll.c - -test_ipv4ll_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_ipv4ll_manual_SOURCES = \ - src/systemd/sd-ipv4ll.h \ - src/libsystemd-network/test-ipv4ll-manual.c - -test_ipv4ll_manual_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_acd_SOURCES = \ - src/systemd/sd-ipv4acd.h \ - src/libsystemd-network/test-acd.c - -test_acd_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -test_ndisc_rs_SOURCES = \ - src/systemd/sd-dhcp6-client.h \ - src/systemd/sd-ndisc.h \ - src/libsystemd-network/icmp6-util.h \ - src/libsystemd-network/test-ndisc-rs.c \ - src/libsystemd-network/dhcp-identifier.h \ - src/libsystemd-network/dhcp-identifier.c - -test_ndisc_rs_LDADD = \ - libsystemd-network.la \ - 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 \ - src/libsystemd-network/test-dhcp6-client.c \ - src/libsystemd-network/dhcp-identifier.h \ - src/libsystemd-network/dhcp-identifier.c - -test_dhcp6_client_LDADD = \ - libsystemd-network.la \ - libudev.la \ - libsystemd-shared.la - -test_lldp_SOURCES = \ - src/libsystemd-network/test-lldp.c - -test_lldp_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -tests += \ - test-dhcp-option \ - test-dhcp-client \ - test-dhcp-server \ - test-sd-dhcp-lease \ - test-ipv4ll \ - test-ndisc-rs \ - test-ndisc-ra \ - test-dhcp6-client \ - test-lldp - -# ------------------------------------------------------------------------------ -include_HEADERS += \ - src/libudev/libudev.h - -rootlib_LTLIBRARIES += \ - libudev.la - -libudev_la_SOURCES =\ - src/libudev/libudev.sym \ - src/libudev/libudev-private.h \ - src/libudev/libudev-device-internal.h \ - src/libudev/libudev.c \ - src/libudev/libudev-list.c \ - src/libudev/libudev-util.c \ - src/libudev/libudev-device.c \ - src/libudev/libudev-device-private.c \ - src/libudev/libudev-enumerate.c \ - src/libudev/libudev-monitor.c \ - src/libudev/libudev-queue.c \ - src/libudev/libudev-hwdb.c - -libudev_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \ - -Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym - -libudev_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la - -pkgconfiglib_DATA += \ - src/libudev/libudev.pc - -EXTRA_DIST += \ - src/libudev/libudev.pc.in - -# ------------------------------------------------------------------------------ -noinst_LTLIBRARIES += \ - libudev-internal.la - -libudev_internal_la_SOURCES =\ - $(libudev_la_SOURCES) - -# ------------------------------------------------------------------------------ -INSTALL_DIRS += \ - $(sysconfdir)/udev/rules.d - -dist_network_DATA = \ - network/99-default.link \ - network/80-container-host0.network \ - network/80-container-ve.network \ - network/80-container-vz.network - -dist_udevrules_DATA += \ - rules/60-block.rules \ - rules/60-drm.rules \ - rules/60-evdev.rules \ - rules/60-input-id.rules \ - rules/60-persistent-storage-tape.rules \ - rules/60-persistent-input.rules \ - rules/60-persistent-alsa.rules \ - rules/60-persistent-storage.rules \ - rules/60-sensor.rules \ - rules/60-serial.rules \ - rules/64-btrfs.rules \ - rules/70-joystick.rules \ - rules/70-mouse.rules \ - rules/70-touchpad.rules \ - rules/75-net-description.rules \ - rules/78-sound-card.rules \ - rules/80-net-setup-link.rules - -nodist_udevrules_DATA += \ - rules/50-udev-default.rules \ - rules/99-systemd.rules - -udevconfdir = $(sysconfdir)/udev -dist_udevconf_DATA = \ - src/udev/udev.conf - -pkgconfigdata_DATA += \ - src/udev/udev.pc - -EXTRA_DIST += \ - rules/50-udev-default.rules.in \ - rules/99-systemd.rules.in \ - src/udev/udev.pc.in - -EXTRA_DIST += \ - units/systemd-udevd.service.in \ - units/systemd-udev-trigger.service.in \ - units/systemd-udev-settle.service.in - -SOCKETS_TARGET_WANTS += \ - systemd-udevd-control.socket \ - systemd-udevd-kernel.socket - -SYSINIT_TARGET_WANTS += \ - systemd-udevd.service \ - systemd-udev-trigger.service - -rootbin_PROGRAMS += \ - udevadm - -rootlibexec_PROGRAMS += \ - systemd-udevd - -noinst_LTLIBRARIES += \ - libudev-core.la - -src/udev/keyboard-keys-list.txt: - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(top_srcdir)/src/udev/generate-keyboard-keys-list.sh "$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)" > $@ - -src/udev/keyboard-keys-from-name.gperf: src/udev/keyboard-keys-list.txt - $(AM_V_GEN)$(top_srcdir)/src/udev/generate-keyboard-keys-gperf.sh $< > $@ - -src/udev/keyboard-keys-from-name.h: src/udev/keyboard-keys-from-name.gperf - $(AM_V_GPERF)$(GPERF) -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < $< > $@ - -gperf_txt_sources += \ - src/udev/keyboard-keys-list.txt - -libudev_core_la_SOURCES = \ - src/udev/udev.h \ - src/udev/udev-event.c \ - src/udev/udev-watch.c \ - src/udev/udev-node.c \ - src/udev/udev-rules.c \ - src/udev/udev-ctrl.c \ - src/udev/udev-builtin.c \ - src/udev/udev-builtin-btrfs.c \ - src/udev/udev-builtin-hwdb.c \ - src/udev/udev-builtin-input_id.c \ - src/udev/udev-builtin-keyboard.c \ - src/udev/udev-builtin-net_id.c \ - src/udev/udev-builtin-net_setup_link.c \ - src/udev/udev-builtin-path_id.c \ - src/udev/udev-builtin-usb_id.c \ - src/udev/net/link-config.h \ - src/udev/net/link-config.c \ - src/udev/net/ethtool-util.h \ - src/udev/net/ethtool-util.c - -nodist_libudev_core_la_SOURCES = \ - src/udev/keyboard-keys-from-name.h \ - src/udev/net/link-config-gperf.c - -gperf_gperf_sources += \ - src/udev/net/link-config-gperf.gperf - -libudev_core_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(BLKID_CFLAGS) \ - $(KMOD_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -libudev_core_la_LIBADD = \ - libsystemd-network.la \ - libshared.la \ - $(BLKID_LIBS) \ - $(KMOD_LIBS) - -if HAVE_KMOD -libudev_core_la_SOURCES += \ - src/udev/udev-builtin-kmod.c - -dist_udevrules_DATA += \ - rules/80-drivers.rules -endif - -if HAVE_BLKID -libudev_core_la_SOURCES += \ - src/udev/udev-builtin-blkid.c -endif - -if HAVE_ACL -libudev_core_la_SOURCES += \ - src/udev/udev-builtin-uaccess.c \ - src/login/logind-acl.c \ - src/libsystemd/sd-login/sd-login.c \ - src/systemd/sd-login.h -endif - -systemd_udevd_SOURCES = \ - src/udev/udevd.c - -systemd_udevd_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -systemd_udevd_LDADD = \ - libudev-core.la \ - libbasic.la - -udevadm_SOURCES = \ - src/udev/udevadm.c \ - src/udev/udevadm-info.c \ - src/udev/udevadm-control.c \ - src/udev/udevadm-monitor.c \ - src/udev/udevadm-hwdb.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-util.c \ - src/udev/udevadm-util.h - -udevadm_LDADD = \ - libudev-core.la \ - libbasic.la - -# ------------------------------------------------------------------------------ -if ENABLE_HWDB -INSTALL_DIRS += \ - $(sysconfdir)/udev/hwdb.d - -systemd_hwdb_SOURCES = \ - src/libsystemd/sd-hwdb/hwdb-internal.h \ - src/hwdb/hwdb.c - -systemd_hwdb_LDADD = \ - libshared.la - -rootbin_PROGRAMS += \ - systemd-hwdb - -dist_udevhwdb_DATA = \ - hwdb/20-pci-vendor-model.hwdb \ - hwdb/20-pci-classes.hwdb \ - hwdb/20-usb-vendor-model.hwdb \ - hwdb/20-usb-classes.hwdb \ - hwdb/20-sdio-vendor-model.hwdb \ - hwdb/20-sdio-classes.hwdb \ - hwdb/20-bluetooth-vendor-product.hwdb \ - hwdb/20-acpi-vendor.hwdb \ - hwdb/20-OUI.hwdb \ - hwdb/20-net-ifname.hwdb \ - hwdb/60-evdev.hwdb \ - hwdb/60-keyboard.hwdb \ - hwdb/60-sensor.hwdb \ - hwdb/70-joystick.hwdb \ - hwdb/70-mouse.hwdb \ - hwdb/70-pointingstick.hwdb \ - hwdb/70-touchpad.hwdb - -SYSINIT_TARGET_WANTS += \ - systemd-hwdb-update.service - -# Update hwdb on installation. Do not bother if installing -# in DESTDIR, since this is likely for packaging purposes. -hwdb-update-hook: - -test -n "$(DESTDIR)" || $(rootbindir)/systemd-hwdb update - -INSTALL_DATA_HOOKS += \ - hwdb-update-hook - -hwdb-remove-hook: - -test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin -endif - -EXTRA_DIST += \ - units/systemd-hwdb-update.service.in \ - hwdb/ids-update.pl \ - hwdb/sdio.ids - -# ------------------------------------------------------------------------------ -if ENABLE_TESTS -TESTS += \ - test/udev-test.pl \ - test/hwdb-test.sh - -if HAVE_PYTHON -TESTS += \ - test/rule-syntax-check.py \ - hwdb/parse_hwdb.py - -if HAVE_SYSV_COMPAT -TESTS += \ - test/sysv-generator-test.py -endif -endif -endif - -tests += \ - test-libudev - -manual_tests += \ - test-udev - -test_libudev_SOURCES = \ - src/test/test-libudev.c - -test_libudev_LDADD = \ - libsystemd-shared.la - -test_udev_SOURCES = \ - src/test/test-udev.c - -test_udev_LDADD = \ - libudev-core.la \ - libsystemd-shared.la \ - $(BLKID_LIBS) \ - $(KMOD_LIBS) \ - -lrt - -if ENABLE_TESTS -check_DATA += \ - test/sys -endif - -# sysfs test tree -test/sys: test/sys-script.py - -rm -rf $@ - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(top_srcdir)/test/sys-script.py $(dir $@) - -touch $@ - -test-sys-distclean: - -rm -rf test/sys -DISTCLEAN_LOCAL_HOOKS += test-sys-distclean - -EXTRA_DIST += \ - test/sys-script.py \ - test/udev-test.pl \ - test/hwdb-test.sh \ - test/rule-syntax-check.py \ - test/sysv-generator-test.py \ - test/mocks/fsck \ - hwdb/parse_hwdb.py - -# ------------------------------------------------------------------------------ -ata_id_SOURCES = \ - src/udev/ata_id/ata_id.c - -ata_id_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -ata_id_LDADD = \ - libshared.la - -udevlibexec_PROGRAMS += \ - ata_id - -# ------------------------------------------------------------------------------ -cdrom_id_SOURCES = \ - src/udev/cdrom_id/cdrom_id.c - -cdrom_id_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -cdrom_id_LDADD = \ - libshared.la - -udevlibexec_PROGRAMS += \ - cdrom_id - -dist_udevrules_DATA += \ - rules/60-cdrom_id.rules - -# ------------------------------------------------------------------------------ -collect_SOURCES = \ - src/udev/collect/collect.c - -collect_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -collect_LDADD = \ - libshared.la - -udevlibexec_PROGRAMS += \ - collect - -# ------------------------------------------------------------------------------ -scsi_id_SOURCES =\ - src/udev/scsi_id/scsi_id.c \ - src/udev/scsi_id/scsi_serial.c \ - src/udev/scsi_id/scsi.h \ - src/udev/scsi_id/scsi_id.h - -scsi_id_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -scsi_id_LDADD = \ - libshared.la - -udevlibexec_PROGRAMS += \ - scsi_id - -EXTRA_DIST += \ - src/udev/scsi_id/README - -# ------------------------------------------------------------------------------ -v4l_id_SOURCES = \ - src/udev/v4l_id/v4l_id.c - -v4l_id_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -v4l_id_LDADD = \ - libshared.la - -udevlibexec_PROGRAMS += \ - v4l_id - -dist_udevrules_DATA += \ - rules/60-persistent-v4l.rules - -# ------------------------------------------------------------------------------ -mtd_probe_SOURCES = \ - src/udev/mtd_probe/mtd_probe.c \ - src/udev/mtd_probe/mtd_probe.h \ - src/udev/mtd_probe/probe_smartmedia.c - -mtd_probe_CFLAGS = \ - $(AM_CFLAGS) \ - -DLOG_REALM=LOG_REALM_UDEV - -dist_udevrules_DATA += \ - rules/75-probe_mtd.rules - -udevlibexec_PROGRAMS += \ - mtd_probe - -# ------------------------------------------------------------------------------ -test_id128_SOURCES = \ - src/test/test-id128.c - -test_id128_LDADD = \ - libsystemd-shared.la - -tests += \ - test-id128 - -# ------------------------------------------------------------------------------ -test_hash_SOURCES = \ - src/test/test-hash.c - -test_hash_LDADD = \ - libsystemd-shared.la - -tests += \ - test-hash - -# ------------------------------------------------------------------------------ - -bin_PROGRAMS += \ - systemd-socket-activate - -systemd_socket_activate_SOURCES = \ - src/activate/activate.c - -systemd_socket_activate_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -systemd_journald_SOURCES = \ - src/journal/journald.c \ - src/journal/journald-server.h - -systemd_journald_LDADD = \ - libjournal-core.la \ - libsystemd-shared.la - -systemd_cat_SOURCES = \ - src/journal/cat.c - -systemd_cat_LDADD = \ - libjournal-core.la - -if HAVE_LIBCURL -rootlibexec_PROGRAMS += \ - systemd-journal-upload - -systemd_journal_upload_SOURCES = \ - src/journal-remote/journal-upload.h \ - src/journal-remote/journal-upload.c \ - src/journal-remote/journal-upload-journal.c - -systemd_journal_upload_CFLAGS = \ - $(AM_CFLAGS) \ - $(LIBCURL_CFLAGS) - -systemd_journal_upload_LDADD = \ - libsystemd-shared.la \ - $(LIBCURL_LIBS) - -nodist_systemunit_DATA += \ - units/systemd-journal-upload.service - -nodist_pkgsysconf_DATA += \ - src/journal-remote/journal-upload.conf -endif - -EXTRA_DIST += \ - units/systemd-journal-upload.service.in \ - src/journal-remote/journal-upload.conf.in - -if HAVE_MICROHTTPD -rootlibexec_PROGRAMS += \ - systemd-journal-remote - -systemd_journal_remote_SOURCES = \ - src/journal-remote/journal-remote-parse.h \ - src/journal-remote/journal-remote-parse.c \ - src/journal-remote/journal-remote-write.h \ - src/journal-remote/journal-remote-write.c \ - src/journal-remote/journal-remote.h \ - src/journal-remote/journal-remote.c - -systemd_journal_remote_LDADD = \ - libjournal-core.la - -systemd_journal_remote_SOURCES += \ - src/journal-remote/microhttpd-util.h \ - src/journal-remote/microhttpd-util.c - -systemd_journal_remote_CFLAGS = \ - $(AM_CFLAGS) \ - $(MICROHTTPD_CFLAGS) - -systemd_journal_remote_LDADD += \ - $(MICROHTTPD_LIBS) - -if HAVE_GNUTLS -systemd_journal_remote_LDADD += \ - $(GNUTLS_LIBS) -endif - -# systemd-journal-remote make sense mostly with full crypto stack -dist_systemunit_DATA += \ - units/systemd-journal-remote.socket - -nodist_systemunit_DATA += \ - units/systemd-journal-remote.service - -journal-remote-install-hook: journal-install-hook - -$(MKDIR_P) $(DESTDIR)/var/log/journal/remote - -chown 0:0 $(DESTDIR)/var/log/journal/remote - -chmod 755 $(DESTDIR)/var/log/journal/remote - -INSTALL_EXEC_HOOKS += journal-remote-install-hook - -nodist_pkgsysconf_DATA += \ - src/journal-remote/journal-remote.conf - -EXTRA_DIST += \ - units/systemd-journal-remote.service.in \ - src/journal-remote/journal-remote.conf.in \ - src/journal-remote/log-generator.py -endif - -# using _CFLAGS = in the conditional below would suppress AM_CFLAGS -journalctl_CFLAGS = \ - $(AM_CFLAGS) - -journalctl_SOURCES = \ - src/journal/journalctl.c - -journalctl_LDADD = \ - libsystemd-shared.la \ - libudev-core.la - -if HAVE_QRENCODE -journalctl_SOURCES += \ - src/journal/journal-qrcode.c \ - src/journal/journal-qrcode.h - -journalctl_CFLAGS += \ - $(QRENCODE_CFLAGS) - -journalctl_LDADD += \ - $(QRENCODE_LIBS) -endif - -test_journal_SOURCES = \ - src/journal/test-journal.c - -test_journal_LDADD = \ - libjournal-core.la - -test_journal_send_SOURCES = \ - src/journal/test-journal-send.c - -test_journal_send_LDADD = \ - libjournal-core.la - -test_journal_syslog_SOURCES = \ - src/journal/test-journal-syslog.c - -test_journal_syslog_LDADD = \ - libjournal-core.la - -test_journal_match_SOURCES = \ - src/journal/test-journal-match.c - -test_journal_match_LDADD = \ - libjournal-core.la - -test_journal_enum_SOURCES = \ - src/journal/test-journal-enum.c - -test_journal_enum_LDADD = \ - libjournal-core.la - -test_journal_stream_SOURCES = \ - src/journal/test-journal-stream.c - -test_journal_stream_LDADD = \ - libjournal-core.la - -test_journal_flush_SOURCES = \ - src/journal/test-journal-flush.c - -test_journal_flush_LDADD = \ - libjournal-core.la - -test_journal_init_SOURCES = \ - src/journal/test-journal-init.c - -test_journal_init_LDADD = \ - libjournal-core.la - -test_journal_verify_SOURCES = \ - src/journal/test-journal-verify.c - -test_journal_verify_LDADD = \ - libjournal-core.la - -test_journal_interleaving_SOURCES = \ - src/journal/test-journal-interleaving.c - -test_journal_interleaving_LDADD = \ - libjournal-core.la - -test_mmap_cache_SOURCES = \ - src/journal/test-mmap-cache.c - -test_mmap_cache_LDADD = \ - libjournal-core.la - -test_catalog_SOURCES = \ - src/journal/test-catalog.c - -test_catalog_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -DCATALOG_DIR=\"$(abs_top_builddir)/catalog\" - -test_catalog_LDADD = \ - libjournal-core.la - -test_compress_SOURCES = \ - src/journal/test-compress.c - -test_compress_LDADD = \ - libsystemd-shared.la - -if HAVE_LZ4 -test_compress_LDADD += \ - -llz4 -endif - -test_compress_benchmark_SOURCES = \ - src/journal/test-compress-benchmark.c - -test_compress_benchmark_LDADD = \ - libsystemd-shared.la - -test_audit_type_SOURCES = \ - src/journal/test-audit-type.c - -test_audit_type_LDADD = \ - libjournal-core.la - -libjournal_core_la_SOURCES = \ - src/journal/journald-kmsg.c \ - src/journal/journald-kmsg.h \ - src/journal/journald-syslog.c \ - src/journal/journald-syslog.h \ - src/journal/journald-stream.c \ - src/journal/journald-stream.h \ - src/journal/journald-server.c \ - src/journal/journald-server.h \ - src/journal/journald-console.c \ - src/journal/journald-console.h \ - src/journal/journald-wall.c \ - src/journal/journald-wall.h \ - src/journal/journald-native.c \ - src/journal/journald-native.h \ - src/journal/journald-audit.c \ - src/journal/journald-audit.h \ - src/journal/journald-rate-limit.c \ - src/journal/journald-rate-limit.h \ - src/journal/journal-internal.h - -nodist_libjournal_core_la_SOURCES = \ - src/journal/journald-gperf.c - -libjournal_core_la_LIBADD = \ - libsystemd-shared.la - -noinst_LTLIBRARIES += \ - libjournal-core.la - -journal-install-hook: - -$(MKDIR_P) $(DESTDIR)/var/log/journal - -chown 0:0 $(DESTDIR)/var/log/journal - -chmod 755 $(DESTDIR)/var/log/journal - -setfacl -nm g:adm:rx,d:g:adm:rx $(DESTDIR)/var/log/journal/ - -setfacl -nm g:wheel:rx,d:g:wheel:rx $(DESTDIR)/var/log/journal/ - -journal-uninstall-hook: - -rmdir $(DESTDIR)/var/log/journal/remote - -rmdir $(DESTDIR)/var/log/journal/ - -INSTALL_EXEC_HOOKS += journal-install-hook -UNINSTALL_EXEC_HOOKS += journal-uninstall-hook - -# ------------------------------------------------------------------------------ -# Update catalog on installation. Do not bother if installing -# in DESTDIR, since this is likely for packaging purposes. -catalog-update-hook: - -test -n "$(DESTDIR)" || $(rootbindir)/journalctl --update-catalog - -INSTALL_DATA_HOOKS += \ - catalog-update-hook - -catalog-remove-hook: - -test -n "$(DESTDIR)" || rm -f $(catalogstatedir)/database - -UNINSTALL_DATA_HOOKS += \ - catalog-remove-hook - -tests += \ - test-journal \ - test-journal-enum \ - test-journal-send \ - test-journal-syslog \ - test-journal-match \ - test-journal-stream \ - test-journal-init \ - test-journal-verify \ - test-journal-interleaving \ - test-journal-flush \ - test-mmap-cache \ - test-catalog \ - test-audit-type - -if HAVE_COMPRESSION -tests += \ - test-compress \ - test-compress-benchmark -endif - -pkginclude_HEADERS += \ - src/systemd/sd-journal.h \ - src/systemd/sd-messages.h \ - src/systemd/_sd-common.h - -libsystemd_journal_internal_la_SOURCES = \ - src/journal/sd-journal.c \ - src/systemd/sd-journal.h \ - src/systemd/_sd-common.h \ - src/journal/journal-file.c \ - src/journal/journal-file.h \ - src/journal/journal-vacuum.c \ - src/journal/journal-vacuum.h \ - src/journal/journal-verify.c \ - src/journal/journal-verify.h \ - src/journal/lookup3.c \ - src/journal/lookup3.h \ - src/journal/journal-send.c \ - src/journal/journal-def.h \ - src/journal/compress.h \ - src/journal/catalog.c \ - src/journal/catalog.h \ - src/journal/mmap-cache.c \ - src/journal/mmap-cache.h \ - src/journal/compress.c \ - src/journal/audit-type.h \ - src/journal/audit-type.c \ - src/shared/gcrypt-util.h \ - src/shared/gcrypt-util.c - -nodist_libsystemd_journal_internal_la_SOURCES = \ - src/journal/audit_type-to-name.h - -gperf_txt_sources += \ - src/journal/audit_type-list.txt - -# using _CFLAGS = in the conditional below would suppress AM_CFLAGS -libsystemd_journal_internal_la_CFLAGS = \ - $(AM_CFLAGS) - -libsystemd_journal_internal_la_LIBADD = - -if HAVE_XZ -libsystemd_journal_internal_la_CFLAGS += \ - $(XZ_CFLAGS) - -libsystemd_journal_internal_la_LIBADD += \ - $(XZ_LIBS) -endif - -if HAVE_LZ4 -libsystemd_journal_internal_la_LIBADD += \ - -llz4 -endif - -if HAVE_GCRYPT -libsystemd_journal_internal_la_SOURCES += \ - src/journal/journal-authenticate.c \ - src/journal/journal-authenticate.h \ - src/journal/fsprg.c \ - src/journal/fsprg.h - -libsystemd_journal_internal_la_LIBADD += \ - $(GCRYPT_LIBS) - -libsystemd_journal_internal_la_CFLAGS += \ - $(GCRYPT_CFLAGS) -endif - -noinst_LTLIBRARIES += \ - libsystemd-journal-internal.la - -rootlibexec_PROGRAMS += \ - systemd-journald - -rootbin_PROGRAMS += \ - journalctl - -bin_PROGRAMS += \ - systemd-cat - -dist_systemunit_DATA += \ - units/systemd-journald.socket \ - units/systemd-journald-dev-log.socket \ - units/systemd-journald-audit.socket - -nodist_systemunit_DATA += \ - units/systemd-journald.service \ - units/systemd-journal-flush.service \ - units/systemd-journal-catalog-update.service - -dist_pkgsysconf_DATA += \ - src/journal/journald.conf - -nodist_catalog_DATA = \ - catalog/systemd.bg.catalog \ - catalog/systemd.be.catalog \ - catalog/systemd.be@latin.catalog \ - catalog/systemd.fr.catalog \ - catalog/systemd.it.catalog \ - catalog/systemd.pl.catalog \ - catalog/systemd.pt_BR.catalog \ - catalog/systemd.ru.catalog \ - catalog/systemd.zh_CN.catalog \ - catalog/systemd.zh_TW.catalog \ - catalog/systemd.catalog - -EXTRA_DIST += \ - $(nodist_catalog_DATA:.catalog=.catalog.in) - -# Note that we don't use @@ for replacement markers here, but %%. This is -# because the catalog uses @@ already for its runtime replacement handling and -# we don't want to conflict with that. -catalog/%.catalog: catalog/%.catalog.in - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ - $(SED) -e 's~%SUPPORT_URL%~$(SUPPORT_URL)~' < $< > $@ - -SOCKETS_TARGET_WANTS += \ - systemd-journald.socket \ - systemd-journald-dev-log.socket \ - systemd-journald-audit.socket - -SYSINIT_TARGET_WANTS += \ - systemd-journald.service \ - systemd-journal-flush.service \ - systemd-journal-catalog-update.service - -EXTRA_DIST += \ - units/systemd-journald.service.in \ - units/systemd-journal-flush.service.in \ - units/systemd-journal-catalog-update.service.in - -gperf_gperf_sources += \ - src/journal/journald-gperf.gperf - -# ------------------------------------------------------------------------------ -if HAVE_MICROHTTPD -gatewayddocumentrootdir=$(pkgdatadir)/gatewayd - -rootlibexec_PROGRAMS += \ - systemd-journal-gatewayd - -systemd_journal_gatewayd_SOURCES = \ - src/journal-remote/journal-gatewayd.c \ - src/journal-remote/microhttpd-util.h \ - src/journal-remote/microhttpd-util.c - -systemd_journal_gatewayd_LDADD = \ - libsystemd-shared.la \ - $(MICROHTTPD_LIBS) - -if HAVE_GNUTLS -systemd_journal_gatewayd_LDADD += \ - $(GNUTLS_LIBS) -endif - -systemd_journal_gatewayd_CFLAGS = \ - $(AM_CFLAGS) \ - $(MICROHTTPD_CFLAGS) - -systemd_journal_gatewayd_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -DDOCUMENT_ROOT=\"$(gatewayddocumentrootdir)\" - -dist_systemunit_DATA += \ - units/systemd-journal-gatewayd.socket - -nodist_systemunit_DATA += \ - units/systemd-journal-gatewayd.service - -dist_gatewayddocumentroot_DATA = \ - src/journal-remote/browse.html - -endif - -EXTRA_DIST += \ - units/systemd-journal-gatewayd.service.in - -# ------------------------------------------------------------------------------ - -systemd_socket_proxyd_SOURCES = \ - src/socket-proxy/socket-proxyd.c - -systemd_socket_proxyd_LDADD = \ - libsystemd-shared.la - -# ------------------------------------------------------------------------------ -if ENABLE_COREDUMP -systemd_coredump_SOURCES = \ - src/coredump/coredump.c \ - src/coredump/coredump-vacuum.c \ - src/coredump/coredump-vacuum.h - -systemd_coredump_CFLAGS = \ - $(AM_CFLAGS) \ - $(ACL_CFLAGS) - -systemd_coredump_LDADD = \ - libsystemd-shared.la \ - $(ACL_LIBS) - -if HAVE_ELFUTILS -systemd_coredump_SOURCES += \ - src/coredump/stacktrace.c \ - src/coredump/stacktrace.h - -systemd_coredump_LDADD += \ - $(ELFUTILS_LIBS) -endif - -nodist_systemunit_DATA += \ - units/systemd-coredump@.service - -dist_systemunit_DATA += \ - units/systemd-coredump.socket - -SOCKETS_TARGET_WANTS += \ - systemd-coredump.socket - -rootlibexec_PROGRAMS += \ - systemd-coredump - -dist_pkgsysconf_DATA += \ - src/coredump/coredump.conf - -coredumpctl_SOURCES = \ - src/coredump/coredumpctl.c - -coredumpctl_LDADD = \ - libsystemd-shared.la - -bin_PROGRAMS += \ - coredumpctl - -manual_tests += \ - test-coredump-vacuum - -test_coredump_vacuum_SOURCES = \ - src/coredump/test-coredump-vacuum.c \ - src/coredump/coredump-vacuum.c \ - src/coredump/coredump-vacuum.h - -test_coredump_vacuum_LDADD = \ - libsystemd-shared.la - -dist_bashcompletion_data += \ - shell-completion/bash/coredumpctl - -dist_zshcompletion_data += \ - shell-completion/zsh/_coredumpctl - -nodist_sysctl_DATA = \ - sysctl.d/50-coredump.conf - -CLEANFILES += \ - sysctl.d/50-coredump.conf -endif - -EXTRA_DIST += \ - sysctl.d/50-coredump.conf.in \ - units/systemd-coredump@.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_BINFMT -systemd_binfmt_SOURCES = \ - src/binfmt/binfmt.c - -systemd_binfmt_LDADD = \ - libsystemd-shared.la - -rootlibexec_PROGRAMS += \ - systemd-binfmt - -dist_systemunit_DATA += \ - units/proc-sys-fs-binfmt_misc.automount \ - units/proc-sys-fs-binfmt_misc.mount - -nodist_systemunit_DATA += \ - units/systemd-binfmt.service - -INSTALL_DIRS += \ - $(prefix)/lib/binfmt.d \ - $(sysconfdir)/binfmt.d - -SYSINIT_TARGET_WANTS += \ - systemd-binfmt.service \ - proc-sys-fs-binfmt_misc.automount - -endif - -EXTRA_DIST += \ - units/systemd-binfmt.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_VCONSOLE -systemd_vconsole_setup_SOURCES = \ - src/vconsole/vconsole-setup.c - -systemd_vconsole_setup_LDADD = \ - libsystemd-shared.la - -rootlibexec_PROGRAMS += \ - systemd-vconsole-setup - -nodist_udevrules_DATA += \ - src/vconsole/90-vconsole.rules - -nodist_systemunit_DATA += \ - units/systemd-vconsole-setup.service -endif - -EXTRA_DIST += \ - src/vconsole/90-vconsole.rules.in \ - units/systemd-vconsole-setup.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_QUOTACHECK -rootlibexec_PROGRAMS += \ - systemd-quotacheck - -nodist_systemunit_DATA += \ - units/systemd-quotacheck.service - -systemd_quotacheck_SOURCES = \ - src/quotacheck/quotacheck.c - -systemd_quotacheck_LDADD = \ - libsystemd-shared.la -endif - -EXTRA_DIST += \ - units/systemd-quotacheck.service.in - -nodist_systemunit_DATA += \ - units/quotaon.service - -# ------------------------------------------------------------------------------ -if ENABLE_RANDOMSEED -rootlibexec_PROGRAMS += \ - systemd-random-seed - -nodist_systemunit_DATA += \ - units/systemd-random-seed.service - -systemd_random_seed_SOURCES = \ - src/random-seed/random-seed.c - -systemd_random_seed_LDADD = \ - libsystemd-shared.la - -SYSINIT_TARGET_WANTS += \ - systemd-random-seed.service - -endif - -EXTRA_DIST += \ - units/systemd-random-seed.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_BACKLIGHT -rootlibexec_PROGRAMS += \ - systemd-backlight - -nodist_systemunit_DATA += \ - units/systemd-backlight@.service - -systemd_backlight_SOURCES = \ - src/backlight/backlight.c - -systemd_backlight_LDADD = \ - libsystemd-shared.la -endif - -EXTRA_DIST += \ - units/systemd-backlight@.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_RFKILL -rootlibexec_PROGRAMS += \ - systemd-rfkill - -nodist_systemunit_DATA += \ - units/systemd-rfkill.service - -dist_systemunit_DATA += \ - units/systemd-rfkill.socket - -systemd_rfkill_SOURCES = \ - src/rfkill/rfkill.c - -systemd_rfkill_LDADD = \ - libsystemd-shared.la -endif - -EXTRA_DIST += \ - units/systemd-rfkill.service.in - -# ------------------------------------------------------------------------------ -if HAVE_LIBCRYPTSETUP -rootlibexec_PROGRAMS += \ - systemd-cryptsetup \ - systemd-veritysetup - -systemgenerator_PROGRAMS += \ - systemd-cryptsetup-generator \ - systemd-veritysetup-generator - -dist_systemunit_DATA += \ - units/cryptsetup.target \ - units/cryptsetup-pre.target - -systemd_cryptsetup_SOURCES = \ - src/cryptsetup/cryptsetup.c - -systemd_cryptsetup_CFLAGS = \ - $(AM_CFLAGS) \ - $(LIBCRYPTSETUP_CFLAGS) - -systemd_cryptsetup_LDADD = \ - libsystemd-shared.la \ - $(LIBCRYPTSETUP_LIBS) - -systemd_cryptsetup_generator_SOURCES = \ - src/cryptsetup/cryptsetup-generator.c - -systemd_cryptsetup_generator_LDADD = \ - libsystemd-shared.la - -systemd_veritysetup_SOURCES = \ - src/veritysetup/veritysetup.c - -systemd_veritysetup_CFLAGS = \ - $(AM_CFLAGS) \ - $(LIBCRYPTSETUP_CFLAGS) - -systemd_veritysetup_LDADD = \ - libsystemd-shared.la \ - $(LIBCRYPTSETUP_LIBS) - -systemd_veritysetup_generator_SOURCES = \ - src/veritysetup/veritysetup-generator.c - -systemd_veritysetup_generator_LDADD = \ - libsystemd-shared.la - -SYSINIT_TARGET_WANTS += \ - cryptsetup.target - -endif - -# ------------------------------------------------------------------------------ -if ENABLE_HOSTNAMED -systemd_hostnamed_SOURCES = \ - src/hostname/hostnamed.c - -systemd_hostnamed_LDADD = \ - libsystemd-shared.la - -rootlibexec_PROGRAMS += \ - systemd-hostnamed - -nodist_systemunit_DATA += \ - units/systemd-hostnamed.service - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.hostname1.busname - -dist_dbuspolicy_DATA += \ - src/hostname/org.freedesktop.hostname1.conf - -dist_dbussystemservice_DATA += \ - src/hostname/org.freedesktop.hostname1.service - -polkitpolicy_files += \ - src/hostname/org.freedesktop.hostname1.policy - -SYSTEM_UNIT_ALIASES += \ - systemd-hostnamed.service dbus-org.freedesktop.hostname1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.hostname1.busname - -hostnamectl_SOURCES = \ - src/hostname/hostnamectl.c - -hostnamectl_LDADD = \ - libsystemd-shared.la - -bin_PROGRAMS += \ - hostnamectl - -dist_bashcompletion_data += \ - shell-completion/bash/hostnamectl - -dist_zshcompletion_data += \ - shell-completion/zsh/_hostnamectl -endif - -polkitpolicy_in_files += \ - src/hostname/org.freedesktop.hostname1.policy.in - -EXTRA_DIST += \ - units/systemd-hostnamed.service.in - -# ------------------------------------------------------------------------------ -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.systemd1.busname - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.systemd1.busname - -# ------------------------------------------------------------------------------ -if ENABLE_LOCALED -systemd_localed_SOURCES = \ - src/locale/localed.c \ - src/locale/keymap-util.c \ - src/locale/keymap-util.h - -systemd_localed_LDADD = \ - libsystemd-shared.la \ - -ldl - -nodist_systemunit_DATA += \ - units/systemd-localed.service - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.locale1.busname - -rootlibexec_PROGRAMS += \ - systemd-localed - -dist_dbuspolicy_DATA += \ - src/locale/org.freedesktop.locale1.conf - -dist_dbussystemservice_DATA += \ - src/locale/org.freedesktop.locale1.service - -polkitpolicy_files += \ - src/locale/org.freedesktop.locale1.policy - -SYSTEM_UNIT_ALIASES += \ - systemd-localed.service dbus-org.freedesktop.locale1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.locale1.busname - -dist_pkgdata_DATA = \ - src/locale/kbd-model-map \ - src/locale/language-fallback-map - -test_keymap_util_SOURCES = \ - src/locale/test-keymap-util.c \ - src/locale/keymap-util.c \ - src/locale/keymap-util.h - -test_keymap_util_LDADD = \ - libsystemd-shared.la \ - -ldl - -tests += \ - test-keymap-util - -localectl_SOURCES = \ - src/locale/localectl.c - -localectl_LDADD = \ - libsystemd-shared.la - -bin_PROGRAMS += \ - localectl - -dist_bashcompletion_data += \ - shell-completion/bash/localectl - -dist_zshcompletion_data += \ - shell-completion/zsh/_localectl -endif - -polkitpolicy_in_files += \ - src/locale/org.freedesktop.locale1.policy.in - -EXTRA_DIST += \ - units/systemd-localed.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_TIMEDATED -systemd_timedated_SOURCES = \ - src/timedate/timedated.c - -systemd_timedated_LDADD = \ - libsystemd-shared.la - -rootlibexec_PROGRAMS += \ - systemd-timedated - -dist_dbussystemservice_DATA += \ - src/timedate/org.freedesktop.timedate1.service - -dist_dbuspolicy_DATA += \ - src/timedate/org.freedesktop.timedate1.conf - -nodist_systemunit_DATA += \ - units/systemd-timedated.service - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.timedate1.busname - -polkitpolicy_files += \ - src/timedate/org.freedesktop.timedate1.policy - -SYSTEM_UNIT_ALIASES += \ - systemd-timedated.service dbus-org.freedesktop.timedate1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.timedate1.busname - -timedatectl_SOURCES = \ - src/timedate/timedatectl.c - -timedatectl_LDADD = \ - libsystemd-shared.la - -bin_PROGRAMS += \ - timedatectl - -dist_bashcompletion_data += \ - shell-completion/bash/timedatectl - -dist_zshcompletion_data += \ - shell-completion/zsh/_timedatectl -endif - -polkitpolicy_in_files += \ - src/timedate/org.freedesktop.timedate1.policy.in - -EXTRA_DIST += \ - units/systemd-timedated.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_TIMESYNCD -systemd_timesyncd_SOURCES = \ - src/timesync/timesyncd.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_systemd_timesyncd_SOURCES = \ - src/timesync/timesyncd-gperf.c - -systemd_timesyncd_LDADD = \ - libsystemd-network.la \ - 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 - -nodist_systemunit_DATA += \ - units/systemd-timesyncd.service - -GENERAL_ALIASES += \ - $(systemunitdir)/systemd-timesyncd.service $(pkgsysconfdir)/system/sysinit.target.wants/systemd-timesyncd.service - -nodist_pkgsysconf_DATA += \ - src/timesync/timesyncd.conf - -endif - -gperf_gperf_sources += \ - src/timesync/timesyncd-gperf.gperf - -EXTRA_DIST += \ - units/systemd-timesyncd.service.in \ - src/timesync/timesyncd.conf.in - -# ------------------------------------------------------------------------------ -test_nss_SOURCES = \ - src/test/test-nss.c - -test_nss_LDADD = \ - libsystemd-internal.la \ - libbasic.la \ - -ldl - -manual_tests += \ - test-nss - -# ------------------------------------------------------------------------------ -if ENABLE_NSS_SYSTEMD -libnss_systemd_la_SOURCES = \ - src/nss-systemd/nss-systemd.sym \ - src/nss-systemd/nss-systemd.c - -libnss_systemd_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -module \ - -export-dynamic \ - -avoid-version \ - -shared \ - -shrext .so.2 \ - -Wl,--version-script=$(top_srcdir)/src/nss-systemd/nss-systemd.sym - -libnss_systemd_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la - -rootlib_LTLIBRARIES += \ - libnss_systemd.la -endif - -# ------------------------------------------------------------------------------ -if HAVE_MYHOSTNAME -libnss_myhostname_la_SOURCES = \ - src/nss-myhostname/nss-myhostname.sym \ - src/nss-myhostname/nss-myhostname.c - -libnss_myhostname_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -module \ - -export-dynamic \ - -avoid-version \ - -shared \ - -shrext .so.2 \ - -Wl,--version-script=$(top_srcdir)/src/nss-myhostname/nss-myhostname.sym - -libnss_myhostname_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la - -rootlib_LTLIBRARIES += \ - libnss_myhostname.la -endif - -# ------------------------------------------------------------------------------ -if ENABLE_MACHINED - -dist_systemunit_DATA += \ - units/var-lib-machines.mount - -systemd_machined_SOURCES = \ - src/machine/machined.c \ - src/machine/machined.h - -systemd_machined_LDADD = \ - libmachine-core.la - -rootlibexec_PROGRAMS += \ - systemd-machined - -libmachine_core_la_SOURCES = \ - src/machine/machine.c \ - src/machine/machine.h \ - src/machine/machined-dbus.c \ - src/machine/machine-dbus.c \ - src/machine/machine-dbus.h \ - src/machine/image-dbus.c \ - src/machine/image-dbus.h \ - src/machine/operation.c \ - src/machine/operation.h - -libmachine_core_la_LIBADD = \ - libsystemd-shared.la - -noinst_LTLIBRARIES += \ - libmachine-core.la - -machinectl_SOURCES = \ - src/machine/machinectl.c - -machinectl_LDADD = \ - libsystemd-shared.la - -rootbin_PROGRAMS += \ - machinectl - -test_machine_tables_SOURCES = \ - src/machine/test-machine-tables.c - -test_machine_tables_LDADD = \ - libmachine-core.la - -tests += \ - test-machine-tables - -nodist_systemunit_DATA += \ - units/systemd-machined.service - -dist_systemunit_DATA += \ - units/machine.slice - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.machine1.busname - -dist_dbussystemservice_DATA += \ - src/machine/org.freedesktop.machine1.service - -dist_dbuspolicy_DATA += \ - src/machine/org.freedesktop.machine1.conf - -polkitpolicy_files += \ - src/machine/org.freedesktop.machine1.policy - -dist_bashcompletion_data += \ - shell-completion/bash/machinectl - -dist_zshcompletion_data += \ - shell-completion/zsh/_machinectl \ - shell-completion/zsh/_sd_machines - -SYSTEM_UNIT_ALIASES += \ - systemd-machined.service dbus-org.freedesktop.machine1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.machine1.busname - -libnss_mymachines_la_SOURCES = \ - src/nss-mymachines/nss-mymachines.sym \ - src/nss-mymachines/nss-mymachines.c - -libnss_mymachines_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -module \ - -export-dynamic \ - -avoid-version \ - -shared \ - -shrext .so.2 \ - -Wl,--version-script=$(top_srcdir)/src/nss-mymachines/nss-mymachines.sym - -libnss_mymachines_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la - -rootlib_LTLIBRARIES += \ - libnss_mymachines.la - -endif - -polkitpolicy_in_files += \ - src/machine/org.freedesktop.machine1.policy.in - -EXTRA_DIST += \ - units/systemd-machined.service.in - -# ------------------------------------------------------------------------------ -if ENABLE_IMPORTD - -if HAVE_LIBCURL -if HAVE_XZ -if HAVE_ZLIB -if HAVE_BZIP2 -if HAVE_GCRYPT - -rootlibexec_PROGRAMS += \ - systemd-importd \ - systemd-pull \ - systemd-import \ - systemd-export - -systemd_importd_SOURCES = \ - src/import/importd.c - -systemd_importd_CFLAGS = \ - $(AM_CFLAGS) \ - -D SYSTEMD_PULL_PATH=\"$(rootlibexecdir)/systemd-pull\" \ - -D SYSTEMD_IMPORT_PATH=\"$(rootlibexecdir)/systemd-import\" \ - -D SYSTEMD_EXPORT_PATH=\"$(rootlibexecdir)/systemd-export\" - -systemd_importd_LDADD = \ - libsystemd-shared.la - -systemd_pull_SOURCES = \ - src/import/pull.c \ - src/import/pull-raw.c \ - src/import/pull-raw.h \ - src/import/pull-tar.c \ - src/import/pull-tar.h \ - src/import/pull-job.c \ - src/import/pull-job.h \ - src/import/pull-common.c \ - src/import/pull-common.h \ - src/import/import-common.c \ - src/import/import-common.h \ - src/import/import-compress.c \ - src/import/import-compress.h \ - src/import/curl-util.c \ - src/import/curl-util.h \ - src/import/qcow2-util.c \ - src/import/qcow2-util.h - -systemd_pull_CFLAGS = \ - $(AM_CFLAGS) \ - $(LIBCURL_CFLAGS) \ - $(XZ_CFLAGS) \ - $(ZLIB_CFLAGS) \ - $(GCRYPT_CFLAGS) \ - -D VENDOR_KEYRING_PATH=\"$(rootlibexecdir)/import-pubring.gpg\" \ - -D USER_KEYRING_PATH=\"$(pkgsysconfdir)/import-pubring.gpg\" - -systemd_pull_LDADD = \ - libsystemd-shared.la \ - $(LIBCURL_LIBS) \ - $(XZ_LIBS) \ - $(ZLIB_LIBS) \ - -lbz2 \ - $(GCRYPT_LIBS) - -systemd_import_SOURCES = \ - src/import/import.c \ - src/import/import-raw.c \ - src/import/import-raw.h \ - src/import/import-tar.c \ - src/import/import-tar.h \ - src/import/import-common.c \ - src/import/import-common.h \ - src/import/import-compress.c \ - src/import/import-compress.h \ - src/import/qcow2-util.c \ - src/import/qcow2-util.h - -systemd_import_CFLAGS = \ - $(AM_CFLAGS) \ - $(XZ_CFLAGS) \ - $(ZLIB_CFLAGS) - -systemd_import_LDADD = \ - libsystemd-shared.la \ - $(XZ_LIBS) \ - $(ZLIB_LIBS) \ - -lbz2 - -systemd_export_SOURCES = \ - src/import/export.c \ - src/import/export-tar.c \ - src/import/export-tar.h \ - src/import/export-raw.c \ - src/import/export-raw.h \ - src/import/import-common.c \ - src/import/import-common.h \ - src/import/import-compress.c \ - src/import/import-compress.h - -systemd_export_CFLAGS = \ - $(AM_CFLAGS) \ - $(XZ_CFLAGS) \ - $(ZLIB_CFLAGS) - -systemd_export_LDADD = \ - libsystemd-shared.la \ - $(XZ_LIBS) \ - $(ZLIB_LIBS) \ - -lbz2 - -dist_rootlibexec_DATA += \ - src/import/import-pubring.gpg - -nodist_systemunit_DATA += \ - units/systemd-importd.service - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.import1.busname - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.import1.busname - -SYSTEM_UNIT_ALIASES += \ - systemd-importd.service dbus-org.freedesktop.import1.service - -dist_dbussystemservice_DATA += \ - src/import/org.freedesktop.import1.service - -dist_dbuspolicy_DATA += \ - src/import/org.freedesktop.import1.conf - -polkitpolicy_files += \ - src/import/org.freedesktop.import1.policy - -manual_tests += \ - test-qcow2 - -test_qcow2_SOURCES = \ - src/import/test-qcow2.c \ - src/import/qcow2-util.c \ - src/import/qcow2-util.h - -test_qcow2_CFLAGS = \ - $(AM_CFLAGS) \ - $(ZLIB_CFLAGS) - -test_qcow2_LDADD = \ - libsystemd-shared.la \ - $(ZLIB_LIBS) - -endif -endif -endif -endif -endif - -endif - -polkitpolicy_in_files += \ - src/import/org.freedesktop.import1.policy.in - -EXTRA_DIST += \ - units/systemd-importd.service.in - - -# ------------------------------------------------------------------------------ -if ENABLE_RESOLVED - -basic_dns_sources = \ - src/resolve/resolved-dns-dnssec.c \ - src/resolve/resolved-dns-dnssec.h \ - src/resolve/resolved-dns-packet.c \ - src/resolve/resolved-dns-packet.h \ - src/resolve/resolved-dns-rr.c \ - src/resolve/resolved-dns-rr.h \ - src/resolve/resolved-dns-answer.c \ - src/resolve/resolved-dns-answer.h \ - src/resolve/resolved-dns-question.c \ - src/resolve/resolved-dns-question.h \ - src/resolve/dns-type.c \ - src/resolve/dns-type.h - -systemd_resolved_SOURCES = \ - src/resolve/resolved.c \ - src/resolve/resolved-manager.c \ - src/resolve/resolved-manager.h \ - src/resolve/resolved-conf.c \ - src/resolve/resolved-conf.h \ - src/resolve/resolved-resolv-conf.c \ - src/resolve/resolved-resolv-conf.h \ - src/resolve/resolved-bus.c \ - src/resolve/resolved-bus.h \ - src/resolve/resolved-link.h \ - src/resolve/resolved-link.c \ - src/resolve/resolved-link-bus.c \ - src/resolve/resolved-link-bus.h \ - src/resolve/resolved-llmnr.h \ - src/resolve/resolved-llmnr.c \ - src/resolve/resolved-mdns.h \ - src/resolve/resolved-mdns.c \ - src/resolve/resolved-def.h \ - $(basic_dns_sources) \ - src/resolve/resolved-dns-query.h \ - src/resolve/resolved-dns-query.c \ - src/resolve/resolved-dns-synthesize.h \ - src/resolve/resolved-dns-synthesize.c \ - src/resolve/resolved-dns-transaction.h \ - src/resolve/resolved-dns-transaction.c \ - src/resolve/resolved-dns-scope.h \ - src/resolve/resolved-dns-scope.c \ - src/resolve/resolved-dns-server.h \ - src/resolve/resolved-dns-server.c \ - src/resolve/resolved-dns-search-domain.h \ - src/resolve/resolved-dns-search-domain.c \ - src/resolve/resolved-dns-cache.h \ - src/resolve/resolved-dns-cache.c \ - src/resolve/resolved-dns-zone.h \ - src/resolve/resolved-dns-zone.c \ - src/resolve/resolved-dns-stream.h \ - src/resolve/resolved-dns-stream.c \ - src/resolve/resolved-dns-trust-anchor.h \ - src/resolve/resolved-dns-trust-anchor.c \ - src/resolve/resolved-dns-stub.h \ - src/resolve/resolved-dns-stub.c \ - src/resolve/resolved-etc-hosts.h \ - src/resolve/resolved-etc-hosts.c \ - src/shared/gcrypt-util.c \ - src/shared/gcrypt-util.h - -nodist_systemd_resolved_SOURCES = \ - src/resolve/dns_type-from-name.h \ - src/resolve/dns_type-to-name.h \ - src/resolve/resolved-gperf.c - -systemd_resolved_CFLAGS = \ - $(AM_CFLAGS) \ - $(GCRYPT_CFLAGS) - -systemd_resolved_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la \ - $(GCRYPT_LIBS) \ - -lm - -rootlibexec_PROGRAMS += \ - systemd-resolved - -nodist_systemunit_DATA += \ - units/systemd-resolved.service - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.resolve1.busname - -dist_dbuspolicy_DATA += \ - src/resolve/org.freedesktop.resolve1.conf - -dist_dbussystemservice_DATA += \ - src/resolve/org.freedesktop.resolve1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.resolve1.busname - -GENERAL_ALIASES += \ - $(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service \ - $(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/dbus-org.freedesktop.resolve1.service - -nodist_pkgsysconf_DATA += \ - src/resolve/resolved.conf - -dist_rootlibexec_DATA += \ - src/resolve/resolv.conf - -libnss_resolve_la_SOURCES = \ - src/nss-resolve/nss-resolve.sym \ - src/nss-resolve/nss-resolve.c - -libnss_resolve_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -module \ - -export-dynamic \ - -avoid-version \ - -shared \ - -shrext .so.2 \ - -Wl,--version-script=$(top_srcdir)/src/nss-resolve/nss-resolve.sym - -libnss_resolve_la_LIBADD = \ - libsystemd-internal.la \ - libbasic.la - -rootlib_LTLIBRARIES += \ - libnss_resolve.la - -systemd_resolve_SOURCES = \ - src/resolve/resolve-tool.c \ - $(basic_dns_sources) \ - src/shared/gcrypt-util.c \ - src/shared/gcrypt-util.h - -nodist_systemd_resolve_SOURCES = \ - src/resolve/dns_type-from-name.h \ - src/resolve/dns_type-to-name.h - -systemd_resolve_CFLAGS = \ - $(AM_CFLAGS) \ - $(GCRYPT_CFLAGS) - -systemd_resolve_LDADD = \ - libsystemd-shared.la \ - $(GCRYPT_LIBS) \ - -lm - -bin_PROGRAMS += \ - systemd-resolve - -dist_bashcompletion_data += \ - shell-completion/bash/systemd-resolve - -dist_zshcompletion_data += \ - shell-completion/zsh/_systemd-resolve - -tests += \ - test-dns-packet \ - test-resolve-tables \ - test-resolved-packet \ - test-dnssec - -manual_tests += \ - test-dnssec-complex - -test_resolve_tables_SOURCES = \ - src/resolve/test-resolve-tables.c \ - src/resolve/dns_type-from-name.h \ - src/resolve/dns_type-to-name.h \ - $(basic_dns_sources) \ - src/shared/test-tables.h - -test_resolve_tables_CFLAGS = \ - $(AM_CFLAGS) \ - $(GCRYPT_CFLAGS) - -test_resolve_tables_LDADD = \ - libsystemd-shared.la \ - $(GCRYPT_LIBS) \ - -lm - -test_resolved_packet_SOURCES = \ - src/resolve/test-resolved-packet.c \ - $(basic_dns_sources) - -test_resolved_packet_CFLAGS = \ - $(AM_CFLAGS) \ - $(GCRYPT_CFLAGS) - -test_resolved_packet_LDADD = \ - libsystemd-shared.la \ - $(GCRYPT_LIBS) \ - -lm - -test_dns_packet_SOURCES = \ - src/resolve/test-dns-packet.c \ - $(basic_dns_sources) - -test_dns_packet_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -I $(top_srcdir)/src/test - -test_dns_packet_CFLAGS = \ - $(AM_CFLAGS) \ - $(GCRYPT_CFLAGS) - -test_dns_packet_LDADD = \ - libsystemd-shared.la \ - $(GCRYPT_LIBS) \ - -lm - -TEST_DATA_FILES += \ - test/test-resolve/_openpgpkey.fedoraproject.org.pkts \ - test/test-resolve/fedoraproject.org.pkts \ - test/test-resolve/gandi.net.pkts \ - test/test-resolve/google.com.pkts \ - test/test-resolve/root.pkts \ - test/test-resolve/sw1a1aa-sw1a2aa-sw1a2ab-sw1a2ac.find.me.uk.pkts \ - test/test-resolve/teamits.com.pkts \ - test/test-resolve/zbyszek@fedoraproject.org.pkts \ - test/test-resolve/_443._tcp.fedoraproject.org.pkts \ - test/test-resolve/kyhwana.org.pkts \ - test/test-resolve/fake-caa.pkts - -EXTRA_DIST += $(TEST_DATA_FILES) - -test_dnssec_SOURCES = \ - src/resolve/test-dnssec.c \ - $(basic_dns_sources) - -test_dnssec_CFLAGS = \ - $(AM_CFLAGS) \ - $(GCRYPT_CFLAGS) - -test_dnssec_LDADD = \ - libsystemd-shared.la \ - $(GCRYPT_LIBS) \ - -lm - -test_dnssec_complex_SOURCES = \ - src/resolve/test-dnssec-complex.c \ - src/resolve/dns-type.c \ - src/resolve/dns-type.h - -test_dnssec_complex_LDADD = \ - libsystemd-shared.la - -endif - -gperf_txt_sources += \ - src/resolve/dns_type-list.txt - -gperf_gperf_sources += \ - src/resolve/resolved-gperf.gperf - -EXTRA_DIST += \ - units/systemd-resolved.service.m4.in \ - src/resolve/resolved.conf.in - -# ------------------------------------------------------------------------------ -if ENABLE_NETWORKD -rootlibexec_PROGRAMS += \ - systemd-networkd - -systemd_networkd_SOURCES = \ - src/network/networkd.c - -systemd_networkd_LDADD = \ - libnetworkd-core.la - -if HAVE_LIBIPTC -systemd_networkd_LDADD += \ - libfirewall.la -endif - -noinst_LTLIBRARIES += \ - libnetworkd-core.la - -libnetworkd_core_la_CFLAGS = \ - $(AM_CFLAGS) - -libnetworkd_core_la_SOURCES = \ - src/libsystemd-network/network-internal.h \ - src/network/netdev/netdev.h \ - src/network/netdev/netdev.c \ - src/network/netdev/vrf.h \ - src/network/netdev/vrf.c \ - src/network/netdev/tunnel.h \ - src/network/netdev/tunnel.c \ - src/network/netdev/veth.h \ - src/network/netdev/veth.c \ - src/network/netdev/vxlan.h \ - src/network/netdev/vxlan.c \ - src/network/netdev/geneve.h \ - src/network/netdev/geneve.c \ - src/network/netdev/vlan.h \ - src/network/netdev/vlan.c \ - src/network/netdev/macvlan.h \ - src/network/netdev/macvlan.c \ - src/network/netdev/ipvlan.h \ - src/network/netdev/ipvlan.c \ - src/network/netdev/dummy.h \ - src/network/netdev/dummy.c \ - src/network/netdev/tuntap.h \ - src/network/netdev/tuntap.c \ - src/network/netdev/bond.h \ - src/network/netdev/bond.c \ - src/network/netdev/bridge.h \ - src/network/netdev/bridge.c \ - src/network/netdev/vcan.h \ - src/network/netdev/vcan.c \ - src/network/networkd-manager.h \ - src/network/networkd-manager.c \ - src/network/networkd-manager-bus.c \ - src/network/networkd-conf.h \ - src/network/networkd-conf.c \ - src/network/networkd-link.h \ - src/network/networkd-link.c \ - src/network/networkd-link-bus.c \ - src/network/networkd-ipv4ll.c \ - src/network/networkd-ipv6-proxy-ndp.h \ - src/network/networkd-ipv6-proxy-ndp.c \ - 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 \ - src/network/networkd-network-bus.c \ - src/network/networkd-address.h \ - src/network/networkd-address.c \ - src/network/networkd-address-label.h \ - src/network/networkd-address-label.c \ - src/network/networkd-route.h \ - src/network/networkd-route.c \ - src/network/networkd-fdb.h \ - src/network/networkd-fdb.c \ - src/network/networkd-brvlan.h \ - src/network/networkd-brvlan.c \ - src/network/networkd-address-pool.h \ - src/network/networkd-address-pool.c \ - src/network/networkd-util.h \ - src/network/networkd-util.c \ - src/network/networkd-lldp-tx.h \ - src/network/networkd-lldp-tx.c - -nodist_libnetworkd_core_la_SOURCES = \ - src/network/networkd-gperf.c \ - src/network/networkd-network-gperf.c \ - src/network/netdev/netdev-gperf.c - -libnetworkd_core_la_LIBADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -rootlibexec_PROGRAMS += \ - systemd-networkd-wait-online - -systemd_networkd_wait_online_CFLAGS = \ - $(AM_CFLAGS) - -systemd_networkd_wait_online_SOURCES = \ - src/libsystemd-network/network-internal.h \ - src/network/wait-online/link.h \ - src/network/wait-online/link.c \ - src/network/wait-online/manager.h \ - src/network/wait-online/manager.c \ - src/network/wait-online/wait-online.c - -systemd_networkd_wait_online_LDADD = \ - libsystemd-network.la \ - libsystemd-shared.la - -rootbin_PROGRAMS += \ - networkctl - -networkctl_SOURCES = \ - src/network/networkctl.c - -networkctl_LDADD = \ - libsystemd-shared.la \ - libsystemd-network.la - -dist_bashcompletion_data += \ - shell-completion/bash/networkctl - -dist_zshcompletion_data += \ - shell-completion/zsh/_networkctl - -test_networkd_conf_SOURCES = \ - src/network/test-networkd-conf.c - -test_networkd_conf_LDADD = \ - libnetworkd-core.la - -test_network_SOURCES = \ - src/network/test-network.c - -test_network_LDADD = \ - libnetworkd-core.la - -if HAVE_LIBIPTC -test_network_LDADD += \ - libfirewall.la -endif - -test_network_tables_SOURCES = \ - src/network/test-network-tables.c \ - src/shared/test-tables.h - -test_network_tables_LDADD = \ - libnetworkd-core.la \ - libudev-core.la - -if HAVE_LIBIPTC -test_network_tables_LDADD += \ - libfirewall.la -endif - -tests += \ - test-networkd-conf \ - test-network \ - test-network-tables - -dist_systemunit_DATA += \ - units/systemd-networkd.socket - -nodist_systemunit_DATA += \ - units/systemd-networkd.service \ - units/systemd-networkd-wait-online.service - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.network1.busname - -dist_dbussystemservice_DATA += \ - src/network/org.freedesktop.network1.service - -dist_dbuspolicy_DATA += \ - src/network/org.freedesktop.network1.conf - -GENERAL_ALIASES += \ - $(systemunitdir)/systemd-networkd.socket $(pkgsysconfdir)/system/sockets.target.wants/systemd-networkd.socket \ - $(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service \ - $(systemunitdir)/systemd-networkd-wait-online.service $(pkgsysconfdir)/system/network-online.target.wants/systemd-networkd-wait-online.service \ - $(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/dbus-org.freedesktop.network1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.network1.busname - -polkitrules_files += \ - src/network/systemd-networkd.rules - -polkitpkla_files += \ - src/network/systemd-networkd.pkla - -endif - -gperf_gperf_sources += \ - src/network/networkd-gperf.gperf \ - src/network/networkd-network-gperf.gperf \ - src/network/netdev/netdev-gperf.gperf - -EXTRA_DIST += \ - src/network/systemd-networkd.rules \ - src/network/systemd-networkd.pkla \ - units/systemd-networkd.service.m4.in \ - units/systemd-networkd-wait-online.service.in \ - test/networkd-test.py \ - test/test-exec-deserialization.py - -# ------------------------------------------------------------------------------ -if ENABLE_LOGIND -systemd_logind_SOURCES = \ - src/login/logind.c \ - src/login/logind.h - -nodist_systemd_logind_SOURCES = \ - src/login/logind-gperf.c - -systemd_logind_LDADD = \ - liblogind-core.la - -liblogind_core_la_SOURCES = \ - src/login/logind-core.c \ - src/login/logind-device.c \ - src/login/logind-device.h \ - src/login/logind-button.c \ - src/login/logind-button.h \ - src/login/logind-action.c \ - src/login/logind-action.h \ - src/login/logind-seat.c \ - src/login/logind-seat.h \ - src/login/logind-session.c \ - src/login/logind-session.h \ - src/login/logind-session-device.c \ - src/login/logind-session-device.h \ - src/login/logind-user.c \ - src/login/logind-user.h \ - src/login/logind-inhibit.c \ - src/login/logind-inhibit.h \ - src/login/logind-dbus.c \ - src/login/logind-session-dbus.c \ - src/login/logind-seat-dbus.c \ - src/login/logind-user-dbus.c \ - src/login/logind-utmp.c \ - src/login/logind-acl.h - -liblogind_core_la_LIBADD = \ - libsystemd-shared.la - -if HAVE_ACL -liblogind_core_la_SOURCES += \ - src/login/logind-acl.c -endif - -noinst_LTLIBRARIES += \ - liblogind-core.la - -rootlibexec_PROGRAMS += \ - systemd-logind - -loginctl_SOURCES = \ - src/login/loginctl.c \ - src/login/sysfs-show.h \ - src/login/sysfs-show.c - -loginctl_LDADD = \ - libsystemd-shared.la - -rootbin_PROGRAMS += \ - loginctl - -dist_bashcompletion_data += \ - shell-completion/bash/loginctl - -dist_zshcompletion_data += \ - shell-completion/zsh/_loginctl \ - shell-completion/zsh/_systemd-inhibit - -systemd_inhibit_SOURCES = \ - src/login/inhibit.c - -systemd_inhibit_LDADD = \ - libsystemd-shared.la - -rootbin_PROGRAMS += \ - systemd-inhibit - -test_login_SOURCES = \ - src/libsystemd/sd-login/test-login.c - -test_login_LDADD = \ - libsystemd-shared.la - -test_login_shared_SOURCES = \ - src/login/test-login-shared.c - -test_login_shared_LDADD = \ - libsystemd-shared.la - -test_inhibit_SOURCES = \ - src/login/test-inhibit.c - -test_inhibit_LDADD = \ - libsystemd-shared.la - -test_login_tables_SOURCES = \ - src/login/test-login-tables.c - -test_login_tables_LDADD = \ - liblogind-core.la - -manual_tests += \ - test-inhibit - -tests += \ - test-login \ - test-login-tables \ - test-login-shared - -if HAVE_PAM -pam_systemd_la_SOURCES = \ - src/login/pam_systemd.sym \ - src/login/pam_systemd.c - -pam_systemd_la_CFLAGS = \ - $(AM_CFLAGS) \ - $(PAM_CFLAGS) - -pam_systemd_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -module \ - -export-dynamic \ - -avoid-version \ - -shared \ - -Wl,--version-script=$(top_srcdir)/src/login/pam_systemd.sym - -pam_systemd_la_LIBADD = \ - libshared.la \ - $(PAM_LIBS) - -pamlib_LTLIBRARIES = \ - pam_systemd.la - -if ENABLE_PAM_CONFIG -dist_pamconf_DATA = \ - src/login/systemd-user -endif - -EXTRA_DIST += \ - src/login/systemd-user.m4 -endif - -nodist_systemunit_DATA += \ - units/systemd-logind.service - -dist_systemunit_DATA += \ - units/user.slice - -dist_systemunit_DATA_busnames += \ - units/org.freedesktop.login1.busname - -dist_dbussystemservice_DATA += \ - src/login/org.freedesktop.login1.service - -dist_dbuspolicy_DATA += \ - src/login/org.freedesktop.login1.conf - -nodist_pkgsysconf_DATA += \ - src/login/logind.conf - -polkitpolicy_files += \ - src/login/org.freedesktop.login1.policy - -INSTALL_DIRS += \ - $(systemdstatedir) - -MULTI_USER_TARGET_WANTS += \ - systemd-logind.service - -SYSTEM_UNIT_ALIASES += \ - systemd-logind.service dbus-org.freedesktop.login1.service - -BUSNAMES_TARGET_WANTS += \ - org.freedesktop.login1.busname - -dist_udevrules_DATA += \ - src/login/70-uaccess.rules \ - src/login/70-power-switch.rules - -nodist_udevrules_DATA += \ - src/login/71-seat.rules \ - src/login/73-seat-late.rules - -endif - -polkitpolicy_in_files += \ - src/login/org.freedesktop.login1.policy.in - -gperf_gperf_sources += \ - src/login/logind-gperf.gperf - -EXTRA_DIST += \ - src/login/71-seat.rules.in \ - src/login/73-seat-late.rules.in \ - units/systemd-logind.service.in \ - src/login/logind.conf.in - -# ------------------------------------------------------------------------------ -if HAVE_PAM - -systemd_user_sessions_SOURCES = \ - src/user-sessions/user-sessions.c - -systemd_user_sessions_LDADD = \ - libsystemd-shared.la - -rootlibexec_PROGRAMS += \ - systemd-user-sessions - -nodist_systemunit_DATA += \ - units/systemd-user-sessions.service - -MULTI_USER_TARGET_WANTS += \ - systemd-user-sessions.service - -endif - -EXTRA_DIST += \ - units/systemd-user-sessions.service.in - -# ------------------------------------------------------------------------------ -EXTRA_DIST += \ - test/Makefile \ - test/README.testsuite \ - test/TEST-01-BASIC \ - test/TEST-01-BASIC/Makefile \ - test/TEST-01-BASIC/test.sh \ - test/TEST-02-CRYPTSETUP \ - test/TEST-02-CRYPTSETUP/Makefile \ - test/TEST-02-CRYPTSETUP/test.sh \ - test/TEST-03-JOBS \ - test/TEST-03-JOBS/Makefile \ - test/TEST-03-JOBS/test-jobs.sh \ - test/TEST-03-JOBS/test.sh \ - test/TEST-04-JOURNAL/Makefile \ - test/TEST-04-JOURNAL/test-journal.sh \ - test/TEST-04-JOURNAL/test.sh \ - test/TEST-05-RLIMITS/Makefile \ - test/TEST-05-RLIMITS/test-rlimits.sh \ - test/TEST-05-RLIMITS/test.sh \ - test/TEST-06-SELINUX/Makefile \ - test/TEST-06-SELINUX/test-selinux-checks.sh \ - test/TEST-06-SELINUX/test.sh \ - test/TEST-06-SELINUX/systemd_test.te \ - test/TEST-06-SELINUX/systemd_test.if \ - test/TEST-07-ISSUE-1981/Makefile \ - test/TEST-07-ISSUE-1981/test-segfault.sh \ - test/TEST-07-ISSUE-1981/test.sh \ - test/TEST-08-ISSUE-2730/Makefile \ - test/TEST-08-ISSUE-2730/test.sh \ - test/TEST-09-ISSUE-2691/Makefile \ - test/TEST-09-ISSUE-2691/test.sh \ - test/TEST-10-ISSUE-2467/Makefile \ - test/TEST-10-ISSUE-2467/test.sh \ - test/TEST-11-ISSUE-3166/Makefile \ - test/TEST-11-ISSUE-3166/test.sh \ - test/TEST-12-ISSUE-3171/Makefile \ - test/TEST-12-ISSUE-3171/test.sh \ - test/TEST-13-NSPAWN-SMOKE/Makefile \ - test/TEST-13-NSPAWN-SMOKE/create-busybox-container \ - test/TEST-13-NSPAWN-SMOKE/test.sh \ - test/TEST-14-MACHINE-ID/Makefile \ - test/TEST-14-MACHINE-ID/test.sh \ - test/test-functions - -EXTRA_DIST += \ - test/loopy2.service \ - test/loopy3.service \ - test/loopy4.service \ - test/loopy.service \ - test/loopy.service.d \ - test/loopy.service.d/compat.conf - -# ------------------------------------------------------------------------------ -substitutions = \ - '|rootlibdir=$(rootlibdir)|' \ - '|rootlibexecdir=$(rootlibexecdir)|' \ - '|rootbindir=$(rootbindir)|' \ - '|bindir=$(bindir)|' \ - '|SYSTEMCTL=$(rootbindir)/systemctl|' \ - '|SYSTEMD_NOTIFY=$(rootbindir)/systemd-notify|' \ - '|pkgsysconfdir=$(pkgsysconfdir)|' \ - '|SYSTEM_CONFIG_UNIT_PATH=$(pkgsysconfdir)/system|' \ - '|USER_CONFIG_UNIT_PATH=$(pkgsysconfdir)/user|' \ - '|pkgdatadir=$(pkgdatadir)|' \ - '|systemunitdir=$(systemunitdir)|' \ - '|userunitdir=$(userunitdir)|' \ - '|systempresetdir=$(systempresetdir)|' \ - '|userpresetdir=$(userpresetdir)|' \ - '|udevhwdbdir=$(udevhwdbdir)|' \ - '|udevrulesdir=$(udevrulesdir)|' \ - '|catalogdir=$(catalogdir)|' \ - '|tmpfilesdir=$(tmpfilesdir)|' \ - '|sysusersdir=$(sysusersdir)|' \ - '|sysctldir=$(sysctldir)|' \ - '|systemgeneratordir=$(systemgeneratordir)|' \ - '|usergeneratordir=$(usergeneratordir)|' \ - '|systemenvgeneratordir=$(systemenvgeneratordir)|' \ - '|userenvgeneratordir=$(userenvgeneratordir)|' \ - '|CERTIFICATEROOT=$(CERTIFICATEROOT)|' \ - '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \ - '|PACKAGE_NAME=$(PACKAGE_NAME)|' \ - '|PACKAGE_URL=$(PACKAGE_URL)|' \ - '|RANDOM_SEED_DIR=$(localstatedir)/lib/systemd/|' \ - '|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \ - '|prefix=$(prefix)|' \ - '|exec_prefix=$(exec_prefix)|' \ - '|libdir=$(libdir)|' \ - '|includedir=$(includedir)|' \ - '|rootprefix=$(rootprefix)|' \ - '|udevlibexecdir=$(udevlibexecdir)|' \ - '|SUSHELL=$(SUSHELL)|' \ - '|SULOGIN=$(SULOGIN)|' \ - '|DEBUGTTY=$(DEBUGTTY)|' \ - '|KILL=$(KILL)|' \ - '|KMOD=$(KMOD)|' \ - '|MOUNT_PATH=$(MOUNT_PATH)|' \ - '|UMOUNT_PATH=$(UMOUNT_PATH)|' \ - '|MKDIR_P=$(MKDIR_P)|' \ - '|QUOTAON=$(QUOTAON)|' \ - '|QUOTACHECK=$(QUOTACHECK)|' \ - '|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \ - '|VARLOGDIR=$(varlogdir)|' \ - '|RC_LOCAL_SCRIPT_PATH_START=$(RC_LOCAL_SCRIPT_PATH_START)|' \ - '|RC_LOCAL_SCRIPT_PATH_STOP=$(RC_LOCAL_SCRIPT_PATH_STOP)|' \ - '|PYTHON=$(PYTHON)|' \ - '|NTP_SERVERS=$(NTP_SERVERS)|' \ - '|DNS_SERVERS=$(DNS_SERVERS)|' \ - '|DEFAULT_DNSSEC_MODE=$(DEFAULT_DNSSEC_MODE)|' \ - '|KILL_USER_PROCESSES=$(KILL_USER_PROCESSES)|' \ - '|systemuidmax=$(SYSTEM_UID_MAX)|' \ - '|systemgidmax=$(SYSTEM_GID_MAX)|' \ - '|DEV_KVM_MODE=$(DEV_KVM_MODE)|' \ - '|TTY_GID=$(TTY_GID)|' \ - '|systemsleepdir=$(systemsleepdir)|' \ - '|systemshutdowndir=$(systemshutdowndir)|' \ - '|binfmtdir=$(binfmtdir)|' \ - '|modulesloaddir=$(modulesloaddir)|' - -SED_PROCESS = \ - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ - $(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \ - -e '/^\#\# /d' \ - < $< > $@ - -units/%: units/%.in - $(SED_PROCESS) - -man/%: man/%.in - $(SED_PROCESS) - -sysctl.d/%: sysctl.d/%.in - $(SED_PROCESS) - -%.pc: %.pc.in - $(SED_PROCESS) - -%.conf: %.conf.in - $(SED_PROCESS) - -src/core/%.systemd: src/core/%.systemd.in - $(SED_PROCESS) - -src/%.policy.in: src/%.policy.in.in - $(SED_PROCESS) - -src/sulogin-shell/%: src/sulogin-shell/%.in - $(SED_PROCESS) - $(AM_V_GEN)chmod +x $@ - -shell-completion/%: shell-completion/%.in - $(SED_PROCESS) - -%.rules: %.rules.in - $(SED_PROCESS) - -%.conf: %.conf.in - $(SED_PROCESS) - -%.sh: %.sh.in - $(SED_PROCESS) - $(AM_V_GEN)chmod +x $@ - -src/%.c: src/%.gperf - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GPERF)$(GPERF) < $< > $@ - -src/%: src/%.m4 $(top_builddir)/config.status - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@ - -sysusers.d/%: sysusers.d/%.m4 $(top_builddir)/config.status - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@ - -tmpfiles.d/%: tmpfiles.d/%.m4 $(top_builddir)/config.status - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@ - - -units/%: units/%.m4 $(top_builddir)/config.status - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ - -units/user/%: units/user/%.m4 $(top_builddir)/config.status - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ - -if ENABLE_POLKIT -nodist_polkitpolicy_DATA = \ - $(polkitpolicy_files) \ - $(polkitpolicy_in_in_files:.policy.in.in=.policy) -polkitrules_DATA = $(polkitrules_files) -if ENABLE_POLKIT_PKLA -polkitpkla_DATA = $(polkitpkla_files) -endif -endif - -EXTRA_DIST += \ - $(polkitpolicy_in_files) \ - $(polkitpolicy_in_in_files) - -# ------------------------------------------------------------------------------ -man/custom-entities.ent: configure.ac - $(AM_V_GEN)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \ - printf '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">\n,$(substitutions))))') \ - > $@ # ' - -CLEANFILES += \ - man/custom-entities.ent - -XSLTPROC_FLAGS = \ - --nonet \ - --xinclude \ - --stringparam man.output.quietly 1 \ - --stringparam funcsynopsis.style ansi \ - --stringparam man.authors.section.enabled 0 \ - --stringparam man.copyright.section.enabled 0 \ - --stringparam systemd.version $(PACKAGE_VERSION) \ - --path '$(builddir)/man:$(srcdir)/man' - -XSLT = $(if $(XSLTPROC), $(XSLTPROC), xsltproc) -XSLTPROC_PROCESS_MAN = \ - $(AM_V_XSLT)$(XSLT) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $< - -XSLTPROC_PROCESS_HTML = \ - $(AM_V_XSLT)$(XSLT) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< - -man/%.1: man/%.xml man/custom-man.xsl man/custom-entities.ent - $(XSLTPROC_PROCESS_MAN) - -man/%.3: man/%.xml man/custom-man.xsl man/custom-entities.ent - $(XSLTPROC_PROCESS_MAN) - -man/%.5: man/%.xml man/custom-man.xsl man/custom-entities.ent - $(XSLTPROC_PROCESS_MAN) - -man/%.7: man/%.xml man/custom-man.xsl man/custom-entities.ent - $(XSLTPROC_PROCESS_MAN) - -man/%.8: man/%.xml man/custom-man.xsl man/custom-entities.ent - $(XSLTPROC_PROCESS_MAN) - -man/%.html: man/%.xml man/custom-html.xsl man/custom-entities.ent - $(XSLTPROC_PROCESS_HTML) - -define html-alias - $(AM_V_LN)$(LN_S) -f $(notdir $<) $@ -endef - -EXTRA_DIST += \ - man/custom-html.xsl \ - man/custom-man.xsl - -# ------------------------------------------------------------------------------ -if HAVE_SYSV_COMPAT -sysvinit_DATA = \ - docs/sysvinit/README - -varlog_DATA = \ - docs/var-log/README - -docs/sysvinit/README: docs/sysvinit/README.in - $(SED_PROCESS) - -docs/var-log/README: docs/var-log/README.in - $(SED_PROCESS) - -CLEANFILES += \ - docs/sysvinit/README \ - docs/var-log/README -endif - -EXTRA_DIST += \ - docs/sysvinit/README.in \ - docs/var-log/README.in - -SOCKETS_TARGET_WANTS += \ - systemd-initctl.socket - -if HAVE_UTMP -if HAVE_SYSV_COMPAT -MULTI_USER_TARGET_WANTS += \ - systemd-update-utmp-runlevel.service -GRAPHICAL_TARGET_WANTS += \ - systemd-update-utmp-runlevel.service -RESCUE_TARGET_WANTS += \ - systemd-update-utmp-runlevel.service -endif - -SYSINIT_TARGET_WANTS += \ - systemd-update-utmp.service -endif - -SYSINIT_TARGET_WANTS += \ - systemd-update-done.service - -LOCAL_FS_TARGET_WANTS += \ - systemd-remount-fs.service \ - tmp.mount - -REMOTE_FS_TARGET_WANTS += \ - var-lib-machines.mount - -MULTI_USER_TARGET_WANTS += \ - getty.target \ - systemd-ask-password-wall.path - -SYSINIT_TARGET_WANTS += \ - dev-hugepages.mount \ - dev-mqueue.mount \ - sys-kernel-config.mount \ - sys-kernel-debug.mount \ - sys-fs-fuse-connections.mount \ - 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 \ - rescue.target runlevel1.target \ - multi-user.target runlevel2.target \ - multi-user.target runlevel3.target \ - multi-user.target runlevel4.target \ - graphical.target runlevel5.target \ - reboot.target runlevel6.target -endif - -SYSTEM_UNIT_ALIASES += \ - graphical.target default.target \ - reboot.target ctrl-alt-del.target \ - getty@.service autovt@.service - -GENERAL_ALIASES += \ - $(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \ - $(systemunitdir)/getty@.service $(pkgsysconfdir)/system/getty.target.wants/getty@tty1.service \ - $(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \ - $(dbussystemservicedir)/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service - -if HAVE_SYSV_COMPAT -INSTALL_DIRS += \ - $(systemunitdir)/runlevel1.target.wants \ - $(systemunitdir)/runlevel2.target.wants \ - $(systemunitdir)/runlevel3.target.wants \ - $(systemunitdir)/runlevel4.target.wants \ - $(systemunitdir)/runlevel5.target.wants -endif - -INSTALL_DIRS += \ - $(environmentdir) \ - $(prefix)/lib/modules-load.d \ - $(sysconfdir)/modules-load.d \ - $(prefix)/lib/systemd/network \ - $(sysconfdir)/systemd/network \ - $(prefix)/lib/sysctl.d \ - $(sysconfdir)/sysctl.d \ - $(prefix)/lib/kernel/install.d \ - $(sysconfdir)/kernel/install.d \ - $(systemshutdowndir) \ - $(systemsleepdir) \ - $(systemgeneratordir) \ - $(usergeneratordir) \ - \ - $(userunitdir) \ - $(pkgsysconfdir)/system \ - $(pkgsysconfdir)/system/multi-user.target.wants \ - $(pkgsysconfdir)/system/getty.target.wants \ - $(pkgsysconfdir)/user \ - $(dbussessionservicedir) \ - $(sysconfdir)/xdg/systemd - -install-exec-hook: $(INSTALL_EXEC_HOOKS) - -uninstall-hook: $(UNINSTALL_DATA_HOOKS) $(UNINSTALL_EXEC_HOOKS) - -install-data-hook: $(INSTALL_DATA_HOOKS) - -distclean-local: $(DISTCLEAN_LOCAL_HOOKS) - -clean-local: $(CLEAN_LOCAL_HOOKS) - rm -rf $(abs_srcdir)/install-tree - rm -f $(abs_srcdir)/hwdb/usb.ids $(abs_srcdir)/hwdb/pci.ids $(abs_srcdir)/hwdb/oui.txt \ - $(abs_srcdir)/hwdb/iab.txt - -DISTCHECK_CONFIGURE_FLAGS = \ - --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ - --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ - --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ - --with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \ - --with-zshcompletiondir=$$dc_install_base/$(zshcompletiondir) \ - --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ - --with-pamconfdir=$$dc_install_base/$(pamconfdir) \ - --with-rpmmacrosdir=$$dc_install_base/$(rpmmacrosdir) \ - --with-rootprefix=$$dc_install_base \ - --enable-compat-libs - -if HAVE_SYSV_COMPAT -DISTCHECK_CONFIGURE_FLAGS += \ - --with-sysvinit-path=$$dc_install_base/$(sysvinitdir) \ - --with-sysvrcnd-path=$$dc_install_base/$(sysvrcnddir) -else -DISTCHECK_CONFIGURE_FLAGS += \ - --with-sysvinit-path= \ - --with-sysvrcnd-path= -endif - -if ENABLE_SPLIT_USR -DISTCHECK_CONFIGURE_FLAGS += \ - --enable-split-usr -else -DISTCHECK_CONFIGURE_FLAGS += \ - --disable-split-usr -endif - -.PHONY: dist-check-help -dist-check-help: $(rootbin_PROGRAMS) $(bin_PROGRAMS) - for i in $(abspath $^); do \ - if $$i --help | grep -v 'default:' | grep -E -q '.{80}.' ; then \ - echo "$(basename $$i) --help output is too wide:"; \ - $$i --help | awk 'length > 80' | grep -E --color=yes '.{80}'; \ - exit 1; \ - fi; done - -include_compilers = "$(CC)" "$(CC) -ansi" "$(CC) -std=iso9899:1990" -public_headers = $(filter-out src/systemd/_sd-common.h, $(pkginclude_HEADERS) $(include_HEADERS)) -.PHONY: dist-check-includes -dist-check-includes: $(public_headers) - @res=0; \ - for i in $(abspath $^); do \ - for cc in $(include_compilers); do \ - echo "$$cc -o/dev/null -c -x c -include "$$i" - </dev/null"; \ - $$cc -o/dev/null -c -x c -include "$$i" - </dev/null || res=1; \ - done; \ - done; exit $$res - -.PHONY: hwdb-update -hwdb-update: tools/meson-hwdb-update.sh - $< $(top_srcdir)/hwdb - -.PHONY: built-sources -built-sources: $(BUILT_SOURCES) - -.PHONY: git-tag -git-tag: - git tag -s "v$(PACKAGE_VERSION)" -m "systemd $(PACKAGE_VERSION)" - -.PHONY: git-tar -git-tar: - git archive -o systemd-$(PACKAGE_VERSION).tar.gz --prefix=systemd-$(PACKAGE_VERSION)/ HEAD - -%.asc: % - gpg2 --detach-sign -a -o $@ $< - -www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd - -.PHONY: doc-sync -doc-sync: man - rsync -rlv --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ $(www_target)/man/ - -.PHONY: install-tree -install-tree: all - rm -rf $(abs_srcdir)/install-tree - $(MAKE) install DESTDIR=$(abs_srcdir)/install-tree - tree $(abs_srcdir)/install-tree - -# Let's run all tests of the test suite, but under valgrind. Let's -# exclude perl/python/shell scripts we have in there -.PHONY: valgrind-tests -valgrind-tests: $(TESTS) - $(AM_V_GEN)for f in $(filter-out %.pl %.py, $^); do \ - if $(LIBTOOL) --mode=execute file $$f | grep -q shell; then \ - echo -e "$${x}Skipping non-binary $$f"; else \ - echo -e "$${x}Running $$f"; \ - $(AM_TESTS_ENVIRONMENT) $(LIBTOOL) --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \ - x="\n\n"; \ - done - -exported-%: % - $(AM_V_GEN)$(NM) -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@ - -exported: $(addprefix exported-, $(lib_LTLIBRARIES)) - $(AM_V_GEN)sort -u $^ > $@ - -.PHONY: check-api-docs -check-api-docs: exported man - $(AM_V_GEN)for symbol in `cat exported` ; do \ - if test -f $(builddir)/man/$$symbol.html ; then \ - echo " Symbol $$symbol() is documented." ; \ - else \ - echo "‣ Symbol $$symbol() lacks documentation." ; \ - fi ; \ - done - -OBJECT_VARIABLES:=$(filter %_OBJECTS,$(.VARIABLES)) -ALL_OBJECTS:=$(foreach v,$(OBJECT_VARIABLES),$($(v))) - -undefined defined: $(ALL_OBJECTS) - $(AM_V_GEN)for f in $(ALL_OBJECTS) ; do \ - $(NM) -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \ - done | cut -c 20- | cut -d @ -f 1 | sort -u > $@ - -CLEANFILES += \ - defined \ - undefined - -.PHONY: check-api-unused -check-api-unused: defined undefined exported - ( cat exported undefined ) | sort -u | diff -u - defined | grep ^+ | grep -v ^+++ | cut -c2- - -.PHONY: check-includes -check-includes: $(top_srcdir)/tools/check-includes.pl - $(AM_V_GEN) find * -name '*.[hcS]' -type f -print | sort -u \ - | xargs $(top_srcdir)/tools/check-includes.pl - -EXTRA_DIST += \ - $(top_srcdir)/tools/check-includes.pl - -# Stupid test that everything purported to be exported really is -define generate-sym-test - $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_at)printf '#include <stdio.h>\n' > $@ - $(AM_V_at)printf '#include "%s"\n' $(notdir $(filter %.h, $^)) >> $@ - $(AM_V_at)printf 'void* functions[] = {\n' >> $@ - $(AM_V_GEN)sed -r -n 's/^ +([a-zA-Z0-9_]+);/\1,/p' $< >> $@ - $(AM_V_at)printf '};\nint main(void) {\n' >> $@ - $(AM_V_at)printf 'unsigned i; for (i=0;i<sizeof(functions)/sizeof(void*);i++) printf("%%p\\n", functions[i]);\n' >> $@ - $(AM_V_at)printf 'return 0; }\n' >> $@ -endef - -test-libsystemd-sym.c: \ - $(top_builddir)/src/libsystemd/libsystemd.sym \ - src/systemd/sd-journal.h \ - src/systemd/sd-daemon.h \ - src/systemd/sd-login.h \ - src/systemd/sd-bus.h \ - src/systemd/sd-utf8.h \ - src/systemd/sd-resolve.h \ - src/systemd/sd-path.h \ - src/systemd/sd-event.h - $(generate-sym-test) - -test-libudev-sym.c: \ - src/libudev/libudev.sym \ - src/udev/udev.h - $(generate-sym-test) - -nodist_test_libsystemd_sym_SOURCES = \ - test-libsystemd-sym.c -test_libsystemd_sym_LDADD = \ - libsystemd.la - -nodist_test_libudev_sym_SOURCES = \ - test-libudev-sym.c -test_libudev_sym_CFLAGS = \ - $(AM_CFLAGS) \ - -Wno-deprecated-declarations -test_libudev_sym_LDADD = \ - libudev.la - -BUILT_SOURCES += \ - test-libsystemd-sym.c \ - test-libudev-sym.c - -CLEANFILES += \ - test-libsystemd-sym.c \ - test-libudev-sym.c - -tests += \ - test-libsystemd-sym \ - test-libudev-sym - -.PHONY: install-tests -install-tests: $(tests) $(TEST_DATA_FILES) - for f in $(tests); do \ - if [ -x $(top_builddir)/.libs/$$f ]; then \ - install -D -m 755 $(top_builddir)/.libs/$$f $(DESTDIR)/$(testsdir)/$$f; \ - else \ - install -D -m 755 $(top_builddir)/$$f $(DESTDIR)/$(testsdir)/$$f; \ - fi; \ - done - for f in $(TEST_DATA_FILES); do \ - install -D -m 644 $(top_srcdir)/$$f $(DESTDIR)/$(testsdir)/testdata/$${f#test/}; \ - done - - -.PHONY: cppcheck -cppcheck: - cppcheck --enable=all -q $(top_srcdir) - -# Used to extract compile flags for YCM. -print-%: - @echo $($*) - -.PHONY: git-contrib -git-contrib: - @git shortlog -s `git describe --abbrev=0`.. | cut -c8- | sed 's/ / /g' | awk '{ print $$0 "," }' | sort -u - -EXTRA_DIST += \ - tools/gdb-sd_dump_hashmaps.py - -.PHONY: list-keys -list-keys: - gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --list-keys - -.PHONY: add-key -add-key: - gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --import - @@ -8,9 +8,6 @@ WEB SITE: GIT: git@github.com:systemd/systemd.git - https://github.com/systemd/systemd.git - -GITWEB: https://github.com/systemd/systemd MAILING LIST: @@ -145,7 +142,13 @@ REQUIREMENTS: libpython (optional) libidn2 or libidn (optional) elfutils >= 158 (optional) - make, gcc, and similar tools + pkg-config + gperf >= 3.1 + docbook-xsl (optional, required for documentation) + xsltproc (optional, required for documentation) + python-lxml (optional, required to build the indices) + python, meson, ninja + gcc, awk, sed, grep, m4, and similar tools During runtime, you need the following additional dependencies: @@ -157,18 +160,6 @@ REQUIREMENTS: dracut (optional) PolicyKit (optional) - Two build systems are supported: meson + ninja-build and autools + make. - - The following tools are needed with both systems: - - pkg-config - gperf >= 3.1 - docbook-xsl (optional, required for documentation) - xsltproc (optional, required for documentation) - python-lxml (optional, required to build the indices) - - When building with meson, python and ninja-build are required. - To build in directory build/: meson build/ && ninja -C build @@ -185,19 +176,7 @@ REQUIREMENTS: sudo ninja install DESTDIR=... ninja install - When building with autotools, the following tools are needed: - - automake - autoconf - libtool - intltool - python (optional) - - The build system is initialized with ./autogen.sh and the usual - ./configure && make - should be used. - - A tar ball can be created with: + A tarball can be created with: git archive --format=tar --prefix=systemd-222/ v222 | xz > systemd-222.tar.xz When systemd-hostnamed is used, it is strongly recommended to diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 1897e23b53..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with systemd; If not, see <http://www.gnu.org/licenses/>. - -set -e - -verb="$1" - -case "$verb" in -"") ;; -[cgals]) shift ;; -*) echo "Unexpected argument: $verb" >&2; exit 1 ;; -esac - -oldpwd=$(pwd) -topdir=$(dirname $0) -cd $topdir - -if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then - # This part is allowed to fail - cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ - chmod +x .git/hooks/pre-commit && \ - echo "Activated pre-commit hook." || : -fi - -intltoolize --force --automake -autoreconf --force --install --symlink - -libdir() { - echo $(cd "$1/$(gcc -print-multi-os-directory)"; pwd) -} - -args="\ ---sysconfdir=/etc \ ---localstatedir=/var \ ---libdir=$(libdir /usr/lib) \ -" - -if [ -f "$topdir/.config.args" ]; then - args="$args $(cat $topdir/.config.args)" -fi - -if [ ! -L /bin ]; then -args="$args \ ---with-rootprefix=/ \ ---with-rootlibdir=$(libdir /lib) \ -" -fi - -args="$args $@" -cd $oldpwd - -if [ "$verb" = "c" ]; then - set -x - $topdir/configure CFLAGS='-g -O0 -ftrapv' $args - make clean >/dev/null -elif [ "$verb" = "g" ]; then - set -x - $topdir/configure CFLAGS='-g -Og -ftrapv' $args - make clean >/dev/null -elif [ "$verb" = "a" ]; then - set -x - $topdir/configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' $args - make clean >/dev/null -elif [ "$verb" = "l" ]; then - set -x - $topdir/configure CC=clang CFLAGS='-g -O0 -ftrapv' $args - make clean >/dev/null -elif [ "$verb" = "s" ]; then - set -x - scan-build $topdir/configure CFLAGS='-std=gnu99 -g -O0 -ftrapv' $args - scan-build make -else - echo - echo "----------------------------------------------------------------" - echo "Initialized build system. For a common configuration please run:" - echo "----------------------------------------------------------------" - echo - echo "$topdir/configure CFLAGS='-g -O0 -ftrapv' $args" - echo -fi diff --git a/catalog/.gitignore b/catalog/.gitignore deleted file mode 100644 index ff695342e3..0000000000 --- a/catalog/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.catalog diff --git a/catalog/Makefile b/catalog/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/catalog/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/configure b/configure new file mode 100755 index 0000000000..a9db8a1cff --- /dev/null +++ b/configure @@ -0,0 +1,21 @@ +#!/bin/bash -e + +cflags=CFLAGS="$CFLAGS" +cxxflags=CXXFLAGS="$CXXFLAGS" +declare -a args +j=0 +for i in "$@"; do + case "$i" in + CFLAGS=*) + cflags="$i";; + CXXFLAGS=*) + cxxflags="$i";; + *) + args[$j]="$i" + j=$((j+1)) + esac +done + +export "$cflags" "$cxxflags" +set -x +exec meson build "${args[@]}" diff --git a/configure.ac b/configure.ac deleted file mode 100644 index eafe77e635..0000000000 --- a/configure.ac +++ /dev/null @@ -1,1857 +0,0 @@ -# -# This file is part of systemd. -# -# Copyright 2010-2012 Lennart Poettering -# Copyright 2010-2012 Kay Sievers -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with systemd; If not, see <http://www.gnu.org/licenses/>. - -AC_PREREQ([2.64]) - -AC_INIT([systemd], - [234], - [https://github.com/systemd/systemd/issues], - [systemd], - [https://www.freedesktop.org/wiki/Software/systemd]) - -AC_CONFIG_SRCDIR([src/core/main.c]) -AC_CONFIG_MACRO_DIR([m4]) -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_AUX_DIR([build-aux]) - -AC_USE_SYSTEM_EXTENSIONS -AC_SYS_LARGEFILE -AC_PREFIX_DEFAULT([/usr]) -AM_MAINTAINER_MODE([enable]) -AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects parallel-tests]) -AM_SILENT_RULES([yes]) -AC_CANONICAL_HOST -AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.]) - -AC_PROG_CC_C99 - -AX_COMPILER_VENDOR -AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [ - AC_CHECK_TOOLS([AR], [gcc-ar ar], [:]) - AC_CHECK_TOOLS([NM], [gcc-nm nm], [:]) - AC_CHECK_TOOLS([RANLIB], [gcc-ranlib ranlib], [:]) -]) - -LT_PREREQ(2.2) -LT_INIT([disable-static]) - -AS_IF([test "x$enable_static" = "xyes"], [AC_MSG_ERROR([--enable-static is not supported by systemd])]) -AS_IF([test "x$enable_largefile" = "xno"], [AC_MSG_ERROR([--disable-largefile is not supported by systemd])]) - -SET_ARCH(X86_64, x86_64*) -SET_ARCH(IA32, i*86*) -SET_ARCH(MIPS, mips*) -SET_ARCH(ARM, arm*) -SET_ARCH(AARCH64, aarch64*) - -# i18n stuff for the PolicyKit policy files, heck whether intltool can be found, disable NLS otherwise -AC_CHECK_PROG(intltool_found, [intltool-merge], [yes], [no]) -AS_IF([test x"$intltool_found" != xyes], - [AS_IF([test x"$enable_nls" = xyes], - [AC_MSG_ERROR([--enable-nls requested but intltool not found])], - [AS_IF([test x"$enable_nls" != xno], - [AC_MSG_WARN([*** Disabling NLS support because intltool was not found]) - enable_nls=no]) - ]) - ]) - -AM_NLS -AS_IF([test x"$enable_nls" != xno -o "x$enable_polkit" != xno], [ - # intltoolize greps for '^(AC|IT)_PROG_INTLTOOL', so it needs to be on its own line -IT_PROG_INTLTOOL([0.40.0]) -]) - -AS_IF([test -z "$INTLTOOL_POLICY_RULE"], [ - # If intltool is not available, provide a dummy rule to fail generation of %.policy files with a meaningful error message - INTLTOOL_POLICY_RULE='%.policy: %.policy.in ; @echo " ITMRG " $@ && echo "*** intltool support required to build target $@" && false' - AC_SUBST(INTLTOOL_POLICY_RULE) -]) - -GETTEXT_PACKAGE=systemd -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [systemd]) - -AC_PROG_MKDIR_P -AC_PROG_LN_S -AC_PROG_SED -AC_PROG_GREP -AC_PROG_AWK - -AC_PATH_PROG([M4], [m4]) - -AC_PATH_PROG([QUOTAON], [quotaon], [/usr/sbin/quotaon], [$PATH:/usr/sbin:/sbin]) -AC_PATH_PROG([QUOTACHECK], [quotacheck], [/usr/sbin/quotacheck], [$PATH:/usr/sbin:/sbin]) - -AC_PATH_PROG([KILL], [kill], [/usr/bin/kill], [$PATH:/usr/sbin:/sbin]) - -AC_PATH_PROG([KMOD], [kmod], [/usr/bin/kmod], [$PATH:/usr/sbin:/sbin]) - -AC_PATH_PROG([KEXEC], [kexec], [/usr/sbin/kexec], [$PATH:/usr/sbin:/sbin]) - -AC_PATH_PROG([SULOGIN], [sulogin], [/usr/sbin/sulogin], [$PATH:/usr/sbin:/sbin]) - -AC_PATH_PROG([MOUNT_PATH], [mount], [/usr/bin/mount], [$PATH:/usr/sbin:/sbin]) -AC_PATH_PROG([UMOUNT_PATH], [umount], [/usr/bin/umount], [$PATH:/usr/sbin:/sbin]) - -AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])]) - -M4_DEFINES= - -AC_CHECK_TOOL(OBJCOPY, objcopy) -AC_CHECK_TOOL(STRINGS, strings) -AC_CHECK_TOOL(GPERF, gperf) -if test -z "$GPERF" ; then - AC_MSG_ERROR([*** gperf not found]) -fi - -# ------------------------------------------------------------------------------ -address_sanitizer_cflags= -address_sanitizer_cppflags= -address_sanitizer_ldflags= -AC_ARG_ENABLE(address-sanitizer, AS_HELP_STRING([--enable-address-sanitizer], [enable -fsanitize=address])) -AS_IF([test "x$enable_address_sanitizer" = "xyes"], [ - CC_CHECK_FLAG_APPEND([with_as_cflags], [CFLAGS], [-fsanitize=address]) - AS_IF([test -z "$with_as_cflags"], - [AC_MSG_ERROR([*** -fsanitize=address is not supported])]) - address_sanitizer_cflags="$with_as_cflags -fno-omit-frame-pointer -DVALGRIND=1" - address_sanitizer_cppflags="-DVALGRIND=1" - address_sanitizer_ldflags="-Wc,-fsanitize=address" - ]) - -undefined_sanitizer_cflags= -undefined_sanitizer_cppflags= -undefined_sanitizer_ldflags= -AC_ARG_ENABLE(undefined-sanitizer, AS_HELP_STRING([--enable-undefined-sanitizer], [enable -fsanitize=undefined])) -AS_IF([test "x$enable_undefined_sanitizer" = "xyes"], [ - CC_CHECK_FLAG_APPEND([with_us_cflags], [CFLAGS], [-fsanitize=undefined]) - AS_IF([test -z "$with_us_cflags"], - [AC_MSG_ERROR([*** -fsanitize=undefined is not supported])]) - undefined_sanitizer_cflags="$with_us_cflags -fno-omit-frame-pointer -DVALGRIND=1" - undefined_sanitizer_cppflags="-DVALGRIND=1" - undefined_sanitizer_ldflags="-Wc,-fsanitize=undefined" - ]) - -sanitizer_cflags="$address_sanitizer_cflags $undefined_sanitizer_cflags" -sanitizer_cppflags="$address_sanitizer_cppflags $undefined_sanitizer_cppflags" -sanitizer_ldflags="$address_sanitizer_ldflags $undefined_sanitizer_ldflags" - -CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ - -pipe \ - -Wall \ - -Wextra \ - -Wundef \ - -Wlogical-op \ - -Wmissing-include-dirs \ - -Wold-style-definition \ - -Wpointer-arith \ - -Winit-self \ - -Wdeclaration-after-statement \ - -Wfloat-equal \ - -Wsuggest-attribute=noreturn \ - -Werror=missing-prototypes \ - -Werror=implicit-function-declaration \ - -Werror=missing-declarations \ - -Werror=return-type \ - -Werror=incompatible-pointer-types \ - -Werror=format=2 \ - -Wstrict-prototypes \ - -Wredundant-decls \ - -Wmissing-noreturn \ - -Wshadow \ - -Wendif-labels \ - -Wstrict-aliasing=2 \ - -Wwrite-strings \ - -Wno-unused-parameter \ - -Wno-missing-field-initializers \ - -Wno-unused-result \ - -Wno-format-signedness \ - -Werror=overflow \ - -Wdate-time \ - -Wnested-externs \ - -ffast-math \ - -fno-common \ - -fdiagnostics-show-option \ - -fno-strict-aliasing \ - -fvisibility=hidden \ - -fstack-protector \ - -fstack-protector-strong \ - -fPIE \ - --param=ssp-buffer-size=4]) - -CC_CHECK_FLAG_APPEND([with_cflags], [CFLAGS], [-Werror=shadow], [ -#include <time.h> -#include <inttypes.h> -typedef uint64_t usec_t; -usec_t now(clockid_t clock); -int main(void) { - struct timespec now; - return 0; -} -]) - -AS_CASE([$CC], [*clang*], - [CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\ - -Wno-typedef-redefinition \ - -Wno-gnu-variable-sized-type-not-at-end \ - ])]) - -AC_ARG_ENABLE([lto], [AS_HELP_STRING([--disable-lto], [disable -flto])], - [], [enable_lto=yes]) -AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*], - [AS_IF([test "x$enable_lto" = "xyes"], - [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [-flto])], - [AC_MSG_RESULT([disabling -flto as requested])])], - [AC_MSG_RESULT([skipping -flto, optimization not enabled])]) - -AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*], - [CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\ - -Wp,-D_FORTIFY_SOURCE=2])], - [AC_MSG_RESULT([skipping -D_FORTIFY_SOURCE, optimization not enabled])]) - -AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*], - [CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\ - -Wl,--gc-sections])], - [AC_MSG_RESULT([skipping --gc-sections, optimization not enabled])]) - -AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*], - [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ - -ffunction-sections -fdata-sections])], - [AC_MSG_RESULT([skipping -ffunction/data-section, optimization not enabled])]) - -CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\ - -Wl,--as-needed \ - -Wl,--no-undefined \ - -Wl,-z,relro \ - -Wl,-z,now \ - -pie \ - -Wl,-fuse-ld=gold]) - -AC_SUBST([OUR_CPPFLAGS], "$with_cppflags $sanitizer_cppflags") -AC_SUBST([OUR_CFLAGS], "-D__SANE_USERSPACE_TYPES__ $with_cflags $sanitizer_cflags") -AC_SUBST([OUR_LDFLAGS], "$with_ldflags $sanitizer_ldflags") - -AC_CHECK_SIZEOF(pid_t) -AC_CHECK_SIZEOF(uid_t) -AC_CHECK_SIZEOF(gid_t) -AC_CHECK_SIZEOF(time_t) -AC_CHECK_SIZEOF(dev_t) -AC_CHECK_SIZEOF(ino_t) -AC_CHECK_SIZEOF(rlim_t,,[ - #include <sys/time.h> - #include <sys/resource.h> -]) - -GPERF_TEST="$(echo foo,bar | ${GPERF} -L ANSI-C)" - -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #include <string.h> - const char * in_word_set(const char *, size_t); - $GPERF_TEST] - )], - [GPERF_LEN_TYPE=size_t], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #include <string.h> - const char * in_word_set(const char *, unsigned); - $GPERF_TEST] - )], - [GPERF_LEN_TYPE=unsigned], - [AC_MSG_ERROR([** unable to determine gperf len type])] - )] -) - -AC_DEFINE_UNQUOTED([GPERF_LEN_TYPE], [$GPERF_LEN_TYPE], [gperf len type]) - -# ------------------------------------------------------------------------------ -# we use python to build the man page index -have_python=no -AC_ARG_WITH([python], - [AS_HELP_STRING([--without-python], [disable building the man page index and systemd-python (default: test)])]) - -have_lxml=no -AS_IF([test "x$with_python" != "xno"], [ - AM_PATH_PYTHON([3],, [:]) - AS_IF([test "x$PYTHON" != "x:"], [ - AC_MSG_CHECKING([for python lxml module]) - AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes]) - AC_MSG_RESULT([$have_lxml]) - AS_IF([test "x$have_lxml" = "xyes"], [have_python=yes], - [AC_MSG_WARN([*** python support requires python-lxml module installed])]) - ]) -]) -AS_IF([test "$have_python" != "yes"], [ - AS_IF([test "$with_python" = "yes"], - [AC_MSG_ERROR([*** python support requested but python support not found])]) - AS_IF([test "$with_python" != "no"], - [AC_MSG_WARN([*** python support not found, some documentation cannot be built])]) -]) -AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"]) - -# ------------------------------------------------------------------------------ - -AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])]) -AC_CHECK_HEADERS([linux/btrfs.h], [], []) -AC_CHECK_HEADERS([linux/memfd.h], [], []) -AC_CHECK_HEADERS([linux/vm_sockets.h], [], [], [#include <sys/socket.h>]) - -# unconditionally pull-in librt with old glibc versions -AC_SEARCH_LIBS([clock_gettime], [rt], [], []) - -save_LIBS="$LIBS" -LIBS= -AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])]) -CAP_LIBS="$LIBS" -LIBS="$save_LIBS" -AC_SUBST(CAP_LIBS) - -AC_CHECK_FUNCS([__secure_getenv secure_getenv]) -AC_CHECK_DECLS([ - memfd_create, - gettid, - pivot_root, - name_to_handle_at, - setns, - renameat2, - kcmp, - keyctl, - LO_FLAGS_PARTSCAN, - copy_file_range, - explicit_bzero], - [], [], [[ -#include <sys/types.h> -#include <unistd.h> -#include <sys/mount.h> -#include <fcntl.h> -#include <sched.h> -#include <string.h> -#include <linux/loop.h> -]]) - -AC_CHECK_DECLS([getrandom], - [AC_DEFINE([USE_SYS_RANDOM_H], [], [sys/random.h is usable])], - [AC_CHECK_DECLS([getrandom], [], [], [[ -#include <sys/random.h> -]])], [[ -#include <linux/random.h> -]]) - -AC_CHECK_TYPES([char16_t, char32_t, key_serial_t, struct ethtool_link_settings], - [], [], [[ -#include <uchar.h> -#include <linux/ethtool.h> -]]) - -AC_CHECK_DECLS([IFLA_INET6_ADDR_GEN_MODE, - IN6_ADDR_GEN_MODE_STABLE_PRIVACY, - IFLA_VRF_TABLE, - IFLA_MACVLAN_FLAGS, - IFLA_IPVLAN_MODE, - IFLA_VTI_REMOTE, - IFLA_PHYS_PORT_ID, - IFLA_BOND_AD_INFO, - IFLA_VLAN_PROTOCOL, - IFLA_VXLAN_GPE, - IFLA_GENEVE_LABEL, - IFLA_IPTUN_ENCAP_DPORT, - IFLA_GRE_ENCAP_DPORT, - IFLA_BRIDGE_VLAN_INFO, - IFLA_BRPORT_PROXYARP, - IFLA_BRPORT_LEARNING_SYNC, - IFLA_BR_VLAN_DEFAULT_PVID, - NDA_IFINDEX, - IFA_FLAGS], -[], [], [[ -#include <inttypes.h> -#include <netinet/in.h> -#include <netinet/ether.h> -#include <linux/rtnetlink.h> -#include <net/if.h> -#include <linux/ip.h> -#include <linux/if_tunnel.h> -#include <linux/if_link.h> -#include <linux/if_bridge.h> -#include <linux/if_addr.h> -#include <linux/neighbour.h> -]]) - -# This makes sure pkg.m4 is available. -m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) - -# ------------------------------------------------------------------------------ -have_dbus=no -AC_ARG_ENABLE(dbus, AS_HELP_STRING([--disable-dbus], [disable usage of dbus-1 in tests])) -AS_IF([test "x$enable_dbus" != "xno"], [ - PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2], - [AC_DEFINE(HAVE_DBUS, 1, [Define if dbus-1 library is available]) have_dbus=yes], - [have_dbus=no]) - AS_IF([test "x$have_dbus" = "xno" -a "x$enable_dbus" = "xyes"], - [AC_MSG_ERROR([*** dbus-1 support requested but libraries not found])])]) -AM_CONDITIONAL(HAVE_DBUS, [test "$have_dbus" = "yes"]) - -# ------------------------------------------------------------------------------ -have_glib=no -AC_ARG_ENABLE(glib, AS_HELP_STRING([--disable-glib], [disable usage of glib,gobject,gio in tests])) -AS_IF([test "x$enable_glib" != "xno"], [ - PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0], - [AC_DEFINE(HAVE_GLIB, 1, [Define if glib,gobject,gio are available]) have_glib=yes], - [have_glib=no]) - AS_IF([test "x$have_glib" = "xno" -a "x$enable_glib" = "xyes"], - [AC_MSG_ERROR([*** glib support requested but libraries not found])])]) - -# ------------------------------------------------------------------------------ -have_utmp=yes -AC_ARG_ENABLE([utmp], AS_HELP_STRING([--disable-utmp], [disable utmp/wtmp log handling]), - AS_CASE("x${enableval}", - [xyes], [have_utmp=yes], - [xno], [have_utmp=no], - AC_MSG_ERROR(bad value ${enableval} for --enable-utmp))) -AS_IF([test "x$have_utmp" = "xyes"], [ - AC_DEFINE(HAVE_UTMP, 1, [Define if utmp/wtmp support is enabled]) - have_utmp=yes - M4_DEFINES="$M4_DEFINES -DHAVE_UTMP"], - [have_utmp=no]) -AM_CONDITIONAL([HAVE_UTMP], [test "x$have_utmp" = "xyes"]) - -# ------------------------------------------------------------------------------ -have_coverage=no -AC_ARG_ENABLE(coverage, AS_HELP_STRING([--enable-coverage], [enable test coverage])) -if test "x$enable_coverage" = "xyes" ; then - AC_CHECK_PROG(lcov_found, [lcov], [yes], [no]) - if test "x$lcov_found" = xno ; then - AC_MSG_ERROR([*** lcov support requested but the program was not found]) - else - lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`" - lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`" - if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then - AC_MSG_ERROR([*** lcov version is too old. 1.10 required]) - else - have_coverage=yes - CC_CHECK_FLAGS_APPEND([with_coverage_cflags], [CFLAGS], [\ - -fprofile-arcs \ - -ftest-coverage]) - AC_SUBST([OUR_CFLAGS], "$with_cflags $with_coverage_cflags") - fi - fi -fi -AM_CONDITIONAL(ENABLE_COVERAGE, [test "$have_coverage" = "yes"]) - -# ------------------------------------------------------------------------------ -have_kmod=no -AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules support])) -if test "x$enable_kmod" != "xno"; then - PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no) - if test "x$have_kmod" = "xyes"; then - PKG_CHECK_MODULES(KMOD, [ libkmod >= 15 ], - [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])], - AC_MSG_ERROR([*** kmod version >= 15 not found])) - fi - if test "x$have_kmod" = xno -a "x$enable_kmod" = xyes; then - AC_MSG_ERROR([*** kmod support requested, but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_KMOD, [test "$have_kmod" = "yes"]) - -# ------------------------------------------------------------------------------ -have_xkbcommon=no -AC_ARG_ENABLE(xkbcommon, AS_HELP_STRING([--disable-xkbcommon], [disable xkbcommon keymap support])) -if test "x$enable_xkbcommon" != "xno"; then - PKG_CHECK_MODULES(XKBCOMMON, [ xkbcommon >= 0.3.0 ], - [AC_DEFINE(HAVE_XKBCOMMON, 1, [Define if libxkbcommon is available]) have_xkbcommon=yes], have_xkbcommon=no) - if test "x$have_xkbcommon" = xno -a "x$enable_xkbcommon" = xyes; then - AC_MSG_ERROR([*** xkbcommon support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_XKBCOMMON, [test "$have_xkbcommon" = "yes"]) - -# ------------------------------------------------------------------------------ -have_blkid=no -AC_ARG_ENABLE(blkid, AS_HELP_STRING([--disable-blkid], [disable blkid support])) -if test "x$enable_blkid" != "xno"; then - PKG_CHECK_MODULES(BLKID, [ blkid >= 2.24 ], - [AC_DEFINE(HAVE_BLKID, 1, [Define if blkid is available]) have_blkid=yes], have_blkid=no) - if test "x$have_blkid" = xno -a "x$enable_blkid" = xyes; then - AC_MSG_ERROR([*** blkid support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_BLKID, [test "$have_blkid" = "yes"]) - -# ------------------------------------------------------------------------------ -have_libmount=no -PKG_CHECK_MODULES(MOUNT, [ mount >= 2.27 ], - [AC_DEFINE(HAVE_LIBMOUNT, 1, [Define if libmount is available]) have_libmount=yes], have_libmount=no) -if test "x$have_libmount" = xno; then - AC_MSG_ERROR([*** libmount support required but libraries not found]) -fi -AM_CONDITIONAL(HAVE_LIBMOUNT, [test "$have_libmount" = "yes"]) - -# ------------------------------------------------------------------------------ -have_seccomp=no -AC_ARG_ENABLE(seccomp, AS_HELP_STRING([--disable-seccomp], [disable optional SECCOMP support])) -if test "x$enable_seccomp" != "xno"; then - PKG_CHECK_MODULES(SECCOMP, [libseccomp >= 2.3.1], - [AC_DEFINE(HAVE_SECCOMP, 1, [Define if seccomp is available]) - have_seccomp=yes - M4_DEFINES="$M4_DEFINES -DHAVE_SECCOMP"], - [have_seccomp=no]) - if test "x$have_seccomp" = "xno" -a "x$enable_seccomp" = "xyes"; then - AC_MSG_ERROR([*** seccomp support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_SECCOMP, [test "$have_seccomp" = "yes"]) - -# ------------------------------------------------------------------------------ -have_ima=yes -AC_ARG_ENABLE([ima], AS_HELP_STRING([--disable-ima], [disable optional IMA support]), - [case "${enableval}" in - yes) have_ima=yes ;; - no) have_ima=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-ima) ;; - esac], - [have_ima=yes]) - -if test "x${have_ima}" != xno ; then - AC_DEFINE(HAVE_IMA, 1, [Define if IMA is available]) -fi - -# ------------------------------------------------------------------------------ -have_selinux=no -AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [disable optional SELINUX support])) -if test "x$enable_selinux" != "xno"; then - PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.1.9], - [AC_DEFINE(HAVE_SELINUX, 1, [Define if SELinux is available]) - have_selinux=yes - M4_DEFINES="$M4_DEFINES -DHAVE_SELINUX"], - [have_selinux=no]) - if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then - AC_MSG_ERROR([*** SELinux support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"]) - -have_apparmor=no -AC_ARG_ENABLE(apparmor, AS_HELP_STRING([--disable-apparmor], [disable optional AppArmor support])) -if test "x$enable_apparmor" != "xno"; then - PKG_CHECK_MODULES([APPARMOR], [libapparmor], - [AC_DEFINE(HAVE_APPARMOR, 1, [Define if AppArmor is available]) - have_apparmor=yes - M4_DEFINES="$M4_DEFINES -DHAVE_APPARMOR"], - [have_apparmor=no]) - if test "x$have_apparmor" = xno -a "x$enable_apparmor" = xyes; then - AC_MSG_ERROR([*** AppArmor support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_APPARMOR, [test "$have_apparmor" = "yes"]) - -have_adm_group=no -AC_ARG_ENABLE(adm-group, AS_HELP_STRING([--disable-adm-group], [disable adm group])) -AS_IF([test "x$enable_adm_group" != "xno"], [ - AC_DEFINE(ENABLE_ADM_GROUP, 1, [Define if the ACL for adm group should be enabled]) - have_adm_group=yes - M4_DEFINES="$M4_DEFINES -DENABLE_ADM_GROUP" -]) - -have_wheel_group=no -AC_ARG_ENABLE(wheel-group, AS_HELP_STRING([--disable-wheel-group], [disable wheel group])) -AS_IF([test "x$enable_wheel_group" != "xno"], [ - AC_DEFINE(ENABLE_WHEEL_GROUP, 1, [Define if the ACL for wheel group should be enabled]) - have_wheel_group=yes - M4_DEFINES="$M4_DEFINES -DENABLE_WHEEL_GROUP" -]) - - -AC_ARG_WITH(debug-shell, - AS_HELP_STRING([--with-debug-shell=PATH], - [path to debug shell binary]), - [SUSHELL="$withval"], - [SUSHELL="/bin/sh"]) - -AC_SUBST(SUSHELL) - -AC_ARG_WITH([debug-tty], - AS_HELP_STRING([--with-debug-tty=PATH], - [specify the tty device for debug shell]), - [DEBUGTTY="$withval"], - [DEBUGTTY=/dev/tty9]) - -AC_SUBST(DEBUGTTY) - -AC_ARG_WITH([certificate-root], - AS_HELP_STRING([--with-certificate-root=PATH], - [specify the prefix for TLS certificates [/etc/ssl]]), - [CERTIFICATEROOT="$withval"], - [CERTIFICATEROOT="/etc/ssl"]) - -AC_SUBST(CERTIFICATEROOT) - -AC_ARG_WITH([support-url], - AS_HELP_STRING([--with-support-url=URL], - [specify the support URL to show in catalog entries included in systemd]), - [SUPPORT_URL="$withval"], - [SUPPORT_URL=https://lists.freedesktop.org/mailman/listinfo/systemd-devel]) - -AC_SUBST(SUPPORT_URL) - -AC_ARG_WITH([nobody-user], - AS_HELP_STRING([--with-nobody-user=NAME], - [specify the name of the nobody user (the one with UID 65534)]), - [NOBODY_USER_NAME="$withval"], - [NOBODY_USER_NAME=nobody]) - -AC_SUBST(NOBODY_USER_NAME) -AC_DEFINE_UNQUOTED(NOBODY_USER_NAME, ["$NOBODY_USER_NAME"], [The name of the nobody user (the one with UID 65534)]) - -AC_ARG_WITH([nobody-group], - AS_HELP_STRING([--with-nobody-group=NAME], - [specify the name of the nobody group (the one with GID 65534)]), - [NOBODY_GROUP_NAME="$withval"], - [NOBODY_GROUP_NAME=nobody]) - -AC_SUBST(NOBODY_GROUP_NAME) -AC_DEFINE_UNQUOTED(NOBODY_GROUP_NAME, ["$NOBODY_GROUP_NAME"], [The name of the nobody group (the one with GID 65534)]) - -AC_ARG_WITH([fallback-hostname], - AS_HELP_STRING([--with-fallback-hostname=NAME], - [specify the hostname used if none configured]), - [FALLBACK_HOSTNAME="$withval"], - [FALLBACK_HOSTNAME=localhost]) - -AC_SUBST(FALLBACK_HOSTNAME) -AC_DEFINE_UNQUOTED(FALLBACK_HOSTNAME, ["$FALLBACK_HOSTNAME"], [The hostname used if none configured]) - -# ------------------------------------------------------------------------------ - -AC_ARG_WITH(default-hierarchy, - AS_HELP_STRING([--with-default-hierarchy=MODE], - [default cgroup hierarchy, defaults to "hybrid"]), - [DEFAULT_HIERARCHY="$withval"], - [DEFAULT_HIERARCHY="hybrid"]) - -AS_CASE("$DEFAULT_HIERARCHY", - [legacy], [mode=CGROUP_UNIFIED_NONE], - [hybrid], [mode=CGROUP_UNIFIED_SYSTEMD], - [unified], [mode=CGROUP_UNIFIED_ALL], - AC_MSG_ERROR(Bad default hierarchy mode ${DEFAULT_HIERARCHY})) -AC_DEFINE_UNQUOTED(DEFAULT_HIERARCHY, [$mode], [Default cgroup hierarchy]) -AC_DEFINE_UNQUOTED(DEFAULT_HIERARCHY_NAME, ["$DEFAULT_HIERARCHY"], - [Default cgroup hierarchy as string]) - -# ------------------------------------------------------------------------------ -have_xz=no -AC_ARG_ENABLE(xz, AS_HELP_STRING([--disable-xz], [disable optional XZ support])) -AS_IF([test "x$enable_xz" != "xno"], [ - PKG_CHECK_MODULES(XZ, [ liblzma ], - [AC_DEFINE(HAVE_XZ, 1, [Define if XZ is available]) - have_xz=yes], - have_xz=no) - AS_IF([test "x$have_xz" = xno -a "x$enable_xz" = xyes], - [AC_MSG_ERROR([*** XZ support requested but libraries not found])]) -]) -AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" = "yes"]) - -# ------------------------------------------------------------------------------ -have_zlib=no -AC_ARG_ENABLE(zlib, AS_HELP_STRING([--disable-zlib], [disable optional ZLIB support])) -AS_IF([test "x$enable_zlib" != "xno"], [ - PKG_CHECK_MODULES(ZLIB, [ zlib ], - [AC_DEFINE(HAVE_ZLIB, 1, [Define if ZLIB is available]) - have_zlib=yes], - have_zlib=no) - AS_IF([test "x$have_zlib" = xno -a "x$enable_zlib" = xyes], - [AC_MSG_ERROR([*** ZLIB support requested but libraries not found])]) -]) -AM_CONDITIONAL(HAVE_ZLIB, [test "$have_zlib" = "yes"]) - -# ------------------------------------------------------------------------------ -have_bzip2=no -AC_ARG_ENABLE(bzip2, AS_HELP_STRING([--disable-bzip2], [disable optional BZIP2 support])) -AS_IF([test "x$enable_bzip2" != "xno"], [ - AC_CHECK_HEADERS(bzlib.h, - [AC_DEFINE(HAVE_BZIP2, 1, [Define if BZIP2 is available]) - have_bzip2=yes], - [AS_IF([test "x$enable_bzip2" = xyes], - [AC_MSG_ERROR([*** BZIP2 support requested but headers not found])])] - ) -]) -AM_CONDITIONAL(HAVE_BZIP2, [test "$have_bzip2" = "yes"]) - -# ------------------------------------------------------------------------------ -have_lz4=no -AC_ARG_ENABLE(lz4, AS_HELP_STRING([--disable-lz4], [disable optional LZ4 support])) -AS_IF([test "x$enable_lz4" != "xno"], [ - PKG_CHECK_MODULES(LZ4, [ liblz4 < 10 ], - [AC_DEFINE(HAVE_LZ4, 1, [Define if LZ4 is available]) - have_lz4=yes], - [PKG_CHECK_MODULES(LZ4, [ liblz4 >= 125 ], - [AC_DEFINE(HAVE_LZ4, 1, [Define if LZ4 is available]) - have_lz4=yes], - have_lz4=no)]) - AS_IF([test "x$have_lz4" = xno -a "x$enable_lz4" = xyes], - [AC_MSG_ERROR([*** LZ4 support requested but libraries not found])]) -]) -AM_CONDITIONAL(HAVE_LZ4, [test "$have_lz4" = "yes"]) - -AM_CONDITIONAL(HAVE_COMPRESSION, [test "$have_xz" = "yes" -o "$have_lz4" = "yes"]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE([pam], - AS_HELP_STRING([--disable-pam], [disable optional PAM support]), - [case "${enableval}" in - yes) have_pam=yes ;; - no) have_pam=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-pam) ;; - esac], - [have_pam=auto]) - -if test "x${have_pam}" != xno ; then - AC_CHECK_HEADERS( - [security/pam_modules.h security/pam_modutil.h security/pam_ext.h], - [have_pam=yes], - [if test "x$have_pam" = xyes ; then - AC_MSG_ERROR([*** PAM headers not found.]) - fi]) - - AC_CHECK_LIB( - [pam], - [pam_syslog], - [have_pam=yes], - [if test "x$have_pam" = xyes ; then - AC_MSG_ERROR([*** libpam not found.]) - fi]) - - if test "x$have_pam" = xyes ; then - PAM_LIBS="-lpam -lpam_misc" - AC_DEFINE(HAVE_PAM, 1, [PAM available]) - M4_DEFINES="$M4_DEFINES -DHAVE_PAM" - else - have_pam=no - fi -else - PAM_LIBS= -fi -AC_SUBST(PAM_LIBS) -AM_CONDITIONAL([HAVE_PAM], [test "x$have_pam" != xno]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE([acl], - AS_HELP_STRING([--disable-acl], [disable optional ACL support]), - [case "${enableval}" in - yes) have_acl=yes ;; - no) have_acl=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-acl) ;; - esac], - [have_acl=auto]) - -if test "x${have_acl}" != xno ; then - AC_CHECK_HEADERS( - [sys/acl.h acl/libacl.h], - [have_acl=yes], - [if test "x$have_acl" = xyes ; then - AC_MSG_ERROR([*** ACL headers not found.]) - fi]) - - AC_CHECK_LIB( - [acl], - [acl_get_file], - [have_acl=yes], - [if test "x$have_acl" = xyes ; then - AC_MSG_ERROR([*** libacl not found.]) - fi]) - - if test "x$have_acl" = xyes ; then - ACL_LIBS="-lacl" - AC_DEFINE(HAVE_ACL, 1, [ACL available]) - M4_DEFINES="$M4_DEFINES -DHAVE_ACL" - else - have_acl=no - fi -else - ACL_LIBS= -fi -AC_SUBST(ACL_LIBS) -AM_CONDITIONAL([HAVE_ACL], [test "x$have_acl" != xno]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE([smack], AS_HELP_STRING([--disable-smack], [disable optional SMACK support]), - [case "${enableval}" in - yes) have_smack=yes ;; - no) have_smack=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-smack) ;; - esac], - [have_smack=auto]) - -if test "x${have_smack}" != xno; then - AC_DEFINE(HAVE_SMACK, 1, [Define if SMACK is available]) - M4_DEFINES="$M4_DEFINES -DHAVE_SMACK" - have_smack=yes -fi - -AM_CONDITIONAL([HAVE_SMACK], [test "x$have_smack" = "xyes"]) - -have_smack_run_label=no -AC_ARG_WITH(smack-run-label, -AS_HELP_STRING([--with-smack-run-label=STRING], - [run systemd --system itself with a specific SMACK label]), - [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run systemd itself with SMACK label]) have_smack_run_label=yes], - []) - -if test "x${have_smack_run_label}" = xyes; then - M4_DEFINES="$M4_DEFINES -DHAVE_SMACK_RUN_LABEL" -fi - -AC_ARG_WITH(smack-default-process-label, -AS_HELP_STRING([--with-smack-default-process-label=STRING], - [default SMACK label for executed processes]), - [AC_DEFINE_UNQUOTED(SMACK_DEFAULT_PROCESS_LABEL, ["$withval"], [Default SMACK label for executed processes])], - []) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE([gcrypt], - AS_HELP_STRING([--disable-gcrypt], [disable optional GCRYPT support]), - [case "${enableval}" in - yes) have_gcrypt=yes ;; - no) have_gcrypt=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-gcrypt) ;; - esac], - [have_gcrypt=auto]) - -if test "x${have_gcrypt}" != xno ; then - m4_define([AM_PATH_LIBGCRYPT_FAIL], - [{ test "x$have_gcrypt" != xyes || AC_MSG_ERROR([*** GCRYPT/GPG-ERROR headers not found.]); }] - ) - m4_ifdef([AM_PATH_LIBGCRYPT], [AM_PATH_LIBGCRYPT( - [1.4.5], - [have_gcrypt=yes], - dnl If we have the gcrypt m4 macros, but don't have - dnl gcrypt, throw an error if gcrypt is explicitly - dnl requested. - [AM_PATH_LIBGCRYPT_FAIL] - )], - dnl If we don't have the gcrypt m4 macros, but build with - dnl gcrypt explicitly requested, throw an error. - [AM_PATH_LIBGCRYPT_FAIL] - ) - - have_gpg_error=no - m4_ifdef([AM_PATH_GPG_ERROR], [AM_PATH_GPG_ERROR( - [1.12], - [have_gpg_error=yes], - [AM_PATH_LIBGCRYPT_FAIL] - )], - [AM_PATH_LIBGCRYPT_FAIL] - ) - - if test "x$have_gcrypt" = xyes -a "x$have_gpg_error" = xyes ; then - GCRYPT_LIBS="$LIBGCRYPT_LIBS $GPG_ERROR_LIBS" - GCRYPT_CFLAGS="$LIBGCRYPT_CFLAGS $GPG_ERROR_CFLAGS" - AC_DEFINE(HAVE_GCRYPT, 1, [GCRYPT available]) - else - have_gcrypt=no - have_gpg_error=no - fi -else - GCRYPT_LIBS= - GCRYPT_CFLAGS= -fi -AC_SUBST(GCRYPT_LIBS) -AC_SUBST(GCRYPT_CFLAGS) -AM_CONDITIONAL([HAVE_GCRYPT], [test "x$have_gcrypt" != xno]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE([audit], - AS_HELP_STRING([--disable-audit], [disable optional AUDIT support]), - [case "${enableval}" in - yes) have_audit=yes ;; - no) have_audit=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-audit) ;; - esac], - [have_audit=auto]) - -if test "x${have_audit}" != xno ; then - AC_CHECK_HEADERS( - [libaudit.h], - [have_audit=yes], - [if test "x$have_audit" = xyes ; then - AC_MSG_ERROR([*** AUDIT headers not found.]) - fi]) - - AC_CHECK_LIB( - [audit], - [audit_open], - [have_audit=yes], - [if test "x$have_audit" = xyes ; then - AC_MSG_ERROR([*** libaudit not found.]) - fi]) - - if test "x$have_audit" = xyes ; then - AUDIT_LIBS="-laudit" - AC_DEFINE(HAVE_AUDIT, 1, [AUDIT available]) - else - have_audit=no - fi -else - AUDIT_LIBS= -fi -AC_SUBST(AUDIT_LIBS) -AM_CONDITIONAL([HAVE_AUDIT], [test "x$have_audit" != xno]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE([elfutils], - AS_HELP_STRING([--disable-elfutils], [disable optional ELFUTILS support]), - [case "${enableval}" in - yes) have_elfutils=yes ;; - no) have_elfutils=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-elfutils) ;; - esac], - [have_elfutils=auto]) - -if test "x${have_elfutils}" != xno ; then - AC_CHECK_HEADERS( - [elfutils/libdwfl.h], - [], - [if test "x$have_elfutils" = xyes ; then - AC_MSG_ERROR([*** ELFUTILS headers not found.]) - fi]) - - AC_CHECK_LIB( - [dw], - [dwfl_core_file_attach], - [have_elfutils=yes], - [if test "x$have_elfutils" = xyes ; then - AC_MSG_ERROR([*** ELFUTILS >= 158 is required.]) - fi]) - - if test "x$have_elfutils" = xyes ; then - ELFUTILS_LIBS="-lelf -ldw" - AC_DEFINE(HAVE_ELFUTILS, 1, [ELFUTILS available]) - else - have_elfutils=no - fi -else - ELFUTILS_LIBS= -fi -AC_SUBST(ELFUTILS_LIBS) -AM_CONDITIONAL(HAVE_ELFUTILS, [test "$have_elfutils" = "yes"]) - -# ------------------------------------------------------------------------------ -have_libcryptsetup=no -AC_ARG_ENABLE(libcryptsetup, AS_HELP_STRING([--disable-libcryptsetup], [disable libcryptsetup tools])) -if test "x$enable_libcryptsetup" != "xno"; then - PKG_CHECK_MODULES(LIBCRYPTSETUP, [ libcryptsetup >= 1.6.0 ], - [AC_DEFINE(HAVE_LIBCRYPTSETUP, 1, [Define if libcryptsetup is available]) have_libcryptsetup=yes], have_libcryptsetup=no) - if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then - AC_MSG_ERROR([*** libcryptsetup support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_LIBCRYPTSETUP, [test "$have_libcryptsetup" = "yes"]) - -# ------------------------------------------------------------------------------ -have_qrencode=no -AC_ARG_ENABLE(qrencode, AS_HELP_STRING([--disable-qrencode], [disable qrencode support])) -if test "x$enable_qrencode" != "xno"; then - PKG_CHECK_MODULES(QRENCODE, [ libqrencode ], - [AC_DEFINE(HAVE_QRENCODE, 1, [Define if qrencode is available]) have_qrencode=yes], have_qrencode=no) - if test "x$have_qrencode" = xno -a "x$enable_qrencode" = xyes; then - AC_MSG_ERROR([*** qrencode support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_QRENCODE, [test "$have_qrencode" = "yes"]) - -# ------------------------------------------------------------------------------ -have_gnutls=no -AC_ARG_ENABLE(gnutls, AS_HELP_STRING([--disable-gnutls], [disable gnutls support])) -if test "x$enable_gnutls" != "xno"; then - PKG_CHECK_MODULES(GNUTLS, [gnutls >= 3.1.4], - [AC_DEFINE(HAVE_GNUTLS, 1, [Define if gnutls is available]) have_gnutls=yes], have_gnutls=no) - if test "x$have_gnutls" = xno -a "x$enable_gnutls" = xyes; then - AC_MSG_ERROR([*** gnutls support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_GNUTLS, [test "$have_gnutls" = "yes"]) - -# ------------------------------------------------------------------------------ -have_microhttpd=no -AC_ARG_ENABLE(microhttpd, AS_HELP_STRING([--disable-microhttpd], [disable microhttpd support])) -if test "x$enable_microhttpd" != "xno"; then - PKG_CHECK_MODULES(MICROHTTPD, [libmicrohttpd >= 0.9.33], - [AC_DEFINE(HAVE_MICROHTTPD, 1, [Define if microhttpd is available]) - have_microhttpd=yes - M4_DEFINES="$M4_DEFINES -DHAVE_MICROHTTPD"], - [have_microhttpd=no]) - if test "x$have_microhttpd" = xno -a "x$enable_microhttpd" = xyes; then - AC_MSG_ERROR([*** microhttpd support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_MICROHTTPD, [test "$have_microhttpd" = "yes"]) - -# ------------------------------------------------------------------------------ -have_libcurl=no -AC_ARG_ENABLE(libcurl, AS_HELP_STRING([--disable-libcurl], [disable libcurl support])) -if test "x$enable_libcurl" != "xno"; then - PKG_CHECK_MODULES(LIBCURL, [libcurl >= 7.32.0], - [AC_DEFINE(HAVE_LIBCURL, 1, [Define if libcurl is available]) - have_libcurl=yes - M4_DEFINES="$M4_DEFINES -DHAVE_LIBCURL"], - [have_libcurl=no]) - if test "x$have_libcurl" = xno -a "x$enable_libcurl" = xyes; then - AC_MSG_ERROR([*** libcurl support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_LIBCURL, [test "$have_libcurl" = "yes"]) - -# ------------------------------------------------------------------------------ -AM_CONDITIONAL(HAVE_REMOTE, [test "$have_microhttpd" = "yes" -o "$have_libcurl" = "yes"]) - -# ------------------------------------------------------------------------------ -have_libidn=no -AC_ARG_ENABLE(libidn, AS_HELP_STRING([--disable-libidn], [disable optional LIBIDN support])) -if test "x$enable_libidn" != "xno"; then - PKG_CHECK_MODULES(LIBIDN, [libidn], - [AC_DEFINE(HAVE_LIBIDN, 1, [Define if libidn is available]) - have_libidn=yes - M4_DEFINES="$M4_DEFINES -DHAVE_LIBIDN"], - [have_libidn=no]) - if test "x$have_libidn" = "xno" -a "x$enable_libidn" = "xyes"; then - AC_MSG_ERROR([*** libidn support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_LIBIDN, [test "$have_libidn" = "yes"]) - -have_libidn2=no -AC_ARG_ENABLE(libidn2, AS_HELP_STRING([--disable-libidn2], [disable optional LIBIDN2 support])) -if test "$have_libidn" != "yes"; then - if test "x$enable_libidn2" != "xno"; then - PKG_CHECK_MODULES(LIBIDN2, [libidn2 >= 2.0.0], - [AC_DEFINE(HAVE_LIBIDN2, 1, [Define if libidn2 is available]) - have_libidn2=yes - M4_DEFINES="$M4_DEFINES -DHAVE_LIBIDN2"], - [have_libidn2=no]) - if test "x$have_libidn2" = "xno" -a "x$enable_libidn2" = "xyes"; then - AC_MSG_ERROR([*** libidn2 support requested but libraries not found]) - fi - fi -fi -AM_CONDITIONAL(HAVE_LIBIDN2, [test "$have_libidn2" = "yes"]) - -# ------------------------------------------------------------------------------ -have_idn=no -AC_ARG_ENABLE(idn, AS_HELP_STRING([--disable-idn], [disable IDN when printing host names])) -if test "x$enable_idn" != "xno"; then - have_idn=yes - AC_DEFINE(ENABLE_IDN, [1], [IDN is enabled]) -fi -AM_CONDITIONAL(ENABLE_IDN, [test "$have_idn" = "yes"]) - -# ------------------------------------------------------------------------------ -have_nss_systemd=no -AC_ARG_ENABLE(nss-systemd, AS_HELP_STRING([--disable-nss-systemd], [disable nss-systemd support])) -if test "x$enable_nss_systemd" != "xno"; then - have_nss_systemd=yes - AC_DEFINE(ENABLE_NSS_SYSTEMD, [1], [nss-systemd is enabled]) -fi -AM_CONDITIONAL(ENABLE_NSS_SYSTEMD, [test "$have_nss_systemd" = "yes"]) - -# ------------------------------------------------------------------------------ -have_libiptc=no -AC_ARG_ENABLE(libiptc, AS_HELP_STRING([--disable-libiptc], [disable optional LIBIPTC support])) -if test "x$enable_libiptc" != "xno"; then - PKG_CHECK_MODULES(LIBIPTC, [libiptc], - [AC_DEFINE(HAVE_LIBIPTC, 1, [Define if libiptc is available]) - have_libiptc=yes - M4_DEFINES="$M4_DEFINES -DHAVE_LIBIPTC"], - [have_libiptc=no]) - if test "x$have_libiptc" = "xno" -a "x$enable_libiptc" = "xyes"; then - AC_MSG_ERROR([*** libiptc support requested but libraries not found]) - fi -fi -AM_CONDITIONAL(HAVE_LIBIPTC, [test "$have_libiptc" = "yes"]) - -# ------------------------------------------------------------------------------ -have_binfmt=no -AC_ARG_ENABLE(binfmt, AS_HELP_STRING([--disable-binfmt], [disable binfmt tool])) -if test "x$enable_binfmt" != "xno"; then - have_binfmt=yes -fi -AM_CONDITIONAL(ENABLE_BINFMT, [test "$have_binfmt" = "yes"]) - -# ------------------------------------------------------------------------------ -have_vconsole=no -AC_ARG_ENABLE(vconsole, AS_HELP_STRING([--disable-vconsole], [disable vconsole tool])) -if test "x$enable_vconsole" != "xno"; then - have_vconsole=yes -fi -AM_CONDITIONAL(ENABLE_VCONSOLE, [test "$have_vconsole" = "yes"]) - -# ------------------------------------------------------------------------------ -have_quotacheck=no -AC_ARG_ENABLE(quotacheck, AS_HELP_STRING([--disable-quotacheck], [disable quotacheck tools])) -if test "x$enable_quotacheck" != "xno"; then - have_quotacheck=yes -fi -AM_CONDITIONAL(ENABLE_QUOTACHECK, [test "$have_quotacheck" = "yes"]) - -# ------------------------------------------------------------------------------ -have_tmpfiles=no -AC_ARG_ENABLE(tmpfiles, AS_HELP_STRING([--disable-tmpfiles], [disable tmpfiles support])) -if test "x$enable_tmpfiles" != "xno"; then - have_tmpfiles=yes -fi -AM_CONDITIONAL(ENABLE_TMPFILES, [test "$have_tmpfiles" = "yes"]) - -# ------------------------------------------------------------------------------ -have_environment_d=no -AC_ARG_ENABLE(environment-d, AS_HELP_STRING([--disable-environment-d], [disable environment.d support])) -if test "x$enable_environment_d" != "xno"; then - have_environment_d=yes -fi -AM_CONDITIONAL(ENABLE_ENVIRONMENT_D, [test "$have_environment_d" = "yes"]) - -# ------------------------------------------------------------------------------ -have_sysusers=no -AC_ARG_ENABLE(sysusers, AS_HELP_STRING([--disable-sysusers], [disable sysusers support])) -if test "x$enable_sysusers" != "xno"; then - have_sysusers=yes -fi -AM_CONDITIONAL(ENABLE_SYSUSERS, [test "$have_sysusers" = "yes"]) - -AC_ARG_ENABLE(gshadow, AS_HELP_STRING([--disable-gshadow], [disable shadow group support])) -AS_IF([test "x${enable_gshadow}" != "xno"], [ - AC_DEFINE(ENABLE_GSHADOW, 1, [shadow group support is enabled]) -]) - -# ------------------------------------------------------------------------------ -have_firstboot=no -AC_ARG_ENABLE(firstboot, AS_HELP_STRING([--disable-firstboot], [disable firstboot support])) -if test "x$enable_firstboot" != "xno"; then - have_firstboot=yes -fi -AM_CONDITIONAL(ENABLE_FIRSTBOOT, [test "$have_firstboot" = "yes"]) - -# ------------------------------------------------------------------------------ -have_randomseed=no -AC_ARG_ENABLE(randomseed, AS_HELP_STRING([--disable-randomseed], [disable randomseed tools])) -if test "x$enable_randomseed" != "xno"; then - have_randomseed=yes -fi -AM_CONDITIONAL(ENABLE_RANDOMSEED, [test "$have_randomseed" = "yes"]) - -# ------------------------------------------------------------------------------ -have_backlight=no -AC_ARG_ENABLE(backlight, AS_HELP_STRING([--disable-backlight], [disable backlight tools])) -if test "x$enable_backlight" != "xno"; then - have_backlight=yes -fi -AM_CONDITIONAL(ENABLE_BACKLIGHT, [test "$have_backlight" = "yes"]) - -# ------------------------------------------------------------------------------ -have_rfkill=no -AC_ARG_ENABLE(rfkill, AS_HELP_STRING([--disable-rfkill], [disable rfkill tools])) -if test "x$enable_rfkill" != "xno"; then - have_rfkill=yes -fi -AM_CONDITIONAL(ENABLE_RFKILL, [test "$have_rfkill" = "yes"]) - -# ------------------------------------------------------------------------------ -have_logind=no -AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon])) -if test "x$enable_logind" != "xno"; then - have_logind=yes -fi -AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"]) -AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(ENABLE_LOGIND, [1], [Logind support available]) ]) - -AC_ARG_WITH([kill-user-processes], - [AS_HELP_STRING([--without-kill-user-processes], [set logind's KillUserProcesses=no by default])]) -AS_IF([test "$with_kill_user_processes" != "no"], - [kill_user_processes=true - KILL_USER_PROCESSES=yes], - [kill_user_processes=false - KILL_USER_PROCESSES=no]) -AC_DEFINE_UNQUOTED(KILL_USER_PROCESSES, [$kill_user_processes], [Default KillUserProcesses setting]) -AC_SUBST(KILL_USER_PROCESSES) - -# ------------------------------------------------------------------------------ -have_machined=no -AC_ARG_ENABLE(machined, AS_HELP_STRING([--disable-machined], [disable machine daemon])) -if test "x$enable_machined" != "xno"; then - have_machined=yes - AC_DEFINE(HAVE_MACHINED, [1], [systemd-machined is enabled]) -fi -AM_CONDITIONAL(ENABLE_MACHINED, [test "$have_machined" = "yes"]) - -# ------------------------------------------------------------------------------ -have_importd=no -AC_ARG_ENABLE(importd, AS_HELP_STRING([--disable-importd], [disable import daemon])) -if test "x$enable_importd" != "xno"; then - have_importd=yes -fi -AM_CONDITIONAL(ENABLE_IMPORTD, [test "$have_importd" = "yes"]) -AS_IF([test "$have_importd" = "yes"], [ AC_DEFINE(HAVE_IMPORTD, [1], [Importd support available]) ]) - -# ------------------------------------------------------------------------------ -have_hostnamed=no -AC_ARG_ENABLE(hostnamed, AS_HELP_STRING([--disable-hostnamed], [disable hostname daemon])) -if test "x$enable_hostnamed" != "xno"; then - have_hostnamed=yes -fi -AM_CONDITIONAL(ENABLE_HOSTNAMED, [test "$have_hostnamed" = "yes"]) - -# ------------------------------------------------------------------------------ -have_timedated=no -AC_ARG_ENABLE(timedated, AS_HELP_STRING([--disable-timedated], [disable timedate daemon])) -if test "x$enable_timedated" != "xno"; then - have_timedated=yes -fi -AM_CONDITIONAL(ENABLE_TIMEDATED, [test "$have_timedated" = "yes"]) - -# ------------------------------------------------------------------------------ -have_timesyncd=no -AC_ARG_ENABLE(timesyncd, AS_HELP_STRING([--disable-timesyncd], [disable timesync daemon])) -if test "x$enable_timesyncd" != "xno"; then - have_timesyncd=yes - M4_DEFINES="$M4_DEFINES -DENABLE_TIMESYNCD" -fi -AM_CONDITIONAL(ENABLE_TIMESYNCD, [test "$have_timesyncd" = "yes"]) - -AC_ARG_WITH(ntp-servers, - AS_HELP_STRING([--with-ntp-servers=NTPSERVERS], - [space-separated list of default NTP servers]), - [NTP_SERVERS="$withval"], - [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"]) - -AC_DEFINE_UNQUOTED(NTP_SERVERS, ["$NTP_SERVERS"], [Default NTP Servers]) -AC_SUBST(NTP_SERVERS) - -AC_ARG_WITH(time-epoch, - AS_HELP_STRING([--with-time-epoch=SECONDS], - [time epoch for time clients]), - [TIME_EPOCH="$withval"], - [TIME_EPOCH="`stat -c %Y ${srcdir}/NEWS 2>/dev/null || echo 0`"]) - -AC_DEFINE_UNQUOTED(TIME_EPOCH, [$TIME_EPOCH], [Time Epoch]) - -# ------------------------------------------------------------------------------ -AC_ARG_WITH(system-uid-max, - AS_HELP_STRING([--with-system-uid-max=UID] - [maximum UID for system users]), - [SYSTEM_UID_MAX="$withval"], - [SYSTEM_UID_MAX="`awk 'BEGIN { uid=999 } /^\s*SYS_UID_MAX\s+/ { uid=$2 } END { print uid }' /etc/login.defs 2>/dev/null || echo 999`"]) - -AC_DEFINE_UNQUOTED(SYSTEM_UID_MAX, [$SYSTEM_UID_MAX], [Maximum System UID]) -AC_SUBST(SYSTEM_UID_MAX) - -# ------------------------------------------------------------------------------ -AC_ARG_WITH(system-gid-max, - AS_HELP_STRING([--with-system-gid-max=GID] - [maximum GID for system groups]), - [SYSTEM_GID_MAX="$withval"], - [SYSTEM_GID_MAX="`awk 'BEGIN { gid=999 } /^\s*SYS_GID_MAX\s+/ { gid=$2 } END { print gid }' /etc/login.defs 2>/dev/null || echo 999`"]) - -AC_DEFINE_UNQUOTED(SYSTEM_GID_MAX, [$SYSTEM_GID_MAX], [Maximum System GID]) -AC_SUBST(SYSTEM_GID_MAX) - -# ------------------------------------------------------------------------------ - -AC_ARG_WITH(dev-kvm-mode, - AS_HELP_STRING([--with-dev-kvm-mode=MODE], - [/dev/kvm access mode, defaults to "0660"]), - [DEV_KVM_MODE="$withval"], - [DEV_KVM_MODE="0660"]) - -AC_SUBST(DEV_KVM_MODE, [$DEV_KVM_MODE], [/dev/kvm access mode]) - -# ------------------------------------------------------------------------------ -have_localed=no -AC_ARG_ENABLE(localed, AS_HELP_STRING([--disable-localed], [disable locale daemon])) -if test "x$enable_localed" != "xno"; then - have_localed=yes -fi -AM_CONDITIONAL(ENABLE_LOCALED, [test "$have_localed" = "yes"]) - -# ------------------------------------------------------------------------------ -have_coredump=no -AC_ARG_ENABLE(coredump, AS_HELP_STRING([--disable-coredump], [disable coredump hook])) -if test "x$enable_coredump" != "xno"; then - have_coredump=yes - M4_DEFINES="$M4_DEFINES -DENABLE_COREDUMP" -fi -AM_CONDITIONAL(ENABLE_COREDUMP, [test "$have_coredump" = "yes"]) - -# ------------------------------------------------------------------------------ -have_polkit=no -AC_ARG_ENABLE(polkit, AS_HELP_STRING([--disable-polkit], [disable PolicyKit support])) -if test "x$enable_polkit" != "xno"; then - AC_DEFINE(ENABLE_POLKIT, 1, [Define if PolicyKit support is to be enabled]) - have_polkit=yes - - # also enable support for *.pkla files on old polkit - PKG_CHECK_MODULES(POLKIT, [ polkit-gobject-1 < 0.106 ], - [polkit_pkla=yes], - [polkit_pkla=no]) -fi -AM_CONDITIONAL(ENABLE_POLKIT, [test "x$have_polkit" = "xyes"]) -AM_CONDITIONAL(ENABLE_POLKIT_PKLA, [test "x$polkit_pkla" = "xyes"]) - -# ------------------------------------------------------------------------------ -have_resolved=no -AC_ARG_ENABLE(resolved, AS_HELP_STRING([--disable-resolved], [disable resolve daemon])) -AS_IF([test "x$enable_resolved" != "xno"], [ - AC_CHECK_LIB([dl], [dlsym], [true], [AC_MSG_ERROR([*** Dynamic linking loader library not found])]) - - have_resolved=yes - M4_DEFINES="$M4_DEFINES -DENABLE_RESOLVED" - AC_DEFINE(HAVE_RESOLVED, [1], [systemd-resolved is enabled]) -]) -AM_CONDITIONAL(ENABLE_RESOLVED, [test "$have_resolved" = "yes"]) - -AC_ARG_WITH(dns-servers, - AS_HELP_STRING([--with-dns-servers=DNSSERVERS], - [space-separated list of default DNS servers]), - [DNS_SERVERS="$withval"], - [DNS_SERVERS="8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844"]) - -AC_DEFINE_UNQUOTED(DNS_SERVERS, ["$DNS_SERVERS"], [Default DNS Servers]) -AC_SUBST(DNS_SERVERS) - -AC_ARG_WITH(default-dnssec, - AS_HELP_STRING([--with-default-dnssec=MODE], - [default DNSSEC mode, defaults to "allow-downgrade"]), - [DEFAULT_DNSSEC_MODE="$withval"], - [DEFAULT_DNSSEC_MODE="allow-downgrade"]) - -if test "x$have_gcrypt" = xno -a "x${DEFAULT_DNSSEC_MODE}" != xno ; then - AC_MSG_WARN(default-dnssec cannot be set to yes or allow-downgrade when gcrypt is disabled. Setting default-dnssec to no.) - DEFAULT_DNSSEC_MODE="no" -fi - -AS_CASE("x${DEFAULT_DNSSEC_MODE}", - [xno], [mode=DNSSEC_NO], - [xyes], [mode=DNSSEC_YES], - [xallow-downgrade], [mode=DNSSEC_ALLOW_DOWNGRADE], - AC_MSG_ERROR(Bad DNSSEC mode ${DEFAULT_DNSSEC_MODE})) -AC_DEFINE_UNQUOTED(DEFAULT_DNSSEC_MODE, [$mode], [Default DNSSEC mode]) -AC_SUBST(DEFAULT_DNSSEC_MODE) - -# ------------------------------------------------------------------------------ -have_networkd=no -AC_ARG_ENABLE(networkd, AS_HELP_STRING([--disable-networkd], [disable networkd])) -AS_IF([test "x$enable_networkd" != "xno"], [ - AC_DEFINE(ENABLE_NETWORKD, 1, [Define if networkd support is to be enabled]) - have_networkd=yes - M4_DEFINES="$M4_DEFINES -DENABLE_NETWORKD" -]) -AM_CONDITIONAL(ENABLE_NETWORKD, [test "x$have_networkd" = "xyes"]) - -# ------------------------------------------------------------------------------ -have_efi=no -AC_ARG_ENABLE(efi, AS_HELP_STRING([--disable-efi], [disable systemd-boot and bootctl (EFI support)])) -if test "x$enable_efi" != "xno"; then - AC_DEFINE(ENABLE_EFI, 1, [Define if systemd-boot and bootctl are to be enabled]) - have_efi=yes -fi -AM_CONDITIONAL(ENABLE_EFI, [test "x$have_efi" = "xyes"]) - -# ------------------------------------------------------------------------------ -AC_CHECK_TOOL(EFI_CC, gcc) - -EFI_ARCH=`echo $host | sed "s/\(-\).*$//"` - -AM_COND_IF(ARCH_IA32, [ - EFI_ARCH=ia32 - EFI_MACHINE_TYPE_NAME=ia32]) - -AM_COND_IF(ARCH_X86_64, [ - EFI_MACHINE_TYPE_NAME=x64]) - -AM_COND_IF(ARCH_ARM, [ - EFI_MACHINE_TYPE_NAME=arm]) - -AM_COND_IF(ARCH_AARCH64, [ - EFI_MACHINE_TYPE_NAME=aa64]) - -AC_SUBST([EFI_ARCH]) -AC_SUBST([EFI_MACHINE_TYPE_NAME]) - -have_gnuefi=no -AC_ARG_ENABLE(gnuefi, AS_HELP_STRING([--enable-gnuefi], [enable optional gnuefi support])) -AS_IF([test "x$enable_gnuefi" != "xno"], [ - AC_ARG_WITH(efi-includedir, - AS_HELP_STRING([--with-efi-includedir=PATH], [path to EFI include directory]), - [EFI_INC_DIR="$withval"], [EFI_INC_DIR="/usr/include"] - ) - AC_SUBST([EFI_INC_DIR]) - - AC_CHECK_HEADERS(${EFI_INC_DIR}/efi/${EFI_ARCH}/efibind.h, - [AC_DEFINE(HAVE_GNUEFI, 1, [Define if gnuefi is available]) - have_gnuefi=yes], - [AS_IF([test "x$enable_gnuefi" = xyes], - [AC_MSG_ERROR([*** gnuefi support requested but headers not found])]) - ]) - - efiroot=$(echo $(cd /usr/lib/$(${EFI_CC} -print-multi-os-directory); pwd)) - - EFI_LIB_DIR="$efiroot" - AC_ARG_WITH(efi-libdir, - AS_HELP_STRING([--with-efi-libdir=PATH], [path to EFI lib directory]), - [EFI_LIB_DIR="$withval"], [EFI_LIB_DIR="$efiroot"] - ) - AC_SUBST([EFI_LIB_DIR]) - - have_efi_lds=no - AC_ARG_WITH(efi-ldsdir, - AS_HELP_STRING([--with-efi-ldsdir=PATH], [path to EFI lds directory]), - [EFI_LDS_DIR="$withval" && AS_IF([test -f "${EFI_LDS_DIR}/elf_${EFI_ARCH}_efi.lds"], - [have_efi_lds=yes])], - [AS_FOR([DIR], [EFI_LDS_DIR], ["${EFI_LIB_DIR}/gnuefi" "${EFI_LIB_DIR}"], - [AS_IF([test -f "${EFI_LDS_DIR}/elf_${EFI_ARCH}_efi.lds"], - [have_efi_lds=yes && break])])]) - AS_IF([test "x$have_efi_lds" = xyes], - [AC_SUBST([EFI_LDS_DIR])], - [AS_IF([test "x$enable_gnuefi" = xyes], - [AC_MSG_ERROR([*** gnuefi support requested but files not found])], - [have_gnuefi=no])]) -]) -AM_CONDITIONAL(HAVE_GNUEFI, [test "x$have_gnuefi" = xyes]) - -# ------------------------------------------------------------------------------ -have_tpm=no -AC_ARG_ENABLE(tpm, AS_HELP_STRING([--disable-tpm], [disable optional support])) -if test "x${enable_tpm}" != xno ; then - AC_DEFINE(SD_BOOT_LOG_TPM, 1, [Define if TPM should be used to log events and extend the registers]) - have_tpm=yes -fi - -AC_ARG_WITH(tpm-pcrindex, - AS_HELP_STRING([--with-tpm-pcrindex=<NUM>], - [TPM PCR register number to use]), - [SD_TPM_PCR="$withval"], - [SD_TPM_PCR="8"]) - -AC_DEFINE_UNQUOTED(SD_TPM_PCR, [$SD_TPM_PCR], [TPM PCR register number to use]) - -# ------------------------------------------------------------------------------ -AC_ARG_WITH(rc-local-script-path-start, - AS_HELP_STRING([--with-rc-local-script-path-start=PATH], - [path to /etc/rc.local]), - [RC_LOCAL_SCRIPT_PATH_START="$withval"], - [RC_LOCAL_SCRIPT_PATH_START="/etc/rc.local"]) - -AC_ARG_WITH(rc-local-script-path-stop, - AS_HELP_STRING([--with-rc-local-script-path-stop=PATH], - [path to /usr/sbin/halt.local]), - [RC_LOCAL_SCRIPT_PATH_STOP="$withval"], - [RC_LOCAL_SCRIPT_PATH_STOP="/usr/sbin/halt.local"]) - -AC_DEFINE_UNQUOTED(RC_LOCAL_SCRIPT_PATH_START, ["$RC_LOCAL_SCRIPT_PATH_START"], [Path of /etc/rc.local script]) -AC_DEFINE_UNQUOTED(RC_LOCAL_SCRIPT_PATH_STOP, ["$RC_LOCAL_SCRIPT_PATH_STOP"], [Path of /usr/sbin/halt.local script]) - -AC_SUBST(RC_LOCAL_SCRIPT_PATH_START) -AC_SUBST(RC_LOCAL_SCRIPT_PATH_STOP) - -# ------------------------------------------------------------------------------ -AC_ARG_WITH(kbd-loadkeys, - AS_HELP_STRING([--with-kbd-loadkeys=PATH], - [path to loadkeys]), - [KBD_LOADKEYS="$withval"], - [KBD_LOADKEYS="/usr/bin/loadkeys"]) - -AC_ARG_WITH(kbd-setfont, - AS_HELP_STRING([--with-kbd-setfont=PATH], - [path to setfont]), - [KBD_SETFONT="$withval"], - [KBD_SETFONT="/usr/bin/setfont"]) - -AC_DEFINE_UNQUOTED(KBD_LOADKEYS, ["$KBD_LOADKEYS"], [Path of loadkeys]) -AC_DEFINE_UNQUOTED(KBD_SETFONT, ["$KBD_SETFONT"], [Path of setfont]) - -AC_SUBST(KBD_LOADKEYS) -AC_SUBST(KBD_SETFONT) - -AC_ARG_WITH(telinit, - AS_HELP_STRING([--with-telinit=PATH], - [path to telinit]), - [TELINIT="$withval"], - [TELINIT="/lib/sysvinit/telinit"]) - -AC_DEFINE_UNQUOTED(TELINIT, ["$TELINIT"], [Path to telinit]) - -AC_SUBST(TELINIT) - -AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h valgrind/valgrind.h]) - -# ------------------------------------------------------------------------------ -have_myhostname=no -AC_ARG_ENABLE(myhostname, AS_HELP_STRING([--disable-myhostname], [disable nss-myhostname support])) -if test "x$enable_myhostname" != "xno"; then - AC_HEADER_STDC - AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h nss.h sys/ioctl.h sys/auxv.h]) - - AC_C_CONST - AC_TYPE_SIZE_T - AC_HEADER_TIME - - AC_FUNC_SELECT_ARGTYPES - AC_CHECK_FUNCS([gethostbyaddr gethostbyname gettimeofday inet_ntoa memset select socket strcspn strdup strerror strncasecmp strcasecmp strspn]) - - have_myhostname=yes - AC_DEFINE(HAVE_MYHOSTNAME, [1], [nss-myhostname is enabled]) -fi -AM_CONDITIONAL(HAVE_MYHOSTNAME, [test "$have_myhostname" = "yes"]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE(hwdb, [AS_HELP_STRING([--disable-hwdb], [disable hardware database support])], - enable_hwdb=$enableval, enable_hwdb=yes) -AM_CONDITIONAL(ENABLE_HWDB, [test x$enable_hwdb = xyes]) - -# ------------------------------------------------------------------------------ -have_manpages=no -AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages])) -AC_PATH_PROG([XSLTPROC], [xsltproc]) -AS_IF([test "x$enable_manpages" != xno], [ - have_manpages=yes - AS_IF([test -z "$XSLTPROC"], - AC_MSG_ERROR([*** xsltproc is required for man pages])) -]) -AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE(hibernate, - [AS_HELP_STRING([--disable-hibernate], [disable hibernation support])], - enable_hibernate=$enableval, enable_hibernate=yes) -AM_CONDITIONAL(ENABLE_HIBERNATE, [test x$enable_hibernate = xyes]) - -# ------------------------------------------------------------------------------ -AC_ARG_ENABLE(ldconfig, - [AS_HELP_STRING([--disable-ldconfig], [disable ldconfig])], - enable_ldconfig=$enableval, enable_ldconfig=yes) -AM_CONDITIONAL(ENABLE_LDCONFIG, [test x$enable_ldconfig = xyes]) - -# ------------------------------------------------------------------------------ -# Location of the init scripts as mandated by LSB -SYSTEM_SYSVINIT_PATH=/etc/init.d -SYSTEM_SYSVRCND_PATH=/etc/rc.d - -AC_ARG_WITH([sysvinit-path], - [AS_HELP_STRING([--with-sysvinit-path=PATH], - [specify the path to where the SysV init scripts are located])], - [SYSTEM_SYSVINIT_PATH="$withval"], - []) - -AC_ARG_WITH([sysvrcnd-path], - [AS_HELP_STRING([--with-sysvrcnd-path=PATH], - [specify the path to the base directory for the SysV rcN.d directories])], - [SYSTEM_SYSVRCND_PATH="$withval"], - []) - -if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then - AC_DEFINE(HAVE_SYSV_COMPAT, [], [SysV init scripts and rcN.d links are supported.]) - SYSTEM_SYSV_COMPAT="yes" - M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT" -elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then - AC_MSG_ERROR([*** You need both --with-sysvinit-path=PATH and --with-sysvrcnd-path=PATH to enable SysV compatibility support, or both empty to disable it.]) -else - SYSTEM_SYSV_COMPAT="no" -fi - -AC_SUBST(SYSTEM_SYSVINIT_PATH) -AC_SUBST(SYSTEM_SYSVRCND_PATH) -AC_SUBST(M4_DEFINES) - -AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes") - -AC_ARG_WITH([tty-gid], - [AS_HELP_STRING([--with-tty-gid=GID], - [specify the numeric GID of the 'tty' group])], - [TTY_GID="$withval"], - [TTY_GID="5"]) - -AC_DEFINE_UNQUOTED(TTY_GID, [$TTY_GID], [GID of the 'tty' group]) -AC_SUBST(TTY_GID) - -AC_ARG_WITH([dbuspolicydir], - AS_HELP_STRING([--with-dbuspolicydir=DIR], [D-Bus policy directory]), - [], - [with_dbuspolicydir=${datadir}/dbus-1/system.d]) -AX_NORMALIZE_PATH([with_dbuspolicydir]) - -AC_ARG_WITH([dbussessionservicedir], - AS_HELP_STRING([--with-dbussessionservicedir=DIR], [D-Bus session service directory]), - [], - [with_dbussessionservicedir=${datadir}/dbus-1/services]) -AX_NORMALIZE_PATH([with_dbussessionservicedir]) - -AC_ARG_WITH([dbussystemservicedir], - AS_HELP_STRING([--with-dbussystemservicedir=DIR], [D-Bus system service directory]), - [], - [with_dbussystemservicedir=${datadir}/dbus-1/system-services]) -AX_NORMALIZE_PATH([with_dbussystemservicedir]) - -AC_ARG_WITH([bashcompletiondir], - AS_HELP_STRING([--with-bashcompletiondir=DIR], [bash completions directory]), - [], - [AS_IF([$($PKG_CONFIG --exists bash-completion)], [ - with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion) - ] , [ - with_bashcompletiondir=${datadir}/bash-completion/completions - ])]) -AM_CONDITIONAL(ENABLE_BASH_COMPLETION, [test "$with_bashcompletiondir" != "no"]) -AX_NORMALIZE_PATH([with_bashcompletiondir]) - -AC_ARG_WITH([zshcompletiondir], - AS_HELP_STRING([--with-zshcompletiondir=DIR], [zsh completions directory]), - [], [with_zshcompletiondir=${datadir}/zsh/site-functions]) -AM_CONDITIONAL(ENABLE_ZSH_COMPLETION, [test "$with_zshcompletiondir" != "no"]) -AX_NORMALIZE_PATH([with_zshcompletiondir]) - -AC_ARG_WITH([rootprefix], - AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]), - [], [with_rootprefix=${ac_default_prefix}]) -# --with-rootprefix= (empty) should default to "/" but AX_NORMALIZE_PATH -# defaults those to ".", solve that here for now until we can find a suitable -# fix for AX_NORMALIZE_PATH upstream at autoconf-archive. -# See: https://github.com/systemd/systemd/issues/54 -if test "x${with_rootprefix}" = "x"; then - with_rootprefix="/" -fi -AX_NORMALIZE_PATH([with_rootprefix]) - -AC_ARG_WITH([rootlibdir], - AS_HELP_STRING([--with-rootlibdir=DIR], [root directory for libraries necessary for boot]), - [], - [with_rootlibdir=${libdir}]) -AX_NORMALIZE_PATH([with_rootlibdir]) - -AC_ARG_WITH([pamlibdir], - AS_HELP_STRING([--with-pamlibdir=DIR], [directory for PAM modules]), - [], - [with_pamlibdir=${with_rootlibdir}/security]) -AX_NORMALIZE_PATH([with_pamlibdir]) - -AC_ARG_WITH([pamconfdir], - AS_HELP_STRING([--with-pamconfdir=DIR], [directory for PAM configuration (pass no to disable installing)]), - [], - [with_pamconfdir=${sysconfdir}/pam.d]) -AM_CONDITIONAL(ENABLE_PAM_CONFIG, [test "$with_pamconfdir" != "no"]) -AX_NORMALIZE_PATH([with_pamconfdir]) - -AC_ARG_WITH([rpmmacrosdir], - AS_HELP_STRING([--with-rpmmacrosdir=DIR], [directory to store macros for RPM]), - [], [with_rpmmacrosdir=\${prefix}/lib/rpm/macros.d]) -AM_CONDITIONAL(ENABLE_RPM_MACROS, [test "$with_rpmmacrosdir" != "no"]) -AX_NORMALIZE_PATH([with_rpmmacrosdir]) - -AC_ARG_ENABLE([split-usr], - AS_HELP_STRING([--enable-split-usr], [assume that /bin, /sbin aren't symlinks into /usr]), - [], - [AS_IF([test "x${ac_default_prefix}" != "x${with_rootprefix}"], [ - enable_split_usr=yes - ], [ - enable_split_usr=no - ])]) - -AS_IF([test "x${enable_split_usr}" = "xyes"], [ - AC_DEFINE(HAVE_SPLIT_USR, 1, [Define if /bin, /sbin aren't symlinks into /usr]) -]) -AM_CONDITIONAL(ENABLE_SPLIT_USR, [test "x${enable_split_usr}" = "xyes"]) - -# work around intltool-update issues during 'make distcheck' -AS_IF([test "x$0" != "x./configure"], [ - AC_SUBST([INTLTOOL_UPDATE], [/bin/true]) -]) - -# QEMU and OVMF UEFI firmware -AS_IF([test x"$cross_compiling" = "xyes"], [], [ - AC_PATH_PROG([QEMU], [qemu-system-x86_64]) - AC_CHECK_FILE([/usr/share/qemu/bios-ovmf.bin], [QEMU_BIOS=/usr/share/qemu/bios-ovmf.bin], - [AC_CHECK_FILE([/usr/share/qemu-ovmf/bios.bin], [QEMU_BIOS=/usr/share/qemu-ovmf/bios.bin])]) - AC_SUBST([QEMU_BIOS]) -]) - -AC_ARG_ENABLE(tests, - [AS_HELP_STRING([--disable-tests], [disable tests, or enable extra tests with =unsafe])], - enable_tests=$enableval, enable_tests=yes) -AM_CONDITIONAL(ENABLE_TESTS, [test x$enable_tests = xyes -o x$enable_tests = xunsafe]) -AM_CONDITIONAL(ENABLE_UNSAFE_TESTS, [test x$enable_tests = xunsafe]) - -AC_ARG_ENABLE(debug, - [AS_HELP_STRING([--enable-debug@<:@=LIST@:>@], [enable extra debugging (hashmap,mmap-cache)])], - [if test "x$enableval" = "xyes"; then - enableval="hashmap,mmap-cache" - fi - saved_ifs="$IFS" - IFS="$IFS$PATH_SEPARATOR," - for name in $enableval; do - case $name in - hashmap) - enable_debug_hashmap=yes - ;; - mmap-cache) - enable_debug_mmap_cache=yes - ;; - esac - done - IFS="$saved_ifs"],[]) - -enable_debug="" -AS_IF([test x$enable_debug_hashmap = xyes], [ - AC_DEFINE(ENABLE_DEBUG_HASHMAP, 1, [Define if hashmap debugging is to be enabled]) - enable_debug="hashmap $enable_debug" -]) -AS_IF([test x$enable_debug_mmap_cache = xyes], [ - AC_DEFINE(ENABLE_DEBUG_MMAP_CACHE, 1, [Define if mmap cache debugging is to be enabled]) - enable_debug="mmap-cache $enable_debug" -]) -test -z "$enable_debug" && enable_debug="none" - -AC_SUBST([dbuspolicydir], [$with_dbuspolicydir]) -AC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir]) -AC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir]) -AC_SUBST([bashcompletiondir], [$with_bashcompletiondir]) -AC_SUBST([zshcompletiondir], [$with_zshcompletiondir]) -AC_SUBST([pamlibdir], [$with_pamlibdir]) -AC_SUBST([pamconfdir], [$with_pamconfdir]) -AC_SUBST([rpmmacrosdir], [$with_rpmmacrosdir]) -AC_SUBST([rootprefix], [$with_rootprefix]) -AC_SUBST([rootlibdir], [$with_rootlibdir]) - -AC_CONFIG_FILES([ - Makefile - po/Makefile.in -]) - -AC_OUTPUT -AC_MSG_RESULT([ - $PACKAGE_NAME $PACKAGE_VERSION - - libcryptsetup: ${have_libcryptsetup} - PAM: ${have_pam} - AUDIT: ${have_audit} - IMA: ${have_ima} - AppArmor: ${have_apparmor} - SELinux: ${have_selinux} - SECCOMP: ${have_seccomp} - SMACK: ${have_smack} - ZLIB: ${have_zlib} - XZ: ${have_xz} - LZ4: ${have_lz4} - BZIP2: ${have_bzip2} - ACL: ${have_acl} - GCRYPT: ${have_gcrypt} - QRENCODE: ${have_qrencode} - MICROHTTPD: ${have_microhttpd} - GNUTLS: ${have_gnutls} - libcurl: ${have_libcurl} - libidn2: ${have_libidn2} - libidn: ${have_libidn} - IDN: ${have_idn} - libiptc: ${have_libiptc} - ELFUTILS: ${have_elfutils} - binfmt: ${have_binfmt} - vconsole: ${have_vconsole} - quotacheck: ${have_quotacheck} - tmpfiles: ${have_tmpfiles} - environment.d: ${have_environment_d} - sysusers: ${have_sysusers} - firstboot: ${have_firstboot} - randomseed: ${have_randomseed} - backlight: ${have_backlight} - rfkill: ${have_rfkill} - logind: ${have_logind} - default cgroup hierarchy: ${DEFAULT_HIERARCHY} - default KillUserProcesses setting: ${KILL_USER_PROCESSES} - machined: ${have_machined} - importd: ${have_importd} - hostnamed: ${have_hostnamed} - timedated: ${have_timedated} - timesyncd: ${have_timesyncd} - default NTP servers: ${NTP_SERVERS} - time epoch: ${TIME_EPOCH} - localed: ${have_localed} - networkd: ${have_networkd} - resolved: ${have_resolved} - default DNS servers: ${DNS_SERVERS} - default DNSSEC mode: ${DEFAULT_DNSSEC_MODE} - coredump: ${have_coredump} - polkit: ${have_polkit} (legacy pkla support: ${polkit_pkla}) - efi: ${have_efi} - gnuefi: ${have_gnuefi} - efi arch: ${EFI_ARCH} - EFI machine type: ${EFI_MACHINE_TYPE_NAME} - EFI CC ${EFI_CC} - EFI libdir: ${EFI_LIB_DIR} - EFI ldsdir: ${EFI_LDS_DIR} - EFI includedir: ${EFI_INC_DIR} - kmod: ${have_kmod} - xkbcommon: ${have_xkbcommon} - blkid: ${have_blkid} - libmount: ${have_libmount} - dbus: ${have_dbus} - glib: ${have_glib} - nss-myhostname: ${have_myhostname} - nss-systemd: ${have_nss_systemd} - hwdb: ${enable_hwdb} - tpm: ${have_tpm} - Python: ${have_python} - man pages: ${have_manpages} - test coverage: ${have_coverage} - Split /usr: ${enable_split_usr} - SysV compatibility: ${SYSTEM_SYSV_COMPAT} - utmp/wtmp support: ${have_utmp} - ldconfig support: ${enable_ldconfig} - hibernate support: ${enable_hibernate} - extra debugging: ${enable_debug} - tests: ${enable_tests} - - prefix: ${prefix} - rootprefix: ${with_rootprefix} - sysconf dir: ${sysconfdir} - datarootdir: ${datarootdir} - includedir: ${includedir} - lib dir: ${libdir} - rootlib dir: ${with_rootlibdir} - SysV init scripts: ${SYSTEM_SYSVINIT_PATH} - SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH} - build Python: ${PYTHON} - PAM modules dir: ${with_pamlibdir} - PAM configuration dir: ${with_pamconfdir} - RPM macros dir: ${with_rpmmacrosdir} - D-Bus policy dir: ${with_dbuspolicydir} - D-Bus session dir: ${with_dbussessionservicedir} - D-Bus system dir: ${with_dbussystemservicedir} - bash completions dir: ${with_bashcompletiondir} - zsh completions dir: ${with_zshcompletiondir} - extra start script: ${RC_LOCAL_SCRIPT_PATH_START} - extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP} - adm group: ${have_adm_group} - wheel group: ${have_wheel_group} - debug shell: ${SUSHELL} @ ${DEBUGTTY} - TTY GID: ${TTY_GID} - maximum system UID: ${SYSTEM_UID_MAX} - maximum system GID: ${SYSTEM_GID_MAX} - /dev/kvm access mode: ${DEV_KVM_MODE} - certificate root: ${CERTIFICATEROOT} - support URL: ${SUPPORT_URL} - nobody user name: ${NOBODY_USER_NAME} - nobody group name: ${NOBODY_GROUP_NAME} - fallback hostname: ${FALLBACK_HOSTNAME} - - CFLAGS: ${OUR_CFLAGS} ${CFLAGS} - CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS} - LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS} -]) diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index 35b5e99aee..0000000000 --- a/docs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/html diff --git a/docs/Makefile b/docs/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/docs/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/docs/sysvinit/.gitignore b/docs/sysvinit/.gitignore deleted file mode 100644 index c3fea7424f..0000000000 --- a/docs/sysvinit/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/README diff --git a/docs/sysvinit/Makefile b/docs/sysvinit/Makefile deleted file mode 120000 index 50be21181f..0000000000 --- a/docs/sysvinit/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../src/Makefile
\ No newline at end of file diff --git a/docs/var-log/.gitignore b/docs/var-log/.gitignore deleted file mode 100644 index c3fea7424f..0000000000 --- a/docs/var-log/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/README diff --git a/docs/var-log/Makefile b/docs/var-log/Makefile deleted file mode 120000 index 50be21181f..0000000000 --- a/docs/var-log/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../src/Makefile
\ No newline at end of file diff --git a/hwdb/Makefile b/hwdb/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/hwdb/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index 55eaa803a1..0000000000 --- a/m4/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -intltool.m4 -libtool.m4 -ltoptions.m4 -ltsugar.m4 -ltversion.m4 -lt~obsolete.m4 diff --git a/m4/arch.m4 b/m4/arch.m4 deleted file mode 100644 index f17b4278eb..0000000000 --- a/m4/arch.m4 +++ /dev/null @@ -1,13 +0,0 @@ - -dnl SET_ARCH(ARCHNAME, PATTERN) -dnl -dnl Define ARCH_<archname> condition if the pattern match with the current -dnl architecture -dnl -AC_DEFUN([SET_ARCH], [ - cpu_$1=false - case "$host" in - $2) cpu_$1=true ;; - esac - AM_CONDITIONAL(AS_TR_CPP(ARCH_$1), [test "x$cpu_$1" = xtrue]) -]) diff --git a/m4/attributes.m4 b/m4/attributes.m4 deleted file mode 100644 index 51ac88be61..0000000000 --- a/m4/attributes.m4 +++ /dev/null @@ -1,292 +0,0 @@ -dnl Macros to check the presence of generic (non-typed) symbols. -dnl Copyright (c) 2006-2008 Diego Pettenò <flameeyes@gmail.com> -dnl Copyright (c) 2006-2008 xine project -dnl Copyright (c) 2012 Lucas De Marchi <lucas.de.marchi@gmail.com> -dnl -dnl This program is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2, or (at your option) -dnl any later version. -dnl -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -dnl GNU General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software -dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -dnl 02110-1301, USA. -dnl -dnl As a special exception, the copyright owners of the -dnl macro gives unlimited permission to copy, distribute and modify the -dnl configure scripts that are the output of Autoconf when processing the -dnl Macro. You need not follow the terms of the GNU General Public -dnl License when using or distributing such scripts, even though portions -dnl of the text of the Macro appear in them. The GNU General Public -dnl License (GPL) does govern all other use of the material that -dnl constitutes the Autoconf Macro. -dnl -dnl This special exception to the GPL applies to versions of the -dnl Autoconf Macro released by this project. When you make and -dnl distribute a modified version of the Autoconf Macro, you may extend -dnl this special exception to the GPL to apply to your modified version as -dnl well. - -dnl Check if FLAG in ENV-VAR is supported by compiler and append it -dnl to WHERE-TO-APPEND variable. Note that we invert -Wno-* checks to -dnl -W* as gcc cannot test for negated warnings. If a C snippet is passed, -dnl use it, otherwise use a simple main() definition that just returns 0. -dnl CC_CHECK_FLAG_APPEND([WHERE-TO-APPEND], [ENV-VAR], [FLAG], [C-SNIPPET]) - -AC_DEFUN([CC_CHECK_FLAG_APPEND], [ - AC_CACHE_CHECK([if $CC supports flag $3 in envvar $2], - AS_TR_SH([cc_cv_$2_$3]), - [eval "AS_TR_SH([cc_save_$2])='${$2}'" - eval "AS_TR_SH([$2])='${cc_save_$2} -Werror `echo "$3" | sed 's/^-Wno-/-W/'`'" - AC_LINK_IFELSE([AC_LANG_SOURCE(ifelse([$4], [], - [int main(void) { return 0; } ], - [$4]))], - [eval "AS_TR_SH([cc_cv_$2_$3])='yes'"], - [eval "AS_TR_SH([cc_cv_$2_$3])='no'"]) - eval "AS_TR_SH([$2])='$cc_save_$2'"]) - - AS_IF([eval test x$]AS_TR_SH([cc_cv_$2_$3])[ = xyes], - [eval "$1='${$1} $3'"]) -]) - -dnl CC_CHECK_FLAGS_APPEND([WHERE-TO-APPEND], [ENV-VAR], [FLAG1 FLAG2], [C-SNIPPET]) -AC_DEFUN([CC_CHECK_FLAGS_APPEND], [ - for flag in [$3]; do - CC_CHECK_FLAG_APPEND([$1], [$2], $flag, [$4]) - done -]) - -dnl Check if the flag is supported by linker (cacheable) -dnl CC_CHECK_LDFLAGS([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) - -AC_DEFUN([CC_CHECK_LDFLAGS], [ - AC_CACHE_CHECK([if $CC supports $1 flag], - AS_TR_SH([cc_cv_ldflags_$1]), - [ac_save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $1" - AC_LINK_IFELSE([int main() { return 1; }], - [eval "AS_TR_SH([cc_cv_ldflags_$1])='yes'"], - [eval "AS_TR_SH([cc_cv_ldflags_$1])="]) - LDFLAGS="$ac_save_LDFLAGS" - ]) - - AS_IF([eval test x$]AS_TR_SH([cc_cv_ldflags_$1])[ = xyes], - [$2], [$3]) -]) - -dnl define the LDFLAGS_NOUNDEFINED variable with the correct value for -dnl the current linker to avoid undefined references in a shared object. -AC_DEFUN([CC_NOUNDEFINED], [ - dnl We check $host for which systems to enable this for. - AC_REQUIRE([AC_CANONICAL_HOST]) - - case $host in - dnl FreeBSD (et al.) does not complete linking for shared objects when pthreads - dnl are requested, as different implementations are present; to avoid problems - dnl use -Wl,-z,defs only for those platform not behaving this way. - *-freebsd* | *-openbsd*) ;; - *) - dnl First of all check for the --no-undefined variant of GNU ld. This allows - dnl for a much more readable command line, so that people can understand what - dnl it does without going to look for what the heck -z defs does. - for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do - CC_CHECK_LDFLAGS([$possible_flags], [LDFLAGS_NOUNDEFINED="$possible_flags"]) - break - done - ;; - esac - - AC_SUBST([LDFLAGS_NOUNDEFINED]) -]) - -dnl Check for a -Werror flag or equivalent. -Werror is the GCC -dnl and ICC flag that tells the compiler to treat all the warnings -dnl as fatal. We usually need this option to make sure that some -dnl constructs (like attributes) are not simply ignored. -dnl -dnl Other compilers don't support -Werror per se, but they support -dnl an equivalent flag: -dnl - Sun Studio compiler supports -errwarn=%all -AC_DEFUN([CC_CHECK_WERROR], [ - AC_CACHE_CHECK( - [for $CC way to treat warnings as errors], - [cc_cv_werror], - [CC_CHECK_CFLAGS_SILENT([-Werror], [cc_cv_werror=-Werror], - [CC_CHECK_CFLAGS_SILENT([-errwarn=%all], [cc_cv_werror=-errwarn=%all])]) - ]) -]) - -AC_DEFUN([CC_CHECK_ATTRIBUTE], [ - AC_REQUIRE([CC_CHECK_WERROR]) - AC_CACHE_CHECK([if $CC supports __attribute__(( ifelse([$2], , [$1], [$2]) ))], - AS_TR_SH([cc_cv_attribute_$1]), - [ac_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $cc_cv_werror" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([$3])], - [eval "AS_TR_SH([cc_cv_attribute_$1])='yes'"], - [eval "AS_TR_SH([cc_cv_attribute_$1])='no'"]) - CFLAGS="$ac_save_CFLAGS" - ]) - - AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes], - [AC_DEFINE( - AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1, - [Define this if the compiler supports __attribute__(( ifelse([$2], , [$1], [$2]) ))] - ) - $4], - [$5]) -]) - -AC_DEFUN([CC_ATTRIBUTE_CONSTRUCTOR], [ - CC_CHECK_ATTRIBUTE( - [constructor],, - [void __attribute__((constructor)) ctor() { int a; }], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_FORMAT], [ - CC_CHECK_ATTRIBUTE( - [format], [format(printf, n, n)], - [void __attribute__((format(printf, 1, 2))) printflike(const char *fmt, ...) { fmt = (void *)0; }], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [ - CC_CHECK_ATTRIBUTE( - [format_arg], [format_arg(printf)], - [char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_VISIBILITY], [ - CC_CHECK_ATTRIBUTE( - [visibility_$1], [visibility("$1")], - [void __attribute__((visibility("$1"))) $1_function() { }], - [$2], [$3]) -]) - -AC_DEFUN([CC_ATTRIBUTE_NONNULL], [ - CC_CHECK_ATTRIBUTE( - [nonnull], [nonnull()], - [void __attribute__((nonnull())) some_function(void *foo, void *bar) { foo = (void*)0; bar = (void*)0; }], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_UNUSED], [ - CC_CHECK_ATTRIBUTE( - [unused], , - [void some_function(void *foo, __attribute__((unused)) void *bar);], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_SENTINEL], [ - CC_CHECK_ATTRIBUTE( - [sentinel], , - [void some_function(void *foo, ...) __attribute__((sentinel));], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [ - CC_CHECK_ATTRIBUTE( - [deprecated], , - [void some_function(void *foo, ...) __attribute__((deprecated));], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_ALIAS], [ - CC_CHECK_ATTRIBUTE( - [alias], [weak, alias], - [void other_function(void *foo) { } - void some_function(void *foo) __attribute__((weak, alias("other_function")));], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ - CC_CHECK_ATTRIBUTE( - [malloc], , - [void * __attribute__((malloc)) my_alloc(int n);], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_PACKED], [ - CC_CHECK_ATTRIBUTE( - [packed], , - [struct astructure { char a; int b; long c; void *d; } __attribute__((packed));], - [$1], [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_CONST], [ - CC_CHECK_ATTRIBUTE( - [const], , - [int __attribute__((const)) twopow(int n) { return 1 << n; } ], - [$1], [$2]) -]) - -AC_DEFUN([CC_FLAG_VISIBILITY], [ - AC_REQUIRE([CC_CHECK_WERROR]) - AC_CACHE_CHECK([if $CC supports -fvisibility=hidden], - [cc_cv_flag_visibility], - [cc_flag_visibility_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $cc_cv_werror" - CC_CHECK_CFLAGS_SILENT([-fvisibility=hidden], - cc_cv_flag_visibility='yes', - cc_cv_flag_visibility='no') - CFLAGS="$cc_flag_visibility_save_CFLAGS"]) - - AS_IF([test "x$cc_cv_flag_visibility" = "xyes"], - [AC_DEFINE([SUPPORT_FLAG_VISIBILITY], 1, - [Define this if the compiler supports the -fvisibility flag]) - $1], - [$2]) -]) - -AC_DEFUN([CC_FUNC_EXPECT], [ - AC_REQUIRE([CC_CHECK_WERROR]) - AC_CACHE_CHECK([if compiler has __builtin_expect function], - [cc_cv_func_expect], - [ac_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $cc_cv_werror" - AC_COMPILE_IFELSE([AC_LANG_SOURCE( - [int some_function() { - int a = 3; - return (int)__builtin_expect(a, 3); - }])], - [cc_cv_func_expect=yes], - [cc_cv_func_expect=no]) - CFLAGS="$ac_save_CFLAGS" - ]) - - AS_IF([test "x$cc_cv_func_expect" = "xyes"], - [AC_DEFINE([SUPPORT__BUILTIN_EXPECT], 1, - [Define this if the compiler supports __builtin_expect() function]) - $1], - [$2]) -]) - -AC_DEFUN([CC_ATTRIBUTE_ALIGNED], [ - AC_REQUIRE([CC_CHECK_WERROR]) - AC_CACHE_CHECK([highest __attribute__ ((aligned ())) supported], - [cc_cv_attribute_aligned], - [ac_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $cc_cv_werror" - for cc_attribute_align_try in 64 32 16 8 4 2; do - AC_COMPILE_IFELSE([AC_LANG_SOURCE([ - int main() { - static char c __attribute__ ((aligned($cc_attribute_align_try))) = 0; - return c; - }])], [cc_cv_attribute_aligned=$cc_attribute_align_try; break]) - done - CFLAGS="$ac_save_CFLAGS" - ]) - - if test "x$cc_cv_attribute_aligned" != "x"; then - AC_DEFINE_UNQUOTED([ATTRIBUTE_ALIGNED_MAX], [$cc_cv_attribute_aligned], - [Define the highest alignment supported]) - fi -]) diff --git a/m4/ax_compiler_vendor.m4 b/m4/ax_compiler_vendor.m4 deleted file mode 100644 index 39ca3c0f33..0000000000 --- a/m4/ax_compiler_vendor.m4 +++ /dev/null @@ -1,87 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compiler_vendor.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_COMPILER_VENDOR -# -# DESCRIPTION -# -# Determine the vendor of the C/C++ compiler, e.g., gnu, intel, ibm, sun, -# hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft, -# watcom, etc. The vendor is returned in the cache variable -# $ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++. -# -# LICENSE -# -# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> -# Copyright (c) 2008 Matteo Frigo -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 15 - -AC_DEFUN([AX_COMPILER_VENDOR], -[AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, - dnl Please add if possible support to ax_compiler_version.m4 - [# note: don't check for gcc first since some other compilers define __GNUC__ - vendors="intel: __ICC,__ECC,__INTEL_COMPILER - ibm: __xlc__,__xlC__,__IBMC__,__IBMCPP__ - pathscale: __PATHCC__,__PATHSCALE__ - clang: __clang__ - cray: _CRAYC - fujitsu: __FUJITSU - gnu: __GNUC__ - sun: __SUNPRO_C,__SUNPRO_CC - hp: __HP_cc,__HP_aCC - dec: __DECC,__DECCXX,__DECC_VER,__DECCXX_VER - borland: __BORLANDC__,__CODEGEARC__,__TURBOC__ - comeau: __COMO__ - kai: __KCC - lcc: __LCC__ - sgi: __sgi,sgi - microsoft: _MSC_VER - metrowerks: __MWERKS__ - watcom: __WATCOMC__ - portland: __PGI - tcc: __TINYC__ - unknown: UNKNOWN" - for ventest in $vendors; do - case $ventest in - *:) vendor=$ventest; continue ;; - *) vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;; - esac - AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[ - #if !($vencpp) - thisisanerror; - #endif - ])], [break]) - done - ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=`echo $vendor | cut -d: -f1` - ]) -]) diff --git a/m4/ax_normalize_path.m4 b/m4/ax_normalize_path.m4 deleted file mode 100644 index e8f9973e35..0000000000 --- a/m4/ax_normalize_path.m4 +++ /dev/null @@ -1,115 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_normalize_path.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING]) -# -# DESCRIPTION -# -# Perform some cleanups on the value of $VARNAME (interpreted as a path): -# -# - empty paths are changed to '.' -# - trailing slashes are removed -# - repeated slashes are squeezed except a leading doubled slash '//' -# (which might indicate a networked disk on some OS). -# -# REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if -# REFERENCE_STRING contains some backslashes, all slashes and backslashes -# are turned into backslashes, otherwise they are all turned into slashes. -# -# This makes processing of DOS filenames quite easier, because you can -# turn a filename to the Unix notation, make your processing, and turn it -# back to original notation. -# -# filename='A:\FOO\\BAR\' -# old_filename="$filename" -# # Switch to the unix notation -# AX_NORMALIZE_PATH([filename], ["/"]) -# # now we have $filename = 'A:/FOO/BAR' and we can process it as if -# # it was a Unix path. For instance let's say that you want -# # to append '/subpath': -# filename="$filename/subpath" -# # finally switch back to the original notation -# AX_NORMALIZE_PATH([filename], ["$old_filename"]) -# # now $filename equals to 'A:\FOO\BAR\subpath' -# -# One good reason to make all path processing with the unix convention is -# that backslashes have a special meaning in many cases. For instance -# -# expr 'A:\FOO' : 'A:\Foo' -# -# will return 0 because the second argument is a regex in which -# backslashes have to be backslashed. In other words, to have the two -# strings to match you should write this instead: -# -# expr 'A:\Foo' : 'A:\\Foo' -# -# Such behavior makes DOS filenames extremely unpleasant to work with. So -# temporary turn your paths to the Unix notation, and revert them to the -# original notation after the processing. See the macro -# AX_COMPUTE_RELATIVE_PATHS for a concrete example of this. -# -# REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be -# converted to backslashes if $VARIABLE already contains some backslashes -# (see $thirddir below). -# -# firstdir='/usr/local//share' -# seconddir='C:\Program Files\\' -# thirddir='C:\home/usr/' -# AX_NORMALIZE_PATH([firstdir]) -# AX_NORMALIZE_PATH([seconddir]) -# AX_NORMALIZE_PATH([thirddir]) -# # $firstdir = '/usr/local/share' -# # $seconddir = 'C:\Program Files' -# # $thirddir = 'C:\home\usr' -# -# LICENSE -# -# Copyright (c) 2008 Alexandre Duret-Lutz <adl@gnu.org> -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 5 - -AU_ALIAS([ADL_NORMALIZE_PATH], [AX_NORMALIZE_PATH]) -AC_DEFUN([AX_NORMALIZE_PATH], -[case ":[$]$1:" in -# change empty paths to '.' - ::) $1='.' ;; -# strip trailing slashes - :*[[\\/]]:) $1=`echo "[$]$1" | sed 's,[[\\/]]*[$],,'` ;; - :*:) ;; -esac -# squeze repeated slashes -case ifelse($2,,"[$]$1",$2) in -# if the path contains any backslashes, turn slashes into backslashes - *\\*) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1\\\\,g'` ;; -# if the path contains slashes, also turn backslashes into slashes - *) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1/,g'` ;; -esac]) diff --git a/man/.gitignore b/man/.gitignore deleted file mode 100644 index d928e5a83f..0000000000 --- a/man/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/systemd.directives.xml -/systemd.index.xml -/*.[13578] -/*.html -/custom-entities.ent diff --git a/man/Makefile b/man/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/man/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/man/meson.build b/man/meson.build index 4f2ddad31a..a93693c43c 100644 --- a/man/meson.build +++ b/man/meson.build @@ -198,7 +198,7 @@ if git.found() # and https://github.com/mesonbuild/meson/issues/1512 command : ['sh', '-c', 'cd @0@ && '.format(meson.build_root()) + - 'python3 @0@/tools/make-man-rules.py --meson `git ls-files ":/man/*.xml"` >t && '.format(meson.source_root()) + + 'python3 @0@/tools/make-man-rules.py `git ls-files ":/man/*.xml"` >t && '.format(meson.source_root()) + 'mv t @0@/rules/meson.build'.format(meson.current_source_dir())], depend_files : custom_entities_ent) endif diff --git a/meson.build b/meson.build index 20b27c8600..ba8bb81856 100644 --- a/meson.build +++ b/meson.build @@ -1008,7 +1008,7 @@ foreach pair : [['utmp', 'HAVE_UTMP'], ['rfkill', 'ENABLE_RFKILL'], ['ldconfig', 'ENABLE_LDCONFIG'], ['efi', 'ENABLE_EFI'], - ['tpm', 'SD_BOOT_LOG_TPM'], + ['tpm', 'ENABLE_TPM'], ['ima', 'HAVE_IMA'], ['smack', 'HAVE_SMACK'], ['gshadow', 'ENABLE_GSHADOW'], diff --git a/network/Makefile b/network/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/network/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/po/.gitignore b/po/.gitignore deleted file mode 100644 index 0d1d4b0f9a..0000000000 --- a/po/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -POTFILES -Makefile.in.in -.intltool-merge-cache -Makefile -systemd.pot -/*.gmo diff --git a/rules/.gitignore b/rules/.gitignore deleted file mode 100644 index ea6e216bad..0000000000 --- a/rules/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/50-udev-default.rules -/99-systemd.rules diff --git a/rules/Makefile b/rules/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/rules/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/shell-completion/Makefile b/shell-completion/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/shell-completion/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/shell-completion/bash/.gitignore b/shell-completion/bash/.gitignore deleted file mode 100644 index 016e09d1e7..0000000000 --- a/shell-completion/bash/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/systemctl diff --git a/shell-completion/bash/Makefile b/shell-completion/bash/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/shell-completion/bash/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/shell-completion/zsh/.gitignore b/shell-completion/zsh/.gitignore deleted file mode 100644 index 75f13ad6d1..0000000000 --- a/shell-completion/zsh/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/_systemctl diff --git a/shell-completion/zsh/Makefile b/shell-completion/zsh/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/shell-completion/zsh/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index e6ac2d7b8a..0000000000 --- a/src/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -load-fragment-gperf-nulstr.c -load-fragment-gperf.c -load-fragment-gperf.gperf -org.freedesktop.systemd1.policy.in -org.freedesktop.systemd1.policy -99-systemd.rules -*.gcno -*.gcda diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 9d07505194..0000000000 --- a/src/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This file is part of systemd. -# -# Copyright 2010 Lennart Poettering -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with systemd; If not, see <http://www.gnu.org/licenses/>. - -# This file is a dirty trick to simplify compilation from within -# emacs. This file is not intended to be distributed. So, don't touch -# it, even better ignore it! - -all: - $(MAKE) -C .. - -clean: - $(MAKE) -C .. clean - -.PHONY: all clean diff --git a/src/ac-power/Makefile b/src/ac-power/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/ac-power/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/activate/Makefile b/src/activate/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/activate/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/analyze/.gitignore b/src/analyze/.gitignore deleted file mode 100644 index 752ea236c8..0000000000 --- a/src/analyze/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/systemd-analyze diff --git a/src/analyze/Makefile b/src/analyze/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/analyze/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/ask-password/Makefile b/src/ask-password/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/ask-password/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/backlight/Makefile b/src/backlight/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/backlight/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/basic/.gitignore b/src/basic/.gitignore deleted file mode 100644 index e22411e484..0000000000 --- a/src/basic/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/cap-from-name.gperf -/cap-from-name.h -/cap-list.txt -/cap-to-name.h -/errno-from-name.gperf -/errno-from-name.h -/errno-list.txt -/errno-to-name.h -/af-from-name.gperf -/af-from-name.h -/af-list.txt -/af-to-name.h -/arphrd-from-name.gperf -/arphrd-from-name.h -/arphrd-list.txt -/arphrd-to-name.h diff --git a/src/basic/Makefile b/src/basic/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/basic/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/binfmt/Makefile b/src/binfmt/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/binfmt/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/boot/Makefile b/src/boot/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/boot/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/boot/efi/.gitignore b/src/boot/efi/.gitignore deleted file mode 100644 index e193acbe12..0000000000 --- a/src/boot/efi/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/systemd_boot.so -/stub.so diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 1e990b3825..9a02902428 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1650,7 +1650,7 @@ static EFI_STATUS image_start(EFI_HANDLE parent_image, const Config *config, con loaded_image->LoadOptions = options; loaded_image->LoadOptionsSize = (StrLen(loaded_image->LoadOptions)+1) * sizeof(CHAR16); -#ifdef SD_BOOT_LOG_TPM +#ifdef ENABLE_TPM /* Try to log any options to the TPM, especially to catch manually edited options */ err = tpm_log_event(SD_TPM_PCR, (EFI_PHYSICAL_ADDRESS) loaded_image->LoadOptions, diff --git a/src/boot/efi/measure.c b/src/boot/efi/measure.c index b22d37b62d..8627c09077 100644 --- a/src/boot/efi/measure.c +++ b/src/boot/efi/measure.c @@ -11,7 +11,7 @@ * */ -#ifdef SD_BOOT_LOG_TPM +#ifdef ENABLE_TPM #include <efi.h> #include <efilib.h> diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 5ef5b2d20b..b111aad852 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -64,7 +64,7 @@ if have_gnu_efi efi_conf = configuration_data() efi_conf.set_quoted('PACKAGE_VERSION', meson.project_version()) efi_conf.set_quoted('EFI_MACHINE_TYPE_NAME', EFI_MACHINE_TYPE_NAME) - efi_conf.set('SD_BOOT_LOG_TPM', get_option('tpm')) + efi_conf.set('ENABLE_TPM', get_option('tpm')) efi_conf.set('SD_TPM_PCR', get_option('tpm-pcrindex')) efi_config_h = configure_file( diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c index bab5d46de9..bef416aa5c 100644 --- a/src/boot/efi/stub.c +++ b/src/boot/efi/stub.c @@ -87,7 +87,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { line[i] = options[i]; cmdline = line; -#ifdef SD_BOOT_LOG_TPM +#ifdef ENABLE_TPM /* Try to log any options to the TPM, especially manually edited options */ err = tpm_log_event(SD_TPM_PCR, (EFI_PHYSICAL_ADDRESS) loaded_image->LoadOptions, diff --git a/src/cgls/Makefile b/src/cgls/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/cgls/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/cgroups-agent/Makefile b/src/cgroups-agent/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/cgroups-agent/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/cgtop/Makefile b/src/cgtop/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/cgtop/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/core/.gitignore b/src/core/.gitignore deleted file mode 100644 index 465b4fcc20..0000000000 --- a/src/core/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/macros.systemd -/triggers.systemd -/systemd.pc diff --git a/src/core/Makefile b/src/core/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/core/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/coredump/Makefile b/src/coredump/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/coredump/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/cryptsetup/Makefile b/src/cryptsetup/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/cryptsetup/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/dbus1-generator/Makefile b/src/dbus1-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/dbus1-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/debug-generator/Makefile b/src/debug-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/debug-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/delta/Makefile b/src/delta/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/delta/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/detect-virt/Makefile b/src/detect-virt/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/detect-virt/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/dissect/Makefile b/src/dissect/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/dissect/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/environment-d-generator/Makefile b/src/environment-d-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/environment-d-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/escape/Makefile b/src/escape/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/escape/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/firstboot/Makefile b/src/firstboot/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/firstboot/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/fsck/Makefile b/src/fsck/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/fsck/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/fstab-generator/Makefile b/src/fstab-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/fstab-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/getty-generator/Makefile b/src/getty-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/getty-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/gpt-auto-generator/Makefile b/src/gpt-auto-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/gpt-auto-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/hibernate-resume/Makefile b/src/hibernate-resume/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/hibernate-resume/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/hostname/.gitignore b/src/hostname/.gitignore deleted file mode 100644 index 1ff281b231..0000000000 --- a/src/hostname/.gitignore +++ /dev/null @@ -1 +0,0 @@ -org.freedesktop.hostname1.policy diff --git a/src/hostname/Makefile b/src/hostname/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/hostname/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/hwdb/Makefile b/src/hwdb/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/hwdb/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/import/.gitignore b/src/import/.gitignore deleted file mode 100644 index 01106e2e68..0000000000 --- a/src/import/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/org.freedesktop.import1.policy diff --git a/src/import/Makefile b/src/import/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/import/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/initctl/Makefile b/src/initctl/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/initctl/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/journal-remote/.gitignore b/src/journal-remote/.gitignore deleted file mode 100644 index 06847b65d4..0000000000 --- a/src/journal-remote/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/journal-remote.conf -/journal-upload.conf diff --git a/src/journal-remote/Makefile b/src/journal-remote/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/journal-remote/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/journal/.gitignore b/src/journal/.gitignore deleted file mode 100644 index b93a9462fa..0000000000 --- a/src/journal/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/journald-gperf.c -/audit_type-list.txt -/audit_type-*-name.* diff --git a/src/journal/Makefile b/src/journal/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/journal/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/kernel-install/Makefile b/src/kernel-install/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/kernel-install/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd-network/Makefile b/src/libsystemd-network/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd-network/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/.gitignore b/src/libsystemd/.gitignore deleted file mode 100644 index 50a1692374..0000000000 --- a/src/libsystemd/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/libsystemd.pc diff --git a/src/libsystemd/Makefile b/src/libsystemd/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-bus/Makefile b/src/libsystemd/sd-bus/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-bus/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-daemon/Makefile b/src/libsystemd/sd-daemon/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd/sd-daemon/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-device/Makefile b/src/libsystemd/sd-device/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd/sd-device/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-event/Makefile b/src/libsystemd/sd-event/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-event/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-hwdb/Makefile b/src/libsystemd/sd-hwdb/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-hwdb/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-id128/Makefile b/src/libsystemd/sd-id128/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-id128/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-login/Makefile b/src/libsystemd/sd-login/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd/sd-login/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-netlink/Makefile b/src/libsystemd/sd-netlink/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-netlink/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-network/Makefile b/src/libsystemd/sd-network/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd/sd-network/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-path/Makefile b/src/libsystemd/sd-path/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libsystemd/sd-path/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-resolve/Makefile b/src/libsystemd/sd-resolve/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-resolve/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libsystemd/sd-utf8/Makefile b/src/libsystemd/sd-utf8/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/libsystemd/sd-utf8/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libudev/.gitignore b/src/libudev/.gitignore deleted file mode 100644 index 0c8a5d5231..0000000000 --- a/src/libudev/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/libudev.pc diff --git a/src/libudev/Makefile b/src/libudev/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/libudev/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/locale/.gitignore b/src/locale/.gitignore deleted file mode 100644 index b1e0ba755e..0000000000 --- a/src/locale/.gitignore +++ /dev/null @@ -1 +0,0 @@ -org.freedesktop.locale1.policy diff --git a/src/locale/Makefile b/src/locale/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/locale/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/login/.gitignore b/src/login/.gitignore deleted file mode 100644 index 3a8ba497c1..0000000000 --- a/src/login/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/logind-gperf.c -/logind.conf -/org.freedesktop.login1.policy -/71-seat.rules -/73-seat-late.rules -/systemd-user diff --git a/src/login/Makefile b/src/login/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/login/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/machine-id-setup/Makefile b/src/machine-id-setup/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/machine-id-setup/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/machine/.gitignore b/src/machine/.gitignore deleted file mode 100644 index e1065b5894..0000000000 --- a/src/machine/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/org.freedesktop.machine1.policy diff --git a/src/machine/Makefile b/src/machine/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/machine/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/modules-load/Makefile b/src/modules-load/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/modules-load/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/mount/Makefile b/src/mount/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/mount/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/network/.gitignore b/src/network/.gitignore deleted file mode 100644 index 230671763d..0000000000 --- a/src/network/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/networkd-network-gperf.c -/networkd-gperf.c diff --git a/src/network/Makefile b/src/network/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/network/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/network/netdev/.gitignore b/src/network/netdev/.gitignore deleted file mode 100644 index 0f1a65d2e6..0000000000 --- a/src/network/netdev/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/netdev-gperf.c diff --git a/src/network/netdev/Makefile b/src/network/netdev/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/network/netdev/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/network/wait-online/Makefile b/src/network/wait-online/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/network/wait-online/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/notify/Makefile b/src/notify/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/notify/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/nspawn/.gitignore b/src/nspawn/.gitignore deleted file mode 100644 index 85c81fff24..0000000000 --- a/src/nspawn/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/nspawn-gperf.c diff --git a/src/nspawn/Makefile b/src/nspawn/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/nspawn/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/nss-myhostname/Makefile b/src/nss-myhostname/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/nss-myhostname/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/nss-mymachines/Makefile b/src/nss-mymachines/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/nss-mymachines/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/nss-resolve/Makefile b/src/nss-resolve/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/nss-resolve/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/nss-systemd/Makefile b/src/nss-systemd/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/nss-systemd/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/path/Makefile b/src/path/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/path/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/quotacheck/Makefile b/src/quotacheck/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/quotacheck/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/random-seed/Makefile b/src/random-seed/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/random-seed/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/rc-local-generator/Makefile b/src/rc-local-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/rc-local-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/remount-fs/Makefile b/src/remount-fs/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/remount-fs/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/reply-password/Makefile b/src/reply-password/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/reply-password/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/resolve/.gitignore b/src/resolve/.gitignore deleted file mode 100644 index f0835923b7..0000000000 --- a/src/resolve/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/resolved-gperf.c -/resolved.conf -/dns_type-from-name.gperf -/dns_type-from-name.h -/dns_type-list.txt -/dns_type-to-name.h diff --git a/src/resolve/Makefile b/src/resolve/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/resolve/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/rfkill/Makefile b/src/rfkill/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/rfkill/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/run/Makefile b/src/run/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/run/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/shared/Makefile b/src/shared/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/shared/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/sleep/Makefile b/src/sleep/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/sleep/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/socket-proxy/Makefile b/src/socket-proxy/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/socket-proxy/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/sulogin-shell/.gitignore b/src/sulogin-shell/.gitignore deleted file mode 100644 index 01a315524b..0000000000 --- a/src/sulogin-shell/.gitignore +++ /dev/null @@ -1 +0,0 @@ -systemd-sulogin-shell diff --git a/src/sysctl/Makefile b/src/sysctl/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/sysctl/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/system-update-generator/Makefile b/src/system-update-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/system-update-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/systemctl/Makefile b/src/systemctl/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/systemctl/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/systemd/Makefile b/src/systemd/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/systemd/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/sysusers/Makefile b/src/sysusers/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/sysusers/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/sysv-generator/Makefile b/src/sysv-generator/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/sysv-generator/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/test/.gitignore b/src/test/.gitignore deleted file mode 100644 index e4c198a4f7..0000000000 --- a/src/test/.gitignore +++ /dev/null @@ -1 +0,0 @@ -test-hashmap-ordered.c diff --git a/src/test/Makefile b/src/test/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/test/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/timedate/.gitignore b/src/timedate/.gitignore deleted file mode 100644 index 48757f0968..0000000000 --- a/src/timedate/.gitignore +++ /dev/null @@ -1 +0,0 @@ -org.freedesktop.timedate1.policy diff --git a/src/timedate/Makefile b/src/timedate/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/timedate/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/timesync/.gitignore b/src/timesync/.gitignore deleted file mode 100644 index 35f4d76f79..0000000000 --- a/src/timesync/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/timesyncd.conf -/timesyncd-gperf.c diff --git a/src/timesync/Makefile b/src/timesync/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/timesync/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/tmpfiles/Makefile b/src/tmpfiles/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/tmpfiles/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/tty-ask-password-agent/Makefile b/src/tty-ask-password-agent/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/tty-ask-password-agent/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/.gitignore b/src/udev/.gitignore deleted file mode 100644 index f5d8be3dc1..0000000000 --- a/src/udev/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/udev.pc -/keyboard-keys-from-name.gperf -/keyboard-keys-from-name.h -/keyboard-keys-list.txt diff --git a/src/udev/Makefile b/src/udev/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/ata_id/Makefile b/src/udev/ata_id/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/ata_id/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/cdrom_id/Makefile b/src/udev/cdrom_id/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/cdrom_id/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/collect/Makefile b/src/udev/collect/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/collect/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/mtd_probe/Makefile b/src/udev/mtd_probe/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/mtd_probe/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/net/.gitignore b/src/udev/net/.gitignore deleted file mode 100644 index 9ca85bacc9..0000000000 --- a/src/udev/net/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/link-config-gperf.c diff --git a/src/udev/net/Makefile b/src/udev/net/Makefile deleted file mode 120000 index 94aaae2c4d..0000000000 --- a/src/udev/net/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/udev/scsi_id/.gitignore b/src/udev/scsi_id/.gitignore deleted file mode 100644 index 6aebddd809..0000000000 --- a/src/udev/scsi_id/.gitignore +++ /dev/null @@ -1 +0,0 @@ -scsi_id_version.h diff --git a/src/udev/scsi_id/Makefile b/src/udev/scsi_id/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/scsi_id/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/udev/v4l_id/Makefile b/src/udev/v4l_id/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/udev/v4l_id/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/update-done/Makefile b/src/update-done/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/update-done/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/update-utmp/Makefile b/src/update-utmp/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/update-utmp/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/user-sessions/Makefile b/src/user-sessions/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/user-sessions/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/vconsole/.gitignore b/src/vconsole/.gitignore deleted file mode 100644 index 82741b2fb3..0000000000 --- a/src/vconsole/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/90-vconsole.rules diff --git a/src/vconsole/Makefile b/src/vconsole/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/vconsole/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/veritysetup/Makefile b/src/veritysetup/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/veritysetup/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/volatile-root/Makefile b/src/volatile-root/Makefile deleted file mode 120000 index d0b0e8e008..0000000000 --- a/src/volatile-root/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/sysctl.d/.gitignore b/sysctl.d/.gitignore deleted file mode 100644 index e326c180c3..0000000000 --- a/sysctl.d/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/50-coredump.conf diff --git a/sysctl.d/Makefile b/sysctl.d/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/sysctl.d/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/system-preset/Makefile b/system-preset/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/system-preset/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/sysusers.d/.gitignore b/sysusers.d/.gitignore deleted file mode 100644 index c065034d29..0000000000 --- a/sysusers.d/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/basic.conf -/systemd.conf -/systemd-remote.conf diff --git a/sysusers.d/Makefile b/sysusers.d/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/sysusers.d/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/test/Makefile b/test/Makefile deleted file mode 100644 index 987a32548f..0000000000 --- a/test/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Just a little hook script to easy building when in this directory -.PHONY: all check clean - -all: - $(MAKE) -C .. - -clean: - @for i in TEST-[0-9]*; do \ - [ -d $$i ] || continue ; \ - [ -f $$i/Makefile ] || continue ; \ - make -C $$i clean ; \ - done - -check: - $(MAKE) -C .. all - @for i in TEST-[0-9]*; do \ - [ -d $$i ] || continue ; \ - [ -f $$i/Makefile ] || continue ; \ - make -C $$i all ; \ - done diff --git a/test/Makefile.guess b/test/Makefile.guess new file mode 100644 index 0000000000..1916d09a6c --- /dev/null +++ b/test/Makefile.guess @@ -0,0 +1,14 @@ +# Try to guess the build directory: +# we look for subdirectories of ../.. that look like ninja build dirs. + +ifeq ($(BUILD_DIR),) + dirs = $(dir $(wildcard ../../*/.ninja_log)) + ifeq ($(dirs),) + $(error Cannot guess build dir, set BUILD_DIR) + endif + ifneq ($(firstword $(dirs)),$(dirs)) + $(warning Candidates: $(dirs)) + $(error Too many build dirs to pick from, set BUILD_DIR) + endif + BUILD_DIR=$(dirs) +endif diff --git a/test/TEST-01-BASIC/Makefile b/test/TEST-01-BASIC/Makefile index 5e89a29eff..b895de8bcb 100644 --- a/test/TEST-01-BASIC/Makefile +++ b/test/TEST-01-BASIC/Makefile @@ -1,10 +1,4 @@ -all: - @make -s --no-print-directory -C ../.. all - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --all -setup: - @make --no-print-directory -C ../.. all - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --setup -clean: - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --clean -run: - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --run +include ../Makefile.guess + +all setup clean run: + @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ diff --git a/test/TEST-13-NSPAWN-SMOKE/Makefile b/test/TEST-13-NSPAWN-SMOKE/Makefile index ff1470f852..41cca23c7f 100644 --- a/test/TEST-13-NSPAWN-SMOKE/Makefile +++ b/test/TEST-13-NSPAWN-SMOKE/Makefile @@ -1,11 +1,7 @@ -all: - @make -s --no-print-directory -C ../.. all - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --all -setup: - @make --no-print-directory -C ../.. all - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --setup +include ../Makefile.guess + +all setup run: + @basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@ clean: @basedir=../.. TEST_BASE_DIR=../ ./test.sh --clean @rm -f has-overflow -run: - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --run diff --git a/test/TEST-14-MACHINE-ID/Makefile b/test/TEST-14-MACHINE-ID/Makefile index 5e89a29eff..e9f93b1104 100644..120000 --- a/test/TEST-14-MACHINE-ID/Makefile +++ b/test/TEST-14-MACHINE-ID/Makefile @@ -1,10 +1 @@ -all: - @make -s --no-print-directory -C ../.. all - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --all -setup: - @make --no-print-directory -C ../.. all - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --setup -clean: - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --clean -run: - @basedir=../.. TEST_BASE_DIR=../ ./test.sh --run +../TEST-01-BASIC/Makefile
\ No newline at end of file diff --git a/test/test-functions b/test/test-functions index ea4f700841..64926089d4 100644 --- a/test/test-functions +++ b/test/test-functions @@ -155,7 +155,7 @@ $KERNEL_APPEND \ run_nspawn() { [[ -d /run/systemd/system ]] || return 1 - local _nspawn_cmd="../../systemd-nspawn --register=no --kill-signal=SIGKILL --directory=$TESTDIR/nspawn-root $ROOTLIBDIR/systemd $KERNEL_APPEND" + local _nspawn_cmd="$BUILD_DIR/systemd-nspawn --register=no --kill-signal=SIGKILL --directory=$TESTDIR/nspawn-root $ROOTLIBDIR/systemd $KERNEL_APPEND" if [[ "$NSPAWN_TIMEOUT" != "infinity" ]]; then _nspawn_cmd="timeout --foreground $NSPAWN_TIMEOUT $_nspawn_cmd" fi @@ -317,7 +317,7 @@ install_dmevent() { install_systemd() { # install compiled files - (cd $TEST_BASE_DIR/..; set -x; make DESTDIR=$initdir install) + (set -x; DESTDIR=$initdir ninja -C $BUILD_DIR install) # remove unneeded documentation rm -fr $initdir/usr/share/{man,doc} # we strip binaries since debug symbols increase binaries size a lot @@ -396,7 +396,7 @@ EOF install_execs() { ddebug "install any Execs from the service files" ( - export PKG_CONFIG_PATH=$TEST_BASE_DIR/../src/core/ + export PKG_CONFIG_PATH=$BUILD_DIR/src/core/ systemdsystemunitdir=$(pkg-config --variable=systemdsystemunitdir systemd) systemduserunitdir=$(pkg-config --variable=systemduserunitdir systemd) egrep -ho '^Exec[^ ]*=[^ ]+' $initdir/{$systemdsystemunitdir,$systemduserunitdir}/*.service \ diff --git a/tmpfiles.d/.gitignore b/tmpfiles.d/.gitignore deleted file mode 100644 index 73c62c1045..0000000000 --- a/tmpfiles.d/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/etc.conf -/systemd.conf -/systemd-remote.conf -/var.conf diff --git a/tmpfiles.d/Makefile b/tmpfiles.d/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/tmpfiles.d/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py index 1b287997fa..f9203ddd1a 100755 --- a/tools/make-directive-index.py +++ b/tools/make-directive-index.py @@ -21,7 +21,7 @@ import sys import collections import re -from xml_helper import * +from xml_helper import xml_parse, xml_print, tree from copy import deepcopy TEMPLATE = '''\ diff --git a/tools/make-man-index.py b/tools/make-man-index.py index abc33e7394..0618e2e677 100755 --- a/tools/make-man-index.py +++ b/tools/make-man-index.py @@ -22,7 +22,7 @@ import collections import sys import re -from xml_helper import * +from xml_helper import xml_parse, xml_print, tree MDASH = ' — ' if sys.version_info.major >= 3 else ' -- ' diff --git a/tools/make-man-rules.py b/tools/make-man-rules.py index e9e39f10af..e0f18d6fbe 100755 --- a/tools/make-man-rules.py +++ b/tools/make-man-rules.py @@ -23,57 +23,13 @@ import collections import sys import os.path import pprint -from xml_helper import * - -SECTION = '''\ -MANPAGES += \\ - {manpages} -MANPAGES_ALIAS += \\ - {aliases} -{rules} -{htmlrules} -''' - -CONDITIONAL = '''\ -if {conditional} -''' \ -+ SECTION + \ -'''\ -endif -''' - -HEADER = '''\ -# Do not edit. Generated by make-man-rules.py. -# To regenerate: -# 1. Create, update, or remove source .xml files in man/ -# 2. Run 'make update-man-list' -# 3. Run 'make man' to generate manpages -# -# To make a man page conditional on a configure switch add -# attribute conditional="ENABLE_WHAT" or conditional="WITH_WHAT" -# to <refentry> element. -''' - -HTML_ALIAS_RULE = '''\ -{}.html: {}.html - $(html-alias) -''' - -FOOTER = '''\ - -# Really, do not edit this file. - -EXTRA_DIST += \\ - {dist_files} -''' - -meson = False +from xml_helper import xml_parse def man(page, number): - return ('man/' if not meson else '') + '{}.{}'.format(page, number) + return '{}.{}'.format(page, number) def xml(file): - return ('man/' if not meson else '') + os.path.basename(file) + return os.path.basename(file) def add_rules(rules, name): xml = xml_parse(name) @@ -110,21 +66,6 @@ def create_rules(xml_files): def mjoin(files): return ' \\\n\t'.join(sorted(files) or '#') -def make_makefile(rules, dist_files): - return HEADER + '\n'.join( - (CONDITIONAL if conditional else SECTION).format( - manpages=mjoin(set(rulegroup.values())), - aliases=mjoin(k for k,v in rulegroup.items() if k != v), - rules='\n'.join('{}: {}'.format(k,v) - for k,v in sorted(rulegroup.items()) - if k != v), - htmlrules='\n'.join(HTML_ALIAS_RULE.format(k[:-2],v[:-2]) - for k,v in sorted(rulegroup.items()) - if k != v), - conditional=conditional) - for conditional,rulegroup in sorted(rules.items()) - ) + FOOTER.format(dist_files=mjoin(sorted(dist_files))) - MESON_HEADER = '''\ # Do not edit. Generated by make-man-rules.py. manpages = [''' @@ -151,14 +92,10 @@ def make_mesonfile(rules, dist_files): return '\n'.join((MESON_HEADER, pprint.pformat(lines)[1:-1], MESON_FOOTER)) if __name__ == '__main__': - meson = sys.argv[1] == '--meson' - pages = sys.argv[1+meson:] + pages = sys.argv[1:] rules = create_rules(pages) dist_files = (xml(file) for file in pages if not file.endswith(".directives.xml") and not file.endswith(".index.xml")) - if meson: - print(make_mesonfile(rules, dist_files)) - else: - print(make_makefile(rules, dist_files), end='') + print(make_mesonfile(rules, dist_files)) diff --git a/units/.gitignore b/units/.gitignore deleted file mode 100644 index 4398a59f91..0000000000 --- a/units/.gitignore +++ /dev/null @@ -1,80 +0,0 @@ -/user@.service.m4 -/console-getty.service -/console-getty.service.m4 -/container-getty@.service -/container-getty@.service.m4 -/debug-shell.service -/emergency.service -/getty@.service -/halt-local.service -/initrd-cleanup.service -/initrd-parse-etc.service -/initrd-switch-root.service -/initrd-udevadm-cleanup-db.service -/kmod-static-nodes.service -/quotaon.service -/rc-local.service -/rescue.service -/serial-getty@.service -/system-update-cleanup.service -/systemd-ask-password-console.service -/systemd-ask-password-wall.service -/systemd-backlight@.service -/systemd-binfmt.service -/systemd-coredump@.service -/systemd-firstboot.service -/systemd-fsck-root.service -/systemd-fsck@.service -/systemd-machine-id-commit.service -/systemd-halt.service -/systemd-exit.service -/systemd-hibernate.service -/systemd-hostnamed.service -/systemd-hybrid-sleep.service -/systemd-importd.service -/systemd-initctl.service -/systemd-journal-catalog-update.service -/systemd-journal-flush.service -/systemd-journal-gatewayd.service -/systemd-journal-remote.service -/systemd-journal-upload.service -/systemd-journald.service -/systemd-kexec.service -/systemd-localed.service -/systemd-logind.service -/systemd-machined.service -/systemd-modules-load.service -/systemd-networkd-wait-online.service -/systemd-networkd.service -/systemd-networkd.service.m4 -/systemd-nspawn@.service -/systemd-poweroff.service -/systemd-quotacheck.service -/systemd-random-seed.service -/systemd-reboot.service -/systemd-remount-fs.service -/systemd-resolved.service -/systemd-resolved.service.m4 -/systemd-hibernate-resume@.service -/systemd-rfkill.service -/systemd-suspend.service -/systemd-sysctl.service -/systemd-sysusers.service -/systemd-timedated.service -/systemd-timesyncd.service -/systemd-tmpfiles-clean.service -/systemd-tmpfiles-setup-dev.service -/systemd-tmpfiles-setup.service -/systemd-tmpfiles.service -/systemd-hwdb-update.service -/systemd-udev-settle.service -/systemd-udev-trigger.service -/systemd-udevd.service -/systemd-update-done.service -/systemd-update-utmp-runlevel.service -/systemd-update-utmp.service -/systemd-user-sessions.service -/systemd-vconsole-setup.service -/systemd-volatile-root.service -/tmp.mount -/user@.service diff --git a/units/Makefile b/units/Makefile deleted file mode 120000 index bd1047548b..0000000000 --- a/units/Makefile +++ /dev/null @@ -1 +0,0 @@ -../src/Makefile
\ No newline at end of file diff --git a/units/user/.gitignore b/units/user/.gitignore deleted file mode 100644 index 41a74f5461..0000000000 --- a/units/user/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/systemd-exit.service diff --git a/units/user/Makefile b/units/user/Makefile deleted file mode 120000 index 50be21181f..0000000000 --- a/units/user/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../src/Makefile
\ No newline at end of file |