Makefile.am revision 4acbce79798347cddf1e1d42e9be571e0a041873
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering# -*- Mode: makefile; indent-tabs-mode: t -*-
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# This file is part of systemd.
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
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.
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.
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/>.
cd4010b37349413db1e553e213e62e654ca28113Lennart PoetteringACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAM_MAKEFLAGS = --no-print-directory
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAUTOMAKE_OPTIONS = color-tests parallel-tests
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# remove targets if the command fails
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering.DELETE_ON_ERROR:
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón# keep intermediate files
6aad7f2cd75c88f990c7857bb173b3e8d0faee0fUmut Tezduyar Lindskog.PRECIOUS: $(TEST_SUITE_LOG) Makefile
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversLIBUDEV_CURRENT=5
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBUDEV_REVISION=0
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeLIBGUDEV_CURRENT=1
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeLIBGUDEV_REVISION=3
8666abb452db73d9a11ead61251eec42bc531cceKay SieversLIBSYSTEMD_LOGIN_CURRENT=9
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBSYSTEMD_LOGIN_REVISION=1
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian RodríguezLIBSYSTEMD_LOGIN_AGE=9
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian RodríguezLIBSYSTEMD_DAEMON_CURRENT=0
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_DAEMON_REVISION=10
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_DAEMON_AGE=0
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_ID128_CURRENT=0
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_ID128_REVISION=26
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraLIBSYSTEMD_ID128_AGE=0
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringLIBSYSTEMD_JOURNAL_CURRENT=11
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=3
3ce4fad8f548db9edb19869ea540e3192d2123f4Kay SieversLIBSYSTEMD_JOURNAL_AGE=11
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringLIBSYSTEMD_BUS_CURRENT=0
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBSYSTEMD_BUS_REVISION=0
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringLIBSYSTEMD_BUS_AGE=0
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# 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-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# 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-SzmekCLEANFILES = $(BUILT_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 Poetteringif ENABLE_TESTS
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringnoinst_PROGRAMS = $(manual_tests) $(tests)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringTESTS = $(tests)
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poetteringnoinst_PROGRAMS =
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poetteringudevlibexec_PROGRAMS =
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_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_builddir)/src/udev \
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-bus \
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-rtnl \
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-SzmekAM_CFLAGS = $(OUR_CFLAGS)
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-SzmekAM_LDFLAGS = $(OUR_LDFLAGS)
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); \
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 =
fba1ea06bb5b653e9eb0cc1b6004af8da273a4abShawn LanddenSYSTEM_UNIT_ALIASES =
fba1ea06bb5b653e9eb0cc1b6004af8da273a4abShawn LanddenUSER_UNIT_ALIASES =
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblGENERAL_ALIASES =
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)
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 rm -f $$what && \
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Anderseninstall-directories-hook:
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
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. 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 $$?; \
a18535d9e138c525d0443ec9f30a90b3e2184686Tom GundersenINSTALL_EXEC_HOOKS += \
e2ca86cf78f911a8be51f0224796e24883019139Dave Reisner install-target-wants-hook \
70d8320978dcbce022d9acbb953a10a7aca049abDavid Strauss install-directories-hook \
e2ca86cf78f911a8be51f0224796e24883019139Dave Reisner install-aliases-hook
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 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 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 OlofssonAM_V_LN = $(AM_V_LN_$(V))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
f553b3b1074151200187df916427a1468186435eAnders OlofssonAM_V_LN_0 = @echo " LN " $@;
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# ------------------------------------------------------------------------------
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassurootbin_PROGRAMS = \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-notify \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-ask-password \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-tty-ask-password-agent \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu systemd-machine-id-setup
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 Poetteringdist_bin_SCRIPTS = \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poetteringdist_kernelinstall_SCRIPTS = \
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering src/kernel-install/90-loaderentry.install
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poetteringrootlibexec_PROGRAMS = \
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 Poetteringsystemgenerator_PROGRAMS = \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-getty-generator \
56cf987fe74270bde4e16c7ec9e0414a9030723bDaniel J Walsh systemd-fstab-generator \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering systemd-system-update-generator
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguezdist_bashcompletion_DATA = \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguezdist_zshcompletion_DATA = \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodríguez shell-completion/zsh/_systemd-analyze \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers shell-completion/zsh/_sd_hosts_or_user_at_host \
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringdist_sysctl_DATA = \
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringdist_systemunit_DATA = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering units/systemd-ask-password-console.path \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringnodist_systemunit_DATA = \
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/initrd-udevadm-cleanup-db.service \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringdist_userunit_DATA = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringnodist_userunit_DATA = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart PoetteringEXTRA_DIST += \
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/initrd-udevadm-cleanup-db.service.in \
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart PoetteringCLEANFILES += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskiif HAVE_SYSV_COMPAT
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskinodist_systemunit_DATA += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskisystemgenerator_PROGRAMS += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowski systemd-rc-local-generator
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiEXTRA_DIST += \
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 Kokunits-uninstall-hook:
8b197c3a8a57c3f7c231b39e5660856fd9580c80Auke Kok rm -f $(DESTDIR)/$(systemunitdir)/-.slice
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiINSTALL_DATA_HOOKS += units-install-hook
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiUNINSTALL_DATA_HOOKS += units-uninstall-hook
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol Lewandowskidist_doc_DATA = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering DISTRO_PORTING
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering@INTLTOOL_POLICY_RULE@
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering# ------------------------------------------------------------------------------
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringMANPAGES_ALIAS =
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringman: $(MANPAGES) $(MANPAGES_ALIAS) $(HTML_FILES) $(HTML_ALIAS)
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering ${XML_FILES:.xml=.html}
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering ${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringif ENABLE_MANPAGES
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(MANPAGES_ALIAS)
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringnoinst_DATA += \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(HTML_FILES) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(HTML_ALIAS)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(HTML_FILES) \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_LN)$(LN_S) -f ../../man $@
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringnoinst_DATA += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(AM_V_LN)$(LN_S) -f systemd.index.html $@
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringnoinst_DATA += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
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 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 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 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 $<,$^)
591622d7efbc828f00f190d91b6608148b967ff5Lennart PoetteringEXTRA_DIST += \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart PoetteringCLEANFILES += \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart PoetteringEXTRA_DIST += \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(XML_FILES) \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(HTML_FILES) \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(HTML_ALIAS) \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering# ------------------------------------------------------------------------------
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poetteringnoinst_LTLIBRARIES += \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poetteringlibsystemd_rtnl_la_SOURCES = \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajnatest_rtnl_SOURCES = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverstest_rtnl_LDADD = \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering# ------------------------------------------------------------------------------
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringnoinst_LTLIBRARIES += \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringlibsystemd_shared_la_SOURCES = \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poetteringnodist_libsystemd_shared_la_SOURCES = \
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poettering# ------------------------------------------------------------------------------
b872e9a05939bc3e0ac95a042592506a7488dd6fLennart Poetteringnoinst_LTLIBRARIES += \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poetteringlibsystemd_units_la_SOURCES = \
bc2708414babc5c99bb8000e63c84e87606cc15dLennart Poettering# ------------------------------------------------------------------------------
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poetteringnoinst_LTLIBRARIES += \
b1c4ca25bf58e1925012d1dcdd83d61cecbf87fbLennart Poetteringlibsystemd_label_la_SOURCES = \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poetteringlibsystemd_label_la_CFLAGS = \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering $(AM_CFLAGS) \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering $(SELINUX_CFLAGS)
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poetteringlibsystemd_label_la_LIBADD = \
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering $(SELINUX_LIBS)
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poettering# ------------------------------------------------------------------------------
a382332eed10d3348231803c47a4c599d24c5e3aLennart Poetteringnoinst_LTLIBRARIES += \
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguezlibsystemd_logs_la_SOURCES = \
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodríguez# ------------------------------------------------------------------------------
4ad61fd1806dde23d2c99043b4bed91a196d2c82Cristian Rodrígueznoinst_LTLIBRARIES += \
54b434b1b5055f934230fe04fad35b01642b8488Lennart Poetteringlibsystemd_capability_la_SOURCES = \
f8c5a5815ff7c137d9a1e5d7b48a6532b9f31407Lennart Poetteringlibsystemd_capability_la_CFLAGS = \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen $(AM_CFLAGS) \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen $(CAP_CFLAGS)
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenlibsystemd_capability_la_LIBADD = \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersen# ------------------------------------------------------------------------------
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersennoinst_LTLIBRARIES += \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenlibsystemd_acl_la_SOURCES = \
d562955eac58d3a5089e0f344ea586412a134451Tom Gundersenlibsystemd_acl_la_CFLAGS = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(AM_CFLAGS) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(ACL_CFLAGS)
a3bd8447be4ea2ce230eb8ae0e815c04d85fa15aTom Gundersenlibsystemd_acl_la_LIBADD = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# ------------------------------------------------------------------------------
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversnoinst_LTLIBRARIES += \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverslibsystemd_core_la_SOURCES = \
bc9bdbbab45ea2c10fdd8ad7c517b5e4a358bdfbMichał Górnylibsystemd_core_la_SOURCES += \
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poetteringnodist_libsystemd_core_la_SOURCES = \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmeklibsystemd_core_la_CFLAGS = \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(LIBWRAP_CFLAGS) \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(AUDIT_CFLAGS) \
6fc00209d5906bd14d54af4a6ac2961dd9731f72Zbigniew Jędrzejewski-Szmek $(KMOD_CFLAGS) \
cee22bd3cb253734a8a0183751d786128e2ea5e4Henrik Grindal Bakkenlibsystemd_core_la_LIBADD = \
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmek $(LIBWRAP_LIBS) \
b8079ae19b41c9b61850c796dddc601b826850e0Kay Sievers $(PAM_LIBS) \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay Sievers $(AUDIT_LIBS) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(KMOD_LIBS)
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 ";" }' < $< > $@
3e2147858f21943d5f4a781c60f33ac22c6096edKay SieversEXTRA_DIST += \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay SieversCLEANFILES += \
2b3e18de74ca89b374dd4f7a2c30e5731d347841Karol LewandowskiBUILT_SOURCES += \
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 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 }' < $< > $@
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 < $< > $@
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 "};"}' < $< > $@
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; }' > $@
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 }' < $< > $@
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 < $< > $@
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 "};"}' < $< > $@
8c4a3079a7f358c179430d1aec59de8b670b5f6eLennart Poettering# ------------------------------------------------------------------------------
b8079ae19b41c9b61850c796dddc601b826850e0Kay Sieverssystemd_SOURCES = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverssystemd_LDADD = \
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmekdist_pkgsysconf_DATA += \
f2ec0646aba7c6703a6c79603957e805b74c3befZbigniew Jędrzejewski-Szmekdist_dbuspolicy_DATA += \
2f4da3e6c298bc0ae6243cae47aedb01c50fa870Zbigniew Jędrzejewski-Szmek src/core/org.freedesktop.systemd1.conf
5c390a4ae0d383b2003074ed011d47876c7e630cZbigniew Jędrzejewski-Szmekdist_dbussystemservice_DATA += \
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering src/core/org.freedesktop.systemd1.service
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poetteringpolkitpolicy_in_in_files += \
2c6db6fb9b1a10184b086df0d23228c4c0205a49Lennart Poettering src/core/org.freedesktop.systemd1.policy.in.in
4f87c47b35cf9c1f58872559ae67a2656712fdd6William Giokaspkgconfigdata_DATA = \
45df1f2c9a7fee67b37f64ddd00adad5982844faCristian Rodrígueznodist_rpmmacros_DATA = \
1f048a6b6bcc30d2e157711b3d231d7a944e6ffbJan EngelhardtEXTRA_DIST += \
ae446765eb0605d2451bb4dd7c336672bcc7ab0cKay SieversCLEANFILES += \
coverage_opts = --base-directory $(srcdir) --directory $(builddir) --rc 'geninfo_adjust_src_path=$(abspath $(srcdir))=>$(abspath $(builddir))'
| 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"
shell-completion/zsh/_systemd-tmpfiles
$(sysconfdir)/tmpfiles.d
shell-completion/zsh/_bootctl
$(AM_V_LN)$(LN_S) -f ../../lib/systemd/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge
units/systemd-bus-proxyd@.service
-Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon/libsystemd-daemon.sym
libname=libsystemd-daemon.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
-Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-bus.sym
-Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
$(AM_V_LN)$(LN_S) -f ../libudev/html $@
$(AM_V_LN)$(LN_S) -f ../gudev/html $@
libname=libudev.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libudev.so*
$(sysconfdir)/udev/rules.d \
$(sysconfdir)/udev/hwdb.d
network/99-default.link
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
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-acpi-vendor.hwdb \
hwdb/20-OUI.hwdb \
hwdb/60-keyboard.hwdb
rules/99-systemd.rules.in \
rules/99-systemd.rules \
$(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/' > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
rules/50-firmware.rules
rules/80-drivers.rules
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
$(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
-rm -rf test/sys
rules/60-cdrom_id.rules
rules/60-persistent-v4l.rules
libudev-internal.la -lm \
rules/61-accelerometer.rules
$(includedir)/gudev-1.0/gudev
lib_LTLIBRARIES += libgudev-1.0.la
-I$(top_builddir)/src/gudev \
-I$(top_srcdir)/src/gudev \
$(AM_V_GEN)echo '#include "gudevmarshal.h"' > $@ && \
-I$(top_srcdir)/src/gudev \
-I$(top_builddir)/src/gudev
src_gudev_GUdev_1_0_gir_LIBS = libgudev-1.0.la
INTROSPECTION_GIRS = src/gudev/GUdev-1.0.gir
INTROSPECTION_SCANNER_ARGS = --c-include=gudev/gudev.h
libname=libgudev-1.0.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libgudev-1.0.so*
rules/75-probe_mtd.rules
-Wl,--version-script=$(top_srcdir)/src/libsystemd-id128/libsystemd-id128.sym
libname=libsystemd-id128.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
-version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
-Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
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/
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
shell-completion/zsh/_systemd-coredumpctl
$(prefix)/lib/binfmt.d \
$(sysconfdir)/binfmt.d
units/systemd-backlight@.service
units/systemd-rfkill@.service
shell-completion/zsh/_hostnamectl
update-kbd-model-map: src/locale/generate-kbd-model-map
$PYTHON $< > src/locale/kbd-model-map
shell-completion/zsh/_localectl
$(prefix)/lib/systemd/ntp-units.d \
$(sysconfdir)/systemd/ntp-units.d
shell-completion/zsh/_timedatectl
shell-completion/zsh/_machinectl
shell-completion/zsh/_loginctl \
shell-completion/zsh/_systemd-inhibit
-Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
libname=libsystemd-login.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
id128.la \
-I$(top_builddir)/src/python-systemd
-I$(top_builddir)/src/python-systemd
$(AM_V_GEN)$(SED) -n -r 's/,//g; s/#define (SD_MESSAGE_[A-Z0-9_]+)\s.*/add_id(m, "\1", \1) JOINER/p' <$< >$@
$(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/
dir="$$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
-rm -rf docs/html/python-systemd/
# Remove Python stuff, e.g. to force rebuilding for a different Python version.
'|RANDOM_SEED_DIR=$(localstatedir)/lib/systemd/|' \
'|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \
%.pc: %.pc.in
%.rules: %.rules.in
%.sh: %.sh.in
units/user/%: units/%.m4
$(polkitpolicy_in_in_files:.policy.in.in=.policy)
--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) \
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $<
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
$(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
$(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
../system-services/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service
$(systemunitdir)/runlevel1.target.wants \
$(systemunitdir)/runlevel2.target.wants \
$(systemunitdir)/runlevel3.target.wants \
$(systemunitdir)/runlevel4.target.wants \
$(systemunitdir)/runlevel5.target.wants
$(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 \
$(pkgsysconfdir)/system/multi-user.target.wants \
$(pkgsysconfdir)/system/getty.target.wants \
$(sysconfdir)/xdg/systemd
$(abs_srcdir)/hwdb/iab.txt
wget -N http://www.linux-usb.org/usb.ids \
./ids-update.pl )
( cd $(top_srcdir)/src/libsystemd-bus/ && \
wget -N https://d-bus.googlecode.com/git/kdbus.h )
scp man/*.html tango:public/systemd-man/
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/
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \
$(AM_V_GEN)nm -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
if test -f $(builddir)/man/$$symbol.html ; then \
nm -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
$(AM_V_at)printf '#include <stdio.h>\n' > $@