summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am851
1 files changed, 584 insertions, 267 deletions
diff --git a/Makefile.am b/Makefile.am
index bc615bdc3b..537207c6a3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+#@all
# -*- Mode: makefile; indent-tabs-mode: t -*-
#
# This file is part of systemd.
@@ -6,6 +7,7 @@
# Copyright 2010-2012 Kay Sievers
# Copyright 2013 Zbigniew Jędrzejewski-Szmek
# Copyright 2013 David Strauss
+# Copyright 2016 Luke Shumaker
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
@@ -19,7 +21,10 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/build-aux/Makefile.head.mk
+#@build-aux/Makefile.once.head/20-sd.mk
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
AUTOMAKE_OPTIONS = color-tests parallel-tests
@@ -38,14 +43,17 @@ SUBDIRS = . po
# Keep the test-suite.log
.PRECIOUS: $(TEST_SUITE_LOG) Makefile
+#@src/libudev/Makefile
LIBUDEV_CURRENT=7
LIBUDEV_REVISION=5
LIBUDEV_AGE=6
+#@src/libsystemd/Makefile
LIBSYSTEMD_CURRENT=16
LIBSYSTEMD_REVISION=0
LIBSYSTEMD_AGE=16
+#@config.mk.in
# Dirs of external packages
dbuspolicydir=@dbuspolicydir@
dbussessionservicedir=@dbussessionservicedir@
@@ -97,6 +105,7 @@ rootprefix=@rootprefix@
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
+#@discard.mk
EXTRA_DIST =
BUILT_SOURCES =
INSTALL_EXEC_HOOKS =
@@ -142,7 +151,7 @@ endif
else
noinst_PROGRAMS =
TESTS =
-endif
+endif # ENABLE_TESTS
AM_TESTS_ENVIRONMENT = \
export SYSTEMD_KBD_MODEL_MAP=$(abs_top_srcdir)/src/locale/kbd-model-map; \
export SYSTEMD_LANGUAGE_FALLBACK_MAP=$(abs_top_srcdir)/src/locale/language-fallback-map;
@@ -150,11 +159,11 @@ AM_TESTS_ENVIRONMENT = \
if ENABLE_BASH_COMPLETION
dist_bashcompletion_DATA = $(dist_bashcompletion_data)
nodist_bashcompletion_DATA = $(nodist_bashcompletion_data)
-endif
+endif # ENABLE_BASH_COMPLETION
if ENABLE_ZSH_COMPLETION
dist_zshcompletion_DATA = $(dist_zshcompletion_data)
nodist_zshcompletion_DATA = $(nodist_zshcompletion_data)
-endif
+endif # ENABLE_ZSH_COMPLETION
udevlibexec_PROGRAMS =
gperf_gperf_sources =
@@ -346,47 +355,107 @@ INSTALL_EXEC_HOOKS += \
INSTALL_EXEC_HOOKS += \
install-busnames-target-wants-hook
-# ------------------------------------------------------------------------------
+#@build-aux/Makefile.once.head/20-sd.mk ----------------------------------------
+V ?=
+
AM_V_M4 = $(AM_V_M4_$(V))
AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
AM_V_M4_0 = @echo " M4 " $@;
+AM_V_M4_1 =
+#@build-aux/Makefile.once.head/20-sdman.mk
AM_V_XSLT = $(AM_V_XSLT_$(V))
AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
AM_V_XSLT_0 = @echo " XSLT " $@;
+AM_V_XSLT_1 =
+#@build-aux/Makefile.once.head/20-sd.mk
AM_V_GPERF = $(AM_V_GPERF_$(V))
AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
AM_V_GPERF_0 = @echo " GPERF " $@;
+AM_V_GPERF_1 =
+#@build-aux/Makefile.once.head/20-sdman.mk
AM_V_LN = $(AM_V_LN_$(V))
AM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
AM_V_LN_0 = @echo " LN " $@;
+AM_V_LN_1 =
+#@build-aux/Makefile.once.head/20-sd.mk
AM_V_RM = $(AM_V_RM_$(V))
AM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY))
AM_V_RM_0 = @echo " RM " $@;
-
-# ------------------------------------------------------------------------------
-rootbin_PROGRAMS = \
- systemctl \
- systemd-notify \
- systemd-ask-password \
- systemd-tty-ask-password-agent \
- systemd-machine-id-setup \
- systemd-escape
-
-bin_PROGRAMS = \
- systemd-cgls \
- systemd-cgtop \
- systemd-nspawn \
- systemd-detect-virt \
- systemd-delta \
- systemd-analyze \
- systemd-run \
- systemd-stdio-bridge \
- systemd-path
-
+AM_V_RM_1 =
+
+AM_V_CC = $(AM_V_CC_$(V))
+AM_V_CC_ = $(AM_V_CC_$(AM_DEFAULT_VERBOSITY))
+AM_V_CC_0 = @echo " CC " $@;
+AM_V_CC_1 =
+
+AM_V_CCLD = $(AM_V_CCLD_$(V))
+AM_V_CCLD_ = $(AM_V_CCLD_$(AM_DEFAULT_VERBOSITY))
+AM_V_CCLD_0 = @echo " CCLD " $@;
+AM_V_CCLD_1 =
+
+AM_V_P = $(AM_V_P_$(V))
+AM_V_P_ = $(AM_V_P_$(AM_DEFAULT_VERBOSITY))
+AM_V_P_0 = false
+AM_V_P_1 = :
+
+AM_V_GEN = $(AM_V_GEN_$(V))
+AM_V_GEN_ = $(AM_V_GEN_$(AM_DEFAULT_VERBOSITY))
+AM_V_GEN_0 = @echo " GEN " $@;
+AM_V_GEN_1 =
+
+AM_V_at = $(AM_V_at_$(V))
+AM_V_at_ = $(AM_V_at_$(AM_DEFAULT_VERBOSITY))
+AM_V_at_0 = @
+AM_V_at_1 =
+
+AM_V_lt = $(AM_V_lt_$(V))
+AM_V_lt_ = $(AM_V_lt_$(AM_DEFAULT_VERBOSITY))
+AM_V_lt_0 = --silent
+AM_V_lt_1 =
+
+INTLTOOL_V_MERGE = $(INTLTOOL_V_MERGE_$(V))
+INTLTOOL_V_MERGE_OPTIONS = $(intltool_v_merge_options_$(V))
+INTLTOOL_V_MERGE_ = $(INTLTOOL_V_MERGE_$(AM_DEFAULT_VERBOSITY))
+INTLTOOL_V_MERGE_0 = @echo " ITMRG " $@;
+INTLTOOL_V_MERGE_1 =
+
+#@auto/systemctl/Makefile
+rootbin_PROGRAMS += systemctl
+#@auto/systemd-notify/Makefile
+rootbin_PROGRAMS += systemd-notify
+#@auto/systemd-ask-password/Makefile
+rootbin_PROGRAMS += systemd-ask-password
+#@auto/systemd-tty-ask-password-agent/Makefile
+rootbin_PROGRAMS += systemd-tty-ask-password-agent
+#@auto/systemd-machine-id-setup/Makefile
+rootbin_PROGRAMS += systemd-machine-id-setup
+#@auto/systemd-escape/Makefile
+rootbin_PROGRAMS += systemd-escape
+
+#@auto/systemd-cgls/Makefile
+bin_PROGRAMS += systemd-cgls
+#@auto/systemd-cgtop/Makefile
+bin_PROGRAMS += systemd-cgtop
+#@auto/systemd-nspawn/Makefile
+bin_PROGRAMS += systemd-nspawn
+#@auto/systemd-detect-virt/Makefile
+bin_PROGRAMS += systemd-detect-virt
+#@auto/systemd-delta/Makefile
+bin_PROGRAMS += systemd-delta
+#@auto/systemd-analyze/Makefile
+bin_PROGRAMS += systemd-analyze
+#@auto/systemd-run/Makefile
+bin_PROGRAMS += systemd-run
+#@auto/systemd-stdio-bridge/Makefile
+bin_PROGRAMS += systemd-stdio-bridge
+#@auto/systemd-path/Makefile
+bin_PROGRAMS += systemd-path
+
+#@auto/kernel-install/Makefile
dist_bin_SCRIPTS = \
src/kernel-install/kernel-install
@@ -394,31 +463,47 @@ dist_kernelinstall_SCRIPTS = \
src/kernel-install/50-depmod.install \
src/kernel-install/90-loaderentry.install
-rootlibexec_PROGRAMS = \
- systemd \
- systemd-cgroups-agent \
- systemd-initctl \
- systemd-shutdown \
- systemd-remount-fs \
- systemd-reply-password \
- systemd-fsck \
- systemd-ac-power \
- systemd-sysctl \
- systemd-sleep \
- systemd-socket-proxyd \
- systemd-update-done
-
+#@src/grp-system/systemd/Makefile
+rootlibexec_PROGRAMS += systemd
+#@auto/systemd-cgroups-agent/Makefile
+rootlibexec_PROGRAMS += systemd-cgroups-agent
+#@auto/systemd-initctl/Makefile
+rootlibexec_PROGRAMS += systemd-initctl
+#@auto/systemd-shutdown/Makefile
+rootlibexec_PROGRAMS += systemd-shutdown
+#@auto/systemd-remount-fs/Makefile
+rootlibexec_PROGRAMS += systemd-remount-fs
+#@auto/systemd-reply-password/Makefile
+rootlibexec_PROGRAMS += systemd-reply-password
+#@auto/systemd-fsck/Makefile
+rootlibexec_PROGRAMS += systemd-fsck
+#@auto/systemd-ac-power/Makefile
+rootlibexec_PROGRAMS += systemd-ac-power
+#@auto/systemd-sysctl/Makefile
+rootlibexec_PROGRAMS += systemd-sysctl
+#@auto/systemd-sleep/Makefile
+rootlibexec_PROGRAMS += systemd-sleep
+#@auto/systemd-socket-proxyd/Makefile
+rootlibexec_PROGRAMS += systemd-socket-proxyd
+#@auto/systemd-update-done/Makefile
+rootlibexec_PROGRAMS += systemd-update-done
+
+#@auto/systemd-update-utmp/Makefile
if HAVE_UTMP
rootlibexec_PROGRAMS += \
systemd-update-utmp
-endif
-
-systemgenerator_PROGRAMS = \
- systemd-getty-generator \
- systemd-fstab-generator \
- systemd-system-update-generator \
- systemd-debug-generator
-
+endif # HAVE_UTMP
+
+#@auto/systemd-getty-generator/Makefile
+systemgenerator_PROGRAMS += systemd-getty-generator
+#@auto/systemd-fstab-generator/Makefile
+systemgenerator_PROGRAMS += systemd-fstab-generator
+#@auto/systemd-system-update-generator/Makefile
+systemgenerator_PROGRAMS += systemd-system-update-generator
+#@auto/systemd-debug-generator/Makefile
+systemgenerator_PROGRAMS += systemd-debug-generator
+
+#@discard.mk
dist_bashcompletion_data = \
shell-completion/bash/busctl \
shell-completion/bash/journalctl \
@@ -568,7 +653,7 @@ if HAVE_UTMP
nodist_systemunit_DATA += \
units/systemd-update-utmp.service \
units/systemd-update-utmp-runlevel.service
-endif
+endif # HAVE_UTMP
dist_userunit_DATA = \
units/user/basic.target \
@@ -627,7 +712,7 @@ nodist_systemunit_DATA += \
systemgenerator_PROGRAMS += \
systemd-sysv-generator \
systemd-rc-local-generator
-endif
+endif # HAVE_SYSV_COMPAT
EXTRA_DIST += \
src/systemctl/systemd-sysv-install.SKELETON \
@@ -672,7 +757,7 @@ EXTRA_DIST += \
@INTLTOOL_POLICY_RULE@
-# ------------------------------------------------------------------------------
+#@build-aux/Makefile.each.tail/70-sdman.mk -------------------------------------
MANPAGES =
MANPAGES_ALIAS =
@@ -698,7 +783,7 @@ noinst_DATA += \
$(HTML_FILES) \
$(HTML_ALIAS) \
docs/html/man
-endif
+endif # ENABLE_MANPAGES
CLEANFILES += \
$(man_MANS) \
@@ -716,7 +801,7 @@ man/index.html: man/systemd.index.html
if HAVE_PYTHON
noinst_DATA += \
man/index.html
-endif
+endif # HAVE_PYTHON
CLEANFILES += \
man/index.html
@@ -753,7 +838,9 @@ EXTRA_DIST += \
tools/xml_helper.py \
man/glib-event-glue.c
-# ------------------------------------------------------------------------------
+#@src/libbasic/Makefile --------------------------------------------------------
+nested.subdirs += src include
+#@src/libbasic/src/Makefile
noinst_LTLIBRARIES += \
libbasic.la
@@ -970,7 +1057,9 @@ libbasic_la_LIBADD = \
-lrt \
-lm
-# -----------------------------------------------------------------------------
+#@src/libshared/Makefile -------------------------------------------------------
+nested.subdirs += src
+#@src/libshared/src/Makefile
noinst_LTLIBRARIES += \
libshared.la
@@ -1064,19 +1153,19 @@ libshared_la_SOURCES = \
if HAVE_UTMP
libshared_la_SOURCES += \
src/shared/utmp-wtmp.c
-endif
+endif # HAVE_UTMP
if HAVE_SECCOMP
libshared_la_SOURCES += \
src/shared/seccomp-util.h \
src/shared/seccomp-util.c
-endif
+endif # HAVE_SECCOMP
if HAVE_ACL
libshared_la_SOURCES += \
src/shared/acl-util.c \
src/shared/acl-util.h
-endif
+endif # HAVE_ACL
libshared_la_CFLAGS = \
$(AM_CFLAGS) \
@@ -1130,8 +1219,7 @@ libsystemd_shared_la_LDFLAGS = \
$(AM_LDFLAGS) \
-release $(PACKAGE_VERSION)
-
-# -----------------------------------------------------------------------------
+#@src/libsystemd-firewall/src/Makefile -----------------------------------------
if HAVE_LIBIPTC
noinst_LTLIBRARIES += \
libfirewall.la
@@ -1146,18 +1234,18 @@ libfirewall_la_CFLAGS = \
libfirewall_la_LIBADD = \
$(LIBIPTC_LIBS)
-endif
+endif # HAVE_LIBIPTC
-# -----------------------------------------------------------------------------
+#@discard.mk -------------------------------------------------------------------
if ENABLE_LDCONFIG
dist_systemunit_DATA += \
units/ldconfig.service
SYSINIT_TARGET_WANTS += \
ldconfig.service
-endif
+endif # ENABLE_LDCONFIG
-# ------------------------------------------------------------------------------
+#@src/grp-system/libcore/src/Makefile ------------------------------------------
noinst_LTLIBRARIES += \
libcore.la
@@ -1304,6 +1392,7 @@ 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 ";" }' < $< > $@
+#@discard.mk
gperf_gperf_m4_sources = \
src/core/load-fragment-gperf.gperf.m4
@@ -1332,6 +1421,7 @@ EXTRA_DIST += \
CLEANFILES += \
$(gperf_txt_sources)
+#@build-aux/Makefile.each.tail/50-sd.mk
%-from-name.gperf: %-list.txt
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct $(notdir $*)_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@
@@ -1340,7 +1430,7 @@ CLEANFILES += \
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@
-
+#@src/libbasic/src/Makefile
src/basic/errno-list.txt:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@
@@ -1388,10 +1478,11 @@ src/basic/cap-from-name.h: src/basic/cap-from-name.gperf
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@
+#@src/libsystemd/src/sd-journal/Makefile
audit_list_includes = -include linux/audit.h -include missing.h
if HAVE_AUDIT
audit_list_includes += -include libaudit.h
-endif
+endif # HAVE_AUDIT
src/journal/audit_type-list.txt:
$(AM_V_at)$(MKDIR_P) $(dir $@)
@@ -1401,6 +1492,7 @@ src/journal/audit_type-to-name.h: src/journal/audit_type-list.txt
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *audit_type_to_string(int type) {\n\tswitch(type) {" } {printf " case AUDIT_%s: return \"%s\";\n", $$1, $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@
+#@src/grp-resolve/libbasic-dns/src/Makefile
src/resolve/dns_type-list.txt: src/resolve/dns-type.h
$(AM_V_at)$(MKDIR_P) $(dir $@)
@@ -1414,7 +1506,7 @@ src/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct dns_type_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { s=$$1; sub(/_/, "-", s); printf "%s, ", $$s; printf "DNS_TYPE_%s\n", $$1 }' <$< >$@
-# ------------------------------------------------------------------------------
+#@src/grp-system/systemd/Makefile ----------------------------------------------
systemd_SOURCES = \
src/core/main.c
@@ -1453,7 +1545,7 @@ EXTRA_DIST += \
src/core/macros.systemd.in \
src/core/triggers.systemd.in
-# ------------------------------------------------------------------------------
+#@test/Makefile ----------------------------------------------------------------
manual_tests += \
test-ns \
@@ -1471,12 +1563,12 @@ unsafe_tests = \
if HAVE_LIBIPTC
manual_tests += \
test-firewall-util
-endif
+endif # HAVE_LIBIPTC
if HAVE_KMOD
manual_tests += \
test-netlink-manual
-endif
+endif # HAVE_KMOD
tests += \
test-daemon \
@@ -1569,7 +1661,7 @@ tests += \
if HAVE_ACL
tests += \
test-acl-util
-endif
+endif # HAVE_ACL
EXTRA_DIST += \
test/a.service \
@@ -1752,7 +1844,7 @@ test_boot_timestamps_SOURCES = \
test_boot_timestamps_LDADD = \
libsystemd-shared.la
-endif
+endif # ENABLE_EFI
test_unit_name_SOURCES = \
src/test/test-unit-name.c
@@ -2188,7 +2280,7 @@ test_firewall_util_LDADD = \
libfirewall.la \
libsystemd-shared.la \
$(LIBIPTC_LIBS)
-endif
+endif # HAVE_LIBIPTC
test_netlink_manual_SOURCES = \
src/test/test-netlink-manual.c
@@ -2375,7 +2467,7 @@ test_arphrd_list_SOURCES = \
test_arphrd_list_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@discard.mk -------------------------------------------------------------------
## .PHONY so it always rebuilds it
.PHONY: coverage lcov-run lcov-report coverage-sync
@@ -2412,9 +2504,9 @@ coverage-sync: coverage
else
lcov-run lcov-report:
echo "Need to reconfigure with --enable-coverage"
-endif
+endif # ENABLE_COVERAGE
-# ------------------------------------------------------------------------------
+#@auto/systemd-analyze/Makefile ------------------------------------------------
systemd_analyze_SOURCES = \
src/analyze/analyze.c \
src/analyze/analyze-verify.c \
@@ -2428,14 +2520,14 @@ systemd_analyze_CFLAGS = \
systemd_analyze_LDADD = \
libcore.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-initctl/Makefile ------------------------------------------------
systemd_initctl_SOURCES = \
src/initctl/initctl.c
systemd_initctl_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-update-utmp/Makefile --------------------------------------------
systemd_update_utmp_SOURCES = \
src/update-utmp/update-utmp.c
@@ -2447,14 +2539,14 @@ systemd_update_utmp_LDADD = \
libsystemd-shared.la \
$(AUDIT_LIBS)
-# ------------------------------------------------------------------------------
+#@auto/systemd-update-done/Makefile --------------------------------------------
systemd_update_done_SOURCES = \
src/update-done/update-done.c
systemd_update_done_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-shutdown/Makefile -----------------------------------------------
systemd_shutdown_SOURCES = \
src/core/umount.c \
src/core/umount.h \
@@ -2467,7 +2559,7 @@ systemd_shutdown_SOURCES = \
systemd_shutdown_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-modules-load/Makefile -------------------------------------------
if HAVE_KMOD
systemd_modules_load_SOURCES = \
src/modules-load/modules-load.c
@@ -2495,14 +2587,14 @@ nodist_systemunit_DATA += \
SYSINIT_TARGET_WANTS += \
kmod-static-nodes.service
-endif
-endif
+endif # ENABLE_TMPFILES
+endif # HAVE_KMOD
EXTRA_DIST += \
units/systemd-modules-load.service.in \
units/kmod-static-nodes.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-tmpfiles/Makefile -----------------------------------------------
if ENABLE_TMPFILES
systemd_tmpfiles_SOURCES = \
src/tmpfiles/tmpfiles.c
@@ -2542,7 +2634,7 @@ dist_tmpfiles_DATA = \
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
tmpfiles.d/legacy.conf
-endif
+endif # HAVE_SYSV_COMPAT
SYSINIT_TARGET_WANTS += \
systemd-tmpfiles-setup-dev.service \
@@ -2557,7 +2649,7 @@ TIMERS_TARGET_WANTS += \
INSTALL_DIRS += \
$(tmpfilesdir) \
$(sysconfdir)/tmpfiles.d
-endif
+endif # ENABLE_TMPFILES
EXTRA_DIST += \
tmpfiles.d/systemd.conf.m4 \
@@ -2566,7 +2658,7 @@ EXTRA_DIST += \
units/systemd-tmpfiles-setup.service.in \
units/systemd-tmpfiles-clean.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-sysusers/Makefile -----------------------------------------------
if ENABLE_SYSUSERS
systemd_sysusers_SOURCES = \
src/sysusers/sysusers.c
@@ -2587,14 +2679,16 @@ nodist_sysusers_DATA = \
sysusers.d/systemd.conf \
sysusers.d/basic.conf
+#@discard.mk
if HAVE_REMOTE
nodist_sysusers_DATA += \
sysusers.d/systemd-remote.conf
-endif
+endif # HAVE_REMOTE
+#@auto/systemd-sysusers/Makefile
INSTALL_DIRS += \
$(sysusersdir)
-endif
+endif # ENABLE_SYSUSERS
EXTRA_DIST += \
units/systemd-sysusers.service.in \
@@ -2602,7 +2696,7 @@ EXTRA_DIST += \
sysusers.d/systemd-remote.conf.m4 \
sysusers.d/basic.conf.in
-# ------------------------------------------------------------------------------
+#@discard.mk -------------------------------------------------------------------
dist_factory_etc_DATA = \
factory/etc/nsswitch.conf
@@ -2610,9 +2704,9 @@ if HAVE_PAM
dist_factory_pam_DATA = \
factory/etc/pam.d/system-auth \
factory/etc/pam.d/other
-endif
+endif # HAVE_PAM
-# ------------------------------------------------------------------------------
+#@auto/systemd-firstboot/Makefile ----------------------------------------------
if ENABLE_FIRSTBOOT
systemd_firstboot_SOURCES = \
src/firstboot/firstboot.c
@@ -2629,12 +2723,12 @@ nodist_systemunit_DATA += \
SYSINIT_TARGET_WANTS += \
systemd-firstboot.service
-endif
+endif # ENABLE_FIRSTBOOT
EXTRA_DIST += \
units/systemd-firstboot.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-machine-id-setup/Makefile ---------------------------------------
systemd_machine_id_setup_SOURCES = \
src/machine-id-setup/machine-id-setup-main.c \
src/core/machine-id-setup.c \
@@ -2646,35 +2740,35 @@ systemd_machine_id_setup_LDADD = \
SYSINIT_TARGET_WANTS += \
systemd-machine-id-commit.service
-# ------------------------------------------------------------------------------
+#@auto/systemd-sysctl/Makefile -------------------------------------------------
systemd_sysctl_SOURCES = \
src/sysctl/sysctl.c
systemd_sysctl_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-sleep/Makefile --------------------------------------------------
systemd_sleep_SOURCES = \
src/sleep/sleep.c
systemd_sleep_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-fsck/Makefile ---------------------------------------------------
systemd_fsck_SOURCES = \
src/fsck/fsck.c
systemd_fsck_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-ac-power/Makefile -----------------------------------------------
systemd_ac_power_SOURCES = \
src/ac-power/ac-power.c
systemd_ac_power_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-detect-virt/Makefile --------------------------------------------
systemd_detect_virt_SOURCES = \
src/detect-virt/detect-virt.c
@@ -2684,28 +2778,28 @@ systemd_detect_virt_LDADD = \
INSTALL_EXEC_HOOKS += \
systemd-detect-virt-install-hook
-# ------------------------------------------------------------------------------
+#@auto/systemd-delta/Makefile --------------------------------------------------
systemd_delta_SOURCES = \
src/delta/delta.c
systemd_delta_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-getty-generator/Makefile ----------------------------------------
systemd_getty_generator_SOURCES = \
src/getty-generator/getty-generator.c
systemd_getty_generator_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-debug-generator/Makefile ----------------------------------------
systemd_debug_generator_SOURCES = \
src/debug-generator/debug-generator.c
systemd_debug_generator_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-fstab-generator/Makefile ----------------------------------------
systemd_fstab_generator_SOURCES = \
src/fstab-generator/fstab-generator.c \
src/core/mount-setup.c
@@ -2713,18 +2807,21 @@ systemd_fstab_generator_SOURCES = \
systemd_fstab_generator_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-system-update-generator/Makefile --------------------------------
systemd_system_update_generator_SOURCES = \
src/system-update-generator/system-update-generator.c
systemd_system_update_generator_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-hibernate-resume-generator/Makefile -----------------------------
if ENABLE_HIBERNATE
systemgenerator_PROGRAMS += \
systemd-hibernate-resume-generator
+#@auto/systemd-hibernate-resume/Makefile
+if ENABLE_HIBERNATE
+
rootlibexec_PROGRAMS += \
systemd-hibernate-resume
@@ -2734,28 +2831,40 @@ systemd_hibernate_resume_SOURCES = \
systemd_hibernate_resume_LDADD = \
libsystemd-shared.la
+nodist_systemunit_DATA += \
+ units/systemd-hibernate-resume@.service
+
+endif # ENABLE_HIBERNATE
+
+EXTRA_DIST += \
+ units/systemd-hibernate-resume@.service.in
+
+#@auto/systemd-hibernate-resume-generator/Makefile
systemd_hibernate_resume_generator_SOURCES = \
src/hibernate-resume/hibernate-resume-generator.c
systemd_hibernate_resume_generator_LDADD = \
libsystemd-shared.la
+endif # ENABLE_HIBERNATE
+#@auto/systemd-sleep/Makefile
+if ENABLE_HIBERNATE
+
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
+
+endif # ENABLE_HIBERNATE
EXTRA_DIST += \
units/systemd-hibernate.service.in \
- units/systemd-hibernate-resume@.service.in \
units/systemd-hybrid-sleep.service.in
-# ------------------------------------------------------------------------------
+#@auto/bootctl/Makefile --------------------------------------------------------
if ENABLE_EFI
if HAVE_BLKID
bootctl_SOURCES = \
@@ -2782,9 +2891,11 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_bootctl
-endif
+endif # HAVE_BLKID
+endif # ENABLE_EFI
-# ------------------------------------------------------------------------------
+#@auto/systemd-boot/Makefile ---------------------------------------------------
+if ENABLE_EFI
if HAVE_GNUEFI
efi_cppflags = \
$(EFI_CPPFLAGS) \
@@ -2816,13 +2927,13 @@ efi_cflags += \
-mno-mmx \
-DEFI_FUNCTION_WRAPPER \
-DGNU_EFI_USE_MS_ABI
-endif
+endif # ARCH_X86_64
if ARCH_IA32
efi_cflags += \
-mno-sse \
-mno-mmx
-endif
+endif # ARCH_IA32
efi_ldflags = \
$(EFI_LDFLAGS) \
@@ -2841,9 +2952,9 @@ efi_ldflags += --defsym=EFI_SUBSYSTEM=0xa
EFI_FORMAT = -O binary
else
EFI_FORMAT = --target=efi-app-$(EFI_ARCH)
-endif
-endif
-endif
+endif # ARCH_AARCH64
+endif # HAVE_GNUEFI
+endif # ENABLE_EFI
# ------------------------------------------------------------------------------
systemd_boot_headers = \
@@ -2885,8 +2996,8 @@ $(systemd_boot_solib): $(systemd_boot_objects)
$(systemd_boot): $(systemd_boot_solib)
$(AM_V_GEN)$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
-j .dynsym -j .rel -j .rela -j .reloc $(EFI_FORMAT) $< $@
-endif
-endif
+endif # HAVE_GNUEFI
+endif # ENABLE_EFI
CLEANFILES += $(systemd_boot_objects) $(systemd_boot_solib) $(systemd_boot)
@@ -2935,8 +3046,8 @@ $(stub_solib): $(stub_objects)
$(stub): $(stub_solib)
$(AM_V_GEN)$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
-j .dynsym -j .rel -j .rela -j .reloc $(EFI_FORMAT) $< $@
-endif
-endif
+endif # HAVE_GNUEFI
+endif # ENABLE_EFI
CLEANFILES += $(stub_objects) $(stub_solib) $(stub)
@@ -2952,7 +3063,7 @@ test-efi: test-efi-disk.img
EXTRA_DIST += test/test-efi-create-disk.sh
-# ------------------------------------------------------------------------------
+#@auto/systemd-gpt-auto-generator/Makefile -------------------------------------
if HAVE_BLKID
systemgenerator_PROGRAMS += \
systemd-gpt-auto-generator
@@ -2968,27 +3079,27 @@ systemd_gpt_auto_generator_LDADD = \
systemd_gpt_auto_generator_CFLAGS = \
$(AM_CFLAGS) \
$(BLKID_CFLAGS)
-endif
+endif # HAVE_BLKID
-# ------------------------------------------------------------------------------
+#@src/grp-system/systemd/Makefile ----------------------------------------------
dist_xinitrc_SCRIPTS = \
xorg/50-systemd-user.sh
-# ------------------------------------------------------------------------------
+#@auto/systemd-sysv-generator/Makefile -----------------------------------------
systemd_sysv_generator_SOURCES = \
src/sysv-generator/sysv-generator.c
systemd_sysv_generator_LDADD = \
libcore.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-rc-local-generator/Makefile -------------------------------------
systemd_rc_local_generator_SOURCES = \
src/rc-local-generator/rc-local-generator.c
systemd_rc_local_generator_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-remount-fs/Makefile ---------------------------------------------
systemd_remount_fs_SOURCES = \
src/remount-fs/remount-fs.c \
src/core/mount-setup.c \
@@ -2997,70 +3108,70 @@ systemd_remount_fs_SOURCES = \
systemd_remount_fs_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-cgroups-agent/Makefile ------------------------------------------
systemd_cgroups_agent_SOURCES = \
src/cgroups-agent/cgroups-agent.c
systemd_cgroups_agent_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-escape/Makefile -------------------------------------------------
systemd_escape_SOURCES = \
src/escape/escape.c
systemd_escape_LDADD = \
libsystemd-shared.la
-# -----------------------------------------------------------------------------
+#@auto/systemctl/Makefile ------------------------------------------------------
systemctl_SOURCES = \
src/systemctl/systemctl.c
systemctl_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-notify/Makefile -------------------------------------------------
systemd_notify_SOURCES = \
src/notify/notify.c
systemd_notify_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-path/Makefile ---------------------------------------------------
systemd_path_SOURCES = \
src/path/path.c
systemd_path_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-ask-password/Makefile -------------------------------------------
systemd_ask_password_SOURCES = \
src/ask-password/ask-password.c
systemd_ask_password_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-reply-password/Makefile -----------------------------------------
systemd_reply_password_SOURCES = \
src/reply-password/reply-password.c
systemd_reply_password_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-cgls/Makefile ---------------------------------------------------
systemd_cgls_SOURCES = \
src/cgls/cgls.c
systemd_cgls_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-cgtop/Makefile --------------------------------------------------
systemd_cgtop_SOURCES = \
src/cgtop/cgtop.c
systemd_cgtop_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-nspawn/Makefile -------------------------------------------------
systemd_nspawn_SOURCES = \
src/nspawn/nspawn.c \
src/nspawn/nspawn-settings.c \
@@ -3111,7 +3222,7 @@ systemd_nspawn_LDADD = \
if HAVE_LIBIPTC
systemd_nspawn_LDADD += \
libfirewall.la
-endif
+endif # HAVE_LIBIPTC
test_patch_uid_SOURCES = \
src/nspawn/nspawn-patch-uid.c \
@@ -3129,28 +3240,28 @@ test_patch_uid_LDADD = \
manual_tests += \
test-patch-uid
-# ------------------------------------------------------------------------------
+#@auto/systemd-run/Makefile ----------------------------------------------------
systemd_run_SOURCES = \
src/run/run.c
systemd_run_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-stdio-bridge/Makefile -------------------------------------------
systemd_stdio_bridge_SOURCES = \
src/stdio-bridge/stdio-bridge.c
systemd_stdio_bridge_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-tty-ask-password-agent/Makefile ---------------------------------
systemd_tty_ask_password_agent_SOURCES = \
src/tty-ask-password-agent/tty-ask-password-agent.c
systemd_tty_ask_password_agent_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@src/libsystemd/src/Makefile --------------------------------------------------
libsystemd_internal_la_SOURCES = \
src/systemd/sd-bus.h \
src/systemd/sd-bus-protocol.h \
@@ -3249,6 +3360,7 @@ libsystemd_internal_la_LIBADD = \
noinst_LTLIBRARIES += \
libsystemd-internal.la
+#@src/libsystemd/Makefile
EXTRA_DIST += \
src/libsystemd/libsystemd.pc.in \
src/libsystemd/sd-bus/DIFFERENCES \
@@ -3266,6 +3378,7 @@ libsystemd_la_LIBADD = \
libbasic.la \
libsystemd-journal-internal.la
+#@discard.mk
libsystemd-install-hook:
libname=libsystemd.so && $(move-to-rootlibdir)
@@ -3275,6 +3388,7 @@ libsystemd-uninstall-hook:
INSTALL_EXEC_HOOKS += libsystemd-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook
+#@src/libsystemd/Makefile
pkgconfiglib_DATA += \
src/libsystemd/libsystemd.pc
@@ -3290,6 +3404,8 @@ pkginclude_HEADERS += \
lib_LTLIBRARIES += \
libsystemd.la
+# ------------------------------------------------------------------------------
+
tests += \
test-bus-marshal \
test-bus-signature \
@@ -3311,9 +3427,11 @@ tests += \
test-local-addresses \
test-resolve
+#@auto/busctl/Makefile
bin_PROGRAMS += \
busctl
+#@src/libsystemd/src/test.mk
test_bus_marshal_SOURCES = \
src/libsystemd/sd-bus/test-bus-marshal.c
@@ -3445,6 +3563,7 @@ test_resolve_SOURCES = \
test_resolve_LDADD = \
libsystemd-shared.la
+#@auto/busctl/Makefile
busctl_SOURCES = \
src/libsystemd/sd-bus/busctl.c \
src/libsystemd/sd-bus/busctl-introspect.c \
@@ -3453,7 +3572,9 @@ busctl_SOURCES = \
busctl_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@src/libsystemd-network/Makefile ----------------------------------------------
+nested.subdirs += src test
+#@src/libsystemd-network/src/Makefile
noinst_LTLIBRARIES += \
libsystemd-network.la
@@ -3512,6 +3633,7 @@ libsystemd_network_la_SOURCES = \
libsystemd_network_la_LIBADD = \
$(KMOD_LIBS)
+#@src/libsystemd-network/test/Makefile
test_dhcp_option_SOURCES = \
src/libsystemd-network/dhcp-protocol.h \
src/libsystemd-network/dhcp-internal.h \
@@ -3604,13 +3726,15 @@ tests += \
test-dhcp6-client \
test-lldp
-# ------------------------------------------------------------------------------
+#@src/libudev/Makefile ---------------------------------------------------------
+
include_HEADERS += \
src/libudev/libudev.h
-lib_LTLIBRARIES += \
+rootlib_LTLIBRARIES += \
libudev.la
+#@src/libudev/src/Makefile
libudev_la_SOURCES =\
src/libudev/libudev.sym \
src/libudev/libudev-private.h \
@@ -3624,6 +3748,7 @@ libudev_la_SOURCES =\
src/libudev/libudev-monitor.c \
src/libudev/libudev-queue.c \
src/libudev/libudev-hwdb.c
+#@src/libudev/Makefile
libudev_la_LDFLAGS = \
$(AM_LDFLAGS) \
@@ -3640,6 +3765,7 @@ pkgconfiglib_DATA += \
EXTRA_DIST += \
src/libudev/libudev.pc.in
+#@discard.mk
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libudev-install-hook:
libname=libudev.so && $(move-to-rootlibdir)
@@ -3650,23 +3776,25 @@ libudev-uninstall-hook:
INSTALL_EXEC_HOOKS += libudev-install-hook
UNINSTALL_EXEC_HOOKS += libudev-uninstall-hook
-# ------------------------------------------------------------------------------
+#@src/libudev/src/Makefile -----------------------------------------------------
noinst_LTLIBRARIES += \
libudev-internal.la
libudev_internal_la_SOURCES =\
$(libudev_la_SOURCES)
-# ------------------------------------------------------------------------------
+#@src/grp-udev/Makefile --------------------------------------------------------
INSTALL_DIRS += \
$(sysconfdir)/udev/rules.d
+#@src/grp-network/Makefile
dist_network_DATA = \
network/99-default.link \
network/80-container-host0.network \
network/80-container-ve.network \
network/80-container-vz.network
+#@src/grp-udev/Makefile
dist_udevrules_DATA += \
rules/50-udev-default.rules \
rules/60-block.rules \
@@ -3687,10 +3815,12 @@ dist_udevrules_DATA += \
nodist_udevrules_DATA += \
rules/99-systemd.rules
+#@auto/systemd-udevd/Makefile
udevconfdir = $(sysconfdir)/udev
dist_udevconf_DATA = \
src/udev/udev.conf
+#@src/grp-udev/Makefile
pkgconfigdata_DATA += \
src/udev/udev.pc
@@ -3711,12 +3841,15 @@ SYSINIT_TARGET_WANTS += \
systemd-udevd.service \
systemd-udev-trigger.service
+#@auto/udevadm/Makefile
rootbin_PROGRAMS += \
udevadm
+#@auto/systemd-udevd/Makefile
rootlibexec_PROGRAMS += \
systemd-udevd
+#@auto/libudev-core/Makefile
noinst_LTLIBRARIES += \
libudev-core.la
@@ -3775,15 +3908,18 @@ libudev_core_la_LIBADD = \
if HAVE_KMOD
libudev_core_la_SOURCES += \
src/udev/udev-builtin-kmod.c
-
+endif # HAVE_KMOD
+#@src/grp-udev/Makefile
+if HAVE_KMOD
dist_udevrules_DATA += \
rules/80-drivers.rules
-endif
+endif # HAVE_KMOD
+#@auto/libudev-core/Makefile
if HAVE_BLKID
libudev_core_la_SOURCES += \
src/udev/udev-builtin-blkid.c
-endif
+endif # HAVE_BLKID
if HAVE_ACL
libudev_core_la_SOURCES += \
@@ -3791,8 +3927,9 @@ libudev_core_la_SOURCES += \
src/login/logind-acl.c \
src/libsystemd/sd-login/sd-login.c \
src/systemd/sd-login.h
-endif
+endif # HAVE_ACL
+#@auto/systemd-udevd/Makefile
systemd_udevd_SOURCES = \
src/udev/udevd.c
@@ -3800,6 +3937,7 @@ systemd_udevd_LDADD = \
libudev-core.la \
libbasic.la
+#@auto/udevadm/Makefile
udevadm_SOURCES = \
src/udev/udevadm.c \
src/udev/udevadm-info.c \
@@ -3817,7 +3955,7 @@ udevadm_LDADD = \
libudev-core.la \
libbasic.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-hwdb/Makefile ---------------------------------------------------
if ENABLE_HWDB
INSTALL_DIRS += \
$(sysconfdir)/udev/hwdb.d
@@ -3832,6 +3970,7 @@ systemd_hwdb_LDADD = \
rootbin_PROGRAMS += \
systemd-hwdb
+#@auto/hwdb/Makefile
dist_udevhwdb_DATA = \
hwdb/20-pci-vendor-model.hwdb \
hwdb/20-pci-classes.hwdb \
@@ -3849,12 +3988,14 @@ dist_udevhwdb_DATA = \
hwdb/70-pointingstick.hwdb \
hwdb/70-touchpad.hwdb
+#@auto/systemd-hwdb/Makefile
SYSINIT_TARGET_WANTS += \
systemd-hwdb-update.service
+#@auto/hwdb/Makefile
# Update hwdb on installation. Do not bother if installing
# in DESTDIR, since this is likely for packaging purposes.
-hwdb-update-hook:
+hwdb-update-hook: $(DESTDIR)$(rootbindir)/systemd-hwdb
-test -n "$(DESTDIR)" || $(rootbindir)/systemd-hwdb update
INSTALL_DATA_HOOKS += \
@@ -3862,14 +4003,17 @@ INSTALL_DATA_HOOKS += \
hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
-endif
+#@auto/systemd-hwdb/Makefile
+endif # ENABLE_HWDB
EXTRA_DIST += \
- units/systemd-hwdb-update.service.in \
+ units/systemd-hwdb-update.service.in
+#@auto/hwdb/Makefile
+EXTRA_DIST += \
hwdb/ids-update.pl \
hwdb/sdio.ids
-# ------------------------------------------------------------------------------
+#@discard.mk -------------------------------------------------------------------
if ENABLE_TESTS
TESTS += \
test/udev-test.pl
@@ -3882,9 +4026,9 @@ TESTS += \
if HAVE_SYSV_COMPAT
TESTS += \
test/sysv-generator-test.py
-endif
-endif
-endif
+endif # HAVE_SYSV_COMPAT
+endif # HAVE_PYTHON
+endif # ENABLE_TESTS
tests += \
test-libudev
@@ -3911,7 +4055,7 @@ test_udev_LDADD = \
if ENABLE_TESTS
check_DATA += \
test/sys
-endif
+endif # ENABLE_TESTS
# packed sysfs test tree
test/sys: test/sys.tar.xz
@@ -3932,7 +4076,7 @@ EXTRA_DIST += \
test/mocks/fsck \
hwdb/parse_hwdb.py
-# ------------------------------------------------------------------------------
+#@auto/ata_id/Makefile ---------------------------------------------------------
ata_id_SOURCES = \
src/udev/ata_id/ata_id.c
@@ -3942,7 +4086,7 @@ ata_id_LDADD = \
udevlibexec_PROGRAMS += \
ata_id
-# ------------------------------------------------------------------------------
+#@auto/cdrom_id/Makefile -------------------------------------------------------
cdrom_id_SOURCES = \
src/udev/cdrom_id/cdrom_id.c
@@ -3955,7 +4099,7 @@ udevlibexec_PROGRAMS += \
dist_udevrules_DATA += \
rules/60-cdrom_id.rules
-# ------------------------------------------------------------------------------
+#@auto/collect/Makefile --------------------------------------------------------
collect_SOURCES = \
src/udev/collect/collect.c
@@ -3965,7 +4109,7 @@ collect_LDADD = \
udevlibexec_PROGRAMS += \
collect
-# ------------------------------------------------------------------------------
+#@auto/scsi_id/Makefile --------------------------------------------------------
scsi_id_SOURCES =\
src/udev/scsi_id/scsi_id.c \
src/udev/scsi_id/scsi_serial.c \
@@ -3981,7 +4125,7 @@ udevlibexec_PROGRAMS += \
EXTRA_DIST += \
src/udev/scsi_id/README
-# ------------------------------------------------------------------------------
+#@auto/v4l_id/Makefile ---------------------------------------------------------
v4l_id_SOURCES = \
src/udev/v4l_id/v4l_id.c
@@ -3994,7 +4138,7 @@ udevlibexec_PROGRAMS += \
dist_udevrules_DATA += \
rules/60-persistent-v4l.rules
-# ------------------------------------------------------------------------------
+#@auto/mtd_probe/Makefile ------------------------------------------------------
mtd_probe_SOURCES = \
src/udev/mtd_probe/mtd_probe.c \
src/udev/mtd_probe/mtd_probe.h \
@@ -4006,7 +4150,7 @@ dist_udevrules_DATA += \
udevlibexec_PROGRAMS += \
mtd_probe
-# ------------------------------------------------------------------------------
+#@src/test/Makefile ------------------------------------------------------------
test_id128_SOURCES = \
src/test/test-id128.c
@@ -4016,7 +4160,7 @@ test_id128_LDADD = \
tests += \
test-id128
-# ------------------------------------------------------------------------------
+#@auto/systemd-socket-activate/Makefile ----------------------------------------
bin_PROGRAMS += \
systemd-socket-activate
@@ -4027,7 +4171,7 @@ systemd_socket_activate_SOURCES = \
systemd_socket_activate_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-journald/Makefile -----------------------------------------------
systemd_journald_SOURCES = \
src/journal/journald.c \
src/journal/journald-server.h
@@ -4036,12 +4180,14 @@ systemd_journald_LDADD = \
libjournal-core.la \
libsystemd-shared.la
+#@auto/systemd-cat/Makefile
systemd_cat_SOURCES = \
src/journal/cat.c
systemd_cat_LDADD = \
libjournal-core.la
+#@auto/systemd-journal-upload/Makefile
if HAVE_LIBCURL
rootlibexec_PROGRAMS += \
systemd-journal-upload
@@ -4064,12 +4210,14 @@ nodist_systemunit_DATA += \
nodist_pkgsysconf_DATA += \
src/journal-remote/journal-upload.conf
-endif
+
+endif # HAVE_LIBCURL
EXTRA_DIST += \
units/systemd-journal-upload.service.in \
src/journal-remote/journal-upload.conf.in
+#@auto/systemd-journal-remote/Makefile
if HAVE_MICROHTTPD
rootlibexec_PROGRAMS += \
systemd-journal-remote
@@ -4099,12 +4247,12 @@ systemd_journal_remote_LDADD += \
if ENABLE_TMPFILES
dist_tmpfiles_DATA += \
tmpfiles.d/systemd-remote.conf
-endif
+endif # ENABLE_TMPFILES
if HAVE_GNUTLS
systemd_journal_remote_LDADD += \
$(GNUTLS_LIBS)
-endif
+endif # HAVE_GNUTLS
# systemd-journal-remote make sense mostly with full crypto stack
dist_systemunit_DATA += \
@@ -4127,8 +4275,9 @@ EXTRA_DIST += \
units/systemd-journal-remote.service.in \
src/journal-remote/journal-remote.conf.in \
src/journal-remote/log-generator.py
-endif
+endif # HAVE_MICROHTTPD
+#@auto/journalctl/Makefile
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
journalctl_CFLAGS = \
$(AM_CFLAGS)
@@ -4150,8 +4299,9 @@ journalctl_CFLAGS += \
journalctl_LDADD += \
$(QRENCODE_LIBS)
-endif
+endif # HAVE_QRENCODE
+#@src/grp-journal/Makefile
test_journal_SOURCES = \
src/journal/test-journal.c
@@ -4235,8 +4385,10 @@ test_compress_LDADD = \
libsystemd-shared.la
if HAVE_LZ4
+test_compress_CFLAGS += \
+ $(LZ4_CFLAGA)
test_compress_LDADD += \
- -llz4
+ $(LZ4_LIBS)
endif
test_compress_benchmark_SOURCES = \
@@ -4251,6 +4403,7 @@ test_audit_type_SOURCES = \
test_audit_type_LDADD = \
libjournal-core.la
+#@src/grp-journal/libjournal-core/src/Makefile
libjournal_core_la_SOURCES = \
src/journal/journald-kmsg.c \
src/journal/journald-kmsg.h \
@@ -4281,6 +4434,7 @@ libjournal_core_la_LIBADD = \
noinst_LTLIBRARIES += \
libjournal-core.la
+#@src/grp-journal/Makefile
journal-install-hook:
-$(MKDIR_P) $(DESTDIR)/var/log/journal
-chown 0:0 $(DESTDIR)/var/log/journal
@@ -4329,13 +4483,15 @@ if HAVE_COMPRESSION
tests += \
test-compress \
test-compress-benchmark
-endif
+endif # HAVE_COMPRESSION
+#@src/libsystemd/Makefile
pkginclude_HEADERS += \
src/systemd/sd-journal.h \
src/systemd/sd-messages.h \
src/systemd/_sd-common.h
+#@src/libsystemd/src/Makefile
libsystemd_journal_internal_la_SOURCES = \
src/journal/sd-journal.c \
src/systemd/sd-journal.h \
@@ -4379,12 +4535,15 @@ libsystemd_journal_internal_la_CFLAGS += \
libsystemd_journal_internal_la_LIBADD += \
$(XZ_LIBS)
-endif
+endif # HAVE_XZ
if HAVE_LZ4
+libsystemd_journal_internal_la_CFLAGS += \
+ $(LZ4_CFLAGS)
+
libsystemd_journal_internal_la_LIBADD += \
- -llz4
-endif
+ $(LZ4_LIBS)
+endif # HAVE_LZ4
if HAVE_GCRYPT
libsystemd_journal_internal_la_SOURCES += \
@@ -4396,33 +4555,42 @@ libsystemd_journal_internal_la_SOURCES += \
libsystemd_journal_internal_la_LIBADD += \
$(GCRYPT_LIBS)
+#@src/libsystemd/src/sd-journal/Makefile
# fsprg.c is a drop-in file using void pointer arithmetic
libsystemd_journal_internal_la_CFLAGS += \
$(GCRYPT_CFLAGS) \
-Wno-pointer-arith
-endif
+#@src/libsystemd/src/Makefile
+endif # HAVE_GCRYPT
noinst_LTLIBRARIES += \
libsystemd-journal-internal.la
+#@auto/systemd-journald/Makefile
rootlibexec_PROGRAMS += \
systemd-journald
+#@auto/journalctl/Makefile
rootbin_PROGRAMS += \
journalctl
+#@auto/systemd-cat/Makefile
bin_PROGRAMS += \
systemd-cat
+#@auto/systemd-journald/Makefile
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-journald.service
+#@auto/journalctl/Makefile
+nodist_systemunit_DATA += \
units/systemd-journal-flush.service \
units/systemd-journal-catalog-update.service
+#@auto/systemd-journald/Makefile
dist_pkgsysconf_DATA += \
src/journal/journald.conf
@@ -4456,19 +4624,25 @@ SOCKETS_TARGET_WANTS += \
systemd-journald-audit.socket
SYSINIT_TARGET_WANTS += \
- systemd-journald.service \
+ systemd-journald.service
+#@auto/journalctl/Makefile
+SYSINIT_TARGET_WANTS += \
systemd-journal-flush.service \
systemd-journal-catalog-update.service
+#@auto/systemd-journald/Makefile
EXTRA_DIST += \
- units/systemd-journald.service.in \
+ units/systemd-journald.service.in
+#@auto/journalctl/Makefile
+EXTRA_DIST += \
units/systemd-journal-flush.service.in \
units/systemd-journal-catalog-update.service.in
+#@auto/systemd-journald/Makefile
gperf_gperf_sources += \
src/journal/journald-gperf.gperf
-# ------------------------------------------------------------------------------
+#@auto/systemd-journal-gatewayd/Makefile ---------------------------------------
if HAVE_MICROHTTPD
gatewayddocumentrootdir=$(pkgdatadir)/gatewayd
@@ -4487,7 +4661,7 @@ systemd_journal_gatewayd_LDADD = \
if HAVE_GNUTLS
systemd_journal_gatewayd_LDADD += \
$(GNUTLS_LIBS)
-endif
+endif # HAVE_GNUTLS
systemd_journal_gatewayd_CFLAGS = \
$(AM_CFLAGS) \
@@ -4506,12 +4680,12 @@ nodist_systemunit_DATA += \
dist_gatewayddocumentroot_DATA = \
src/journal-remote/browse.html
-endif
+endif # HAVE_MICROHTTPD
EXTRA_DIST += \
units/systemd-journal-gatewayd.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-socket-proxyd/Makefile ------------------------------------------
systemd_socket_proxyd_SOURCES = \
src/socket-proxy/socket-proxyd.c
@@ -4519,7 +4693,7 @@ systemd_socket_proxyd_SOURCES = \
systemd_socket_proxyd_LDADD = \
libsystemd-shared.la
-# ------------------------------------------------------------------------------
+#@auto/systemd-coredump/Makefile -----------------------------------------------
if ENABLE_COREDUMP
systemd_coredump_SOURCES = \
src/coredump/coredump.c \
@@ -4541,7 +4715,7 @@ systemd_coredump_SOURCES += \
systemd_coredump_LDADD += \
$(ELFUTILS_LIBS)
-endif
+endif # HAVE_ELFUTILS
nodist_systemunit_DATA += \
units/systemd-coredump@.service
@@ -4558,6 +4732,7 @@ rootlibexec_PROGRAMS += \
dist_pkgsysconf_DATA += \
src/coredump/coredump.conf
+#@auto/coredumpctl/Makefile
coredumpctl_SOURCES = \
src/coredump/coredumpctl.c
@@ -4567,6 +4742,7 @@ coredumpctl_LDADD = \
bin_PROGRAMS += \
coredumpctl
+#@auto/systemd-coredump/Makefile
manual_tests += \
test-coredump-vacuum
@@ -4578,24 +4754,26 @@ test_coredump_vacuum_SOURCES = \
test_coredump_vacuum_LDADD = \
libsystemd-shared.la
+#@auto/coredumpctl/Makefile
dist_bashcompletion_data += \
shell-completion/bash/coredumpctl
dist_zshcompletion_data += \
shell-completion/zsh/_coredumpctl
+#@auto/systemd-coredump/Makefile
nodist_sysctl_DATA = \
sysctl.d/50-coredump.conf
CLEANFILES += \
sysctl.d/50-coredump.conf
-endif
+endif # ENABLE_COREDUMP
EXTRA_DIST += \
sysctl.d/50-coredump.conf.in \
units/systemd-coredump@.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-binfmt/Makefile -------------------------------------------------
if ENABLE_BINFMT
systemd_binfmt_SOURCES = \
src/binfmt/binfmt.c
@@ -4621,12 +4799,12 @@ SYSINIT_TARGET_WANTS += \
systemd-binfmt.service \
proc-sys-fs-binfmt_misc.automount
-endif
+endif # ENABLE_BINFMT
EXTRA_DIST += \
units/systemd-binfmt.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-vconsole-setup/Makefile -----------------------------------------
if ENABLE_VCONSOLE
systemd_vconsole_setup_SOURCES = \
src/vconsole/vconsole-setup.c
@@ -4642,13 +4820,13 @@ nodist_udevrules_DATA += \
nodist_systemunit_DATA += \
units/systemd-vconsole-setup.service
-endif
+endif # ENABLE_VCONSOLE
EXTRA_DIST += \
src/vconsole/90-vconsole.rules.in \
units/systemd-vconsole-setup.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-quotacheck/Makefile ---------------------------------------------
if ENABLE_QUOTACHECK
rootlibexec_PROGRAMS += \
systemd-quotacheck
@@ -4661,7 +4839,7 @@ systemd_quotacheck_SOURCES = \
systemd_quotacheck_LDADD = \
libsystemd-shared.la
-endif
+endif # ENABLE_QUOTACHECK
EXTRA_DIST += \
units/systemd-quotacheck.service.in
@@ -4669,7 +4847,7 @@ EXTRA_DIST += \
nodist_systemunit_DATA += \
units/quotaon.service
-# ------------------------------------------------------------------------------
+#@auto/systemd-random-seed/Makefile --------------------------------------------
if ENABLE_RANDOMSEED
rootlibexec_PROGRAMS += \
systemd-random-seed
@@ -4686,12 +4864,12 @@ systemd_random_seed_LDADD = \
SYSINIT_TARGET_WANTS += \
systemd-random-seed.service
-endif
+endif # ENABLE_RANDOMSEED
EXTRA_DIST += \
units/systemd-random-seed.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-backlight/Makefile ----------------------------------------------
if ENABLE_BACKLIGHT
rootlibexec_PROGRAMS += \
systemd-backlight
@@ -4704,12 +4882,12 @@ systemd_backlight_SOURCES = \
systemd_backlight_LDADD = \
libsystemd-shared.la
-endif
+endif # ENABLE_BACKLIGHT
EXTRA_DIST += \
units/systemd-backlight@.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-rfkill/Makefile -------------------------------------------------
if ENABLE_RFKILL
rootlibexec_PROGRAMS += \
systemd-rfkill
@@ -4725,12 +4903,12 @@ systemd_rfkill_SOURCES = \
systemd_rfkill_LDADD = \
libsystemd-shared.la
-endif
+endif # ENABLE_RFKILL
EXTRA_DIST += \
units/systemd-rfkill.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-cryptsetup/Makefile ---------------------------------------------
if HAVE_LIBCRYPTSETUP
rootlibexec_PROGRAMS += \
systemd-cryptsetup
@@ -4762,9 +4940,9 @@ systemd_cryptsetup_generator_LDADD = \
SYSINIT_TARGET_WANTS += \
cryptsetup.target
-endif
+endif # HAVE_LIBCRYPTSETUP
-# ------------------------------------------------------------------------------
+#@auto/systemd-hostnamed/Makefile ----------------------------------------------
if ENABLE_HOSTNAMED
systemd_hostnamed_SOURCES = \
src/hostname/hostnamed.c
@@ -4796,6 +4974,10 @@ SYSTEM_UNIT_ALIASES += \
BUSNAMES_TARGET_WANTS += \
org.freedesktop.hostname1.busname
+endif # ENABLE_HOSTNAMED
+#@auto/hostnamectl/Makefile
+if ENABLE_HOSTNAMED
+
hostnamectl_SOURCES = \
src/hostname/hostnamectl.c
@@ -4810,22 +4992,23 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_hostnamectl
-endif
+endif # ENABLE_HOSTNAMED
+#@auto/systemd-hostnamed/Makefile
polkitpolicy_in_files += \
src/hostname/org.freedesktop.hostname1.policy.in
EXTRA_DIST += \
units/systemd-hostnamed.service.in
-# ------------------------------------------------------------------------------
+#@src/grp-system/systemd/Makefile ----------------------------------------------
dist_systemunit_DATA_busnames += \
units/org.freedesktop.systemd1.busname
BUSNAMES_TARGET_WANTS += \
org.freedesktop.systemd1.busname
-# ------------------------------------------------------------------------------
+#@auto/systemd-localed/Makefile ------------------------------------------------
if ENABLE_LOCALED
systemd_localed_SOURCES = \
src/locale/localed.c \
@@ -4880,6 +5063,10 @@ test_keymap_util_LDADD = \
tests += \
test-keymap-util
+endif # ENABLE_LOCALED
+#@auto/localectl/Makefile
+if ENABLE_LOCALED
+
localectl_SOURCES = \
src/locale/localectl.c
@@ -4894,7 +5081,8 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_localectl
-endif
+endif # ENABLE_LOCALED
+#@auto/systemd-localed/Makefile
.PHONY: update-kbd-model-map
@@ -4904,7 +5092,7 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-localed.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-timedated/Makefile ----------------------------------------------
if ENABLE_TIMEDATED
systemd_timedated_SOURCES = \
src/timedate/timedated.c
@@ -4936,6 +5124,9 @@ SYSTEM_UNIT_ALIASES += \
BUSNAMES_TARGET_WANTS += \
org.freedesktop.timedate1.busname
+endif # ENABLE_TIMEDATED
+#@auto/timedatectl/Makefile
+if ENABLE_TIMEDATED
timedatectl_SOURCES = \
src/timedate/timedatectl.c
@@ -4950,7 +5141,8 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_timedatectl
-endif
+endif # ENABLE_TIMEDATED
+#@auto/systemd-timedated/Makefile
polkitpolicy_in_files += \
src/timedate/org.freedesktop.timedate1.policy.in
@@ -4958,7 +5150,7 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-timedated.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-timesyncd/Makefile ----------------------------------------------
if ENABLE_TIMESYNCD
systemd_timesyncd_SOURCES = \
src/timesync/timesyncd.c \
@@ -4989,7 +5181,7 @@ GENERAL_ALIASES += \
nodist_pkgsysconf_DATA += \
src/timesync/timesyncd.conf
-endif
+endif # ENABLE_TIMESYNCD
gperf_gperf_sources += \
src/timesync/timesyncd-gperf.gperf
@@ -4998,7 +5190,7 @@ EXTRA_DIST += \
units/systemd-timesyncd.service.in \
src/timesync/timesyncd.conf.in
-# ------------------------------------------------------------------------------
+#@discard.mk -------------------------------------------------------------------
test_nss_SOURCES = \
src/test/test-nss.c
@@ -5010,7 +5202,7 @@ test_nss_LDADD = \
manual_tests += \
test-nss
-# ------------------------------------------------------------------------------
+#@auto/nss-systemd/Makefile ----------------------------------------------------
libnss_systemd_la_SOURCES = \
src/nss-systemd/nss-systemd.sym \
src/nss-systemd/nss-systemd.c
@@ -5031,7 +5223,7 @@ libnss_systemd_la_LIBADD = \
lib_LTLIBRARIES += \
libnss_systemd.la
-# ------------------------------------------------------------------------------
+#@auto/nss-myhostname/Makefile -------------------------------------------------
if HAVE_MYHOSTNAME
libnss_myhostname_la_SOURCES = \
src/nss-myhostname/nss-myhostname.sym \
@@ -5052,10 +5244,9 @@ libnss_myhostname_la_LIBADD = \
lib_LTLIBRARIES += \
libnss_myhostname.la
-endif
+endif # HAVE_MYHOSTNAME
-# ------------------------------------------------------------------------------
-if ENABLE_MACHINED
+#@auto/systemd-machined/Makefile -----------------------------------------------
systemd_machined_SOURCES = \
src/machine/machined.c \
src/machine/machined.h
@@ -5066,6 +5257,7 @@ systemd_machined_LDADD = \
rootlibexec_PROGRAMS += \
systemd-machined
+#@src/grp-machine/libmachine-core/src/Makefile
libmachine_core_la_SOURCES = \
src/machine/machine.c \
src/machine/machine.h \
@@ -5083,6 +5275,7 @@ libmachine_core_la_LIBADD = \
noinst_LTLIBRARIES += \
libmachine-core.la
+#@auto/machinectl/Makefile
machinectl_SOURCES = \
src/machine/machinectl.c
@@ -5092,6 +5285,7 @@ machinectl_LDADD = \
rootbin_PROGRAMS += \
machinectl
+#@src/grp-machine/libmachine-core/test/Makefile
test_machine_tables_SOURCES = \
src/machine/test-machine-tables.c
@@ -5101,6 +5295,7 @@ test_machine_tables_LDADD = \
tests += \
test-machine-tables
+#@auto/systemd-machined/Makefile
nodist_systemunit_DATA += \
units/systemd-machined.service
@@ -5119,6 +5314,7 @@ dist_dbuspolicy_DATA += \
polkitpolicy_files += \
src/machine/org.freedesktop.machine1.policy
+#@auto/machinectl/Makefile
dist_bashcompletion_data += \
shell-completion/bash/machinectl
@@ -5126,12 +5322,15 @@ dist_zshcompletion_data += \
shell-completion/zsh/_machinectl \
shell-completion/zsh/_sd_machines
+#@auto/systemd-machined/Makefile
SYSTEM_UNIT_ALIASES += \
systemd-machined.service dbus-org.freedesktop.machine1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.machine1.busname
+#@auto/nss-mymachines/Makefile
+
libnss_mymachines_la_SOURCES = \
src/nss-mymachines/nss-mymachines.sym \
src/nss-mymachines/nss-mymachines.c
@@ -5152,7 +5351,7 @@ libnss_mymachines_la_LIBADD = \
lib_LTLIBRARIES += \
libnss_mymachines.la
-endif
+#@auto/systemd-machined/Makefile
polkitpolicy_in_files += \
src/machine/org.freedesktop.machine1.policy.in
@@ -5169,12 +5368,16 @@ if HAVE_ZLIB
if HAVE_BZIP2
if HAVE_GCRYPT
-rootlibexec_PROGRAMS += \
- systemd-importd \
- systemd-pull \
- systemd-import \
- systemd-export
+#@auto/systemd-importd/Makefile
+rootlibexec_PROGRAMS += systemd-importd
+#@auto/systemd-pull/Makefile
+rootlibexec_PROGRAMS += systemd-pull
+#@auto/systemd-import/Makefile
+rootlibexec_PROGRAMS += systemd-import
+#@auto/systemd-export/Makefile
+rootlibexec_PROGRAMS += systemd-export
+#@auto/systemd-importd/Makefile
systemd_importd_SOURCES = \
src/import/importd.c
@@ -5187,6 +5390,7 @@ systemd_importd_CFLAGS = \
systemd_importd_LDADD = \
libsystemd-shared.la
+#@auto/systemd-pull/Makefile
systemd_pull_SOURCES = \
src/import/pull.c \
src/import/pull-raw.c \
@@ -5211,6 +5415,7 @@ systemd_pull_CFLAGS = \
$(LIBCURL_CFLAGS) \
$(XZ_CFLAGS) \
$(ZLIB_CFLAGS) \
+ $(BZIP2_CFLAGS) \
$(GCRYPT_CFLAGS) \
-D VENDOR_KEYRING_PATH=\"$(rootlibexecdir)/import-pubring.gpg\" \
-D USER_KEYRING_PATH=\"$(pkgsysconfdir)/import-pubring.gpg\"
@@ -5220,9 +5425,10 @@ systemd_pull_LDADD = \
$(LIBCURL_LIBS) \
$(XZ_LIBS) \
$(ZLIB_LIBS) \
- -lbz2 \
+ $(BZIP2_LIBS) \
$(GCRYPT_LIBS)
+#@auto/systemd-import/Makefile
systemd_import_SOURCES = \
src/import/import.c \
src/import/import-raw.c \
@@ -5239,14 +5445,16 @@ systemd_import_SOURCES = \
systemd_import_CFLAGS = \
$(AM_CFLAGS) \
$(XZ_CFLAGS) \
- $(ZLIB_CFLAGS)
+ $(ZLIB_CFLAGS) \
+ $(BZIP2_CFLAGS)
systemd_import_LDADD = \
libsystemd-shared.la \
$(XZ_LIBS) \
$(ZLIB_LIBS) \
- -lbz2
+ $(BZIP2_LIBS)
+#@auto/systemd-export/Makefile
systemd_export_SOURCES = \
src/import/export.c \
src/import/export-tar.c \
@@ -5261,14 +5469,16 @@ systemd_export_SOURCES = \
systemd_export_CFLAGS = \
$(AM_CFLAGS) \
$(XZ_CFLAGS) \
- $(ZLIB_CFLAGS)
+ $(ZLIB_CFLAGS) \
+ $(BZIP2_CFLAGS)
systemd_export_LDADD = \
libsystemd-shared.la \
$(XZ_LIBS) \
$(ZLIB_LIBS) \
- -lbz2
+ $(BZIP2_LIBS)
+#@auto/systemd-importd/Makefile
dist_rootlibexec_DATA += \
src/import/import-pubring.gpg
@@ -5293,6 +5503,7 @@ dist_dbuspolicy_DATA += \
polkitpolicy_files += \
src/import/org.freedesktop.import1.policy
+#@auto/libimport/Makefile
manual_tests += \
test-qcow2
@@ -5309,13 +5520,15 @@ test_qcow2_LDADD = \
libsystemd-shared.la \
$(ZLIB_LIBS)
-endif
-endif
-endif
-endif
-endif
+#@discard.mk
+endif # HAVE_GCRYPT
+endif # HAVE_BZIP2
+endif # HAVE_ZLIB
+endif # HAVE_XZ
+endif # HAVE_LIBCURL
-endif
+endif # ENABLE_IMPORTD
+#@auto/systemd-importd/Makefile
polkitpolicy_in_files += \
src/import/org.freedesktop.import1.policy.in
@@ -5324,9 +5537,10 @@ EXTRA_DIST += \
units/systemd-importd.service.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-resolved/Makefile -----------------------------------------------
if ENABLE_RESOLVED
+#@src/grp-resolve/libbasic-dns/src/Makefile
basic_dns_sources = \
src/resolve/resolved-dns-dnssec.c \
src/resolve/resolved-dns-dnssec.h \
@@ -5341,6 +5555,7 @@ basic_dns_sources = \
src/resolve/dns-type.c \
src/resolve/dns-type.h
+#@auto/systemd-resolved/Makefile
systemd_resolved_SOURCES = \
src/resolve/resolved.c \
src/resolve/resolved-manager.c \
@@ -5430,6 +5645,7 @@ GENERAL_ALIASES += \
nodist_pkgsysconf_DATA += \
src/resolve/resolved.conf
+#@auto/nss-resolve/Makefile
libnss_resolve_la_SOURCES = \
src/nss-resolve/nss-resolve.sym \
src/nss-resolve/nss-resolve.c
@@ -5451,6 +5667,7 @@ libnss_resolve_la_LIBADD = \
lib_LTLIBRARIES += \
libnss_resolve.la
+#@auto/systemd-resolve/Makefile
systemd_resolve_SOURCES = \
src/resolve/resolve-tool.c \
$(basic_dns_sources) \
@@ -5479,6 +5696,7 @@ dist_bashcompletion_data += \
dist_zshcompletion_data += \
shell-completion/zsh/_systemd-resolve
+#@src/grp-resolve/libbasic-dns/test/Makefile
tests += \
test-dns-packet \
test-resolve-tables \
@@ -5554,11 +5772,14 @@ test_dnssec_complex_SOURCES = \
test_dnssec_complex_LDADD = \
libsystemd-shared.la
-endif
+#@auto/systemd-resolved/Makefile
+endif # ENABLE_RESOLVED
+#@src/grp-resolve/libbasic-dns/src/Makefile
gperf_txt_sources += \
src/resolve/dns_type-list.txt
+#@auto/systemd-resolved/Makefile
gperf_gperf_sources += \
src/resolve/resolved-gperf.gperf
@@ -5569,8 +5790,9 @@ EXTRA_DIST += \
dist_rootlibexec_DATA += \
src/resolve/resolv.conf
-# ------------------------------------------------------------------------------
+#@src/grp-network/Makefile -----------------------------------------------------
if ENABLE_NETWORKD
+#@src/grp-network/systemd-networkd/Makefile
rootlibexec_PROGRAMS += \
systemd-networkd
@@ -5583,8 +5805,9 @@ systemd_networkd_LDADD = \
if HAVE_LIBIPTC
systemd_networkd_LDADD += \
libfirewall.la
-endif
+endif # HAVE_LIBIPTC
+#@src/grp-network/libnetworkd-core/Makefile
noinst_LTLIBRARIES += \
libnetworkd-core.la
@@ -5657,6 +5880,7 @@ libnetworkd_core_la_LIBADD = \
libsystemd-network.la \
libsystemd-shared.la
+#@src/grp-network/systemd-networkd-wait-online/Makefile
rootlibexec_PROGRAMS += \
systemd-networkd-wait-online
@@ -5675,6 +5899,7 @@ systemd_networkd_wait_online_LDADD = \
libsystemd-network.la \
libsystemd-shared.la
+#@src/grp-network/networkctl/Makefile
rootbin_PROGRAMS += \
networkctl
@@ -5688,6 +5913,7 @@ networkctl_LDADD = \
dist_bashcompletion_data += \
shell-completion/bash/networkctl
+#@src/grp-network/Makefile
test_networkd_conf_SOURCES = \
src/network/test-networkd-conf.c
@@ -5703,7 +5929,7 @@ test_network_LDADD = \
if HAVE_LIBIPTC
test_network_LDADD += \
libfirewall.la
-endif
+endif # HAVE_LIBIPTC
test_network_tables_SOURCES = \
src/network/test-network-tables.c \
@@ -5716,13 +5942,14 @@ test_network_tables_LDADD = \
if HAVE_LIBIPTC
test_network_tables_LDADD += \
libfirewall.la
-endif
+endif # HAVE_LIBIPTC
tests += \
test-networkd-conf \
test-network \
test-network-tables
+#@auto/systemd-networkd/Makefile
dist_systemunit_DATA += \
units/systemd-networkd.socket
@@ -5750,7 +5977,8 @@ SYSTEM_UNIT_ALIASES += \
BUSNAMES_TARGET_WANTS += \
org.freedesktop.network1.busname
-endif
+#@src/grp-network/Makefile
+endif # ENABLE_NETWORKD
gperf_gperf_sources += \
src/network/networkd-gperf.gperf \
@@ -5762,8 +5990,9 @@ EXTRA_DIST += \
units/systemd-networkd-wait-online.service.in \
test/networkd-test.py
-# ------------------------------------------------------------------------------
+#@auto/systemd-logind/Makefile -------------------------------------------------
if ENABLE_LOGIND
+
systemd_logind_SOURCES = \
src/login/logind.c \
src/login/logind.h
@@ -5805,14 +6034,16 @@ liblogind_core_la_LIBADD = \
if HAVE_ACL
liblogind_core_la_SOURCES += \
src/login/logind-acl.c
-endif
+endif # HAVE_ACL
noinst_LTLIBRARIES += \
liblogind-core.la
+#@src/grp-login/systemd-logind/Makefile
rootlibexec_PROGRAMS += \
systemd-logind
+#@src/grp-login/loginctl/Makefile
loginctl_SOURCES = \
src/login/loginctl.c \
src/login/sysfs-show.h \
@@ -5827,9 +6058,9 @@ rootbin_PROGRAMS += \
dist_bashcompletion_data += \
shell-completion/bash/loginctl
-dist_zshcompletion_data += \
- shell-completion/zsh/_loginctl \
- shell-completion/zsh/_systemd-inhibit
+dist_zshcompletion_data += shell-completion/zsh/_loginctl
+#@src/grp-login/systemd-inhibit/Makefile
+dist_zshcompletion_data += shell-completion/zsh/_systemd-inhibit
systemd_inhibit_SOURCES = \
src/login/inhibit.c
@@ -5840,6 +6071,7 @@ systemd_inhibit_LDADD = \
rootbin_PROGRAMS += \
systemd-inhibit
+#@src/grp-login/Makefile
test_login_SOURCES = \
src/libsystemd/sd-login/test-login.c
@@ -5872,6 +6104,7 @@ tests += \
test-login-tables \
test-login-shared
+#@src/grp-login/pam_systemd/Makefile
if HAVE_PAM
pam_systemd_la_SOURCES = \
src/login/pam_systemd.sym \
@@ -5901,7 +6134,8 @@ dist_pamconf_DATA = \
EXTRA_DIST += \
src/login/systemd-user.m4
-endif
+endif # HAVE_PAM
+#@auto/systemd-logind/Makefile
nodist_systemunit_DATA += \
units/systemd-logind.service
@@ -5944,7 +6178,7 @@ nodist_udevrules_DATA += \
src/login/71-seat.rules \
src/login/73-seat-late.rules
-endif
+endif # ENABLE_LOGIND
polkitpolicy_in_files += \
src/login/org.freedesktop.login1.policy.in
@@ -5958,7 +6192,7 @@ EXTRA_DIST += \
units/systemd-logind.service.in \
src/login/logind.conf.in
-# ------------------------------------------------------------------------------
+#@auto/systemd-user-sessions/Makefile ------------------------------------------
if HAVE_PAM
systemd_user_sessions_SOURCES = \
@@ -5976,12 +6210,12 @@ nodist_systemunit_DATA += \
MULTI_USER_TARGET_WANTS += \
systemd-user-sessions.service
-endif
+endif # HAVE_PAM
EXTRA_DIST += \
units/systemd-user-sessions.service.in
-# ------------------------------------------------------------------------------
+#@discard.mk -------------------------------------------------------------------
EXTRA_DIST += \
test/Makefile \
test/README.testsuite \
@@ -6029,7 +6263,7 @@ EXTRA_DIST += \
test/loopy.service.d \
test/loopy.service.d/compat.conf
-# ------------------------------------------------------------------------------
+#@build-aux/Makefile.once.head/20-sd.mk ----------------------------------------
substitutions = \
'|rootlibexecdir=$(rootlibexecdir)|' \
'|rootbindir=$(rootbindir)|' \
@@ -6097,15 +6331,18 @@ SED_PROCESS = \
$(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
< $< > $@
+#@discard.mk
units/%: units/%.in
$(SED_PROCESS)
man/%: man/%.in
$(SED_PROCESS)
+#@build-aux/Makefile.each.tail/50-sd.mk
sysctl.d/%: sysctl.d/%.in
$(SED_PROCESS)
+#@discard.mk
%.pc: %.pc.in
$(SED_PROCESS)
@@ -6127,6 +6364,7 @@ shell-completion/%: shell-completion/%.in
%.conf: %.conf.in
$(SED_PROCESS)
+#@build-aux/Makefile.each.tail/50-sd.mk
%.sh: %.sh.in
$(SED_PROCESS)
$(AM_V_GEN)chmod +x $@
@@ -6139,6 +6377,7 @@ src/%: src/%.m4 $(top_builddir)/config.status
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
+#@discard.mk
sysusers.d/%: sysusers.d/%.m4 $(top_builddir)/config.status
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
@@ -6160,22 +6399,24 @@ if ENABLE_POLKIT
nodist_polkitpolicy_DATA = \
$(polkitpolicy_files) \
$(polkitpolicy_in_in_files:.policy.in.in=.policy)
-endif
+endif # ENABLE_POLKIT
EXTRA_DIST += \
$(polkitpolicy_in_files) \
$(polkitpolicy_in_in_files)
-# ------------------------------------------------------------------------------
+#@man/Makefile -----------------------------------------------------------------
man/custom-entities.ent: configure.ac
$(AM_V_GEN)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \
printf '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">\n,$(substitutions))))') \
> $@ # '
+#@discard.mk
CLEANFILES += \
man/custom-entities.ent
+#@build-aux/Makefile.once.head/20-sdman.mk
XSLTPROC_FLAGS = \
--nonet \
--xinclude \
@@ -6193,6 +6434,7 @@ XSLTPROC_PROCESS_MAN = \
XSLTPROC_PROCESS_HTML = \
$(AM_V_XSLT)$(XSLT) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
+#@build-aux/Makefile.each.tail/70-sdman.mk
man/%.1: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
@@ -6211,37 +6453,47 @@ man/%.8: man/%.xml man/custom-man.xsl man/custom-entities.ent
man/%.html: man/%.xml man/custom-html.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_HTML)
+#@build-aux/Makefile.once.head/20-sdman.mk
define html-alias
$(AM_V_LN)$(LN_S) -f $(notdir $<) $@
endef
+#@discard.mk
EXTRA_DIST += \
man/custom-html.xsl \
man/custom-man.xsl
# ------------------------------------------------------------------------------
+#@auto/systemd-sysv-generator/Makefile
if HAVE_SYSV_COMPAT
sysvinit_DATA = \
docs/sysvinit/README
-varlog_DATA = \
- docs/var-log/README
-
docs/sysvinit/README: docs/sysvinit/README.in
$(SED_PROCESS)
+CLEANFILES += \
+ docs/sysvinit/README
+endif # HAVE_SYSV_COMPAT
+
+EXTRA_DIST += \
+ docs/sysvinit/README.in
+#@src/grp-journal/Makefile
+if HAVE_SYSV_COMPAT
+
+varlog_DATA = \
+ docs/var-log/README
+
docs/var-log/README: docs/var-log/README.in
$(SED_PROCESS)
CLEANFILES += \
- docs/sysvinit/README \
docs/var-log/README
-endif
+endif # HAVE_SYSV_COMPAT
EXTRA_DIST += \
- docs/sysvinit/README.in \
docs/var-log/README.in
-
+#@discard.mk
SOCKETS_TARGET_WANTS += \
systemd-initctl.socket
@@ -6253,11 +6505,11 @@ GRAPHICAL_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RESCUE_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
-endif
+endif # HAVE_SYSV_COMPAT
SYSINIT_TARGET_WANTS += \
systemd-update-utmp.service
-endif
+endif # HAVE_UTMP
SYSINIT_TARGET_WANTS += \
systemd-update-done.service
@@ -6289,7 +6541,7 @@ SYSTEM_UNIT_ALIASES += \
multi-user.target runlevel4.target \
graphical.target runlevel5.target \
reboot.target runlevel6.target
-endif
+endif # HAVE_SYSV_COMPAT
SYSTEM_UNIT_ALIASES += \
graphical.target default.target \
@@ -6322,7 +6574,7 @@ INSTALL_DIRS += \
$(systemunitdir)/runlevel3.target.wants \
$(systemunitdir)/runlevel4.target.wants \
$(systemunitdir)/runlevel5.target.wants
-endif
+endif # HAVE_SYSV_COMPAT
INSTALL_DIRS += \
$(prefix)/lib/modules-load.d \
@@ -6378,7 +6630,7 @@ else
DISTCHECK_CONFIGURE_FLAGS += \
--with-sysvinit-path= \
--with-sysvrcnd-path=
-endif
+endif # HAVE_SYSV_COMPAT
if ENABLE_SPLIT_USR
DISTCHECK_CONFIGURE_FLAGS += \
@@ -6386,7 +6638,7 @@ DISTCHECK_CONFIGURE_FLAGS += \
else
DISTCHECK_CONFIGURE_FLAGS += \
--disable-split-usr
-endif
+endif # ENABLE_SPLIT_USR
.PHONY: dist-check-help
dist-check-help: $(rootbin_PROGRAMS) $(bin_PROGRAMS)
@@ -6409,6 +6661,7 @@ dist-check-includes: $(public_headers)
done; \
done; exit $$res
+#@auto/hwdb/Makefile
.PHONY: hwdb-update
hwdb-update:
( cd $(top_srcdir)/hwdb && \
@@ -6423,6 +6676,7 @@ hwdb-update:
./acpi-update.py > 20-acpi-vendor.hwdb.base && \
patch -p0 -o- 20-acpi-vendor.hwdb.base < 20-acpi-vendor.hwdb.patch > 20-acpi-vendor.hwdb )
+#@discard.mk
.PHONY: built-sources
built-sources: $(BUILT_SOURCES)
@@ -6446,6 +6700,7 @@ install-tree: all
$(MAKE) install DESTDIR=$(abs_srcdir)/install-tree
tree $(abs_srcdir)/install-tree
+#@build-aux/Makefile.once.tail/10-sd.mk
# Let's run all tests of the test suite, but under valgrind. Let's
# exclude perl/python/shell scripts we have in there
.PHONY: valgrind-tests
@@ -6498,6 +6753,7 @@ check-includes: $(top_srcdir)/tools/check-includes.pl
EXTRA_DIST += \
$(top_srcdir)/tools/check-includes.pl
+#@build-aux/Makefile.each.tail/50-sd.mk
# Stupid test that everything purported to be exported really is
define generate-sym-test
$(AM_V_at)$(MKDIR_P) $(dir $@)
@@ -6510,6 +6766,7 @@ define generate-sym-test
$(AM_V_at)printf 'return 0; }\n' >> $@
endef
+#@src/libsystemd/Makefile
test-libsystemd-sym.c: \
$(top_builddir)/src/libsystemd/libsystemd.sym \
src/systemd/sd-journal.h \
@@ -6522,16 +6779,19 @@ test-libsystemd-sym.c: \
src/systemd/sd-event.h
$(generate-sym-test)
+#@src/libudev/Makefile
test-libudev-sym.c: \
src/libudev/libudev.sym \
src/udev/udev.h
$(generate-sym-test)
+#@src/libsystemd/Makefile
nodist_test_libsystemd_sym_SOURCES = \
test-libsystemd-sym.c
test_libsystemd_sym_LDADD = \
libsystemd.la
+#@src/libudev/Makefile
nodist_test_libudev_sym_SOURCES = \
test-libudev-sym.c
test_libudev_sym_CFLAGS = \
@@ -6540,6 +6800,7 @@ test_libudev_sym_CFLAGS = \
test_libudev_sym_LDADD = \
libudev.la
+#@discard.mk
BUILT_SOURCES += \
test-libsystemd-sym.c \
test-libudev-sym.c
@@ -6552,6 +6813,7 @@ tests += \
test-libsystemd-sym \
test-libudev-sym
+#@build-aux/Makefile.once.tail/10-sd.mk
.PHONY: cppcheck
cppcheck:
cppcheck --enable=all -q $(top_srcdir)
@@ -6571,3 +6833,58 @@ list-keys:
add-key:
gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --import -
+#@Makefile
+# intltoolize
+files.src.gen += m4/intltool.m4
+files.src.gen += po/Makefile.in.in
+# autoreconf
+files.src.gen += aclocal.m4
+files.src.gen += automake.mk.in
+files.src.gen += build-aux/compile
+files.src.gen += build-aux/config.guess
+files.src.gen += build-aux/config.sub
+files.src.gen += build-aux/install-sh
+files.src.gen += build-aux/ltmain.sh
+files.src.gen += build-aux/missing
+files.src.gen += m4/libtool.m4
+files.src.gen += m4/ltoptions.m4
+files.src.gen += m4/ltsugar.m4
+files.src.gen += m4/ltversion.m4
+files.src.gen += m4/lt~obsolete.m4
+files.src.gen += config.h.in
+files.src.gen += configure
+#@src/libsystemd/src/subdir.mk
+sd.CPPFLAGS += -DLIBDIR=\"$(libdir)\"
+sd.CPPFLAGS += -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\"
+#@src/grp-udev/libudev-core/net/Makefile
+sd.CPPFLAGS += $(libshared.CPPFLAGS)
+sd.CPPFLAGS += $(libsystemd-network.CPPFLAGS)
+#@src/Makefile
+#@src/grp-boot/Makefile
+#@src/grp-coredump/Makefile
+#@src/grp-hostname/Makefile
+#@src/grp-initprogs/Makefile
+#@src/grp-initprogs/grp-sleep/Makefile
+#@src/grp-journal/grp-remote/Makefile
+#@src/grp-journal/grp-remote/libsystemd-microhttpd/Makefile
+#@src/grp-journal/grp-remote/libsystemd-microhttpd/src/Makefile
+#@src/grp-locale/Makefile
+#@src/grp-machine/Makefile
+#@src/grp-machine/grp-import/Makefile
+#@src/grp-machine/grp-import/libimport/Makefile
+#@src/grp-machine/libmachine-core/Makefile
+#@src/grp-resolve/Makefile
+#@src/grp-resolve/libbasic-dns/Makefile
+#@src/grp-system/Makefile
+#@src/grp-system/grp-utils/Makefile
+#@src/grp-system/libcore/Makefile
+#@src/grp-timedate/Makefile
+#@src/grp-utils/Makefile
+#@src/libsystemd-firewall/Makefile
+#@src/libsystemd-gcrypt/Makefile
+#@src/libsystemd-gcrypt/src/Makefile
+#@src/libsystemd/src/sd-bus/Makefile
+#@src/libsystemd/src/sd-hwdb/Makefile
+#@all
+
+include $(topsrcdir)/build-aux/Makefile.tail.mk