Makefile.am revision 4acbce79798347cddf1e1d42e9be571e0a041873
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering# -*- Mode: makefile; indent-tabs-mode: t -*-
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# This file is part of systemd.
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers#
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# Copyright 2010-2012 Lennart Poettering
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Copyright 2010-2012 Kay Sievers
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Copyright 2013 Zbigniew Jędrzejewski-Szmek
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# Copyright 2013 David Strauss
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# systemd is free software; you can redistribute it and/or modify it
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# under the terms of the GNU Lesser General Public License as published by
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# the Free Software Foundation; either version 2.1 of the License, or
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# (at your option) any later version.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# systemd is distributed in the hope that it will be useful, but
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# WITHOUT ANY WARRANTY; without even the implied warranty of
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Lesser General Public License for more details.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# You should have received a copy of the GNU Lesser General Public License
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# along with systemd; If not, see <http://www.gnu.org/licenses/>.
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón
cd4010b37349413db1e553e213e62e654ca28113Lennart PoetteringACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAM_MAKEFLAGS = --no-print-directory
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAUTOMAKE_OPTIONS = color-tests parallel-tests
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringSUBDIRS = . po
78a825f216d39ee0295b00647b059d45467e1d02Kay Sievers
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# remove targets if the command fails
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering.DELETE_ON_ERROR:
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón# keep intermediate files
4db6d587c37c0357d20c79bf1a7c9afd4c7ced61Kay Sievers.SECONDARY:
907dd1953b7517534d646f5b2777780020c896e2Kay Sievers
eb7bbee6cd182d5c4eb1e1180631c35158f59379Kay Sievers# Keep the test-suite.log
6aad7f2cd75c88f990c7857bb173b3e8d0faee0fUmut Tezduyar Lindskog.PRECIOUS: $(TEST_SUITE_LOG) Makefile
bbd9b8c2139a70005e4e83d198575e2a10fe1db2Lennart Poettering
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversLIBUDEV_CURRENT=5
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBUDEV_REVISION=0
22be093ffb403a1c474037939ca9b88b1ee39f77Lennart PoetteringLIBUDEV_AGE=4
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bcee
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeLIBGUDEV_CURRENT=1
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeLIBGUDEV_REVISION=3
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBGUDEV_AGE=1
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
8666abb452db73d9a11ead61251eec42bc531cceKay SieversLIBSYSTEMD_LOGIN_CURRENT=9
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBSYSTEMD_LOGIN_REVISION=1
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian RodríguezLIBSYSTEMD_LOGIN_AGE=9
3d585edbb14b9705c80183aeb16dfd0a28df0ac9Lennart Poettering
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian RodríguezLIBSYSTEMD_DAEMON_CURRENT=0
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_DAEMON_REVISION=10
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_DAEMON_AGE=0
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_ID128_CURRENT=0
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_ID128_REVISION=26
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_ID128_AGE=0
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringLIBSYSTEMD_JOURNAL_CURRENT=11
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=3
3ce4fad8f548db9edb19869ea540e3192d2123f4Kay SieversLIBSYSTEMD_JOURNAL_AGE=11
f975e971accc4d50c73ae53167db3df7a7099cf2Lennart Poettering
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringLIBSYSTEMD_BUS_CURRENT=0
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBSYSTEMD_BUS_REVISION=0
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBSYSTEMD_BUS_AGE=0
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Dirs of external packages
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poetteringdbuspolicydir=@dbuspolicydir@
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversdbussessionservicedir=@dbussessionservicedir@
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmekdbussystemservicedir=@dbussystemservicedir@
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardónpamlibdir=@pamlibdir@
86b2e20a5e5abf222fb81edcb5d58d012e35cbaaLennart Poetteringpamconfdir=@pamconfdir@
86b2e20a5e5abf222fb81edcb5d58d012e35cbaaLennart Poetteringpkgconfigdatadir=$(datadir)/pkgconfig
b51fc639f01ee6194af3e7e944a79accce474fe1Dave Reisnerpkgconfiglibdir=$(libdir)/pkgconfig
86b2e20a5e5abf222fb81edcb5d58d012e35cbaaLennart Poetteringpolkitpolicydir=$(datadir)/polkit-1/actions
86b2e20a5e5abf222fb81edcb5d58d012e35cbaaLennart Poetteringbashcompletiondir=@bashcompletiondir@
c1c02e07ed87e027a6364c4f4aa2468796ca1c56Dave Reisnerzshcompletiondir=@zshcompletiondir@
96ede2601f27cd5fe52eed96b873bef55cd0ce23Lennart Poetteringrpmmacrosdir=$(prefix)/lib/rpm/macros.d
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersensysvinitdir=$(SYSTEM_SYSVINIT_PATH)
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersensysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
7801356442578ff6e1c65844eb9e65c819af4660Zbigniew Jędrzejewski-Szmekvarlogdir=$(localstatedir)/log
7801356442578ff6e1c65844eb9e65c819af4660Zbigniew Jędrzejewski-Szmeksystemdstatedir=$(localstatedir)/lib/systemd
80a5cbace45a6adbf2f9119edc5a4b10db493064Kay Sieverscatalogstatedir=$(systemdstatedir)/catalog
b37250d661ed67d07c734630617d73e64f6d7e49Zbigniew Jędrzejewski-Szmek
b37250d661ed67d07c734630617d73e64f6d7e49Zbigniew Jędrzejewski-Szmek# Our own, non-special dirs
6581f00f7eabdaccf587a4b6af60ed4696dd2791Zbigniew Jędrzejewski-Szmekpkgsysconfdir=$(sysconfdir)/systemd
6581f00f7eabdaccf587a4b6af60ed4696dd2791Zbigniew Jędrzejewski-Szmekuserunitdir=$(prefix)/lib/systemd/user
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardónuserpresetdir=$(prefix)/lib/systemd/user-preset
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmektmpfilesdir=$(prefix)/lib/tmpfiles.d
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmeksysctldir=$(prefix)/lib/sysctl.d
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmeknetworkdir=$(prefix)/lib/systemd/network
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmekpkgincludedir=$(includedir)/systemd
6e92b23f0d6dd398848376bbaf47e54a90ed3389Kay Sieverssystemgeneratordir=$(rootlibexecdir)/system-generators
0eaeca1f2373a323b98c86b47561d98e59c67b25Kay Sieversusergeneratordir=$(prefix)/lib/systemd/user-generators
d66ee73a3dd7b5433fc0da3125bbdff740de7745Zbigniew Jędrzejewski-Szmeksystemshutdowndir=$(rootlibexecdir)/system-shutdown
d66ee73a3dd7b5433fc0da3125bbdff740de7745Zbigniew Jędrzejewski-Szmeksystemsleepdir=$(rootlibexecdir)/system-sleep
d66ee73a3dd7b5433fc0da3125bbdff740de7745Zbigniew Jędrzejewski-Szmeksystemunitdir=$(rootprefix)/lib/systemd/system
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverssystempresetdir=$(rootprefix)/lib/systemd/system-preset
ac714a78fdca481488d88f84b6332d28083a4511Martin Jansaudevlibexecdir=$(rootprefix)/lib/udev
ac714a78fdca481488d88f84b6332d28083a4511Martin Jansaudevhomedir=$(udevlibexecdir)
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebludevrulesdir=$(udevlibexecdir)/rules.d
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebludevhwdbdir=$(udevlibexecdir)/hwdb.d
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Bieblcatalogdir=$(prefix)/lib/systemd/catalog
9a60da2834074d970ca063c210fe9d2f05c70532Thierry Redingkernelinstalldir = $(prefix)/lib/kernel/install.d
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek# And these are the special ones for /
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmekrootprefix=@rootprefix@
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmekrootbindir=$(rootprefix)/bin
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmekrootlibexecdir=$(rootprefix)/lib/systemd
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekCLEANFILES = $(BUILT_SOURCES)
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekDISTCLEANFILES =
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekEXTRA_DIST =
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekBUILT_SOURCES =
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekINSTALL_EXEC_HOOKS =
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekUNINSTALL_EXEC_HOOKS =
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekINSTALL_DATA_HOOKS =
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekUNINSTALL_DATA_HOOKS =
eb2e280f9c59b66965c9316eadc4c113a13ca744Lucas De MarchiDISTCLEAN_LOCAL_HOOKS =
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart PoetteringCLEAN_LOCAL_HOOKS =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringpkginclude_HEADERS =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringnoinst_LTLIBRARIES =
27765dfc7a32d790badb29e6498b34edb0b60c33Lennart Poetteringlib_LTLIBRARIES =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringinclude_HEADERS =
780040dc2a4b08a2c1fe5bd8db3a70e966c2acb3Kay Sieversnoinst_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringpkgconfiglib_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringpolkitpolicy_in_in_files =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringpolkitpolicy_in_files =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringpolkitpolicy_files =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringdist_udevrules_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringnodist_udevrules_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringdist_pkgsysconf_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringdist_pkgdata_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringdist_dbuspolicy_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringdist_dbussystemservice_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringcheck_PROGRAMS =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringcheck_DATA =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringtests=
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringmanual_tests =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringif ENABLE_TESTS
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringnoinst_PROGRAMS = $(manual_tests) $(tests)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringTESTS = $(tests)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringelse
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poetteringnoinst_PROGRAMS =
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart PoetteringTESTS =
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringendif
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poetteringudevlibexec_PROGRAMS =
8745297f9853c4a17bac69e1b7e652fe81bc1940Lennart Poettering
d200735e13c52dcfe36c0e066f9f6c2fbfb85a9cMichal SchmidtAM_CPPFLAGS = \
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering -include $(top_builddir)/config.h \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
9f64229f9ca69f5652b238a67531432e56108bd6Zbigniew Jędrzejewski-Szmek -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
c1663b9daf5a43425e54bbe3daf6b10e64578f80Lennart Poettering -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
c1663b9daf5a43425e54bbe3daf6b10e64578f80Lennart Poettering -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
03a170c03cd4a09721369ece48affb70d66c6b90Kay Sievers -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek -DROOTPREFIX=\"$(rootprefix)\" \
9e7adc3ae1133fa08a468768a490812299fad030Lucas De Marchi -DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \
9e7adc3ae1133fa08a468768a490812299fad030Lucas De Marchi -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
9d2d0fe1e3f28a639c26b62391f79cfd1450d91bEvangelos Foutras -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -DX_SERVER=\"$(bindir)/X\" \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -DQUOTACHECK=\"$(QUOTACHECK)\" \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -DKEXEC=\"$(KEXEC)\" \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_builddir)/src/shared \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/shared \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/network \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/login \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/journal \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/systemd \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_builddir)/src/core \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/core \
25ee45f9953c121fc26a54a85ad7bb3a3180152bMichael Biebl -I $(top_srcdir)/src/libudev \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/udev \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/udev/net \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek -I $(top_builddir)/src/udev \
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-bus \
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-rtnl \
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-Szmek $(OUR_CPPFLAGS)
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-SzmekAM_CFLAGS = $(OUR_CFLAGS)
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-SzmekAM_LDFLAGS = $(OUR_LDFLAGS)
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmekdefine move-to-rootlibdir
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek if test "$(libdir)" != "$(rootlibdir)"; then \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
f2ec0646aba7c6703a6c79603957e805b74c3befZbigniew Jędrzejewski-Szmek $(LN_S) -f $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek fi
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmekendef
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-SzmekINSTALL_DIRS =
afea26ad7d406d8b6c95d2642cb5a1d807b87546Lennart Poettering
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversRUNLEVEL1_TARGET_WANTS =
4b357e15876b730343db08719c877fdb45b6ad42Michael MarineauRUNLEVEL2_TARGET_WANTS =
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversRUNLEVEL3_TARGET_WANTS =
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversRUNLEVEL4_TARGET_WANTS =
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversRUNLEVEL5_TARGET_WANTS =
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblSHUTDOWN_TARGET_WANTS =
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblLOCAL_FS_TARGET_WANTS =
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblMULTI_USER_TARGET_WANTS =
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringSYSINIT_TARGET_WANTS =
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblSOCKETS_TARGET_WANTS =
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversBUSNAMES_TARGET_WANTS =
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversTIMERS_TARGET_WANTS =
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay Sievers
fba1ea06bb5b653e9eb0cc1b6004af8da273a4abShawn LanddenSYSTEM_UNIT_ALIASES =
fba1ea06bb5b653e9eb0cc1b6004af8da273a4abShawn LanddenUSER_UNIT_ALIASES =
fba1ea06bb5b653e9eb0cc1b6004af8da273a4abShawn Landden
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblGENERAL_ALIASES =
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrichinstall-target-wants-hook:
4db17f291c627c885de668200ff8cce2e57c933fZbigniew Jędrzejewski-Szmek what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && $(add-wants)
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && $(add-wants)
a8348796c0d39435b1c3d85ce6e95dad1ac85fecLennart Poettering what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && $(add-wants)
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && $(add-wants)
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && $(add-wants)
a8348796c0d39435b1c3d85ce6e95dad1ac85fecLennart Poettering what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && $(add-wants)
b237ef2cfac7ab0b33170809e8cb64628606207dTollef Fog Heen what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && $(add-wants)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && $(add-wants)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && $(add-wants)
2270309471213a3c960543e523130627e9cb10e2Kay Sievers what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && $(add-wants)
2270309471213a3c960543e523130627e9cb10e2Kay Sievers what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && $(add-wants)
2270309471213a3c960543e523130627e9cb10e2Kay Sievers what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && $(add-wants)
2270309471213a3c960543e523130627e9cb10e2Kay Sievers what="$(SLICES_TARGET_WANTS)" && wants=slices.target && $(add-wants)
4b357e15876b730343db08719c877fdb45b6ad42Michael Marineau
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersendefine add-wants
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [ -z "$$what" ] || ( \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen dir=$(DESTDIR)$(systemunitdir)/$$wants.wants && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen $(MKDIR_P) -m 0755 $$dir && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen cd $$dir && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen rm -f $$what && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersenendef
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Anderseninstall-directories-hook:
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Anderseninstall-aliases-hook:
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen set -- $(SYSTEM_UNIT_ALIASES) && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen dir=$(systemunitdir) && $(install-aliases)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen set -- $(USER_UNIT_ALIASES) && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen dir=$(userunitdir) && $(install-aliases)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen set -- $(GENERAL_ALIASES) && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen dir= && $(install-aliases)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersendefine install-aliases
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen while [ -n "$$1" ]; do \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen rm -f $(DESTDIR)$$dir/$$2 && \
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen shift 2 || exit $$?; \
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen done
e2ca86cf78f911a8be51f0224796e24883019139Dave Reisnerendef
e2ca86cf78f911a8be51f0224796e24883019139Dave Reisner
a18535d9e138c525d0443ec9f30a90b3e2184686Tom GundersenINSTALL_EXEC_HOOKS += \
e2ca86cf78f911a8be51f0224796e24883019139Dave Reisner install-target-wants-hook \
70d8320978dcbce022d9acbb953a10a7aca049abDavid Strauss install-directories-hook \
e2ca86cf78f911a8be51f0224796e24883019139Dave Reisner install-aliases-hook
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen
c4955740969d7ba8ba43b024bca1a0a5b56eb8e8Tom Gundersen# ------------------------------------------------------------------------------
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAM_V_M4 = $(AM_V_M4_$(V))
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAM_V_M4_0 = @echo " M4 " $@;
f553b3b1074151200187df916427a1468186435eAnders Olofsson
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_XSLT = $(AM_V_XSLT_$(V))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_XSLT_0 = @echo " XSLT " $@;
f553b3b1074151200187df916427a1468186435eAnders Olofsson
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_GPERF = $(AM_V_GPERF_$(V))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_GPERF_0 = @echo " GPERF " $@;
f553b3b1074151200187df916427a1468186435eAnders Olofsson
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_LN = $(AM_V_LN_$(V))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_LN_0 = @echo " LN " $@;
728beb28a713709f521d374c9f8f3da781969d26Tom Gundersen
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# ------------------------------------------------------------------------------
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassurootbin_PROGRAMS = \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemctl \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-notify \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-ask-password \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-tty-ask-password-agent \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-machine-id-setup
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassubin_PROGRAMS = \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-cgls \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-cgtop \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-nspawn \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-detect-virt \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-delta \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-analyze \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-run
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poetteringdist_bin_SCRIPTS = \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering src/kernel-install/kernel-install
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poetteringdist_kernelinstall_SCRIPTS = \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering src/kernel-install/50-depmod.install \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering src/kernel-install/90-loaderentry.install
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poetteringrootlibexec_PROGRAMS = \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-cgroups-agent \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-initctl \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-update-utmp \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-shutdownd \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-shutdown \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-remount-fs \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering systemd-reply-password \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers systemd-fsck \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-ac-power \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-sysctl \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-sleep \
3f8cc098d218525710e5cbad9adf37001d3b6060Jan Engelhardt systemd-bus-proxyd \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-socket-proxyd
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poetteringsystemgenerator_PROGRAMS = \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-getty-generator \
56cf987fe74270bde4e16c7ec9e0414a9030723bDaniel J Walsh systemd-fstab-generator \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-system-update-generator
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguezdist_bashcompletion_DATA = \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/bash/journalctl \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/bash/systemctl \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/bash/systemd-analyze \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/bash/systemd-run \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/bash/udevadm \
5ec6b15b65304d94dc1c8cbad05c8b996b470d3aKay Sievers shell-completion/bash/kernel-install
56cf987fe74270bde4e16c7ec9e0414a9030723bDaniel J Walsh
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguezdist_zshcompletion_DATA = \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_systemctl \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_journalctl \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_udevadm \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_kernel-install \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_systemd-nspawn \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_systemd-analyze \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_systemd-run \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers shell-completion/zsh/_sd_hosts_or_user_at_host \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering shell-completion/zsh/_systemd-delta \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering shell-completion/zsh/_systemd
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringdist_sysctl_DATA = \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering sysctl.d/50-default.conf
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringdist_systemunit_DATA = \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering units/graphical.target \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering units/multi-user.target \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering units/emergency.service \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering units/emergency.target \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers units/sysinit.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/basic.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/getty.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/halt.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/kexec.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/local-fs.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/local-fs-pre.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/initrd.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/initrd-fs.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/initrd-root-fs.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/remote-fs.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/remote-fs-pre.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/network.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/network-online.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/nss-lookup.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/nss-user-lookup.target \
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poettering units/hibernate.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/hybrid-sleep.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/poweroff.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/reboot.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/rescue.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/rpcbind.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/time-sync.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/shutdown.target \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering units/final.target \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers units/umount.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sigpwr.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sleep.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sockets.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/busnames.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/timers.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/paths.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/suspend.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/swap.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/slices.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/system.slice \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/x-.slice \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-initctl.socket \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-shutdownd.socket \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/syslog.socket \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/dev-hugepages.mount \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/dev-mqueue.mount \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sys-kernel-config.mount \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sys-kernel-debug.mount \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sys-fs-fuse-connections.mount \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/tmp.mount \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/printer.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/sound.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/bluetooth.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/smartcard.target \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-ask-password-wall.path \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-ask-password-console.path \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-udevd-control.socket \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-udevd-kernel.socket \
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poettering units/system-update.target \
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poettering units/initrd-switch-root.target
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringnodist_systemunit_DATA = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/getty@.service \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/serial-getty@.service \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/console-shell.service \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/console-getty.service \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/container-getty@.service \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers units/systemd-initctl.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-shutdownd.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-remount-fs.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-update-utmp.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-update-utmp-runlevel.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-ask-password-wall.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-ask-password-console.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-sysctl.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/emergency.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/rescue.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/user@.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-hibernate.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-hybrid-sleep.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-suspend.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-halt.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-poweroff.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-reboot.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-kexec.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-fsck@.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-fsck-root.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-udevd.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-udev-trigger.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-udev-settle.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/debug-shell.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/initrd-parse-etc.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/initrd-cleanup.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/initrd-udevadm-cleanup-db.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/initrd-switch-root.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/systemd-nspawn@.service
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringdist_userunit_DATA = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/user/default.target \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/user/exit.target
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringnodist_userunit_DATA = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering units/user/systemd-exit.service
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart PoetteringEXTRA_DIST += \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/getty@.service.m4 \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/serial-getty@.service.m4 \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/console-shell.service.m4.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/console-getty.service.m4.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/container-getty@.service.m4.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/rescue.service.m4.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-initctl.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-shutdownd.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-remount-fs.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-update-utmp.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-update-utmp-runlevel.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-ask-password-wall.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-ask-password-console.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-sysctl.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/emergency.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-halt.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-poweroff.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-reboot.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-kexec.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/user/systemd-exit.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-fsck@.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-fsck-root.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/user@.service.m4.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-udevd.service \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-udev-trigger.service \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-udev-settle.service \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/debug-shell.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-hibernate.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-hybrid-sleep.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-suspend.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/quotaon.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/initrd-parse-etc.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/initrd-cleanup.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/initrd-udevadm-cleanup-db.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/initrd-switch-root.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering units/systemd-nspawn@.service.in
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart PoetteringCLEANFILES += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/console-shell.service.m4 \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/console-getty.service.m4 \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/container-getty@.service.m4 \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/rescue.service.m4 \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/user@.service.m4
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskiif HAVE_SYSV_COMPAT
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskinodist_systemunit_DATA += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/rc-local.service \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/halt-local.service
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskisystemgenerator_PROGRAMS += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski systemd-rc-local-generator
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskiendif
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiEXTRA_DIST += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/rc-local.service.in \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski units/halt-local.service.in
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski# automake is broken and can't handle files with a dash in front
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728#8
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kokunits-install-hook:
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kok mv $(DESTDIR)$(systemunitdir)/x-.slice $(DESTDIR)/$(systemunitdir)/-.slice
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kok
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kokunits-uninstall-hook:
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kok rm -f $(DESTDIR)/$(systemunitdir)/-.slice
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kok
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiINSTALL_DATA_HOOKS += units-install-hook
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiUNINSTALL_DATA_HOOKS += units-uninstall-hook
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskidist_doc_DATA = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering README \
feb12d3ed2c7f9132c64773c7c41b9e3a608a814Lennart Poettering NEWS \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering LICENSE.LGPL2.1 \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering LICENSE.GPL2 \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering LICENSE.MIT \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering DISTRO_PORTING
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering@INTLTOOL_POLICY_RULE@
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering# ------------------------------------------------------------------------------
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringMANPAGES =
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringMANPAGES_ALIAS =
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringinclude Makefile-man.am
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering.PHONY: man
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringman: $(MANPAGES) $(MANPAGES_ALIAS) $(HTML_FILES) $(HTML_ALIAS)
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringXML_FILES = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringHTML_FILES = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering ${XML_FILES:.xml=.html}
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringHTML_ALIAS = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering ${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringif ENABLE_MANPAGES
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringman_MANS = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(MANPAGES) \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(MANPAGES_ALIAS)
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringnoinst_DATA += \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(HTML_FILES) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(HTML_ALIAS)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(man_MANS) \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(HTML_FILES) \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(HTML_ALIAS)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringdocs/html/man:
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_LN)$(LN_S) -f ../../man $@
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringnoinst_DATA += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering docs/html/man
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering docs/html/man
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringif HAVE_PYTHON
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/index.html: man/systemd.index.html
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_LN)$(LN_S) -f systemd.index.html $@
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringnoinst_DATA += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering man/index.html
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering man/index.html
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringXML_GLOB = $(wildcard $(top_srcdir)/man/*.xml $(top_builddir)/man/*.xml)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringNON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES))
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringSOURCE_XML_FILES = $(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringupdate-man-list: make-man-rules.py $(XML_GLOB)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering @echo "Makefile-man.am has been regenerated"
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/systemd.index.xml: make-man-index.py $(NON_INDEX_XML_FILES)
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(AM_V_at)$(MKDIR_P) $(dir $@)
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering
7f4e08056de0184b205a20632e62db73d299937eLennart Poetteringman/systemd.directives.xml: make-directive-index.py $(SOURCE_XML_FILES)
8cf3ca80680b43015971cbbf4625517ae859d50cJan Janssen $(AM_V_at)$(MKDIR_P) $(dir $@)
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering
591622d7efbc828f00f190d91b6608148b967ff5Lennart PoetteringEXTRA_DIST += \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering man/systemd.index.xml \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering man/index.html \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering man/systemd.directives.xml
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart PoetteringCLEANFILES += \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering man/systemd.index.xml \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering man/systemd.directives.xml
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poetteringendif
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poetteringendif
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart PoetteringEXTRA_DIST += \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(XML_FILES) \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(HTML_FILES) \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(HTML_ALIAS) \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(man_MANS) \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering make-man-index.py \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering make-directive-index.py \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering xml_helper.py
59bb9d9a14889bee001706a32a518fe0a5009048Zbigniew Jędrzejewski-Szmek
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering# ------------------------------------------------------------------------------
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poetteringnoinst_LTLIBRARIES += \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering libsystemd-rtnl.la
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poetteringlibsystemd_rtnl_la_SOURCES = \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering src/systemd/sd-rtnl.h \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering src/libsystemd-rtnl/sd-rtnl.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/libsystemd-rtnl/rtnl-internal.h \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna src/libsystemd-rtnl/rtnl-message.c \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna src/libsystemd-rtnl/rtnl-util.h \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna src/libsystemd-rtnl/rtnl-util.c
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajnatest_rtnl_SOURCES = \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna src/libsystemd-rtnl/test-rtnl.c
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverstest_rtnl_LDADD = \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering libsystemd-rtnl.la \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering libsystemd-bus-internal.la \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering libsystemd-daemon-internal.la \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers libsystemd-id128-internal.la \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering libsystemd-shared.la
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringtests += \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers test-rtnl
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering# ------------------------------------------------------------------------------
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringnoinst_LTLIBRARIES += \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers libsystemd-shared.la
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringlibsystemd_shared_la_SOURCES = \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering src/shared/linux/auto_dev-ioctl.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/linux/fanotify.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/linux/seccomp.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/linux/seccomp-bpf.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/ioprio.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/missing.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/initreq.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/securebits.h \
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok src/shared/special.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/list.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/macro.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/def.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/sparse-endian.h \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/refcnt.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/udev-util.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/bus-errors.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/device-nodes.c \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/device-nodes.h \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/util.c \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/util.h \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/virt.c \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/virt.h \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/efivars.c \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/efivars.h \
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar src/shared/path-util.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/path-util.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/time-util.c \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/time-util.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/hashmap.c \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/hashmap.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/siphash24.c \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/siphash24.h \
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering src/shared/set.c \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/set.h \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/fdset.c \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/fdset.h \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/prioq.c \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/prioq.h \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/sleep-config.c \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/sleep-config.h \
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering src/shared/strv.c \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/strv.h \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/env-util.c \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/env-util.h \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/strbuf.c \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/strbuf.h \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/strxcpyx.c \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/strxcpyx.h \
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering src/shared/conf-parser.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/conf-parser.h \
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers src/shared/log.c \
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers src/shared/log.h \
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers src/shared/ratelimit.h \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/ratelimit.c \
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers src/shared/exit-status.c \
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers src/shared/exit-status.h \
4c80c73c2b804576b1de27e644c1da4dab2f9026Kay Sievers src/shared/utf8.c \
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers src/shared/utf8.h \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/gunicode.c \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/gunicode.h \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/pager.c \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/pager.h \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/socket-util.c \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/socket-util.h \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/conf-files.c \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/conf-files.h \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/shared/cgroup-util.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/cgroup-util.h \
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna src/shared/cgroup-show.c \
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna src/shared/cgroup-show.h \
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna src/shared/unit-name.c \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/unit-name.h \
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna src/shared/utmp-wtmp.c \
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna src/shared/utmp-wtmp.h \
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna src/shared/watchdog.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/watchdog.h \
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna src/shared/spawn-ask-password-agent.c \
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna src/shared/spawn-ask-password-agent.h \
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna src/shared/replace-var.c \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/replace-var.h \
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna src/shared/spawn-polkit-agent.c \
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna src/shared/spawn-polkit-agent.h \
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna src/shared/hwclock.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/hwclock.h \
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna src/shared/time-dst.c \
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna src/shared/time-dst.h \
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna src/shared/calendarspec.c \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/calendarspec.h \
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna src/shared/fileio.c \
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna src/shared/fileio.h \
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna src/shared/output-mode.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/shared/MurmurHash2.c \
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering src/shared/MurmurHash2.h \
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering src/shared/acpi-fpdt.h \
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering src/shared/acpi-fpdt.c \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/shared/boot-timestamps.h \
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering src/shared/boot-timestamps.c \
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering src/shared/mkdir.c \
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering src/shared/mkdir.h \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/smack-util.c \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/smack-util.h \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/apparmor-util.c \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/apparmor-util.h \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/ima-util.c \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/ima-util.h \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/ptyfwd.c \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/ptyfwd.h \
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering src/shared/net-util.c \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/net-util.h \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/errno-list.c \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/errno-list.h \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/syscall-list.c \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/syscall-list.h \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/audit.c \
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters src/shared/audit.h
3c9317d2d93248f3f0b0feaaa113485aee415d8aColin Walters
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poetteringnodist_libsystemd_shared_la_SOURCES = \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering src/shared/errno-from-name.h \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering src/shared/errno-to-name.h \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering src/shared/syscall-from-name.h \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering src/shared/syscall-to-name.h
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering# ------------------------------------------------------------------------------
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poetteringnoinst_LTLIBRARIES += \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering libsystemd-units.la
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poetteringlibsystemd_units_la_SOURCES = \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/install.c \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/install.h \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/install-printf.c \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/install-printf.h \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/path-lookup.c \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/path-lookup.h \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/specifier.c \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/shared/specifier.h
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering# ------------------------------------------------------------------------------
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poetteringnoinst_LTLIBRARIES += \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering libsystemd-label.la
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poetteringlibsystemd_label_la_SOURCES = \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/socket-label.c \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/label.c \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/shared/label.h \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/selinux-util.c \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/selinux-util.h \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/mkdir-label.c \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/ask-password-api.c \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/ask-password-api.h \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/fileio-label.c \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/fileio-label.h \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/dev-setup.c \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering src/shared/dev-setup.h
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poetteringlibsystemd_label_la_CFLAGS = \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering $(AM_CFLAGS) \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering $(SELINUX_CFLAGS)
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poetteringlibsystemd_label_la_LIBADD = \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering $(SELINUX_LIBS)
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering# ------------------------------------------------------------------------------
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poetteringnoinst_LTLIBRARIES += \
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez libsystemd-logs.la
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguezlibsystemd_logs_la_SOURCES = \
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez src/shared/logs-show.c \
abaaabf40a9891014ed4c402d7beb5a67ac256b1Lennart Poettering src/shared/logs-show.h
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez# ------------------------------------------------------------------------------
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodrígueznoinst_LTLIBRARIES += \
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez libsystemd-capability.la
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez
54b434b1b5055f934230fe04fad35b01642b8488Lennart Poetteringlibsystemd_capability_la_SOURCES = \
7211f918ba2b86e0041413b47d51d7593e73cf5dLennart Poettering src/shared/capability.c \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen src/shared/capability.h
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen
f8c5a5815ff7c137d9a1e5d7b48a6532b9f31407Lennart Poetteringlibsystemd_capability_la_CFLAGS = \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen $(AM_CFLAGS) \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen $(CAP_CFLAGS)
a3b6fafed441d96380a3f089118f7486d6aa3126Lennart Poettering
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenlibsystemd_capability_la_LIBADD = \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen $(CAP_LIBS)
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen# ------------------------------------------------------------------------------
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenif HAVE_ACL
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersennoinst_LTLIBRARIES += \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen libsystemd-acl.la
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenlibsystemd_acl_la_SOURCES = \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen src/shared/acl-util.c \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen src/shared/acl-util.h
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenlibsystemd_acl_la_CFLAGS = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(AM_CFLAGS) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(ACL_CFLAGS)
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
a3bd8447be4ea2ce230eb8ae0e815c04d85fa15aTom Gundersenlibsystemd_acl_la_LIBADD = \
a3bd8447be4ea2ce230eb8ae0e815c04d85fa15aTom Gundersen $(ACL_LIBS)
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversendif
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# ------------------------------------------------------------------------------
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversnoinst_LTLIBRARIES += \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers libsystemd-core.la
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverslibsystemd_core_la_SOURCES = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/unit.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/unit.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/unit-printf.c \
a3bd8447be4ea2ce230eb8ae0e815c04d85fa15aTom Gundersen src/core/unit-printf.h \
d8d4bee76cf3b40ea923bc57d44aa0815ca9b5ffKay Sievers src/core/job.c \
a3bd8447be4ea2ce230eb8ae0e815c04d85fa15aTom Gundersen src/core/job.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/manager.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/manager.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/transaction.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/transaction.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/load-fragment.c \
de1c301ed165eb4d04a0c9d4babe97912b5233bbLennart Poettering src/core/load-fragment.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/service.c \
de1c301ed165eb4d04a0c9d4babe97912b5233bbLennart Poettering src/core/service.h \
de1c301ed165eb4d04a0c9d4babe97912b5233bbLennart Poettering src/core/socket.c \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/socket.h \
75db9a77605b33a1b9355eae957f26380441fce6Lennart Poettering src/core/busname.c \
4c2b0e4e423fe73fafef10a5efa6fb778784cebcLennart Poettering src/core/busname.h \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/target.c \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/target.h \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/snapshot.c \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/snapshot.h \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/device.c \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/device.h \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/core/mount.c \
75db9a77605b33a1b9355eae957f26380441fce6Lennart Poettering src/core/mount.h \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/automount.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/core/automount.h \
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering src/core/swap.c \
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering src/core/swap.h \
f1dd0c3f9b4a257e81ff9c6a08070c702a0db45aLennart Poettering src/core/timer.c \
f975e971accc4d50c73ae53167db3df7a7099cf2Lennart Poettering src/core/timer.h \
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering src/core/path.c \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen src/core/path.h \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/core/slice.c \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/slice.h \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/core/scope.c \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers src/core/scope.h \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen src/core/load-dropin.c \
dee4c244254bb49d1ffa8bd7171ae9cce596d2d0Lennart Poettering src/core/load-dropin.h \
dee4c244254bb49d1ffa8bd7171ae9cce596d2d0Lennart Poettering src/core/execute.c \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/execute.h \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen src/core/kill.c \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen src/core/kill.h \
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen src/core/dbus.c \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus.h \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-manager.c \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-manager.h \
f975e971accc4d50c73ae53167db3df7a7099cf2Lennart Poettering src/core/dbus-unit.c \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-unit.h \
dee4c244254bb49d1ffa8bd7171ae9cce596d2d0Lennart Poettering src/core/dbus-job.c \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-job.h \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-service.c \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-service.h \
07459bb6b92268beb2599f65cf195708d88c51ccFabiano Fidêncio src/core/dbus-socket.c \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/dbus-socket.h \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/dbus-busname.c \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/dbus-busname.h \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/dbus-target.c \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/dbus-target.h \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering src/core/dbus-snapshot.c \
bef2733fae665e880da6ea011b1f918e6900bb42Lennart Poettering src/core/dbus-snapshot.h \
a05ea46dc788929bc8b13afb4208ca29cad68572Michael Biebl src/core/dbus-device.c \
bef2733fae665e880da6ea011b1f918e6900bb42Lennart Poettering src/core/dbus-device.h \
bef2733fae665e880da6ea011b1f918e6900bb42Lennart Poettering src/core/dbus-mount.c \
bef2733fae665e880da6ea011b1f918e6900bb42Lennart Poettering src/core/dbus-mount.h \
bef2733fae665e880da6ea011b1f918e6900bb42Lennart Poettering src/core/dbus-automount.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-automount.h \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-swap.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-swap.h \
25ee45f9953c121fc26a54a85ad7bb3a3180152bMichael Biebl src/core/dbus-timer.c \
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart Poettering src/core/dbus-timer.h \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-path.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-path.h \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-slice.c \
25ee45f9953c121fc26a54a85ad7bb3a3180152bMichael Biebl src/core/dbus-slice.h \
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart Poettering src/core/dbus-scope.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-scope.h \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-execute.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-execute.h \
03c149144d374cffd40a17ffb067837e3e220933Michael Biebl src/core/dbus-kill.c \
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart Poettering src/core/dbus-kill.h \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-cgroup.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-cgroup.h \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/dbus-client-track.c \
03c149144d374cffd40a17ffb067837e3e220933Michael Biebl src/core/dbus-client-track.h \
d122948d6fbaac4505cf14a08f1237daa89efdd0Lennart Poettering src/core/cgroup.c \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/cgroup.h \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/selinux-access.c \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/selinux-access.h \
25ee45f9953c121fc26a54a85ad7bb3a3180152bMichael Biebl src/core/selinux-setup.c \
25ee45f9953c121fc26a54a85ad7bb3a3180152bMichael Biebl src/core/selinux-setup.h \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/smack-setup.c \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/smack-setup.h \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/ima-setup.c \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl src/core/ima-setup.h \
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokas src/core/locale-setup.h \
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokas src/core/locale-setup.c \
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokas src/core/hostname-setup.c \
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokas src/core/hostname-setup.h \
b8079ae19b41c9b61850c796dddc601b826850e0Kay Sievers src/core/machine-id-setup.c \
b8079ae19b41c9b61850c796dddc601b826850e0Kay Sievers src/core/machine-id-setup.h \
39ad55a9aa99451f982628af6e14581092b2d2f6Kay Sievers src/core/mount-setup.c \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering src/core/mount-setup.h \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers src/core/loopback-setup.h \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers src/core/loopback-setup.c \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers src/core/condition.c \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers src/core/condition.h \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers src/core/namespace.c \
9d3203b4765e64300ab8e8d6d3d1b9ed0c514d5eKay Sievers src/core/namespace.h \
b0cca7d886583a10b9342796b4619eca4d582cb2Michael Biebl src/core/tcpwrap.c \
9d3203b4765e64300ab8e8d6d3d1b9ed0c514d5eKay Sievers src/core/tcpwrap.h \
9d3203b4765e64300ab8e8d6d3d1b9ed0c514d5eKay Sievers src/core/build.h \
9d3203b4765e64300ab8e8d6d3d1b9ed0c514d5eKay Sievers src/core/sysfs-show.h \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek src/core/switch-root.h \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek src/core/switch-root.c \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek src/core/killall.h \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek src/core/killall.c \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek src/core/audit-fd.c \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny src/core/audit-fd.h \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny src/core/async.c \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny src/core/async.h
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górnyif HAVE_KMOD
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górnylibsystemd_core_la_SOURCES += \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny src/core/kmod-setup.c \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny src/core/kmod-setup.h
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górnyendif
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poetteringnodist_libsystemd_core_la_SOURCES = \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górny src/core/load-fragment-gperf.c \
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering src/core/load-fragment-gperf-nulstr.c
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmeklibsystemd_core_la_CFLAGS = \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(LIBWRAP_CFLAGS) \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(PAM_CFLAGS) \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(AUDIT_CFLAGS) \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(KMOD_CFLAGS) \
cee22bd3cb253734a8a0183751d786128e2ea5e4Henrik Grindal Bakken -pthread
cee22bd3cb253734a8a0183751d786128e2ea5e4Henrik Grindal Bakken
cee22bd3cb253734a8a0183751d786128e2ea5e4Henrik Grindal Bakkenlibsystemd_core_la_LIBADD = \
cee22bd3cb253734a8a0183751d786128e2ea5e4Henrik Grindal Bakken libsystemd-capability.la \
cee22bd3cb253734a8a0183751d786128e2ea5e4Henrik Grindal Bakken libsystemd-units.la \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering libsystemd-label.la \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering libsystemd-id128-internal.la \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering libsystemd-daemon-internal.la \
d2d12cd1bfd90f3a13273d82331a7cbd36a93231Lennart Poettering libudev-internal.la \
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl libsystemd-shared.la \
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokas libsystemd-rtnl.la \
8c6db8336536916d0476ff8233e0abf40a2f6aabLennart Poettering libsystemd-bus-internal.la \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek $(LIBWRAP_LIBS) \
b8079ae19b41c9b61850c796dddc601b826850e0Kay Sievers $(PAM_LIBS) \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers $(AUDIT_LIBS) \
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart Poettering $(CAP_LIBS) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(KMOD_LIBS)
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
bb061708d5aa83579f213bdfb67253f7027217c3Kay Sieverssrc/core/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf
bb061708d5aa83579f213bdfb67253f7027217c3Kay Sievers $(AM_V_at)$(MKDIR_P) $(dir $@)
bb061708d5aa83579f213bdfb67253f7027217c3Kay Sievers $(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 ";" }' < $< > $@
bb061708d5aa83579f213bdfb67253f7027217c3Kay Sievers
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversEXTRA_DIST += \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/load-fragment-gperf.gperf.m4
a45a909fbbe11ad8c75cda5639d875476ac65453Christian Ruppert
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay SieversCLEANFILES += \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering src/core/load-fragment-gperf.gperf \
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering src/core/load-fragment-gperf.c \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering src/core/load-fragment-gperf-nulstr.c \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/shared/syscall-list.txt \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/shared/syscall-from-name.gperf \
1271623839b5bb4f0f383a8ad5500462dda0a94aLennart Poettering src/shared/errno-list.txt \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu src/shared/errno-from-name.gperf
1271623839b5bb4f0f383a8ad5500462dda0a94aLennart Poettering
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiBUILT_SOURCES += \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering src/shared/syscall-from-name.h \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering src/shared/syscall-to-name.h \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering src/shared/errno-from-name.h \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering src/shared/errno-to-name.h
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poetteringsrc/shared/syscall-list.txt:
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/syscall.h - < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9(]/ { sub(/__NR_/, "", $$2); if ($$2 !~ /SYSCALL_BASE/) print $$2; }' > $@
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringsrc/shared/syscall-from-name.gperf: src/shared/syscall-list.txt
83fdc450aa8f79941bec84488ffd5bf8eadab18eAuke Kok $(AM_V_at)$(MKDIR_P) $(dir $@)
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct syscall_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, __NR_%s\n", $$1, $$1 }' < $< > $@
6351163bf3e519cc07adb2732d12450741f5a0d3Umut Tezduyar
4de856120f252e7aa19c923c10fbf23310d623aaLennart Poetteringsrc/shared/syscall-from-name.h: src/shared/syscall-from-name.gperf
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_syscall -H hash_syscall_name -p -C < $< > $@
2a018e83ded29c9719b2478a65ee6245c829c0f5Kay Sievers
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/shared/syscall-to-name.h: src/shared/syscall-list.txt
b2e9fb99ab288e8817302851743ed1a3cddd384bMiklos Vajna $(AM_V_at)$(MKDIR_P) $(dir $@)
f47cd184c0ff80e025428e9e385e61bda1ef3d69Miklos Vajna $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const syscall_names[] = { "} { printf "[SYSCALL_TO_INDEX(__NR_%s)] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
4cd1eaa54507a65286413363216ad407fa7c6e50Miklos Vajna
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poetteringsrc/shared/errno-list.txt:
46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51eLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - < /dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+[0-9]/ { print $$2; }' > $@
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen
f553b3b1074151200187df916427a1468186435eAnders Olofssonsrc/shared/errno-from-name.gperf: src/shared/errno-list.txt
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen $(AM_V_at)$(MKDIR_P) $(dir $@)
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct errno_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' < $< > $@
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poetteringsrc/shared/errno-from-name.h: src/shared/errno-from-name.gperf
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_errno -H hash_errno_name -p -C < $< > $@
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersensrc/shared/errno-to-name.h: src/shared/errno-list.txt
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek $(AM_V_at)$(MKDIR_P) $(dir $@)
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart Poettering# ------------------------------------------------------------------------------
b8079ae19b41c9b61850c796dddc601b826850e0Kay Sieverssystemd_SOURCES = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/core/main.c
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverssystemd_LDADD = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers libsystemd-core.la \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers $(RT_LIBS)
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmekdist_pkgsysconf_DATA += \
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek src/core/system.conf \
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek src/core/user.conf
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek
f2ec0646aba7c6703a6c79603957e805b74c3befZbigniew Jędrzejewski-Szmekdist_dbuspolicy_DATA += \
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek src/core/org.freedesktop.systemd1.conf
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmekdist_dbussystemservice_DATA += \
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering src/core/org.freedesktop.systemd1.service
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poetteringpolkitpolicy_in_in_files += \
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering src/core/org.freedesktop.systemd1.policy.in.in
db059f1b031a92ed45b62d1036877abd9c128d1bMichael Biebl
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokaspkgconfigdata_DATA = \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering src/core/systemd.pc
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poettering
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodrígueznodist_rpmmacros_DATA = \
66be6554807773028a0111addb8e75c3cab11117Kay Sievers src/core/macros.systemd
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering
1f048a6b6bcc30d2e157711b3d231d7a944e6ffbJan EngelhardtEXTRA_DIST += \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/core/systemd.pc.in \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek src/core/macros.systemd.in
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay SieversCLEANFILES += \
src/core/macros.systemd \
src/core/org.freedesktop.systemd1.policy.in
# ------------------------------------------------------------------------------
manual_tests += \
test-engine \
test-ns \
test-loopback \
test-hostname \
test-daemon \
test-cgroup \
test-install \
test-watchdog \
test-log
tests += \
test-job-type \
test-env-replace \
test-strbuf \
test-strv \
test-path-util \
test-strxcpyx \
test-unit-name \
test-unit-file \
test-utf8 \
test-ellipsize \
test-util \
test-namespace \
test-date \
test-sleep \
test-replace-var \
test-sched-prio \
test-calendarspec \
test-strip-tab-ansi \
test-cgroup-util \
test-cgroup-mask \
test-prioq \
test-fileio \
test-time \
test-hashmap \
test-list \
test-tables \
test-device-nodes
EXTRA_DIST += \
test/sched_idle_bad.service \
test/sched_idle_ok.service \
test/sched_rr_bad.service \
test/sched_rr_ok.service \
test/sched_rr_change.service \
test/son.service \
test/daughter.service \
test/parent.slice
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_LDADD = \
libsystemd-core.la \
$(RT_LIBS)
test_job_type_SOURCES = \
src/test/test-job-type.c
test_job_type_LDADD = \
libsystemd-core.la \
$(RT_LIBS)
test_ns_SOURCES = \
src/test/test-ns.c
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_LDADD = \
libsystemd-core.la \
$(RT_LIBS)
test_unit_file_SOURCES = \
src/test/test-unit-file.c
test_unit_file_LDADD = \
libsystemd-core.la \
$(RT_LIBS)
test_utf8_SOURCES = \
src/test/test-utf8.c
test_utf8_LDADD = \
libsystemd-shared.la
test_util_SOURCES = \
src/test/test-util.c
test_util_LDADD = \
libsystemd-core.la
test_namespace_SOURCES = \
src/test/test-namespace.c
test_namespace_LDADD = \
libsystemd-core.la
test_hashmap_SOURCES = \
src/test/test-hashmap.c
test_hashmap_LDADD = \
libsystemd-core.la
test_list_SOURCES = \
src/test/test-list.c
test_list_LDADD = \
libsystemd-core.la
test_tables_SOURCES = \
src/test/test-tables.c \
src/shared/test-tables.h
test_tables_LDADD = \
libsystemd-logs.la \
libsystemd-journal-internal.la \
libsystemd-core.la \
$(RT_LIBS)
test_prioq_SOURCES = \
src/test/test-prioq.c
test_prioq_LDADD = \
libsystemd-core.la
test_fileio_SOURCES = \
src/test/test-fileio.c
test_fileio_LDADD = \
libsystemd-core.la
test_time_SOURCES = \
src/test/test-time.c
test_time_LDADD = \
libsystemd-core.la
test_log_SOURCES = \
src/test/test-log.c
test_log_LDADD = \
libsystemd-core.la
test_ellipsize_SOURCES = \
src/test/test-ellipsize.c
test_ellipsize_LDADD = \
libsystemd-core.la
test_date_SOURCES = \
src/test/test-date.c
test_date_LDADD = \
libsystemd-core.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-daemon-internal.la \
libsystemd-shared.la
test_cgroup_SOURCES = \
src/test/test-cgroup.c
test_cgroup_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
test_cgroup_mask_SOURCES = \
src/test/test-cgroup-mask.c
test_cgroup_mask_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DTEST_DIR=\"$(abs_top_srcdir)/test\"
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-daemon-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-id128-internal.la \
libsystemd-shared.la
test_path_util_SOURCES = \
src/test/test-path-util.c
test_path_util_LDADD = \
libsystemd-shared.la
test_strxcpyx_SOURCES = \
src/test/test-strxcpyx.c
test_strxcpyx_LDADD = \
libsystemd-shared.la
test_install_SOURCES = \
src/test/test-install.c
test_install_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
test_watchdog_SOURCES = \
src/test/test-watchdog.c
test_watchdog_LDADD = \
libsystemd-shared.la
test_sched_prio_SOURCES = \
src/test/test-sched-prio.c
test_sched_prio_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DTEST_DIR=\"$(abs_top_srcdir)/test\"
test_sched_prio_LDADD = \
libsystemd-core.la \
$(RT_LIBS)
# ------------------------------------------------------------------------------
## .PHONY so it always rebuilds it
.PHONY: coverage lcov-run lcov-report
# run lcov from scratch, always
coverage:
$(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
genhtml -t "systemd test coverage" -o $(coverage_dir) $(coverage_dir)/.lcov.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
systemd_analyze_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_initctl_SOURCES = \
src/initctl/initctl.c
systemd_initctl_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-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-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
$(AUDIT_LIBS)
# ------------------------------------------------------------------------------
systemd_shutdownd_SOURCES = \
src/shutdownd/shutdownd.c
systemd_shutdownd_LDADD = \
libsystemd-label.la \
libsystemd-daemon-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-capability.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
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
dist_tmpfiles_DATA = \
tmpfiles.d/systemd.conf \
tmpfiles.d/systemd-nologin.conf \
tmpfiles.d/tmp.conf \
tmpfiles.d/x11.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 += \
units/systemd-tmpfiles-setup-dev.service.in \
units/systemd-tmpfiles-setup.service.in \
units/systemd-tmpfiles-clean.service.in
# ------------------------------------------------------------------------------
systemd_machine_id_setup_SOURCES = \
src/machine-id-setup/machine-id-setup-main.c \
src/core/machine-id-setup.c \
src/core/machine-id-setup.h
systemd_machine_id_setup_LDADD = \
libsystemd-label.la \
libsystemd-id128-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-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libudev-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
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
systemd-detect-virt-install-hook:
-$(SETCAP) cap_dac_override,cap_sys_ptrace=ep $(DESTDIR)$(bindir)/systemd-detect-virt
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_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_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/boot.h \
src/boot/boot-loader.h \
src/boot/bootctl.c \
src/boot/boot-loader.c \
src/boot/boot-efi.c
bootctl_LDADD = \
libsystemd-shared.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la
bin_PROGRAMS += \
bootctl
dist_zshcompletion_DATA += \
shell-completion/zsh/_bootctl
endif
# ------------------------------------------------------------------------------
if HAVE_BLKID
systemgenerator_PROGRAMS += \
systemd-gpt-auto-generator
systemd_gpt_auto_generator_SOURCES = \
src/gpt-auto-generator/gpt-auto-generator.c
systemd_gpt_auto_generator_LDADD = \
libsystemd-label.la \
libsystemd-id128-internal.la \
libudev-internal.la \
libsystemd-shared.la \
$(BLKID_LIBS)
systemd_gpt_auto_generator_CFLAGS = \
$(AM_CFLAGS) \
$(BLKID_CFLAGS)
endif
# ------------------------------------------------------------------------------
systemgenerator_PROGRAMS += \
systemd-dbus1-generator
systemd_dbus1_generator_SOURCES = \
src/dbus1-generator/dbus1-generator.c
systemd_dbus1_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la \
libsystemd-bus-internal.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-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemctl_SOURCES = \
src/systemctl/systemctl.c
systemctl_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-bus-internal.la \
libsystemd-logs.la
if ENABLE_LOGIND
systemctl_LDADD += \
libsystemd-login-internal.la
endif
systemctl_LDADD += \
libsystemd-journal-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_notify_SOURCES = \
src/notify/notify.c \
src/readahead/sd-readahead.c
systemd_notify_LDADD = \
libsystemd-daemon-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-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_LDADD = \
libsystemd-label.la \
libsystemd-capability.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-rtnl.la
# ------------------------------------------------------------------------------
systemd_run_SOURCES = \
src/run/run.c
systemd_run_LDADD = \
libsystemd-label.la \
libsystemd-capability.la \
libsystemd-bus-internal.la \
libsystemd-daemon-internal.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_bus_proxyd_SOURCES = \
src/bus-proxyd/bus-proxyd.c
systemd_bus_proxyd_LDADD = \
libsystemd-bus-internal.la \
libsystemd-daemon-internal.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
bus-proxyd-install-hook:
$(AM_V_LN)$(LN_S) -f ../../lib/systemd/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge
bus-proxyd-uninstall-hook:
rm -f $(DESTDIR)$(bindir)/systemd-stdio-bridge
INSTALL_EXEC_HOOKS += bus-proxyd-install-hook
UNINSTALL_EXEC_HOOKS += bus-proxyd-uninstall-hook
if ENABLE_KDBUS
nodist_systemunit_DATA += \
units/systemd-bus-proxyd@.service
dist_systemunit_DATA += \
units/systemd-bus-proxyd.socket
dist_userunit_DATA += \
units/user/systemd-bus-proxyd.socket
USER_UNIT_ALIASES += \
$(systemunitdir)/systemd-bus-proxyd@.service systemd-bus-proxyd@.service
endif
EXTRA_DIST += \
units/systemd-bus-proxyd@.service.in
# ------------------------------------------------------------------------------
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_daemon_la_SOURCES = \
src/libsystemd-daemon/libsystemd-daemon.sym \
src/libsystemd-daemon/sd-daemon.c
libsystemd_daemon_internal_la_SOURCES = \
$(libsystemd_daemon_la_SOURCES)
libsystemd_daemon_internal_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DSD_DAEMON_DISABLE_MQ
libsystemd_daemon_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden \
-DSD_EXPORT_SYMBOLS
libsystemd_daemon_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
-Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon/libsystemd-daemon.sym
libsystemd_daemon_la_LIBADD = \
$(RT_LIBS)
pkginclude_HEADERS += \
src/systemd/sd-daemon.h
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libsystemd-daemon-install-hook:
libname=libsystemd-daemon.so && $(move-to-rootlibdir)
libsystemd-daemon-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
INSTALL_EXEC_HOOKS += libsystemd-daemon-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-daemon-uninstall-hook
lib_LTLIBRARIES += \
libsystemd-daemon.la
noinst_LTLIBRARIES += \
libsystemd-daemon-internal.la
pkgconfiglib_DATA += \
src/libsystemd-daemon/libsystemd-daemon.pc
EXTRA_DIST += \
src/libsystemd-daemon/libsystemd-daemon.pc.in
# ------------------------------------------------------------------------------
libsystemd_bus_la_SOURCES = \
src/libsystemd-bus/libsystemd-bus.sym \
src/systemd/sd-bus.h \
src/systemd/sd-bus-protocol.h \
src/systemd/sd-bus-vtable.h \
src/systemd/sd-memfd.h \
src/systemd/sd-utf8.h \
src/systemd/sd-event.h \
src/libsystemd-bus/sd-bus.c \
src/libsystemd-bus/bus-control.c \
src/libsystemd-bus/bus-control.h \
src/libsystemd-bus/bus-error.c \
src/libsystemd-bus/bus-error.h \
src/libsystemd-bus/bus-internal.c \
src/libsystemd-bus/bus-internal.h \
src/libsystemd-bus/bus-socket.c \
src/libsystemd-bus/bus-socket.h \
src/libsystemd-bus/bus-kernel.c \
src/libsystemd-bus/bus-kernel.h \
src/libsystemd-bus/bus-container.c \
src/libsystemd-bus/bus-container.h \
src/libsystemd-bus/bus-message.c \
src/libsystemd-bus/bus-message.h \
src/libsystemd-bus/bus-creds.c \
src/libsystemd-bus/bus-creds.h \
src/libsystemd-bus/bus-signature.c \
src/libsystemd-bus/bus-signature.h \
src/libsystemd-bus/bus-type.c \
src/libsystemd-bus/bus-type.h \
src/libsystemd-bus/bus-match.c \
src/libsystemd-bus/bus-match.h \
src/libsystemd-bus/bus-bloom.c \
src/libsystemd-bus/bus-bloom.h \
src/libsystemd-bus/bus-introspect.c \
src/libsystemd-bus/bus-introspect.h \
src/libsystemd-bus/bus-objects.c \
src/libsystemd-bus/bus-objects.h \
src/libsystemd-bus/bus-gvariant.c \
src/libsystemd-bus/bus-gvariant.h \
src/libsystemd-bus/bus-convenience.c \
src/libsystemd-bus/kdbus.h \
src/libsystemd-bus/sd-memfd.c \
src/libsystemd-bus/bus-util.c \
src/libsystemd-bus/bus-util.h \
src/libsystemd-bus/sd-utf8.c \
src/libsystemd-bus/sd-event.c \
src/libsystemd-bus/event-util.h \
src/libsystemd-bus/bus-protocol.h
nodist_libsystemd_bus_la_SOURCES = \
src/libsystemd-bus/bus-error-mapping.c
libsystemd_bus_la_LIBADD = \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
libsystemd_bus_la_CFLAGS = \
$(AM_CFLAGS) \
-pthread
libsystemd_bus_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_BUS_CURRENT):$(LIBSYSTEMD_BUS_REVISION):$(LIBSYSTEMD_BUS_AGE) \
-Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-bus.sym
pkgconfiglib_DATA += \
src/libsystemd-bus/libsystemd-bus.pc
EXTRA_DIST += \
src/libsystemd-bus/bus-error-mapping.gperf \
src/libsystemd-bus/libsystemd-bus.pc.in \
src/libsystemd-bus/DIFFERENCES \
src/libsystemd-bus/GVARIANT-SERIALIZATION
CLEANFILES += \
src/libsystemd-bus/bus-error-mapping.c
lib_LTLIBRARIES += \
libsystemd-bus.la
libsystemd_bus_internal_la_SOURCES = \
$(libsystemd_bus_la_SOURCES)
nodist_libsystemd_bus_internal_la_SOURCES = \
$(nodist_libsystemd_bus_la_SOURCES)
libsystemd_bus_internal_la_CFLAGS = \
$(libsystemd_bus_la_CFLAGS)
noinst_LTLIBRARIES += \
libsystemd-bus-internal.la
libsystemd_bus_dump_la_SOURCES = \
src/libsystemd-bus/bus-dump.c \
src/libsystemd-bus/bus-dump.h
libsystemd_bus_dump_la_CFLAGS = \
$(AM_CFLAGS) \
$(CAP_CFLAGS)
noinst_LTLIBRARIES += \
libsystemd-bus-dump.la
tests += \
test-bus-marshal \
test-bus-signature \
test-bus-chat \
test-bus-server \
test-bus-match \
test-bus-kernel \
test-bus-kernel-bloom \
test-bus-kernel-benchmark \
test-bus-memfd \
test-bus-zero-copy \
test-bus-introspect \
test-bus-objects \
test-bus-error \
test-bus-creds \
test-bus-gvariant \
test-event
bin_PROGRAMS += \
busctl
test_bus_marshal_SOURCES = \
src/libsystemd-bus/test-bus-marshal.c
test_bus_marshal_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la \
$(GLIB_LIBS) \
$(DBUS_LIBS) \
$(CAP_LIBS)
test_bus_marshal_CFLAGS = \
$(AM_CFLAGS) \
$(GLIB_CFLAGS) \
$(DBUS_CFLAGS) \
$(CAP_CFLAGS)
test_bus_signature_SOURCES = \
src/libsystemd-bus/test-bus-signature.c
test_bus_signature_LDADD = \
libsystemd-shared.la \
libsystemd-bus-internal.la
test_bus_chat_SOURCES = \
src/libsystemd-bus/test-bus-chat.c
test_bus_chat_CFLAGS = \
$(AM_CFLAGS) \
-pthread
test_bus_chat_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
test_bus_server_SOURCES = \
src/libsystemd-bus/test-bus-server.c
test_bus_server_CFLAGS = \
$(AM_CFLAGS) \
-pthread
test_bus_server_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
test_bus_objects_SOURCES = \
src/libsystemd-bus/test-bus-objects.c
test_bus_objects_CFLAGS = \
$(AM_CFLAGS) \
$(CAP_CFLAGS) \
-pthread
test_bus_objects_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la \
$(CAP_LIBS)
test_bus_error_SOURCES = \
src/libsystemd-bus/test-bus-error.c
test_bus_error_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
test_bus_gvariant_SOURCES = \
src/libsystemd-bus/test-bus-gvariant.c
test_bus_gvariant_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la \
$(GLIB_LIBS) \
$(CAP_LIBS)
test_bus_gvariant_CFLAGS = \
$(AM_CFLAGS) \
$(GLIB_CFLAGS)
$(CAP_CFLAGS)
test_bus_creds_SOURCES = \
src/libsystemd-bus/test-bus-creds.c
test_bus_creds_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la
test_bus_match_SOURCES = \
src/libsystemd-bus/test-bus-match.c
test_bus_match_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
test_bus_kernel_SOURCES = \
src/libsystemd-bus/test-bus-kernel.c
test_bus_kernel_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la \
$(CAP_LIBS)
test_bus_kernel_CFLAGS = \
$(AM_CFLAGS) \
$(CAP_CFLAGS)
test_bus_kernel_bloom_SOURCES = \
src/libsystemd-bus/test-bus-kernel-bloom.c
test_bus_kernel_bloom_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
test_bus_kernel_benchmark_SOURCES = \
src/libsystemd-bus/test-bus-kernel-benchmark.c
test_bus_kernel_benchmark_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
test_bus_memfd_SOURCES = \
src/libsystemd-bus/test-bus-memfd.c
test_bus_memfd_LDADD = \
libsystemd-bus-internal.la \
libsystemd-shared.la
test_bus_zero_copy_SOURCES = \
src/libsystemd-bus/test-bus-zero-copy.c
test_bus_zero_copy_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la \
$(CAP_LIBS)
test_bus_zero_copy_CFLAGS = \
$(AM_CFLAGS) \
$(CAP_CFLAGS)
test_bus_introspect_SOURCES = \
src/libsystemd-bus/test-bus-introspect.c
test_bus_introspect_LDADD = \
libsystemd-shared.la \
libsystemd-bus-internal.la
test_event_SOURCES = \
src/libsystemd-bus/test-event.c
test_event_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
busctl_SOURCES = \
src/libsystemd-bus/busctl.c
busctl_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
libsystemd-bus-dump.la \
libsystemd-capability.la \
$(CAP_LIBS)
busctl_CFLAGS = \
$(AM_CFLAGS) \
$(CAP_CFLAGS)
# ------------------------------------------------------------------------------
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-def.h \
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-daemon-internal.la \
libsystemd-id128-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 \
src/libudev/libudev-queue-private.c
libudev_internal_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default
# ------------------------------------------------------------------------------
INSTALL_DIRS += \
$(sysconfdir)/udev/rules.d \
$(sysconfdir)/udev/hwdb.d
dist_network_DATA = \
network/99-default.link
dist_udevrules_DATA += \
rules/99-systemd.rules \
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/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
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/60-keyboard.hwdb
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-daemon-internal.la \
libsystemd-rtnl.la \
libsystemd-id128-internal.la \
libsystemd-shared.la \
$(BLKID_LIBS) \
$(KMOD_LIBS)
libudev_core_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DFIRMWARE_PATH="$(FIRMWARE_PATH)"
if ENABLE_FIRMWARE
libudev_core_la_SOURCES += \
src/udev/udev-builtin-firmware.c
dist_udevrules_DATA += \
rules/50-firmware.rules
endif
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/login/sd-login.c \
src/systemd/sd-login.h \
src/login/login-shared.c \
src/login/login-shared.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
udevadm_LDADD = \
libudev-core.la
# 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)/udevadm hwdb --update
INSTALL_DATA_HOOKS += \
hwdb-update-hook
hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
# ------------------------------------------------------------------------------
TESTS += \
test/udev-test.pl \
test/rules-test.sh
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
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/rules-test.sh \
test/rule-syntax-check.py
# ------------------------------------------------------------------------------
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
udevlibexec_PROGRAMS += \
v4l_id
dist_udevrules_DATA += \
rules/60-persistent-v4l.rules
# ------------------------------------------------------------------------------
accelerometer_SOURCES = \
src/udev/accelerometer/accelerometer.c
accelerometer_LDADD = \
libudev-internal.la -lm \
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/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 \
-export-symbols-regex '^g_udev_.*'
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
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libgudev-install-hook:
libname=libgudev-1.0.so && $(move-to-rootlibdir)
libgudev-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libgudev-1.0.so*
INSTALL_EXEC_HOOKS += libgudev-install-hook
UNINSTALL_EXEC_HOOKS += libgudev-uninstall-hook
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
# ------------------------------------------------------------------------------
libsystemd_id128_la_SOURCES = \
src/libsystemd-id128/libsystemd-id128.sym \
src/libsystemd-id128/sd-id128.c
libsystemd_id128_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden
libsystemd_id128_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
-Wl,--version-script=$(top_srcdir)/src/libsystemd-id128/libsystemd-id128.sym
libsystemd_id128_la_LIBADD = \
libsystemd-daemon-internal.la \
libsystemd-shared.la
libsystemd_id128_internal_la_SOURCES = \
$(libsystemd_id128_la_SOURCES)
test_id128_SOURCES = \
src/test/test-id128.c
test_id128_LDADD = \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
tests += \
test-id128
pkginclude_HEADERS += \
src/systemd/sd-id128.h
lib_LTLIBRARIES += \
libsystemd-id128.la
noinst_LTLIBRARIES += \
libsystemd-id128-internal.la
pkgconfiglib_DATA += \
src/libsystemd-id128/libsystemd-id128.pc
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libsystemd-id128-install-hook:
libname=libsystemd-id128.so && $(move-to-rootlibdir)
libsystemd-id128-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
INSTALL_EXEC_HOOKS += libsystemd-id128-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-id128-uninstall-hook
EXTRA_DIST += \
src/libsystemd-id128/libsystemd-id128.pc.in
# ------------------------------------------------------------------------------
rootlibexec_PROGRAMS += \
systemd-activate
systemd_activate_SOURCES = \
src/activate/activate.c
systemd_activate_LDADD = \
libsystemd-label.la \
libsystemd-daemon-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-bus-internal.la \
libsystemd-shared.la
systemd_cat_SOURCES = \
src/journal/cat.c
systemd_cat_LDADD = \
libsystemd-journal-core.la
# 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-id128-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
libsystemd_journal_la_SOURCES = \
src/journal/libsystemd-journal.sym \
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
libsystemd_journal_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden
libsystemd_journal_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
-Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
libsystemd_journal_la_LIBADD = \
libsystemd-label.la \
libsystemd-daemon-internal.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
libsystemd_journal_internal_la_SOURCES = \
$(libsystemd_journal_la_SOURCES)
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
libsystemd_journal_internal_la_CFLAGS = \
$(AM_CFLAGS)
libsystemd_journal_internal_la_LIBADD =
if HAVE_XZ
libsystemd_journal_la_SOURCES += \
src/journal/compress.c
libsystemd_journal_la_CFLAGS += \
$(XZ_CFLAGS)
libsystemd_journal_la_LIBADD += \
$(XZ_LIBS)
libsystemd_journal_internal_la_CFLAGS += \
$(XZ_CFLAGS)
libsystemd_journal_internal_la_LIBADD += \
$(XZ_LIBS)
endif
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-native.c \
src/journal/journald-native.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-capability.la \
libsystemd-label.la \
libsystemd-daemon-internal.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
if ENABLE_LOGIND
libsystemd_journal_core_la_LIBADD += \
libsystemd-login-internal.la
endif
if HAVE_ACL
libsystemd_journal_core_la_LIBADD += \
libsystemd-acl.la
endif
noinst_LTLIBRARIES += \
libsystemd-journal-core.la
if HAVE_GCRYPT
libsystemd_journal_la_SOURCES += \
src/journal/journal-authenticate.c \
src/journal/journal-authenticate.h \
src/journal/fsprg.c \
src/journal/fsprg.h
libsystemd_journal_la_CFLAGS += \
$(GCRYPT_CFLAGS) \
-Wno-pointer-arith
libsystemd_journal_la_LIBADD += \
$(GCRYPT_LIBS)
libsystemd_journal_internal_la_CFLAGS += \
$(GCRYPT_CFLAGS) \
-Wno-pointer-arith
libsystemd_journal_internal_la_LIBADD += \
$(GCRYPT_LIBS)
endif
# move lib from $(libdir) to $(rootlibdir) and update devel link, if
# needed. Also, grant read access to new journal files to members of
# "adm" and "wheel".
libsystemd-journal-install-hook:
libname=libsystemd-journal.so && $(move-to-rootlibdir)
-$(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/
libsystemd-journal-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
INSTALL_EXEC_HOOKS += libsystemd-journal-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-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
pkginclude_HEADERS += \
src/systemd/sd-journal.h \
src/systemd/sd-messages.h \
src/systemd/_sd-common.h
lib_LTLIBRARIES += \
libsystemd-journal.la
noinst_LTLIBRARIES += \
libsystemd-journal-internal.la
rootlibexec_PROGRAMS += \
systemd-journald
rootbin_PROGRAMS += \
journalctl
bin_PROGRAMS += \
systemd-cat
dist_systemunit_DATA += \
units/systemd-journald.socket
nodist_systemunit_DATA += \
units/systemd-journald.service \
units/systemd-journal-flush.service
dist_pkgsysconf_DATA += \
src/journal/journald.conf
pkgconfiglib_DATA += \
src/journal/libsystemd-journal.pc
dist_catalog_DATA = \
catalog/systemd.fr.catalog \
catalog/systemd.ru.catalog \
catalog/systemd.it.catalog \
catalog/systemd.catalog
SOCKETS_TARGET_WANTS += \
systemd-journald.socket
SYSINIT_TARGET_WANTS += \
systemd-journald.service \
systemd-journal-flush.service
EXTRA_DIST += \
src/journal/libsystemd-journal.pc.in \
units/systemd-journald.service.in \
units/systemd-journal-flush.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/journal-gatewayd.c \
src/journal/microhttpd-util.h \
src/journal/microhttpd-util.c
systemd_journal_gatewayd_LDADD = \
libsystemd-logs.la \
libsystemd-journal-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-bus-internal.la \
libsystemd-shared.la \
$(MICROHTTPD_LIBS)
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/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-bus-internal.la \
libsystemd-journal-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
if ENABLE_COREDUMP
systemd_coredump_SOURCES = \
src/journal/coredump.c
systemd_coredump_LDADD = \
libsystemd-journal-internal.la \
libsystemd-label.la \
libsystemd-shared.la
if ENABLE_LOGIND
systemd_coredump_LDADD += \
libsystemd-login-internal.la
endif
rootlibexec_PROGRAMS += \
systemd-coredump
systemd_coredumpctl_SOURCES = \
src/journal/coredumpctl.c
systemd_coredumpctl_LDADD = \
libsystemd-journal-internal.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
systemd-coredumpctl
dist_bashcompletion_DATA += \
shell-completion/bash/systemd-coredumpctl
dist_zshcompletion_DATA += \
shell-completion/zsh/_systemd-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
SYSINIT_TARGET_WANTS += \
systemd-vconsole-setup.service
endif
EXTRA_DIST += \
units/systemd-vconsole-setup.service.in
# ------------------------------------------------------------------------------
if ENABLE_READAHEAD
systemd_readahead_SOURCES = \
src/readahead/readahead.c \
src/readahead/readahead-collect.c \
src/readahead/readahead-replay.c \
src/readahead/readahead-analyze.c \
src/readahead/readahead-common.c \
src/readahead/readahead-common.h
systemd_readahead_LDADD = \
libsystemd-daemon-internal.la \
libudev-internal.la \
libsystemd-shared.la
dist_doc_DATA += \
src/readahead/sd-readahead.c \
src/systemd/sd-readahead.h
rootlibexec_PROGRAMS += \
systemd-readahead
dist_systemunit_DATA += \
units/systemd-readahead-drop.service \
units/systemd-readahead-done.timer
nodist_systemunit_DATA += \
units/systemd-readahead-collect.service \
units/systemd-readahead-replay.service \
units/systemd-readahead-done.service
endif
EXTRA_DIST += \
units/systemd-readahead-collect.service.in \
units/systemd-readahead-replay.service.in \
units/systemd-readahead-done.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
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
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-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-hostnamed
nodist_systemunit_DATA += \
units/systemd-hostnamed.service
dist_systemunit_DATA += \
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-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-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
# ------------------------------------------------------------------------------
if ENABLE_KDBUS
systemd_bus_driverd_SOURCES = \
src/bus-driverd/bus-driverd.c
systemd_bus_driverd_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-bus-driverd
nodist_systemunit_DATA += \
units/systemd-bus-driverd.service
dist_systemunit_DATA += \
units/org.freedesktop.DBus.busname
BUSNAMES_TARGET_WANTS += \
org.freedesktop.DBus.busname
endif
EXTRA_DIST += \
units/systemd-bus-driverd.service.in
# ------------------------------------------------------------------------------
if ENABLE_LOCALED
systemd_localed_SOURCES = \
src/locale/localed.c
systemd_localed_LDADD = \
libsystemd-label.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
nodist_systemunit_DATA += \
units/systemd-localed.service
dist_systemunit_DATA += \
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
dist_noinst_SCRIPT = \
src/locale/generate-kbd-model-map
update-kbd-model-map: src/locale/generate-kbd-model-map
$PYTHON $< > src/locale/kbd-model-map
localectl_SOURCES = \
src/locale/localectl.c
localectl_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
localectl
dist_bashcompletion_DATA += \
shell-completion/bash/localectl
dist_zshcompletion_DATA += \
shell-completion/zsh/_localectl
endif
polkitpolicy_in_files += \
src/locale/org.freedesktop.locale1.policy.in
EXTRA_DIST += \
units/systemd-localed.service.in
# ------------------------------------------------------------------------------
if ENABLE_TIMEDATED
systemd_timedated_SOURCES = \
src/timedate/timedated.c
systemd_timedated_LDADD = \
libsystemd-label.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-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 += \
units/org.freedesktop.timedate1.busname
polkitpolicy_files += \
src/timedate/org.freedesktop.timedate1.policy
INSTALL_DIRS += \
$(prefix)/lib/systemd/ntp-units.d \
$(sysconfdir)/systemd/ntp-units.d
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-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-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 HAVE_MYHOSTNAME
libnss_myhostname_la_SOURCES = \
src/nss-myhostname/nss-myhostname.c \
src/nss-myhostname/ifconf.h \
src/nss-myhostname/netlink.c
libnss_myhostname_la_LDFLAGS = \
$(AM_LDFLAGS) \
-module \
-export-dynamic \
-avoid-version \
-shared \
-shrext .so.2
lib_LTLIBRARIES += \
libnss_myhostname.la
endif
# ------------------------------------------------------------------------------
libsystemd_dhcp_la_SOURCES = \
src/systemd/sd-dhcp-client.h \
src/libsystemd-dhcp/dhcp-protocol.h \
src/libsystemd-dhcp/dhcp-internal.h \
src/libsystemd-dhcp/dhcp-network.c \
src/libsystemd-dhcp/dhcp-option.c \
src/libsystemd-dhcp/dhcp-client.c
noinst_LTLIBRARIES += \
libsystemd-dhcp.la
libsystemd_dhcp_la_LIBADD = \
libsystemd-shared.la \
libsystemd-bus.la
test_dhcp_option_SOURCES = \
src/libsystemd-dhcp/dhcp-protocol.h \
src/libsystemd-dhcp/dhcp-internal.h \
src/libsystemd-dhcp/test-dhcp-option.c
test_dhcp_option_LDADD = \
libsystemd-dhcp.la \
libsystemd-shared.la
test_dhcp_client_SOURCES = \
src/libsystemd-dhcp/dhcp-protocol.h \
src/systemd/sd-dhcp-client.h \
src/libsystemd-dhcp/dhcp-internal.h \
src/libsystemd-dhcp/test-dhcp-client.c
test_dhcp_client_LDADD = \
libsystemd-dhcp.la \
libsystemd-shared.la \
libsystemd-bus.la
tests += \
test-dhcp-option \
test-dhcp-client
# ------------------------------------------------------------------------------
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/machined-dbus.c \
src/machine/machine.c \
src/machine/machine.h \
src/machine/machine-dbus.c
libsystemd_machine_core_la_LIBADD = \
libsystemd-label.la \
libsystemd-daemon-internal.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libudev-internal.la \
libsystemd-shared.la
noinst_LTLIBRARIES += \
libsystemd-machine-core.la
machinectl_SOURCES = \
src/machine/machinectl.c
machinectl_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
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 \
units/org.freedesktop.machine1.busname
dist_dbussystemservice_DATA += \
src/machine/org.freedesktop.machine1.service
dist_dbuspolicy_DATA += \
src/machine/org.freedesktop.machine1.conf
dist_zshcompletion_DATA += \
shell-completion/zsh/_machinectl
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
endif
# ------------------------------------------------------------------------------
if ENABLE_NETWORKD
rootlibexec_PROGRAMS += \
systemd-networkd
systemd_networkd_SOURCES = \
src/network/networkd.h \
src/network/networkd.c \
src/network/networkd-link.c \
src/network/networkd-bridge.c \
src/network/networkd-network.c \
src/network/networkd-address.c \
src/network/networkd-route.c \
src/network/networkd-manager.c
nodist_systemd_networkd_SOURCES = \
src/network/networkd-gperf.c
systemd_networkd_LDADD = \
libudev-internal.la \
libsystemd-daemon-internal.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-rtnl.la \
libsystemd-shared.la
nodist_systemunit_DATA += \
units/systemd-networkd.service
MULTI_USER_TARGET_WANTS += \
systemd-networkd.service
test_network_SOURCES = \
src/network/test-network.c \
src/network/networkd.h \
src/network/networkd-link.c \
src/network/networkd-bridge.c \
src/network/networkd-network.c \
src/network/networkd-address.c \
src/network/networkd-route.c \
src/network/networkd-manager.c \
src/network/networkd-gperf.c
test_network_LDADD = \
libudev-internal.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-rtnl.la \
libsystemd-shared.la
tests += \
test-network
EXTRA_DIST += \
src/network/networkd-gperf.gperf \
units/systemd-networkd.service.in
CLEANFILES += \
src/network/networkd-gperf.c
endif
# ------------------------------------------------------------------------------
if ENABLE_LOGIND
systemd_logind_SOURCES = \
src/login/logind.c \
src/login/logind.h
nodist_systemd_logind_SOURCES = \
src/login/logind-gperf.c
systemd_logind_LDADD = \
libsystemd-logind-core.la
libsystemd_logind_core_la_SOURCES = \
src/login/logind-core.c \
src/login/logind-device.c \
src/login/logind-device.h \
src/login/logind-button.c \
src/login/logind-button.h \
src/login/logind-action.c \
src/login/logind-action.h \
src/login/logind-seat.c \
src/login/logind-seat.h \
src/login/logind-session.c \
src/login/logind-session.h \
src/login/logind-session-device.c \
src/login/logind-session-device.h \
src/login/logind-user.c \
src/login/logind-user.h \
src/login/logind-inhibit.c \
src/login/logind-inhibit.h \
src/login/logind-dbus.c \
src/login/logind-session-dbus.c \
src/login/logind-seat-dbus.c \
src/login/logind-user-dbus.c \
src/login/logind-acl.h \
src/login/login-shared.c \
src/login/login-shared.h
libsystemd_logind_core_la_LIBADD = \
libsystemd-label.la \
libsystemd-capability.la \
libsystemd-daemon-internal.la \
libsystemd-id128-internal.la \
libsystemd-bus-internal.la \
libudev-internal.la \
libsystemd-shared.la
if HAVE_ACL
libsystemd_logind_core_la_SOURCES += \
src/login/logind-acl.c
libsystemd_logind_core_la_LIBADD += \
libsystemd-acl.la
endif
noinst_LTLIBRARIES += \
libsystemd-logind-core.la
systemd_user_sessions_SOURCES = \
src/login/user-sessions.c
systemd_user_sessions_LDADD = \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-logind \
systemd-user-sessions
loginctl_SOURCES = \
src/login/loginctl.c \
src/login/sysfs-show.c
loginctl_LDADD = \
libsystemd-bus-internal.la \
libudev-internal.la \
libsystemd-shared.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la
rootbin_PROGRAMS += \
loginctl
dist_bashcompletion_DATA += \
shell-completion/bash/loginctl
dist_zshcompletion_DATA += \
shell-completion/zsh/_loginctl \
shell-completion/zsh/_systemd-inhibit
systemd_inhibit_SOURCES = \
src/login/inhibit.c
systemd_inhibit_LDADD = \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
systemd-inhibit
test_login_SOURCES = \
src/login/test-login.c
test_login_LDADD = \
libsystemd-login-internal.la \
libsystemd-shared.la
test_login_shared_SOURCES = \
src/login/test-login-shared.c
test_login_shared_LDADD = \
libsystemd-login-internal.la \
libsystemd-shared.la
test_inhibit_SOURCES = \
src/login/test-inhibit.c
test_inhibit_LDADD = \
libsystemd-bus-internal.la \
libsystemd-daemon-internal.la \
libsystemd-id128-internal.la \
libsystemd-shared.la
test_login_tables_SOURCES = \
src/login/test-login-tables.c
test_login_tables_LDADD = \
libsystemd-logind-core.la
manual_tests += \
test-login \
test-inhibit
tests += \
test-login-tables \
test-login-shared
libsystemd_login_la_SOURCES = \
src/login/libsystemd-login.sym \
src/login/sd-login.c \
src/systemd/sd-login.h \
src/login/login-shared.c \
src/login/login-shared.h
libsystemd_login_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden
libsystemd_login_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
-Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
libsystemd_login_la_LIBADD = \
libsystemd-daemon-internal.la \
libsystemd-shared.la
libsystemd_login_internal_la_SOURCES = \
$(libsystemd_login_la_SOURCES)
if HAVE_PAM
pam_systemd_la_SOURCES = \
src/login/pam-module.c
pam_systemd_la_CFLAGS = \
$(AM_CFLAGS) \
$(PAM_CFLAGS) \
-fvisibility=hidden
pam_systemd_la_LDFLAGS = \
$(AM_LDFLAGS) \
-module \
-export-dynamic \
-avoid-version \
-shared \
-export-symbols-regex '^pam_sm_.*'
pam_systemd_la_LIBADD = \
libsystemd-capability.la \
libsystemd-bus-internal.la \
libsystemd-id128-internal.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la \
$(PAM_LIBS)
pamlib_LTLIBRARIES = \
pam_systemd.la
dist_pamconf_DATA = \
src/login/systemd-user
endif
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libsystemd-login-install-hook:
libname=libsystemd-login.so && $(move-to-rootlibdir)
libsystemd-login-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
INSTALL_EXEC_HOOKS += libsystemd-login-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-login-uninstall-hook
nodist_systemunit_DATA += \
units/systemd-logind.service \
units/systemd-user-sessions.service
dist_systemunit_DATA += \
units/user.slice \
units/org.freedesktop.login1.busname
dist_dbussystemservice_DATA += \
src/login/org.freedesktop.login1.service
dist_dbuspolicy_DATA += \
src/login/org.freedesktop.login1.conf
dist_pkgsysconf_DATA += \
src/login/logind.conf
pkginclude_HEADERS += \
src/systemd/sd-login.h
lib_LTLIBRARIES += \
libsystemd-login.la
noinst_LTLIBRARIES += \
libsystemd-login-internal.la
pkgconfiglib_DATA += \
src/login/libsystemd-login.pc
polkitpolicy_files += \
src/login/org.freedesktop.login1.policy
INSTALL_DIRS += \
$(systemdstatedir)
MULTI_USER_TARGET_WANTS += \
systemd-logind.service \
systemd-user-sessions.service
SYSTEM_UNIT_ALIASES += \
systemd-logind.service dbus-org.freedesktop.login1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.login1.busname
if ENABLE_MULTI_SEAT_X
systemd_multi_seat_x_SOURCES = \
src/login/multi-seat-x.c
systemd_multi_seat_x_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-multi-seat-x
endif
dist_udevrules_DATA += \
src/login/70-uaccess.rules \
src/login/70-power-switch.rules
nodist_udevrules_DATA += \
src/login/71-seat.rules \
src/login/73-seat-late.rules
CLEANFILES += \
src/login/logind-gperf.c \
src/login/71-seat.rules \
src/login/73-seat-late.rules
endif
polkitpolicy_in_files += \
src/login/org.freedesktop.login1.policy.in
EXTRA_DIST += \
src/login/logind-gperf.gperf \
src/login/libsystemd-login.pc.in \
src/login/71-seat.rules.in \
src/login/73-seat-late.rules.in \
units/systemd-logind.service.in \
units/systemd-user-sessions.service.in
# ------------------------------------------------------------------------------
if HAVE_PYTHON_DEVEL
pkgpyexec_LTLIBRARIES = \
_journal.la \
id128.la \
_daemon.la \
_reader.la \
login.la
_journal_la_SOURCES = \
src/python-systemd/_journal.c
_journal_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS)
_journal_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
_journal_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-journal.la
id128_la_SOURCES = \
src/python-systemd/id128.c \
src/python-systemd/id128-constants.h \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
id128_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS) \
-I$(top_builddir)/src/python-systemd
id128_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
id128_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-id128.la
_daemon_la_SOURCES = \
src/python-systemd/_daemon.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
_daemon_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS) \
-I$(top_builddir)/src/python-systemd
_daemon_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
_daemon_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-daemon.la
_reader_la_SOURCES = \
src/python-systemd/_reader.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
_reader_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS)
_reader_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
_reader_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-journal.la \
libsystemd-id128.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
login_la_SOURCES = \
src/python-systemd/login.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
login_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS)
login_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
login_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-journal.la \
libsystemd-login.la \
libsystemd-daemon-internal.la \
libsystemd-shared.la
dist_pkgpyexec_PYTHON = \
src/python-systemd/journal.py \
src/python-systemd/daemon.py \
src/python-systemd/__init__.py
src/python-systemd/id128-constants.h: src/systemd/sd-messages.h
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(SED) -n -r 's/,//g; s/#define (SD_MESSAGE_[A-Z0-9_]+)\s.*/add_id(m, "\1", \1) JOINER/p' <$< >$@
BUILT_SOURCES += \
src/python-systemd/id128-constants.h
SPHINXOPTS = -D version=$(VERSION) -D release=$(VERSION)
sphinx-%:
$(AM_V_at)test -n "$(SPHINX_BUILD)" || { echo " *** sphinx-build is not available"; exit 1; }
$(AM_V_GEN)PYTHONPATH=$(DESTDIR)$(pyexecdir) LD_LIBRARY_PATH=$(DESTDIR)$(libdir) $(SPHINX_BUILD) -b $* $(SPHINXOPTS) $(top_srcdir)/src/python-systemd/docs $(top_builddir)/docs/html/python-systemd/
$(AM_V_at)echo Output has been generated in $(abs_top_builddir)/docs/html/python-systemd/
python-shell:
$(AM_V_at)echo "Starting python with $(DESTDIR)$(pyexecdir)"
$(AM_V_at)PYTHONPATH=$(DESTDIR)$(pyexecdir) LD_LIBRARY_PATH=$(DESTDIR)$(libdir) $(PYTHON)
destdir-sphinx: all
dir="$$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
$(MAKE) DESTDIR="$$dir" install && \
$(MAKE) DESTDIR="$$dir" sphinx-html && \
rm -rf "$$dir"
endif
CLEAN_LOCAL_HOOKS += clean-sphinx
clean-sphinx:
-rm -rf docs/html/python-systemd/
# Remove Python stuff, e.g. to force rebuilding for a different Python version.
clean-python:
-rm -rf src/python-systemd/.libs src/python-systemd/*.l[ao]
-rm -f _daemon.la id128.la _journal.la login.la _reader.la
# ------------------------------------------------------------------------------
substitutions = \
'|rootlibexecdir=$(rootlibexecdir)|' \
'|rootbindir=$(rootbindir)|' \
'|bindir=$(bindir)|' \
'|SYSTEMCTL=$(rootbindir)/systemctl|' \
'|SYSTEMD_NOTIFY=$(rootbindir)/systemd-notify|' \
'|pkgsysconfdir=$(pkgsysconfdir)|' \
'|SYSTEM_CONFIG_UNIT_PATH=$(pkgsysconfdir)/system|' \
'|USER_CONFIG_UNIT_PATH=$(pkgsysconfdir)/user|' \
'|pkgdatadir=$(pkgdatadir)|' \
'|systemunitdir=$(systemunitdir)|' \
'|userunitdir=$(userunitdir)|' \
'|systempresetdir=$(systempresetdir)|' \
'|userpresetdir=$(userpresetdir)|' \
'|udevhwdbdir=$(udevhwdbdir)|' \
'|udevrulesdir=$(udevrulesdir)|' \
'|catalogdir=$(catalogdir)|' \
'|tmpfilesdir=$(tmpfilesdir)|' \
'|sysctldir=$(sysctldir)|' \
'|systemgeneratordir=$(systemgeneratordir)|' \
'|usergeneratordir=$(usergeneratordir)|' \
'|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
'|PACKAGE_NAME=$(PACKAGE_NAME)|' \
'|PACKAGE_URL=$(PACKAGE_URL)|' \
'|RANDOM_SEED_DIR=$(localstatedir)/lib/systemd/|' \
'|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \
'|prefix=$(prefix)|' \
'|exec_prefix=$(exec_prefix)|' \
'|libdir=$(libdir)|' \
'|includedir=$(includedir)|' \
'|VERSION=$(VERSION)|' \
'|rootprefix=$(rootprefix)|' \
'|udevlibexecdir=$(udevlibexecdir)|' \
'|SUSHELL=$(SUSHELL)|' \
'|DEBUGTTY=$(DEBUGTTY)|' \
'|KILL=$(KILL)|' \
'|KMOD=$(KMOD)|' \
'|MKDIR_P=$(MKDIR_P)|' \
'|QUOTAON=$(QUOTAON)|' \
'|QUOTACHECK=$(QUOTACHECK)|' \
'|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
'|VARLOGDIR=$(varlogdir)|' \
'|RC_LOCAL_SCRIPT_PATH_START=$(RC_LOCAL_SCRIPT_PATH_START)|' \
'|RC_LOCAL_SCRIPT_PATH_STOP=$(RC_LOCAL_SCRIPT_PATH_STOP)|' \
'|PYTHON=$(PYTHON)|' \
'|PYTHON_BINARY=$(PYTHON_BINARY)|'
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
< $< > $@
units/%: units/%.in
$(SED_PROCESS)
man/%: man/%.in
$(SED_PROCESS)
sysctl.d/%: sysctl.d/%.in
$(SED_PROCESS)
%.pc: %.pc.in
$(SED_PROCESS)
src/core/macros.%: src/core/macros.%.in
$(SED_PROCESS)
src/%.policy.in: src/%.policy.in.in
$(SED_PROCESS)
%.rules: %.rules.in
$(SED_PROCESS)
%.sh: %.sh.in
$(SED_PROCESS)
$(AM_V_GEN)chmod +x $@
src/%.c: src/%.gperf
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GPERF)$(GPERF) < $< > $@
src/%: src/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
units/%: units/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@
units/user/%: units/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@
if ENABLE_POLKIT
nodist_polkitpolicy_DATA = \
$(polkitpolicy_files) \
$(polkitpolicy_in_in_files:.policy.in.in=.policy)
endif
EXTRA_DIST += \
$(polkitpolicy_in_files) \
$(polkitpolicy_in_in_files)
CLEANFILES += \
$(nodist_systemunit_DATA) \
$(nodist_userunit_DATA) \
$(pkgconfigdata_DATA) \
$(pkgconfiglib_DATA) \
$(nodist_polkitpolicy_DATA)
# ------------------------------------------------------------------------------
if ENABLE_MANPAGES
man/custom-entities.ent:
$(AM_V_GEN)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \
echo '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">,$(substitutions))))') \
> $@ # '
DISTCLEANFILES += \
man/custom-entities.ent
XSLTPROC_FLAGS = \
--nonet \
--stringparam man.output.quietly 1 \
--stringparam funcsynopsis.style ansi \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0 \
--stringparam systemd.version $(VERSION) \
--path '$(builddir)/man:$(srcdir)/man'
XSLTPROC_PROCESS_MAN = \
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $<
XSLTPROC_PROCESS_HTML = \
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
man/%.1: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.3: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.5: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.7: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.8: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.html: man/%.xml man/custom-html.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_HTML)
define html-alias
$(AM_V_LN)$(LN_S) -f $(notdir $<) $@
endef
endif
EXTRA_DIST += \
man/custom-html.xsl \
man/custom-man.xsl
# ------------------------------------------------------------------------------
if HAVE_SYSV_COMPAT
sysvinit_DATA = \
docs/sysvinit/README
varlog_DATA = \
docs/var-log/README
docs/sysvinit/README: docs/sysvinit/README.in
$(SED_PROCESS)
docs/var-log/README: docs/var-log/README.in
$(SED_PROCESS)
CLEANFILES += \
docs/sysvinit/README \
docs/var-log/README
endif
EXTRA_DIST += \
docs/sysvinit/README.in \
docs/var-log/README.in
SOCKETS_TARGET_WANTS += \
systemd-initctl.socket \
systemd-shutdownd.socket
if HAVE_SYSV_COMPAT
RUNLEVEL1_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL2_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL3_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL4_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL5_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
endif
SYSINIT_TARGET_WANTS += \
systemd-update-utmp.service
LOCAL_FS_TARGET_WANTS += \
systemd-remount-fs.service \
tmp.mount
MULTI_USER_TARGET_WANTS += \
getty.target \
systemd-ask-password-wall.path
SYSINIT_TARGET_WANTS += \
dev-hugepages.mount \
dev-mqueue.mount \
sys-kernel-config.mount \
sys-kernel-debug.mount \
sys-fs-fuse-connections.mount \
systemd-sysctl.service \
systemd-ask-password-console.path
if HAVE_SYSV_COMPAT
SYSTEM_UNIT_ALIASES += \
poweroff.target runlevel0.target \
rescue.target runlevel1.target \
multi-user.target runlevel2.target \
multi-user.target runlevel3.target \
multi-user.target runlevel4.target \
graphical.target runlevel5.target \
reboot.target runlevel6.target
endif
SYSTEM_UNIT_ALIASES += \
graphical.target default.target \
reboot.target ctrl-alt-del.target \
getty@.service autovt@.service
USER_UNIT_ALIASES += \
$(systemunitdir)/shutdown.target shutdown.target \
$(systemunitdir)/sockets.target sockets.target \
$(systemunitdir)/busnames.target busnames.target \
$(systemunitdir)/timers.target timers.target \
$(systemunitdir)/paths.target paths.target \
$(systemunitdir)/bluetooth.target bluetooth.target \
$(systemunitdir)/printer.target printer.target \
$(systemunitdir)/sound.target sound.target \
$(systemunitdir)/smartcard.target smartcard.target
GENERAL_ALIASES += \
$(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
$(systemunitdir)/getty@.service $(pkgsysconfdir)/system/getty.target.wants/getty@tty1.service \
$(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
../system-services/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service
if HAVE_SYSV_COMPAT
INSTALL_DIRS += \
$(systemunitdir)/runlevel1.target.wants \
$(systemunitdir)/runlevel2.target.wants \
$(systemunitdir)/runlevel3.target.wants \
$(systemunitdir)/runlevel4.target.wants \
$(systemunitdir)/runlevel5.target.wants
endif
INSTALL_DIRS += \
$(prefix)/lib/modules-load.d \
$(sysconfdir)/modules-load.d \
$(prefix)/lib/systemd/network \
$(sysconfdir)/systemd/network \
$(prefix)/lib/sysctl.d \
$(sysconfdir)/sysctl.d \
$(prefix)/lib/kernel/install.d \
$(sysconfdir)/kernel/install.d \
$(systemshutdowndir) \
$(systemsleepdir) \
$(systemgeneratordir) \
$(usergeneratordir) \
\
$(userunitdir) \
$(pkgsysconfdir)/system \
$(pkgsysconfdir)/system/multi-user.target.wants \
$(pkgsysconfdir)/system/getty.target.wants \
$(pkgsysconfdir)/user \
$(dbussessionservicedir) \
$(sysconfdir)/xdg/systemd
install-exec-hook: $(INSTALL_EXEC_HOOKS)
uninstall-hook: $(UNINSTALL_DATA_HOOKS) $(UNINSTALL_EXEC_HOOKS)
install-data-hook: $(INSTALL_DATA_HOOKS)
distclean-local: $(DISTCLEAN_LOCAL_HOOKS)
clean-local: $(CLEAN_LOCAL_HOOKS)
rm -rf $(abs_srcdir)/install-tree
rm -f $(abs_srcdir)/hwdb/usb.ids $(abs_srcdir)/hwdb/pci.ids $(abs_srcdir)/hwdb/oui.txt \
$(abs_srcdir)/hwdb/iab.txt
DISTCHECK_CONFIGURE_FLAGS = \
--with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
--with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
--with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
--with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \
--with-zshcompletiondir=$$dc_install_base/$(zshcompletiondir) \
--with-pamlibdir=$$dc_install_base/$(pamlibdir) \
--with-pamconfdir=$$dc_install_base/$(pamconfdir) \
--with-rootprefix=$$dc_install_base \
--disable-split-usr \
--enable-kdbus
if HAVE_SYSV_COMPAT
DISTCHECK_CONFIGURE_FLAGS += \
--with-sysvinit-path=$$dc_install_base/$(sysvinitdir) \
--with-sysvrcnd-path=$$dc_install_base/$(sysvrcnddir)
else
DISTCHECK_CONFIGURE_FLAGS += \
--with-sysvinit-path= \
--with-sysvrcnd-path=
endif
if ENABLE_GTK_DOC
DISTCHECK_CONFIGURE_FLAGS += \
--enable-gtk-doc
endif
hwdb-update:
( cd $(top_srcdir)/hwdb && \
wget -N http://www.linux-usb.org/usb.ids \
http://pci-ids.ucw.cz/v2.2/pci.ids \
http://standards.ieee.org/develop/regauth/oui/oui.txt \
http://standards.ieee.org/develop/regauth/iab/iab.txt && \
./ids-update.pl )
kdbus-update:
( cd $(top_srcdir)/src/libsystemd-bus/ && \
wget -N https://d-bus.googlecode.com/git/kdbus.h )
upload: all distcheck
cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
scp systemd-$(VERSION).tar.xz fdo:/srv/www.freedesktop.org/www/software/systemd/
scp man/*.html tango:public/systemd-man/
www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd
doc-sync: all destdir-sphinx
gtkdoc-rebase --html-dir=docs/libudev/html --online
rsync -rlv --delete docs/libudev/html/ --omit-dir-times $(www_target)/libudev/
gtkdoc-rebase --html-dir=docs/gudev/html --online
rsync -rlv --delete docs/gudev/html/ --omit-dir-times $(www_target)/gudev/
rsync -rlv --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ $(www_target)/man/
rsync -rlv --delete --omit-dir-times docs/html/python-systemd/ $(www_target)/python-systemd/
git-tag:
git tag "v$(VERSION)" -m "systemd $(VERSION)"
install-tree: all
rm -rf $(abs_srcdir)/install-tree
$(MAKE) install DESTDIR=$(abs_srcdir)/install-tree
tree $(abs_srcdir)/install-tree
# Let's run all tests of the test suite, but under valgrind. Let's
# exclude the one perl script we have in there
valgrind-tests: $(TESTS)
$(AM_V_GEN)for f in $(filter-out %.pl, $^); do \
echo "Running $$f"; \
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \
done
exported-%: %
$(AM_V_GEN)nm -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
exported: $(addprefix exported-, $(lib_LTLIBRARIES))
$(AM_V_GEN)cat $^ > $@
check-api-docs: exported man
$(AM_V_GEN)for symbol in `cat exported` ; do \
if test -f $(builddir)/man/$$symbol.html ; then \
echo " Symbol $$symbol() is documented." ; \
else \
echo "‣ Symbol $$symbol() lacks documentation." ; \
fi ; \
done
OBJECT_VARIABLES:=$(filter %_OBJECTS,$(.VARIABLES))
ALL_OBJECTS:=$(foreach v,$(OBJECT_VARIABLES),$($(v)))
undefined defined: $(ALL_OBJECTS)
$(AM_V_GEN)for f in $(ALL_OBJECTS) ; do \
nm -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
done | cut -c 20- | cut -d @ -f 1 | sort -u > $@
CLEANFILES += \
defined \
undefined
check-api-unused: defined undefined exported
( cat exported undefined ) | sort -u | diff -u - defined | grep ^+ | grep -v ^+++ | cut -c2-
# Stupid test that everything purported to be exported really is
define generate-sym-test
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_at)printf '#include <stdio.h>\n' > $@
$(AM_V_at)printf '#include "%s"\n' $(notdir $(filter %.h, $^)) >> $@
$(AM_V_at)printf 'void* functions[] = {\n' >> $@
$(AM_V_GEN)sed -r -n 's/^ +([a-zA-Z0-9_]+);/\1,/p' $< >> $@
$(AM_V_at)printf '};\nint main(void) {\n' >> $@
$(AM_V_at)printf 'unsigned i; for (i=0;i<sizeof(functions)/sizeof(void*);i++) printf("%%p\\n", functions[i]);\n' >> $@
$(AM_V_at)printf 'return 0; }\n' >> $@
endef
test-libsystemd-bus-sym.c: \
src/libsystemd-bus/libsystemd-bus.sym \
src/systemd/sd-bus.h \
src/systemd/sd-utf8.h
$(generate-sym-test)
test-libsystemd-daemon-sym.c: \
src/libsystemd-daemon/libsystemd-daemon.sym \
src/systemd/sd-daemon.h
$(generate-sym-test)
test-libsystemd-id128-sym.c: \
src/libsystemd-id128/libsystemd-id128.sym \
src/systemd/sd-id128.h
$(generate-sym-test)
test-libsystemd-journal-sym.c: \
src/journal/libsystemd-journal.sym \
src/systemd/sd-journal.h
$(generate-sym-test)
test-libsystemd-login-sym.c: \
src/login/libsystemd-login.sym \
src/systemd/sd-login.h
$(generate-sym-test)
test-libudev-sym.c: \
src/libudev/libudev.sym \
src/udev/udev.h
$(generate-sym-test)
test_libsystemd_bus_sym_SOURCES = \
test-libsystemd-bus-sym.c
test_libsystemd_bus_sym_LDADD = \
libsystemd-bus.la
test_libsystemd_daemon_sym_SOURCES = \
test-libsystemd-daemon-sym.c
test_libsystemd_daemon_sym_LDADD = \
libsystemd-daemon.la
test_libsystemd_id128_sym_SOURCES = \
test-libsystemd-id128-sym.c
test_libsystemd_id128_sym_LDADD = \
libsystemd-id128.la
test_libsystemd_journal_sym_SOURCES = \
test-libsystemd-journal-sym.c
test_libsystemd_journal_sym_LDADD = \
libsystemd-journal.la
test_libsystemd_login_sym_SOURCES = \
test-libsystemd-login-sym.c
test_libsystemd_login_sym_LDADD = \
libsystemd-login.la
test_libudev_sym_SOURCES = \
test-libudev-sym.c
test_libudev_sym_LDADD = \
libudev.la
BUILT_SOURCES += \
$(test_libsystemd_bus_sym_SOURCES) \
$(test_libsystemd_daemon_sym_SOURCES) \
$(test_libsystemd_id128_sym_SOURCES) \
$(test_libsystemd_journal_sym_SOURCES) \
$(test_libsystemd_login_sym_SOURCES) \
$(test_libudev_sym_SOURCES)
tests += \
test-libsystemd-bus-sym \
test-libsystemd-daemon-sym \
test-libsystemd-id128-sym \
test-libsystemd-journal-sym \
test-libsystemd-login-sym \
test-libudev-sym
cppcheck:
cppcheck --enable=all -q $(top_srcdir)