- src/shared/login-shared.c \
- src/shared/login-shared.h \
- src/shared/ring.c \
- src/shared/ring.h \
- src/shared/barrier.c \
- src/shared/barrier.h \
- src/shared/pty.c \
- src/shared/pty.h \
- src/shared/async.c \
- src/shared/async.h \
- src/shared/base-filesystem.c \
- src/shared/base-filesystem.h \
- src/shared/memfd-util.c \
- src/shared/memfd-util.h \
- src/shared/uid-range.c \
- src/shared/uid-range.h \
- src/shared/nss-util.h \
- src/shared/verbs.c \
- src/shared/verbs.h \
- src/shared/sigbus.c \
- src/shared/sigbus.h \
- src/shared/build.h \
- src/shared/import-util.c \
- src/shared/import-util.h
-
-if HAVE_UTMP
-libsystemd_shared_la_SOURCES += \
- src/shared/utmp-wtmp.c
-endif
-
-nodist_libsystemd_shared_la_SOURCES = \
- src/shared/errno-from-name.h \
- src/shared/errno-to-name.h \
- src/shared/af-from-name.h \
- src/shared/af-to-name.h \
- src/shared/arphrd-from-name.h \
- src/shared/arphrd-to-name.h \
- src/shared/cap-from-name.h \
- src/shared/cap-to-name.h
-
-libsystemd_shared_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(CAP_CFLAGS) \
- $(SECCOMP_CFLAGS) \
- -pthread
-
-libsystemd_shared_la_LIBADD = \
- $(CAP_LIBS) \
- -lm
-
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-units.la
-
-libsystemd_units_la_SOURCES = \
- 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
-
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-label.la
-
-libsystemd_label_la_SOURCES = \
- src/shared/socket-label.c \
- src/shared/label.c \
- src/shared/label.h \
- src/shared/selinux-util.c \
- src/shared/selinux-util.h \
- src/shared/mkdir-label.c \
- src/shared/ask-password-api.c \
- src/shared/ask-password-api.h \
- src/shared/switch-root.h \
- src/shared/switch-root.c \
- src/shared/fileio-label.c \
- src/shared/fileio-label.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/generator.h \
- src/shared/generator.c \
- src/shared/btrfs-util.c \
- src/shared/btrfs-util.h \
- src/shared/btrfs-ctree.h \
- src/shared/machine-image.c \
- src/shared/machine-image.h \
- src/shared/copy.c \
- src/shared/copy.h
-
-libsystemd_label_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(SELINUX_CFLAGS)
-
-libsystemd_label_la_LIBADD = \
- $(SELINUX_LIBS)
-
-# -----------------------------------------------------------------------------
-
-if HAVE_LIBIPTC
-noinst_LTLIBRARIES += \
- libsystemd-fw.la
-
-libsystemd_fw_la_SOURCES = \
- src/shared/fw-util.h \
- src/shared/fw-util.c
-
-libsystemd_fw_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(LIBIPTC_CFLAGS)
-
-libsystemd_fw_la_LIBADD = \
- $(LIBIPTC_LIBS)
-endif
-
-# -----------------------------------------------------------------------------
-
-if ENABLE_LDCONFIG
-dist_systemunit_DATA += \
- units/ldconfig.service
-
-SYSINIT_TARGET_WANTS += \
- ldconfig.service
-endif
-
-# ------------------------------------------------------------------------------
-
-if HAVE_SECCOMP
-noinst_LTLIBRARIES += \
- libsystemd-seccomp.la
-
-libsystemd_seccomp_la_SOURCES = \
- src/shared/seccomp-util.h \
- src/shared/seccomp-util.c
-
-libsystemd_seccomp_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-libsystemd_seccomp_la_LIBADD = \
- $(SECCOMP_LIBS)
-endif
-
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-logs.la
-
-libsystemd_logs_la_SOURCES = \
- src/shared/logs-show.c \
- src/shared/logs-show.h
-
-# ------------------------------------------------------------------------------
-if HAVE_ACL
-noinst_LTLIBRARIES += \
- libsystemd-acl.la
-
-libsystemd_acl_la_SOURCES = \
- src/shared/acl-util.c \
- src/shared/acl-util.h
-
-libsystemd_acl_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(ACL_CFLAGS)
-
-libsystemd_acl_la_LIBADD = \
- $(ACL_LIBS)
-endif
-
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-core.la
-
-libsystemd_core_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-endpoint.c \
- src/core/bus-endpoint.h \
- src/core/bus-policy.c \
- src/core/bus-policy.h \
- src/core/target.c \
- src/core/target.h \
- src/core/snapshot.c \
- src/core/snapshot.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/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-snapshot.c \
- src/core/dbus-snapshot.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/failure-action.c \
- src/core/failure-action.h
-
-nodist_libsystemd_core_la_SOURCES = \
- src/core/load-fragment-gperf.c \
- src/core/load-fragment-gperf-nulstr.c
-
-libsystemd_core_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(PAM_CFLAGS) \
- $(AUDIT_CFLAGS) \
- $(KMOD_CFLAGS) \
- $(APPARMOR_CFLAGS) \
- $(SECCOMP_CFLAGS) \
- $(MOUNT_CFLAGS) \
- -pthread
-
-libsystemd_core_la_LIBADD = \
- libsystemd-units.la \
- libsystemd-label.la \
- libudev-internal.la \
- libsystemd-shared.la \
- libsystemd-internal.la \
- $(PAM_LIBS) \
- $(AUDIT_LIBS) \
- $(KMOD_LIBS) \
- $(APPARMOR_LIBS) \
- $(SECCOMP_LIBS) \
- $(MOUNT_LIBS)
-
-if HAVE_SECCOMP
-libsystemd_core_la_LIBADD += \
- libsystemd-seccomp.la
-endif
-
-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 ";" }' < $< > $@
-
-EXTRA_DIST += \
- src/core/load-fragment-gperf.gperf.m4
-
-CLEANFILES += \
- src/core/load-fragment-gperf.gperf \
- src/core/load-fragment-gperf.c \
- src/core/load-fragment-gperf-nulstr.c \
- src/shared/errno-list.txt \
- src/shared/errno-from-name.gperf \
- src/shared/af-list.txt \
- src/shared/af-from-name.gperf \
- src/shared/arphrd-list.txt \
- src/shared/arphrd-from-name.gperf \
- src/shared/cap-list.txt \
- src/shared/cap-from-name.gperf \
- src/resolve/dns_type-list.txt \
- src/resolve/dns_type-from-name.gperf
-
-BUILT_SOURCES += \
- src/shared/errno-from-name.h \
- src/shared/errno-to-name.h \
- src/shared/af-from-name.h \
- src/shared/af-to-name.h \
- src/shared/arphrd-from-name.h \
- src/shared/arphrd-to-name.h \
- src/shared/cap-from-name.h \
- src/shared/cap-to-name.h \
- src/resolve/dns_type-from-name.h \
- src/resolve/dns_type-to-name.h
-
-%-from-name.gperf: %-list.txt
- $(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_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@
-
-
-src/shared/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/shared/errno-to-name.h: src/shared/errno-list.txt
- $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} !/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
-
-
-src/shared/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/shared/af-to-name.h: src/shared/af-list.txt
- $(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/shared/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/shared/arphrd-to-name.h: src/shared/arphrd-list.txt
- $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const arphrd_names[] = { "} !/CISCO/ { printf "[ARPHRD_%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
-
-src/shared/arphrd-from-name.gperf: src/shared/arphrd-list.txt
- $(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/shared/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/shared/cap-to-name.h: src/shared/cap-list.txt
- $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const capability_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, tolower($$1) } END{print "};"}' <$< >$@
-
-src/shared/cap-from-name.gperf: src/shared/cap-list.txt
- $(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/shared/cap-from-name.h: src/shared/cap-from-name.gperf
- $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@
-
-
-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_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 "\ndefault: return NULL;\n\t}\n}\n" }' <$< >$@
-
-src/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt
- $(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)
-
-systemd_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-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
-
-pkgconfiglib_DATA += \
- src/core/systemd.pc
-
-nodist_rpmmacros_DATA = \
- src/core/macros.systemd
-
-EXTRA_DIST += \
- src/core/systemd.pc.in \
- src/core/macros.systemd.in
-
-CLEANFILES += \
- src/core/macros.systemd \
- src/core/org.freedesktop.systemd1.policy.in
-
-# ------------------------------------------------------------------------------
-
-manual_tests += \
- test-ns \
- test-loopback \
- test-hostname \
- test-daemon \
- test-cgroup \
- test-install \
- test-watchdog \
- test-log \
- test-ipcrm \
- test-btrfs
-
-if HAVE_LIBIPTC
-manual_tests += \
- test-fw-util
-endif
-
-if HAVE_KMOD
-manual_tests += \
- test-rtnl-manual
-endif
-
-tests += \
- test-engine \
- test-cgroup-mask \
- test-job-type \
- test-env-replace \
- test-strbuf \
- test-strv \
- test-path \
- test-path-util \
- test-strxcpyx \
- test-unit-name \
- test-unit-file \
- test-utf8 \
- test-ellipsize \
- test-util \
- test-path-lookup \
- test-ring \
- test-barrier \
- test-pty \
- 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-hashmap \
- test-set \
- test-list \
- test-unaligned \
- test-tables \
- test-device-nodes \
- test-xml \
- test-json \
- test-architecture \
- test-socket-util \
- test-fdset \
- test-conf-files \
- test-capability \
- test-async \
- test-ratelimit \
- test-condition \
- test-uid-range \
- test-bus-policy \
- test-locale-util \
- test-execute \
- test-copy \
- test-cap-list \
- test-sigbus \
- test-verbs
-
-EXTRA_DIST += \
- test/a.service \
- test/basic.target \
- test/b.service \
- test/c.service \
- test/daughter.service \
- test/d.service \
- test/end.service.in \
- 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/paths.target \
- 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/path-changed.service \
- test/path-directorynotempty.service \
- test/path-existsglob.service \
- test/path-exists.service \
- test/path-makedirectory.service \
- test/path-modified.service \
- test/path-mycustomunit.service \
- test/path-service.service \
- test/path-changed.path \
- test/path-directorynotempty.path \
- test/path-existsglob.path \
- test/path-exists.path \
- test/path-makedirectory.path \
- test/path-modified.path \
- test/path-unit.path \
- test/exec-environment-empty.service \
- test/exec-environment-multiple.service \
- test/exec-environment.service \
- test/exec-group.service \
- test/exec-ignoresigpipe-no.service \
- test/exec-ignoresigpipe-yes.service \
- test/exec-personality-x86-64.service \
- test/exec-personality-x86.service \
- test/exec-privatedevices-no.service \
- test/exec-privatedevices-yes.service \
- test/exec-privatetmp-no.service \
- test/exec-privatetmp-yes.service \
- test/exec-systemcallerrornumber.service \
- test/exec-systemcallfilter-failing2.service \
- test/exec-systemcallfilter-failing.service \
- test/exec-systemcallfilter-not-failing2.service \
- test/exec-systemcallfilter-not-failing.service \
- test/exec-user.service \
- test/exec-workingdirectory.service \
- test/exec-umask-0177.service \
- test/exec-umask-default.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
-
-
-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)
-
-test_engine_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-test_job_type_SOURCES = \
- src/test/test-job-type.c
-
-test_job_type_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_job_type_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-test_ns_SOURCES = \
- src/test/test-ns.c
-
-test_ns_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_ns_LDADD = \
- libsystemd-core.la
-
-test_loopback_SOURCES = \
- src/test/test-loopback.c
-
-test_loopback_LDADD = \
- libsystemd-core.la
-
-test_hostname_SOURCES = \
- src/test/test-hostname.c
-
-test_hostname_LDADD = \
- libsystemd-core.la
-
-if ENABLE_EFI
-manual_tests += \
- test-boot-timestamp
-
-test_boot_timestamp_SOURCES = \
- src/test/test-boot-timestamps.c
-
-test_boot_timestamp_LDADD = \
- libsystemd-shared.la
-endif
-
-test_unit_name_SOURCES = \
- src/test/test-unit-name.c
-
-test_unit_name_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_unit_name_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-test_unit_file_SOURCES = \
- src/test/test-unit-file.c
-
-test_unit_file_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_unit_file_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-test_utf8_SOURCES = \
- src/test/test-utf8.c
-
-test_utf8_LDADD = \
- libsystemd-shared.la
-
-test_capability_SOURCES = \
- src/test/test-capability.c
-
-test_capability_LDADD = \
- libsystemd-shared.la
-
-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
-
-test_copy_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.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-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_fdset_SOURCES = \
- src/test/test-fdset.c
-
-test_fdset_LDADD = \
- libsystemd-shared.la \
- libsystemd-internal.la
-
-test_fstab_util_SOURCES = \
- src/test/test-fstab-util.c
-
-test_fstab_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_path_lookup_SOURCES = \
- src/test/test-path-lookup.c
-
-test_path_lookup_LDADD = \
- -lm \
- libsystemd-units.la \
- 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_LDADD = \
- libsystemd-shared.la
-
-test_socket_util_SOURCES = \
- src/test/test-socket-util.c
-
-test_socket_util_LDADD = \
- libsystemd-shared.la
-
-test_ring_SOURCES = \
- src/test/test-ring.c
-
-test_ring_LDADD = \
- libsystemd-shared.la
-
-test_barrier_SOURCES = \
- src/test/test-barrier.c
-
-test_barrier_LDADD = \
- libsystemd-shared.la
-
-test_pty_SOURCES = \
- src/test/test-pty.c
-
-test_pty_LDADD = \
- libsystemd-core.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_namespace_LDADD = \
- libsystemd-core.la
-
-CLEANFILES += \
- src/test/test-hashmap-ordered.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_xml_SOURCES = \
- src/test/test-xml.c
-
-test_xml_LDADD = \
- libsystemd-shared.la
-
-test_json_SOURCES = \
- src/test/test-json.c
-
-test_json_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/bus-proxyd/bus-xml-policy.c \
- src/bus-proxyd/bus-xml-policy.h \
- src/journal/journald-server.c \
- src/journal/journald-server.h
-
-test_tables_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_srcdir)/src/bus-proxyd
-
-test_tables_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_tables_LDADD = \
- libsystemd-logs.la \
- libsystemd-journal-internal.la \
- libsystemd-journal-core.la \
- libsystemd-core.la \
- libudev-core.la \
- $(RT_LIBS)
-
-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_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 \
- -lrt
-
-test_btrfs_SOURCES = \
- src/test/test-btrfs.c
-
-test_btrfs_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la
-
-if HAVE_LIBIPTC
-test_fw_util_SOURCES = \
- src/test/test-fw-util.c
-
-test_fw_util_CFLAGS = \
- $(AM_CFLAGS) \
- $(LIBIPTC_CFLAGS)
-
-test_fw_util_LDADD = \
- libsystemd-fw.la \
- libsystemd-shared.la \
- $(LIBIPTC_LIBS)
-endif
-
-test_rtnl_manual_SOURCES = \
- src/test/test-rtnl-manual.c
-
-test_rtnl_manual_CFLAGS = \
- $(AM_CFLAGS) \
- $(KMOD_CFLAGS)
-
-test_rtnl_manual_LDADD = \
- libsystemd-internal.la \
- 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 = \
- libsystemd-core.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-internal.la \
- libsystemd-shared.la
-
-test_cgroup_SOURCES = \
- src/test/test-cgroup.c
-
-test_cgroup_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la \
- libsystemd-internal.la
-
-test_cgroup_mask_SOURCES = \
- src/test/test-cgroup-mask.c
-
-test_cgroup_mask_CPPFLAGS = \
- $(AM_CPPFLAGS)
-
-test_cgroup_mask_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_cgroup_mask_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-test_cgroup_util_SOURCES = \
- src/test/test-cgroup-util.c
-
-test_cgroup_util_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_env_replace_SOURCES = \
- src/test/test-env-replace.c
-
-test_env_replace_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-units.la \
- libsystemd-internal.la \
- 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)
-
-test_path_LDADD = \
- libsystemd-core.la
-
-test_execute_SOURCES = \
- src/test/test-execute.c
-
-test_execute_CFLAGS = \
- $(AM_CFLAGS)
-
-test_execute_LDADD = \
- libsystemd-core.la
-
-test_strxcpyx_SOURCES = \
- src/test/test-strxcpyx.c
-
-test_strxcpyx_LDADD = \
- libsystemd-shared.la
-
-test_install_SOURCES = \
- src/test/test-install.c
-
-test_install_LDADD = \
- libsystemd-units.la \
- libsystemd-label.la \
- libsystemd-shared.la \
- libsystemd-internal.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)
-
-test_sched_prio_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-test_sched_prio_LDADD = \
- libsystemd-core.la \
- $(RT_LIBS)
-
-test_conf_files_SOURCES = \
- src/test/test-conf-files.c
-
-test_conf_files_LDADD = \
- libsystemd-shared.la
-
-test_bus_policy_SOURCES = \
- src/bus-proxyd/test-bus-xml-policy.c
-
-test_bus_policy_LDADD = \
- libsystemd-proxy.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-## .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_verify_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
-
-systemd_analyze_LDADD = \
- libsystemd-core.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(RT_LIBS)
-
-# ------------------------------------------------------------------------------
-systemd_initctl_SOURCES = \
- src/initctl/initctl.c
-
-systemd_initctl_LDADD = \
- libsystemd-internal.la \
- 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-internal.la \
- libsystemd-shared.la \
- $(AUDIT_LIBS)
-
-# ------------------------------------------------------------------------------
-systemd_update_done_SOURCES = \
- src/update-done/update-done.c
-
-systemd_update_done_LDADD = \
- libsystemd-internal.la \
- libsystemd-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_shutdownd_SOURCES = \
- src/shutdownd/shutdownd.c
-
-systemd_shutdownd_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-dist_doc_DATA += \
- src/systemd/sd-shutdown.h
-
-# ------------------------------------------------------------------------------
-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-label.la \
- libudev-internal.la \
- 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_LDADD = \
- libsystemd-units.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-if HAVE_ACL
-systemd_tmpfiles_LDADD += \
- libsystemd-acl.la
-endif
-
-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/etc.conf
-
-dist_tmpfiles_DATA = \
- tmpfiles.d/systemd.conf \
- tmpfiles.d/systemd-nologin.conf \
- tmpfiles.d/tmp.conf \
- tmpfiles.d/x11.conf \
- tmpfiles.d/var.conf
-
-if HAVE_SYSV_COMPAT
-dist_tmpfiles_DATA += \
- tmpfiles.d/legacy.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/etc.conf.m4 \
- units/systemd-tmpfiles-setup-dev.service.in \
- units/systemd-tmpfiles-setup.service.in \
- units/systemd-tmpfiles-clean.service.in
-
-CLEANFILES += \
- tmpfiles.d/etc.conf
-
-# ------------------------------------------------------------------------------
-if ENABLE_SYSUSERS
-systemd_sysusers_SOURCES = \
- src/sysusers/sysusers.c
-
-systemd_sysusers_LDADD = \
- libsystemd-units.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-rootbin_PROGRAMS += \
- systemd-sysusers
-
-nodist_systemunit_DATA += \
- units/systemd-sysusers.service
-
-SYSINIT_TARGET_WANTS += \
- systemd-sysusers.service
-
-dist_sysusers_DATA = \
- sysusers.d/systemd.conf
-
-nodist_sysusers_DATA = \
- sysusers.d/basic.conf
-
-EXTRA_DIST += \
- units/systemd-sysusers.service.in \
- sysusers.d/basic.conf.in
-
-CLEANFILES += \
- sysusers.d/basic.conf
-
-INSTALL_DIRS += \
- $(sysusersdir)
-endif
-
-# ------------------------------------------------------------------------------
-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-units.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- -lcrypt
-
-rootbin_PROGRAMS += \
- systemd-firstboot
-
-nodist_systemunit_DATA += \
- units/systemd-firstboot.service
-
-EXTRA_DIST += \
- units/systemd-firstboot.service.in
-
-SYSINIT_TARGET_WANTS += \
- systemd-firstboot.service
-endif
-
-# ------------------------------------------------------------------------------
-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-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-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-internal.la \
- libudev-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_fsckd_SOURCES = \
- src/fsckd/fsckd.c \
- $(NULL)
-
-systemd_fsckd_LDADD = \
- libsystemd-internal.la \
- libsystemd-label.la \
- libsystemd-shared.la \
- libudev-internal.la \
- $(NULL)
-
-# ------------------------------------------------------------------------------
-systemd_machine_id_commit_SOURCES = \
- src/machine-id-commit/machine-id-commit.c \
- src/core/machine-id-setup.c \
- src/core/machine-id-setup.h
-
-systemd_machine_id_commit_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-SYSINIT_TARGET_WANTS += \
- systemd-machine-id-commit.service
-
-# ------------------------------------------------------------------------------
-systemd_ac_power_SOURCES = \
- src/ac-power/ac-power.c
-
-systemd_ac_power_LDADD = \
- libudev-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_detect_virt_SOURCES = \
- src/detect-virt/detect-virt.c
-
-systemd_detect_virt_LDADD = \
- libsystemd-shared.la
-
-INSTALL_EXEC_HOOKS += \
- systemd-detect-virt-install-hook
-
-# ------------------------------------------------------------------------------
-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-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_debug_generator_SOURCES = \
- src/debug-generator/debug-generator.c
-
-systemd_debug_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_fstab_generator_SOURCES = \
- src/fstab-generator/fstab-generator.c \
- src/core/mount-setup.c
-
-systemd_fstab_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_system_update_generator_SOURCES = \
- src/system-update-generator/system-update-generator.c
-
-systemd_system_update_generator_LDADD = \
- libsystemd-label.la \
- 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-internal.la \
- libsystemd-shared.la
-
-systemd_hibernate_resume_generator_SOURCES = \
- src/hibernate-resume/hibernate-resume-generator.c
-
-systemd_hibernate_resume_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la
-
-EXTRA_DIST += \
- units/systemd-hibernate.service.in \
- units/systemd-hibernate-resume@.service.in \
- units/systemd-hybrid-sleep.service.in
-
-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
-
-# ------------------------------------------------------------------------------
-if ENABLE_EFI
-systemgenerator_PROGRAMS += \
- systemd-efi-boot-generator
-
-systemd_efi_boot_generator_SOURCES = \
- src/efi-boot-generator/efi-boot-generator.c
-
-systemd_efi_boot_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-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 \
- libsystemd-internal.la \
- $(BLKID_LIBS)
-
-bin_PROGRAMS += \
- bootctl
-
-dist_bashcompletion_DATA += \
- shell-completion/bash/bootctl
-
-dist_zshcompletion_DATA += \
- shell-completion/zsh/_bootctl
-
-# ------------------------------------------------------------------------------
-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 \
- -nostdinc \
- -ggdb -O0 \
- -fpic \
- -fshort-wchar \
- -nostdinc \
- -ffreestanding \
- -fno-strict-aliasing \
- -fno-stack-protector \
- -Wsign-compare \
- -mno-sse \
- -mno-mmx
-
-if ARCH_X86_64
-efi_cflags += \
- -mno-red-zone \
- -DEFI_FUNCTION_WRAPPER \
- -DGNU_EFI_USE_MS_ABI \
- -std=gnu90
-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
-
-# ------------------------------------------------------------------------------
-systemd_boot_headers = \
- src/boot/efi/util.h \
- src/boot/efi/console.h \
- src/boot/efi/graphics.h \
- src/boot/efi/pefile.h
-
-systemd_boot_sources = \
- src/boot/efi/util.c \
- src/boot/efi/console.c \
- src/boot/efi/graphics.c \
- src/boot/efi/pefile.c \
- src/boot/efi/boot.c
-
-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
-
-bootlib_DATA = $(systemd_boot)
-CLEANFILES += $(systemd_boot_objects) $(systemd_boot_solib) $(systemd_boot)
-EXTRA_DIST += $(systemd_boot_sources) $(systemd_boot_headers)
-
-$(top_builddir)/src/boot/efi/%.o: $(top_srcdir)/src/boot/efi/%.c $(addprefix $(top_srcdir)/,$(systemd_boot_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 \
- --target=efi-app-$(EFI_ARCH) $< $@
-
-# ------------------------------------------------------------------------------
-stub_headers = \
- src/boot/efi/util.h \
- src/boot/efi/pefile.h \
- src/boot/efi/linux.h
-
-stub_sources = \
- src/boot/efi/util.c \
- src/boot/efi/pefile.c \
- src/boot/efi/linux.c \
- src/boot/efi/stub.c
-
-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
-
-bootlib_DATA += $(stub)
-CLEANFILES += $(stub_objects) $(stub_solib) $(stub)
-EXTRA_DIST += $(stub_sources) $(stub_headers)
-
-$(top_builddir)/src/boot/efi/%.o: $(top_srcdir)/src/boot/efi/%.c $(addprefix $(top_srcdir)/,$(stub_headers))
- @$(MKDIR_P) $(top_builddir)/src/boot/efi/
- $(AM_V_CC)$(EFI_CC) $(efi_cppflags) $(efi_cflags) -c $< -o $@
-
-$(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 \
- --target=efi-app-$(EFI_ARCH) $< $@
-
-# ------------------------------------------------------------------------------
-CLEANFILES += test-efi-disk.img
-EXTRA_DIST += test/test-efi-create-disk.sh
-
-test-efi-disk.img: $(systemd_boot) $(stub) test/test-efi-create-disk.sh
- $(AM_V_GEN)test/test-efi-create-disk.sh
-
-test-efi: test-efi-disk.img
- $(QEMU) -machine accel=kvm -m 1024 -bios $(QEMU_BIOS) -snapshot test-efi-disk.img
-endif
-endif
-
-# ------------------------------------------------------------------------------
-if HAVE_BLKID
-systemgenerator_PROGRAMS += \
- systemd-gpt-auto-generator
-
-systemd_gpt_auto_generator_SOURCES = \
- src/gpt-auto-generator/gpt-auto-generator.c \
- src/shared/blkid-util.h
-
-systemd_gpt_auto_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libudev-internal.la \
- libsystemd-shared.la \
- $(BLKID_LIBS)
-
-systemd_gpt_auto_generator_CFLAGS = \
- $(AM_CFLAGS) \
- $(BLKID_CFLAGS)
-endif
-
-# ------------------------------------------------------------------------------
-if ENABLE_KDBUS
-systemgenerator_PROGRAMS += \
- systemd-dbus1-generator
-
-systemd_dbus1_generator_SOURCES = \
- src/dbus1-generator/dbus1-generator.c
-
-systemd_dbus1_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-dbus1-generator-install-hook:
- $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(usergeneratordir)
- $(AM_V_RM)rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
- $(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(systemgeneratordir)/systemd-dbus1-generator $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
-
-dbus1-generator-uninstall-hook:
- rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
-
-dist_xinitrc_SCRIPTS = \
- xorg/50-systemd-user.sh
-
-INSTALL_EXEC_HOOKS += dbus1-generator-install-hook
-UNINSTALL_EXEC_HOOKS += dbus1-generator-uninstall-hook
-endif
-
-# ------------------------------------------------------------------------------
-systemd_sysv_generator_SOURCES = \
- src/sysv-generator/sysv-generator.c
-
-systemd_sysv_generator_LDADD = \
- libsystemd-core.la \
- libsystemd-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_rc_local_generator_SOURCES = \
- src/rc-local-generator/rc-local-generator.c
-
-systemd_rc_local_generator_LDADD = \
- libsystemd-label.la \
- 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-label.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_cgroups_agent_SOURCES = \
- src/cgroups-agent/cgroups-agent.c
-
-systemd_cgroups_agent_LDADD = \
- libsystemd-internal.la \
- 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-units.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-logs.la \
- libsystemd-journal-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_notify_SOURCES = \
- src/notify/notify.c
-
-systemd_notify_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_path_SOURCES = \
- src/path/path.c
-
-systemd_path_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_ask_password_SOURCES = \
- src/ask-password/ask-password.c
-
-systemd_ask_password_LDADD = \
- libsystemd-label.la \
- 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-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_cgtop_SOURCES = \
- src/cgtop/cgtop.c
-
-systemd_cgtop_LDADD = \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_nspawn_SOURCES = \
- src/nspawn/nspawn.c \
- src/core/mount-setup.c \
- src/core/mount-setup.h \
- src/core/loopback-setup.c \
- src/core/loopback-setup.h
-
-systemd_nspawn_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS) \
- $(BLKID_CFLAGS)
-
-systemd_nspawn_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libudev-internal.la \
- libsystemd-shared.la \
- $(BLKID_LIBS)
-
-if HAVE_SECCOMP
-systemd_nspawn_LDADD += \
- libsystemd-seccomp.la \
- $(SECCOMP_LIBS)
-endif
-
-if HAVE_LIBIPTC
-systemd_nspawn_LDADD += \
- libsystemd-fw.la
-endif
-
-# ------------------------------------------------------------------------------
-systemd_run_SOURCES = \
- src/run/run.c
-
-systemd_run_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-proxy.la
-
-libsystemd_proxy_la_SOURCES = \
- src/bus-proxyd/bus-xml-policy.c \
- src/bus-proxyd/bus-xml-policy.h \
- src/bus-proxyd/driver.c \
- src/bus-proxyd/driver.h \
- src/bus-proxyd/proxy.c \
- src/bus-proxyd/proxy.h \
- src/bus-proxyd/synthesize.c \
- src/bus-proxyd/synthesize.h
-
-libsystemd_proxy_la_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-libsystemd_proxy_la_LIBADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-systemd_bus_proxyd_SOURCES = \
- src/bus-proxyd/bus-proxyd.c
-
-systemd_bus_proxyd_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-systemd_bus_proxyd_LDADD = \
- libsystemd-proxy.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-systemd_stdio_bridge_SOURCES = \
- src/bus-proxyd/stdio-bridge.c
-
-systemd_stdio_bridge_LDADD = \
- libsystemd-proxy.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-if ENABLE_KDBUS
-nodist_systemunit_DATA += \
- units/systemd-bus-proxyd.service
-
-dist_systemunit_DATA += \
- units/systemd-bus-proxyd.socket
-
-nodist_userunit_DATA += \
- units/user/systemd-bus-proxyd.service
-
-dist_userunit_DATA += \
- units/user/systemd-bus-proxyd.socket
-endif
-
-EXTRA_DIST += \
- units/systemd-bus-proxyd.service.m4.in \
- units/user/systemd-bus-proxyd.service.in
-
-CLEANFILES += \
- units/systemd-bus-proxyd.service.m4
-
-if HAVE_SMACK
-bus-proxyd-set-cap-hook:
- -$(SETCAP) cap_mac_admin+ei $(DESTDIR)$(rootlibexecdir)/systemd-bus-proxyd
-
-INSTALL_EXEC_HOOKS += bus-proxyd-set-cap-hook
-endif
-
-# ------------------------------------------------------------------------------
-systemd_tty_ask_password_agent_SOURCES = \
- src/tty-ask-password-agent/tty-ask-password-agent.c
-
-systemd_tty_ask_password_agent_LDADD = \
- libsystemd-label.la \
- 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-rtnl.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/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-util.c \
- src/libsystemd/sd-bus/bus-util.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-utf8/sd-utf8.c \
- src/libsystemd/sd-event/sd-event.c \
- src/libsystemd/sd-event/event-util.h \
- src/libsystemd/sd-rtnl/sd-rtnl.c \
- src/libsystemd/sd-rtnl/rtnl-internal.h \
- src/libsystemd/sd-rtnl/rtnl-message.c \
- src/libsystemd/sd-rtnl/rtnl-types.h \
- src/libsystemd/sd-rtnl/rtnl-types.c \
- src/libsystemd/sd-rtnl/rtnl-util.h \
- src/libsystemd/sd-rtnl/rtnl-util.c \
- src/libsystemd/sd-rtnl/local-addresses.h \
- src/libsystemd/sd-rtnl/local-addresses.c \
- src/libsystemd/sd-id128/sd-id128.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
-
-nodist_libsystemd_internal_la_SOURCES = \
- src/libsystemd/libsystemd.sym
-
-libsystemd_internal_la_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-libsystemd_internal_la_LIBADD = \
- $(RT_LIBS)
-
-libsystemd_resolve_la_SOURCES = \
- src/libsystemd/sd-resolve/sd-resolve.c \
- src/libsystemd/sd-resolve/resolve-util.h
-
-libsystemd_resolve_la_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-libsystemd_resolve_la_LIBADD = \
- -lresolv
-
-noinst_LTLIBRARIES += \
- libsystemd-internal.la \
- libsystemd-resolve.la
-
-libsystemd_dump_la_SOURCES = \
- src/libsystemd/sd-bus/bus-dump.c \
- src/libsystemd/sd-bus/bus-dump.h
-
-noinst_LTLIBRARIES += \
- libsystemd-dump.la
-
-EXTRA_DIST += \
- src/libsystemd/libsystemd.sym.m4 \
- src/libsystemd/libsystemd.pc.in \
- src/libsystemd/sd-bus/DIFFERENCES \
- src/libsystemd/sd-bus/GVARIANT-SERIALIZATION
-
-CLEANFILES += \
- src/libsystemd/libsystemd.sym
-
-BUILT_SOURCES += \
- src/libsystemd/libsystemd.sym
-
-libsystemd_la_SOURCES = \
- $(libsystemd_internal_la_SOURCES) \
- $(libsystemd_resolve_la_SOURCES) \
- $(libsystemd_journal_internal_la_SOURCES)
-
-nodist_libsystemd_la_SOURCES = \
- $(nodist_libsystemd_internal_la_SOURCES)
-
-libsystemd_la_CFLAGS = \
- $(libsystemd_internal_la_CFLAGS) \
- $(libsystemd_resolve_la_CFLAGS) \
- $(libsystemd_journal_internal_la_CFLAGS)
-
-libsystemd_la_LDFLAGS = \
- $(AM_LDFLAGS) \
- -version-info $(LIBSYSTEMD_CURRENT):$(LIBSYSTEMD_REVISION):$(LIBSYSTEMD_AGE) \
- -Wl,--version-script=$(top_builddir)/src/libsystemd/libsystemd.sym
-
-libsystemd_la_LIBADD = \
- libsystemd-shared.la \
- $(libsystemd_internal_la_LIBADD) \
- $(libsystemd_journal_internal_la_LIBADD) \
- $(libsystemd_resolve_la_LIBADD)
-
-libsystemd-install-hook:
- libname=libsystemd.so && $(move-to-rootlibdir)
-
-libsystemd-uninstall-hook:
- rm -f $(DESTDIR)$(rootlibdir)/libsystemd.so*
-
-INSTALL_EXEC_HOOKS += libsystemd-install-hook
-UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook
-
-pkgconfiglib_DATA += \
- src/libsystemd/libsystemd.pc
-
-pkginclude_HEADERS += \
- src/systemd/sd-login.h \
- src/systemd/sd-id128.h \
- src/systemd/sd-daemon.h
-
-if ENABLE_KDBUS
-pkginclude_HEADERS += \
- 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-rtnl.h \
- src/systemd/sd-resolve.h \
- src/systemd/sd-path.h
-endif
-
-lib_LTLIBRARIES += \
- libsystemd.la
-
-tests += \
- test-bus-marshal \
- test-bus-signature \
- test-bus-chat \
- test-bus-cleanup \
- test-bus-server \
- test-bus-match \
- test-bus-kernel \
- test-bus-kernel-bloom \
- test-bus-kernel-benchmark \
- test-bus-zero-copy \
- test-bus-introspect \
- test-bus-objects \
- test-bus-error \
- test-bus-creds \
- test-bus-gvariant \
- test-event \
- test-rtnl \
- 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-dump.la \
- libsystemd-internal.la \
- 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-internal.la \
- libsystemd-shared.la
-
-test_bus_chat_SOURCES = \
- src/libsystemd/sd-bus/test-bus-chat.c
-
-test_bus_chat_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-test_bus_chat_LDADD = \
- libsystemd-internal.la \
- 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-internal.la \
- libsystemd-shared.la
-
-test_bus_server_SOURCES = \
- src/libsystemd/sd-bus/test-bus-server.c
-
-test_bus_server_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-test_bus_server_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_objects_SOURCES = \
- src/libsystemd/sd-bus/test-bus-objects.c
-
-test_bus_objects_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-test_bus_objects_LDADD = \
- libsystemd-dump.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_error_SOURCES = \
- src/libsystemd/sd-bus/test-bus-error.c
-
-test_bus_error_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_gvariant_SOURCES = \
- src/libsystemd/sd-bus/test-bus-gvariant.c
-
-test_bus_gvariant_LDADD = \
- libsystemd-dump.la \
- libsystemd-internal.la \
- 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-dump.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_match_SOURCES = \
- src/libsystemd/sd-bus/test-bus-match.c
-
-test_bus_match_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_kernel_SOURCES = \
- src/libsystemd/sd-bus/test-bus-kernel.c
-
-test_bus_kernel_LDADD = \
- libsystemd-dump.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_kernel_bloom_SOURCES = \
- src/libsystemd/sd-bus/test-bus-kernel-bloom.c
-
-test_bus_kernel_bloom_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_kernel_benchmark_SOURCES = \
- src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
-
-test_bus_kernel_benchmark_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_zero_copy_SOURCES = \
- src/libsystemd/sd-bus/test-bus-zero-copy.c
-
-test_bus_zero_copy_LDADD = \
- libsystemd-dump.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_bus_introspect_SOURCES = \
- src/libsystemd/sd-bus/test-bus-introspect.c
-
-test_bus_introspect_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_event_SOURCES = \
- src/libsystemd/sd-event/test-event.c
-
-test_event_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_rtnl_SOURCES = \
- src/libsystemd/sd-rtnl/test-rtnl.c
-
-test_rtnl_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_local_addresses_SOURCES = \
- src/libsystemd/sd-rtnl/test-local-addresses.c
-
-test_local_addresses_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_resolve_SOURCES = \
- src/libsystemd/sd-resolve/test-resolve.c
-
-test_resolve_LDADD = \
- libsystemd-resolve.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_resolve_CFLAGS = \
- $(AM_CFLAGS) \
- -pthread
-
-busctl_SOURCES = \
- src/libsystemd/sd-bus/busctl.c \
- src/libsystemd/sd-bus/busctl-introspect.c \
- src/libsystemd/sd-bus/busctl-introspect.h
-
-busctl_LDADD = \
- libsystemd-dump.la \
- libsystemd-internal.la \
- 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-icmp6-nd.h \
- src/systemd/sd-dhcp6-client.h \
- src/systemd/sd-dhcp6-lease.h \
- src/systemd/sd-pppoe.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/ipv4ll-network.c \
- src/libsystemd-network/ipv4ll-packet.c \
- src/libsystemd-network/ipv4ll-internal.h \
- src/libsystemd-network/sd-pppoe.c \
- src/libsystemd-network/network-internal.c \
- src/libsystemd-network/network-internal.h \
- src/libsystemd-network/sd-icmp6-nd.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.h \
- src/libsystemd-network/lldp-tlv.h \
- src/libsystemd-network/lldp-tlv.c \
- src/libsystemd-network/lldp-network.h \
- src/libsystemd-network/lldp-network.c \
- src/libsystemd-network/lldp-port.h \
- src/libsystemd-network/lldp-port.c \
- src/libsystemd-network/lldp-internal.h \
- src/libsystemd-network/lldp-internal.c \
- src/libsystemd-network/lldp-util.h \
- src/libsystemd-network/sd-lldp.c
-
-libsystemd_network_la_LIBADD = \
- libudev-internal.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(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-internal.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-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_dhcp_server_SOURCES = \
- src/libsystemd-network/test-dhcp-server.c
-
-test_dhcp_server_LDADD = \
- libsystemd-network.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_ipv4ll_SOURCES = \
- src/systemd/sd-ipv4ll.h \
- src/libsystemd-network/ipv4ll-internal.h \
- src/libsystemd-network/test-ipv4ll.c
-
-test_ipv4ll_LDADD = \
- libsystemd-network.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_pppoe_SOURCES = \
- src/systemd/sd-pppoe.h \
- src/libsystemd-network/test-pppoe.c
-
-test_pppoe_LDADD = \
- libsystemd-network.la \
- libsystemd-shared.la
-
-test_icmp6_rs_SOURCES = \
- src/systemd/sd-dhcp6-client.h \
- src/systemd/sd-icmp6-nd.h \
- src/libsystemd-network/dhcp6-internal.h \
- src/libsystemd-network/test-icmp6-rs.c \
- src/libsystemd-network/dhcp-identifier.h \
- src/libsystemd-network/dhcp-identifier.c
-
-test_icmp6_rs_LDADD = \
- libsystemd-network.la \
- libsystemd-internal.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 \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_lldp_SOURCES = \
- src/libsystemd-network/lldp.h \
- src/libsystemd-network/lldp-tlv.h \
- src/libsystemd-network/lldp-tlv.c \
- src/libsystemd-network/test-lldp.c
-
-test_lldp_LDADD = \
- libsystemd-network.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-tests += \
- test-dhcp-option \
- test-dhcp-client \
- test-dhcp-server \
- test-ipv4ll \
- test-icmp6-rs \
- test-dhcp6-client \
- test-lldp
-
-manual_tests += \
- test-pppoe
-
-# ------------------------------------------------------------------------------
-if ENABLE_TERMINAL
-noinst_LTLIBRARIES += \
- libsystemd-terminal.la
-
-rootlibexec_PROGRAMS += \
- systemd-consoled
-
-noinst_PROGRAMS += \
- systemd-evcat \
- systemd-modeset \
- systemd-subterm
-
-dist_pkgdata_DATA += \
- src/libsystemd-terminal/unifont-glyph-array.bin
-
-nodist_userunit_DATA += \
- units/user/systemd-consoled.service
-
-USER_DEFAULT_TARGET_WANTS += \
- systemd-consoled.service
-
-tests += \
- test-term-page \
- test-term-parser \
- test-unifont
-endif
-
-EXTRA_DIST += \
- units/user/systemd-consoled.service.in
-
-libsystemd_terminal_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(TERMINAL_CFLAGS)
-
-libsystemd_terminal_la_SOURCES = \
- src/libsystemd-terminal/grdev.h \
- src/libsystemd-terminal/grdev-internal.h \
- src/libsystemd-terminal/grdev.c \
- src/libsystemd-terminal/grdev-drm.c \
- src/libsystemd-terminal/idev.h \
- src/libsystemd-terminal/idev-internal.h \
- src/libsystemd-terminal/idev.c \
- src/libsystemd-terminal/idev-evdev.c \
- src/libsystemd-terminal/idev-keyboard.c \
- src/libsystemd-terminal/sysview.h \
- src/libsystemd-terminal/sysview-internal.h \
- src/libsystemd-terminal/sysview.c \
- src/libsystemd-terminal/term.h \
- src/libsystemd-terminal/term-internal.h \
- src/libsystemd-terminal/term-charset.c \
- src/libsystemd-terminal/term-page.c \
- src/libsystemd-terminal/term-parser.c \
- src/libsystemd-terminal/term-screen.c \
- src/libsystemd-terminal/term-wcwidth.c \
- src/libsystemd-terminal/unifont.h \
- src/libsystemd-terminal/unifont-def.h \
- src/libsystemd-terminal/unifont.c
-
-libsystemd_terminal_la_LIBADD = \
- libudev-internal.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(TERMINAL_LIBS)
-
-systemd_consoled_CFLAGS = \
- $(AM_CFLAGS) \
- $(TERMINAL_CFLAGS)
-
-systemd_consoled_SOURCES = \
- src/console/consoled.h \
- src/console/consoled.c \
- src/console/consoled-display.c \
- src/console/consoled-manager.c \
- src/console/consoled-session.c \
- src/console/consoled-terminal.c \
- src/console/consoled-workspace.c
-
-systemd_consoled_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(TERMINAL_LIBS)
-
-systemd_evcat_CFLAGS = \
- $(AM_CFLAGS) \
- $(TERMINAL_CFLAGS)
-
-systemd_evcat_SOURCES = \
- src/libsystemd-terminal/evcat.c
-
-systemd_evcat_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(TERMINAL_LIBS)
-
-systemd_modeset_CFLAGS = \
- $(AM_CFLAGS) \
- $(TERMINAL_CFLAGS)
-
-systemd_modeset_SOURCES = \
- src/libsystemd-terminal/modeset.c
-
-systemd_modeset_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(TERMINAL_LIBS)
-
-systemd_subterm_SOURCES = \
- src/libsystemd-terminal/subterm.c
-
-systemd_subterm_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_term_page_SOURCES = \
- src/libsystemd-terminal/test-term-page.c
-
-test_term_page_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_term_parser_SOURCES = \
- src/libsystemd-terminal/test-term-parser.c
-
-test_term_parser_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-test_unifont_SOURCES = \
- src/libsystemd-terminal/test-unifont.c
-
-test_unifont_LDADD = \
- libsystemd-terminal.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-src/libsystemd-terminal/unifont-glyph-array.bin: tools/compile-unifont.py $(UNIFONT)
- $(AM_V_GEN)$(PYTHON) $< <$(UNIFONT) >$@
-
-# ------------------------------------------------------------------------------
-if ENABLE_GTK_DOC
-SUBDIRS += \
- docs/libudev
-
-noinst_DATA += \
- docs/html/libudev \
- docs/html/gudev
-endif
-
-include_HEADERS += \
- src/libudev/libudev.h
-
-lib_LTLIBRARIES += \
- libudev.la
-
-libudev_la_SOURCES =\
- src/libudev/libudev.sym \
- src/libudev/libudev-private.h \
- src/libudev/libudev.c \
- src/libudev/libudev-list.c \
- src/libudev/libudev-util.c \
- src/libudev/libudev-device.c \
- src/libudev/libudev-enumerate.c \
- src/libudev/libudev-monitor.c \
- src/libudev/libudev-queue.c \
- src/libudev/libudev-hwdb.c
-
-libudev_la_CFLAGS = \
- $(AM_CFLAGS) \
- -fvisibility=hidden
-
-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 \
- libsystemd-shared.la
-
-pkgconfiglib_DATA += \
- src/libudev/libudev.pc
-
-EXTRA_DIST += \
- src/libudev/libudev.pc.in
-
-CLEANFILES += \
- src/libudev/libudev.pc \
- docs/html/libudev \
- docs/html/gudev
-
-docs/html/libudev:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_LN)$(LN_S) -f ../libudev/html $@
-
-docs/html/gudev:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_LN)$(LN_S) -f ../gudev/html $@
-
-# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
-libudev-install-hook:
- libname=libudev.so && $(move-to-rootlibdir)
-
-libudev-uninstall-hook:
- rm -f $(DESTDIR)$(rootlibdir)/libudev.so*
-
-INSTALL_EXEC_HOOKS += libudev-install-hook
-UNINSTALL_EXEC_HOOKS += libudev-uninstall-hook
-
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libudev-internal.la
-
-libudev_internal_la_SOURCES =\
- $(libudev_la_SOURCES) \
- src/libudev/libudev-device-private.c
-
-libudev_internal_la_CFLAGS = \
- $(AM_CFLAGS) \
- -fvisibility=default
-
-# ------------------------------------------------------------------------------
-INSTALL_DIRS += \
- $(sysconfdir)/udev/rules.d
-
-dist_network_DATA = \
- network/99-default.link \
- network/80-container-host0.network \
- network/80-container-ve.network
-
-dist_udevrules_DATA += \
- rules/42-usb-hid-pm.rules \
- rules/50-udev-default.rules \
- rules/60-drm.rules \
- rules/60-keyboard.rules \
- rules/60-persistent-storage-tape.rules \
- rules/60-persistent-serial.rules \
- rules/60-persistent-input.rules \
- rules/60-persistent-alsa.rules \
- rules/60-persistent-storage.rules \
- rules/64-btrfs.rules \
- rules/70-mouse.rules \
- rules/70-touchpad.rules \
- rules/75-net-description.rules \
- rules/75-tty-description.rules \
- rules/78-sound-card.rules \
- rules/80-net-setup-link.rules \
- rules/95-udev-late.rules
-
-nodist_udevrules_DATA += \
- rules/99-systemd.rules
-
-udevconfdir = $(sysconfdir)/udev
-dist_udevconf_DATA = \
- src/udev/udev.conf
-
-sharepkgconfigdir = $(datadir)/pkgconfig
-sharepkgconfig_DATA = \
- src/udev/udev.pc
-
-EXTRA_DIST += \
- rules/99-systemd.rules.in \
- src/udev/udev.pc.in
-
-CLEANFILES += \
- rules/99-systemd.rules \
- src/udev/udev.pc
-
-EXTRA_DIST += \
- units/systemd-udevd.service.in \
- units/systemd-udev-trigger.service.in \
- units/systemd-udev-settle.service.in
-
-CLEANFILES += \
- units/systemd-udevd.service \
- units/systemd-udev-trigger.service \
- units/systemd-udev-settle.service
-
-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.txt:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/input.h - < /dev/null | $(AWK) '/^#define[ \t]+KEY_[^ ]+[ \t]+[0-9]/ { if ($$2 != "KEY_MAX") { print $$2 } }' | sed 's/^KEY_COFFEE$$/KEY_SCREENLOCK/' > $@
-
-src/udev/keyboard-keys-from-name.gperf: src/udev/keyboard-keys.txt
- $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
-
-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 < $< > $@
-
-src/udev/keyboard-keys-to-name.h: src/udev/keyboard-keys.txt
- $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
-
-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/keyboard-keys-to-name.h \
- src/udev/net/link-config-gperf.c
-
-BUILT_SOURCES += \
- $(nodist_libudev_core_la_SOURCES)
-
-CLEANFILES += \
- src/udev/keyboard-keys-from-name.gperf \
- src/udev/keyboard-keys.txt \
- src/udev/net/link-config-gperf.c
-
-EXTRA_DIST += \
- src/udev/net/link-config-gperf.gperf
-
-libudev_core_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(BLKID_CFLAGS) \
- $(KMOD_CFLAGS)
-
-libudev_core_la_LIBADD = \
- libudev-internal.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-network.la \
- libsystemd-shared.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
-
-libudev_core_la_LIBADD += \
- libsystemd-acl.la
-endif
-
-systemd_udevd_SOURCES = \
- src/udev/udevd.c
-
-systemd_udevd_LDADD = \
- libudev-core.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
-
-# ------------------------------------------------------------------------------
-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 = \
- libsystemd-shared.la \
- libsystemd-internal.la \
- libudev-internal.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-keyboard.hwdb \
- hwdb/70-mouse.hwdb \
- hwdb/70-touchpad.hwdb
-
-EXTRA_DIST += \
- units/systemd-hwdb-update.service.in
-
-CLEANFILES += \
- units/systemd-hwdb-update.service
-
-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
-
-# ------------------------------------------------------------------------------
-TESTS += \
- test/udev-test.pl \
- $(NULL)
-
-if HAVE_PYTHON
-TESTS += \
- test/rule-syntax-check.py \
- test/sysv-generator-test.py \
- $(NULL)
-endif
-
-manual_tests += \
- test-libudev \
- test-udev
-
-test_libudev_SOURCES = \
- src/test/test-libudev.c
-
-test_libudev_LDADD = \
- libsystemd-label.la \
- libudev-internal.la \
- libsystemd-shared.la \
- libsystemd-internal.la
-
-test_udev_SOURCES = \
- src/test/test-udev.c
-
-test_udev_LDADD = \
- libudev-core.la \
- $(BLKID_LIBS) \
- $(KMOD_LIBS) \
- $(SELINUX_LIBS)
-
-if HAVE_ACL
-test_udev_LDADD += \
- libsystemd-acl.la
-endif
-
-check_DATA += \
- test/sys
-
-# packed sysfs test tree
-test/sys:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
-
-test-sys-distclean:
- -rm -rf test/sys
-DISTCLEAN_LOCAL_HOOKS += test-sys-distclean
-
-EXTRA_DIST += \
- test/sys.tar.xz \
- test/udev-test.pl \
- test/rule-syntax-check.py \
- test/sysv-generator-test.py \
- $(NULL)
-
-
-# ------------------------------------------------------------------------------
-ata_id_SOURCES = \
- src/udev/ata_id/ata_id.c
-
-ata_id_LDADD = \
- libudev-internal.la \
- libsystemd-shared.la
-
-udevlibexec_PROGRAMS += \
- ata_id
-
-# ------------------------------------------------------------------------------
-cdrom_id_SOURCES = \
- src/udev/cdrom_id/cdrom_id.c
-
-cdrom_id_LDADD = \
- libudev-internal.la \
- libsystemd-shared.la
-
-udevlibexec_PROGRAMS += \
- cdrom_id
-
-dist_udevrules_DATA += \
- rules/60-cdrom_id.rules
-
-# ------------------------------------------------------------------------------
-collect_SOURCES = \
- src/udev/collect/collect.c
-
-collect_LDADD = \
- libudev-internal.la \
- libsystemd-shared.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_LDADD = \
- libudev-internal.la \
- libsystemd-shared.la
-
-udevlibexec_PROGRAMS += \
- scsi_id
-
-EXTRA_DIST += \
- src/udev/scsi_id/README
-
-# ------------------------------------------------------------------------------
-v4l_id_SOURCES = \
- src/udev/v4l_id/v4l_id.c
-
-v4l_id_LDADD = \
- libudev-internal.la \
- libsystemd-shared.la
-
-udevlibexec_PROGRAMS += \
- v4l_id
-
-dist_udevrules_DATA += \
- rules/60-persistent-v4l.rules
-
-# ------------------------------------------------------------------------------
-accelerometer_SOURCES = \
- src/udev/accelerometer/accelerometer.c
-
-accelerometer_LDADD = \
- libudev-internal.la \
- libsystemd-shared.la
-
-udevlibexec_PROGRAMS += \
- accelerometer
-
-dist_udevrules_DATA += \
- rules/61-accelerometer.rules
-
-# ------------------------------------------------------------------------------
-if ENABLE_GUDEV
-if ENABLE_GTK_DOC
-SUBDIRS += \
- docs/gudev
-endif
-
-libgudev_includedir = \
- $(includedir)/gudev-1.0/gudev
-
-libgudev_include_HEADERS = \
- src/gudev/gudev.h \
- src/gudev/gudevenums.h \
- src/gudev/gudevenumtypes.h \
- src/gudev/gudevtypes.h \
- src/gudev/gudevclient.h \
- src/gudev/gudevdevice.h \
- src/gudev/gudevenumerator.h
-
-lib_LTLIBRARIES += libgudev-1.0.la
-
-pkgconfiglib_DATA += \
- src/gudev/gudev-1.0.pc
-
-CLEANFILES += \
- src/gudev/gudev-1.0.pc
-
-libgudev_1_0_la_SOURCES = \
- src/gudev/libgudev-1.0.sym \
- src/gudev/gudevenums.h \
- src/gudev/gudevenumtypes.h \
- src/gudev/gudevenumtypes.h\
- src/gudev/gudevtypes.h \
- src/gudev/gudevclient.h \
- src/gudev/gudevclient.c \
- src/gudev/gudevdevice.h \
- src/gudev/gudevdevice.c \
- src/gudev/gudevenumerator.h \
- src/gudev/gudevenumerator.c \
- src/gudev/gudevprivate.h
-
-nodist_libgudev_1_0_la_SOURCES = \
- src/gudev/gudevmarshal.h \
- src/gudev/gudevmarshal.c \
- src/gudev/gudevenumtypes.h \
- src/gudev/gudevenumtypes.c
-
-BUILT_SOURCES += \
- $(nodist_libgudev_1_0_la_SOURCES)
-
-libgudev_1_0_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_builddir)/src\
- -I$(top_srcdir)/src\
- -I$(top_builddir)/src/gudev \
- -I$(top_srcdir)/src/gudev \
- -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
- -D_GUDEV_COMPILATION \
- -DG_LOG_DOMAIN=\"GUdev\"
-
-libgudev_1_0_la_CFLAGS = \
- $(AM_CFLAGS) \
- -fvisibility=default \
- $(GLIB_CFLAGS)
-
-libgudev_1_0_la_LIBADD = \
- libudev.la \
- $(GLIB_LIBS)
-
-libgudev_1_0_la_LDFLAGS = \
- $(AM_LDFLAGS) \
- -version-info $(LIBGUDEV_CURRENT):$(LIBGUDEV_REVISION):$(LIBGUDEV_AGE) \
- -export-dynamic \
- -no-undefined \
- -Wl,--version-script=$(top_srcdir)/src/gudev/libgudev-1.0.sym
-
-src/gudev/gudevmarshal.h: src/gudev/gudevmarshal.list
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)glib-genmarshal $< --prefix=g_udev_marshal --header > $@
-
-src/gudev/gudevmarshal.c: src/gudev/gudevmarshal.list
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)echo '#include "gudevmarshal.h"' > $@ && \
- glib-genmarshal $< --prefix=g_udev_marshal --body >> $@
-
-src/gudev/gudevenumtypes.%: src/gudev/gudevenumtypes.%.template src/gudev/gudevenums.h
- $(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)glib-mkenums --template $^ > $@
-
-if HAVE_INTROSPECTION
--include $(INTROSPECTION_MAKEFILE)
-
-src/gudev/GUdev-1.0.gir: libgudev-1.0.la
-
-src_gudev_GUdev_1_0_gir_INCLUDES = GObject-2.0
-
-src_gudev_GUdev_1_0_gir_CFLAGS = \
- $(AM_CFLAGS) \
- $(INCLUDES) \
- -D_GUDEV_COMPILATION \
- -D_GUDEV_WORK_AROUND_DEV_T_BUG \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/src/gudev \
- -I$(top_builddir)/src/gudev
-
-src_gudev_GUdev_1_0_gir_LIBS = libgudev-1.0.la
-
-src_gudev_GUdev_1_0_gir_SCANNERFLAGS = \
- --pkg-export=gudev-1.0 \
- --warn-all
-
-src_gudev_GUdev_1_0_gir_FILES = \
- src/gudev/gudev.h \
- src/gudev/gudevtypes.h \
- src/gudev/gudevenums.h \
- src/gudev/gudevenumtypes.h \
- src/gudev/gudevclient.h \
- src/gudev/gudevdevice.h \
- src/gudev/gudevenumerator.h \
- src/gudev/gudevclient.c \
- src/gudev/gudevdevice.c \
- src/gudev/gudevenumerator.c
-
-INTROSPECTION_GIRS = src/gudev/GUdev-1.0.gir
-INTROSPECTION_SCANNER_ARGS = --c-include=gudev/gudev.h
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = \
- src/gudev/GUdev-1.0.gir
-
-typelibsdir = $(libdir)/girepository-1.0
-typelibs_DATA = \
- src/gudev/GUdev-1.0.typelib
-
-CLEANFILES += $(gir_DATA) $(typelibs_DATA)
-endif # HAVE_INTROSPECTION
-endif
-
-EXTRA_DIST += \
- src/gudev/gudev-1.0.pc.in \
- src/gudev/gudevmarshal.list \
- src/gudev/gudevenumtypes.h.template \
- src/gudev/gudevenumtypes.c.template \
- src/gudev/gjs-example.js \
- src/gudev/seed-example-enum.js \
- src/gudev/seed-example.js
-
-# ------------------------------------------------------------------------------
-mtd_probe_SOURCES = \
- src/udev/mtd_probe/mtd_probe.c \
- src/udev/mtd_probe/mtd_probe.h \
- src/udev/mtd_probe/probe_smartmedia.c
-
-dist_udevrules_DATA += \
- rules/75-probe_mtd.rules
-
-udevlibexec_PROGRAMS += \
- mtd_probe
-
-# ------------------------------------------------------------------------------
-test_id128_SOURCES = \
- src/test/test-id128.c
-
-test_id128_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-tests += \
- test-id128
-
-# ------------------------------------------------------------------------------
-
-rootlibexec_PROGRAMS += \
- systemd-activate
-
-systemd_activate_SOURCES = \
- src/activate/activate.c
-
-systemd_activate_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-# ------------------------------------------------------------------------------
-systemd_journald_SOURCES = \
- src/journal/journald.c \
- src/journal/journald-server.h
-
-systemd_journald_LDADD = \
- libsystemd-journal-core.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-systemd_cat_SOURCES = \
- src/journal/cat.c
-
-systemd_cat_LDADD = \
- libsystemd-journal-core.la
-
-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 = \
- libsystemd-internal.la \
- libsystemd-journal-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 ENABLE_SYSUSERS
-dist_sysusers_DATA += \
- sysusers.d/systemd-remote.conf
-endif
-
-if ENABLE_TMPFILES
-dist_tmpfiles_DATA += \
- tmpfiles.d/systemd-remote.conf
-endif
-
-if HAVE_GNUTLS
-systemd_journal_remote_LDADD += \
- $(GNUTLS_LIBS)
-
-# 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
-
-EXTRA_DIST += \
- units/systemd-journal-remote.service.in
-
-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
-
-endif
-
-nodist_pkgsysconf_DATA += \
- src/journal-remote/journal-remote.conf
-
-EXTRA_DIST += \
- src/journal-remote/journal-remote.conf.in
-
-CLEANFILES += \
- src/journal-remote/journal-remote.conf
-endif
-
-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-internal.la \
- libsystemd-journal-internal.la \
- libsystemd-shared.la \
- $(LIBCURL_LIBS)
-
-nodist_systemunit_DATA += \
- units/systemd-journal-upload.service
-
-EXTRA_DIST += \
- units/systemd-journal-upload.service.in
-
-nodist_pkgsysconf_DATA += \
- src/journal-remote/journal-upload.conf
-
-EXTRA_DIST += \
- src/journal-remote/journal-upload.conf.in
-
-CLEANFILES += \
- src/journal-remote/journal-upload.conf
-endif
-
-# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
-journalctl_CFLAGS = \
- $(AM_CFLAGS)
-
-journalctl_SOURCES = \
- src/journal/journalctl.c
-
-journalctl_LDADD = \
- libsystemd-journal-internal.la \
- libsystemd-internal.la \
- libsystemd-logs.la \
- libsystemd-shared.la
-
-if HAVE_ACL
-journalctl_LDADD += \
- libsystemd-acl.la
-endif
-
-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 = \
- libsystemd-journal-core.la
-
-test_journal_send_SOURCES = \
- src/journal/test-journal-send.c
-
-test_journal_send_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_syslog_SOURCES = \
- src/journal/test-journal-syslog.c
-
-test_journal_syslog_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_match_SOURCES = \
- src/journal/test-journal-match.c
-
-test_journal_match_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_enum_SOURCES = \
- src/journal/test-journal-enum.c
-
-test_journal_enum_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_stream_SOURCES = \
- src/journal/test-journal-stream.c
-
-test_journal_stream_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_flush_SOURCES = \
- src/journal/test-journal-flush.c
-
-test_journal_flush_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_init_SOURCES = \
- src/journal/test-journal-init.c
-
-test_journal_init_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_verify_SOURCES = \
- src/journal/test-journal-verify.c
-
-test_journal_verify_LDADD = \
- libsystemd-journal-core.la
-
-test_journal_interleaving_SOURCES = \
- src/journal/test-journal-interleaving.c
-
-test_journal_interleaving_LDADD = \
- libsystemd-journal-core.la
-
-test_mmap_cache_SOURCES = \
- src/journal/test-mmap-cache.c
-
-test_mmap_cache_LDADD = \
- libsystemd-journal-core.la
-
-test_catalog_SOURCES = \
- src/journal/test-catalog.c
-
-test_catalog_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -DCATALOG_DIR=\"$(abs_top_srcdir)/catalog\"
-
-test_catalog_LDADD = \
- libsystemd-journal-core.la
-
-test_compress_SOURCES = \
- src/journal/test-compress.c
-
-test_compress_LDADD = \
- libsystemd-journal-internal.la \
- libsystemd-shared.la
-
-test_compress_benchmark_SOURCES = \
- src/journal/test-compress-benchmark.c
-
-test_compress_benchmark_LDADD = \
- libsystemd-journal-internal.la \
- libsystemd-shared.la
-
-libsystemd_journal_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_libsystemd_journal_core_la_SOURCES = \
- src/journal/journald-gperf.c
-
-libsystemd_journal_core_la_LIBADD = \
- libsystemd-journal-internal.la \
- libudev-internal.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-if HAVE_ACL
-libsystemd_journal_core_la_LIBADD += \
- libsystemd-acl.la
-endif
-
-noinst_LTLIBRARIES += \
- libsystemd-journal-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
-
-manual_tests += \
- test-journal-enum
-
-tests += \
- test-journal \
- 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
-
-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
-
-# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
-libsystemd_journal_internal_la_CFLAGS = \
- $(AM_CFLAGS)
-
-libsystemd_journal_internal_la_LIBADD = \
- libsystemd-label.la
-
-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)
-
-# fsprg.c is a drop-in file using void pointer arithmetic
-libsystemd_journal_internal_la_CFLAGS += \
- $(GCRYPT_CFLAGS) \
- -Wno-pointer-arith
-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
-
-dist_catalog_DATA = \
- catalog/systemd.fr.catalog \
- catalog/systemd.it.catalog \
- catalog/systemd.pl.catalog \
- catalog/systemd.pt_BR.catalog \
- catalog/systemd.ru.catalog \
- catalog/systemd.catalog
-
-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 \
- src/journal/journald-gperf.gperf
-
-CLEANFILES += \
- src/journal/journald-gperf.c
-
-# ------------------------------------------------------------------------------
-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-logs.la \
- libsystemd-journal-internal.la \
- libsystemd-internal.la \
- 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-logs.la \
- libsystemd-internal.la \
- libsystemd-journal-internal.la \
- libsystemd-shared.la \
- libsystemd-resolve.la
-
-# ------------------------------------------------------------------------------
-if ENABLE_COREDUMP
-systemd_coredump_SOURCES = \
- src/journal/coredump.c \
- src/journal/coredump-vacuum.c \
- src/journal/coredump-vacuum.h
-
-systemd_coredump_LDADD = \
- libsystemd-journal-internal.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-if HAVE_ELFUTILS
-systemd_coredump_SOURCES += \
- src/journal/stacktrace.c \
- src/journal/stacktrace.h
-
-systemd_coredump_LDADD += \
- $(ELFUTILS_LIBS)
-endif
-
-rootlibexec_PROGRAMS += \
- systemd-coredump
-
-dist_pkgsysconf_DATA += \
- src/journal/coredump.conf
-
-if HAVE_ACL
-systemd_coredump_LDADD += \
- libsystemd-acl.la
-endif
-
-coredumpctl_SOURCES = \
- src/journal/coredumpctl.c
-
-coredumpctl_LDADD = \
- libsystemd-journal-internal.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-bin_PROGRAMS += \
- coredumpctl
-
-manual_tests += \
- test-coredump-vacuum
-
-test_coredump_vacuum_SOURCES = \
- src/journal/test-coredump-vacuum.c \
- src/journal/coredump-vacuum.c \
- src/journal/coredump-vacuum.h
-
-test_coredump_vacuum_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-dist_bashcompletion_DATA += \
- shell-completion/bash/coredumpctl
-
-dist_zshcompletion_DATA += \
- shell-completion/zsh/_coredumpctl
-
-sysctl_DATA = \
- sysctl.d/50-coredump.conf
-
-CLEANFILES += \
- sysctl.d/50-coredump.conf
-endif
-
-EXTRA_DIST += \
- sysctl.d/50-coredump.conf.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_systemunit_DATA += \
- units/systemd-vconsole-setup.service
-
-nodist_udevrules_DATA += \
- src/vconsole/90-vconsole.rules
-
-SYSINIT_TARGET_WANTS += \
- systemd-vconsole-setup.service
-
-CLEANFILES += \
- src/vconsole/90-vconsole.rules
-endif
-
-EXTRA_DIST += \
- src/vconsole/90-vconsole.rules.in \
- units/systemd-vconsole-setup.service.in
-
-# ------------------------------------------------------------------------------
-if ENABLE_BOOTCHART
-systemd_bootchart_SOURCES = \
- src/bootchart/bootchart.c \
- src/bootchart/bootchart.h \
- src/bootchart/store.c \
- src/bootchart/store.h \
- src/bootchart/svg.c \
- src/bootchart/svg.h
-
-systemd_bootchart_LDADD = \
- libsystemd-journal-internal.la \
- libsystemd-shared.la
-
-rootlibexec_PROGRAMS += \
- systemd-bootchart
-
-dist_pkgsysconf_DATA += \
- src/bootchart/bootchart.conf
-
-nodist_systemunit_DATA += \
- units/systemd-bootchart.service
-
-EXTRA_DIST += \
- units/systemd-bootchart.service.in
-
-CLEANFILES += \
- units/systemd-bootchart.service
-endif
-
-# ------------------------------------------------------------------------------
-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-label.la \
- 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-label.la \
- libudev-internal.la \
- 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
-
-systemd_rfkill_SOURCES = \
- src/rfkill/rfkill.c
-
-systemd_rfkill_LDADD = \
- libsystemd-label.la \
- libudev-internal.la \
- libsystemd-shared.la
-endif
-
-EXTRA_DIST += \
- units/systemd-rfkill@.service.in
-
-# ------------------------------------------------------------------------------
-if HAVE_LIBCRYPTSETUP
-rootlibexec_PROGRAMS += \
- systemd-cryptsetup
-
-systemgenerator_PROGRAMS += \
- systemd-cryptsetup-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-label.la \
- libudev-internal.la \
- libsystemd-shared.la \
- $(LIBCRYPTSETUP_LIBS)
-
-systemd_cryptsetup_generator_SOURCES = \
- src/cryptsetup/cryptsetup-generator.c
-
-systemd_cryptsetup_generator_LDADD = \
- libsystemd-label.la \
- libsystemd-shared.la
-
-SYSINIT_TARGET_WANTS += \
- cryptsetup.target
-
-endif
-
-# ------------------------------------------------------------------------------
-if ENABLE_HOSTNAMED
-systemd_hostnamed_SOURCES = \
- src/hostname/hostnamed.c
-
-systemd_hostnamed_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- 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-internal.la \
- 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
-
-systemd_localed_LDADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(XKBCOMMON_LIBS)
-
-systemd_localed_CFLAGS = \
- $(AM_CFLAGS) \
- $(XKBCOMMON_CFLAGS)
-
-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
-
-localectl_SOURCES = \
- src/locale/localectl.c
-
-localectl_LDADD = \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-bin_PROGRAMS += \
- localectl
-
-dist_bashcompletion_DATA += \
- shell-completion/bash/localectl
-
-dist_zshcompletion_DATA += \
- shell-completion/zsh/_localectl
-
-endif
-
-.PHONY: update-kbd-model-map
-
-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-label.la \
- libsystemd-internal.la \
- 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-internal.la \
- 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
-
-EXTRA_DIST += \
- src/timesync/timesyncd-gperf.gperf
-
-CLEANFILES += \
- src/timesync/timesyncd-gperf.c
-
-systemd_timesyncd_LDADD = \
- libsystemd-resolve.la \
- libsystemd-network.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la
-
-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
-
-EXTRA_DIST += \
- units/systemd-timesyncd.service.in
-
-nodist_pkgsysconf_DATA += \
- src/timesync/timesyncd.conf
-
-EXTRA_DIST += \
- src/timesync/timesyncd.conf.in
-
-CLEANFILES += \
- src/timesync/timesyncd.conf
-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-shared.la \
- libsystemd-internal.la
-
-lib_LTLIBRARIES += \
- libnss_myhostname.la
-endif
-
-# ------------------------------------------------------------------------------
-if ENABLE_MACHINED
-systemd_machined_SOURCES = \
- src/machine/machined.c \
- src/machine/machined.h
-
-systemd_machined_LDADD = \
- libsystemd-machine-core.la
-
-rootlibexec_PROGRAMS += \
- systemd-machined
-
-libsystemd_machine_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
-
-libsystemd_machine_core_la_LIBADD = \
- libsystemd-label.la \
- libsystemd-internal.la \
- libudev-internal.la \
- libsystemd-shared.la
-
-noinst_LTLIBRARIES += \
- libsystemd-machine-core.la
-
-machinectl_SOURCES = \
- src/machine/machinectl.c
-
-machinectl_LDADD = \
- libsystemd-internal.la \
- libsystemd-logs.la \
- libsystemd-journal-internal.la \
- libsystemd-shared.la
-
-rootbin_PROGRAMS += \
- machinectl
-
-dist_bashcompletion_DATA += \
- shell-completion/bash/machinectl
-
-test_machine_tables_SOURCES = \
- src/machine/test-machine-tables.c
-
-test_machine_tables_LDADD = \
- libsystemd-machine-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
-
-polkitpolicy_in_files += \
- src/machine/org.freedesktop.machine1.policy.in
-
-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
-
-EXTRA_DIST += \
- units/systemd-machined.service.in
-
-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-shared.la \
- libsystemd-internal.la
-
-lib_LTLIBRARIES += \
- libnss_mymachines.la
-
-endif
-
-# ------------------------------------------------------------------------------
-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_importd_SOURCES = \
- src/import/importd.c
-
-systemd_importd_CFLAGS = \
- $(AM_CFLAGS) \
- -D SYSTEMD_PULL_PATH=\"$(rootlibexecdir)/systemd-pull\"
-
-systemd_importd_LDADD = \
- libsystemd-internal.la \
- libsystemd-label.la \
- libsystemd-shared.la
-
-systemd_pull_SOURCES = \
- src/import/pull.c \
- src/import/import-raw.c \
- src/import/import-raw.h \
- src/import/import-tar.c \
- src/import/import-tar.h \
- src/import/import-dkr.c \
- src/import/import-dkr.h \
- src/import/import-job.c \
- src/import/import-job.h \
- src/import/import-common.c \
- src/import/import-common.h \
- src/import/curl-util.c \
- src/import/curl-util.h \
- src/import/aufs-util.c \
- src/import/aufs-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-internal.la \
- libsystemd-label.la \
- libsystemd-shared.la \
- $(LIBCURL_LIBS) \
- $(XZ_LIBS) \
- $(ZLIB_LIBS) \
- -lbz2 \
- $(GCRYPT_LIBS)
-
-dist_rootlibexec_DATA = \
- src/import/import-pubring.gpg
-
-nodist_systemunit_DATA += \
- units/systemd-importd.service
-
-EXTRA_DIST += \
- units/systemd-importd.service.in
-
-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
-
-polkitpolicy_in_files += \
- src/import/org.freedesktop.import1.policy.in
-
-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-internal.la \
- libsystemd-label.la \
- libsystemd-shared.la \
- $(ZLIB_LIBS)
-
-endif
-endif
-endif
-endif
-endif
-
-endif
-
-# ------------------------------------------------------------------------------
-if ENABLE_RESOLVED
-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-bus.c \
- src/resolve/resolved-bus.h \
- src/resolve/resolved-link.h \
- src/resolve/resolved-link.c \
- src/resolve/resolved-def.h \
- src/resolve/resolved-dns-domain.h \
- src/resolve/resolved-dns-domain.c \
- src/resolve/resolved-dns-rr.h \
- src/resolve/resolved-dns-rr.c \
- src/resolve/resolved-dns-question.h \
- src/resolve/resolved-dns-question.c \
- src/resolve/resolved-dns-answer.h \
- src/resolve/resolved-dns-answer.c \
- src/resolve/resolved-dns-packet.h \
- src/resolve/resolved-dns-packet.c \
- src/resolve/resolved-dns-query.h \
- src/resolve/resolved-dns-query.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-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/dns-type.c \
- src/resolve/dns-type.h \
- src/resolve/dns_type-from-name.h \
- src/resolve/dns_type-to-name.h
-
-nodist_systemd_resolved_SOURCES = \
- src/resolve/resolved-gperf.c
-
-EXTRA_DIST += \
- src/resolve/resolved-gperf.gperf \
- src/resolve/dns_type-from-name.gperf
-
-CLEANFILES += \
- src/resolve/resolved-gperf.c
-
-systemd_resolved_LDADD = \
- libsystemd-network.la \
- libsystemd-label.la \
- libsystemd-internal.la \
- libsystemd-shared.la \
- $(LIBIDN_LIBS)
-
-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