Makefile.am revision 2de30868edab5b099cb1e5413e47ed11ded4cc63
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# -*- Mode: makefile; indent-tabs-mode: t -*-
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# This file is part of systemd.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# Copyright 2010-2012 Lennart Poettering
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# Copyright 2010-2012 Kay Sievers
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# Copyright 2013 Zbigniew Jędrzejewski-Szmek
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# Copyright 2013 David Strauss
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# systemd is free software; you can redistribute it and/or modify it
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# under the terms of the GNU Lesser General Public License as published by
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# the Free Software Foundation; either version 2.1 of the License, or
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# (at your option) any later version.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# systemd is distributed in the hope that it will be useful, but
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# WITHOUT ANY WARRANTY; without even the implied warranty of
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# Lesser General Public License for more details.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# You should have received a copy of the GNU Lesser General Public License
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# along with systemd; If not, see <http://www.gnu.org/licenses/>.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringAM_MAKEFLAGS = --no-print-directory
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringAUTOMAKE_OPTIONS = color-tests parallel-tests
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# remove targets if the command fails
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering.DELETE_ON_ERROR:
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# keep intermediate files
bb99a35a873c35e80b0b47fe045081022660374dLennart Poettering.PRECIOUS: $(TEST_SUITE_LOG) Makefile
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBUDEV_CURRENT=6
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBUDEV_REVISION=0
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBGUDEV_CURRENT=2
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBGUDEV_REVISION=0
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBSYSTEMD_CURRENT=3
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBSYSTEMD_REVISION=1
3ed08c446cfaaae2b234fdfeb0c34ab6b4748c3eLennart PoetteringLIBSYSTEMD_AGE=3
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# The following four libraries only exist for compatibility reasons,
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# their version info should not be bumped anymore
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_LOGIN_CURRENT=9
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_LOGIN_REVISION=3
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_LOGIN_AGE=9
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_DAEMON_CURRENT=0
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_DAEMON_REVISION=12
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_DAEMON_AGE=0
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_ID128_CURRENT=0
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_ID128_REVISION=28
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_ID128_AGE=0
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_JOURNAL_CURRENT=11
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=5
bb99a35a873c35e80b0b47fe045081022660374dLennart PoetteringLIBSYSTEMD_JOURNAL_AGE=11
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# Dirs of external packages
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdbuspolicydir=@dbuspolicydir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdbussessionservicedir=@dbussessionservicedir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdbussystemservicedir=@dbussystemservicedir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpamlibdir=@pamlibdir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpamconfdir=@pamconfdir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpkgconfigdatadir=$(datadir)/pkgconfig
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpkgconfiglibdir=$(libdir)/pkgconfig
a5344d2c3b0f14e954ce1c0ef905c5b44bc5bf0aLennart Poetteringpolkitpolicydir=$(datadir)/polkit-1/actions
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringbashcompletiondir=@bashcompletiondir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringzshcompletiondir=@zshcompletiondir@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringrpmmacrosdir=$(prefix)/lib/rpm/macros.d
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringsysvinitdir=$(SYSTEM_SYSVINIT_PATH)
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringsysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringvarlogdir=$(localstatedir)/log
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringsystemdstatedir=$(localstatedir)/lib/systemd
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringcatalogstatedir=$(systemdstatedir)/catalog
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# Our own, non-special dirs
a5344d2c3b0f14e954ce1c0ef905c5b44bc5bf0aLennart Poetteringpkgsysconfdir=$(sysconfdir)/systemd
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringuserunitdir=$(prefix)/lib/systemd/user
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringuserpresetdir=$(prefix)/lib/systemd/user-preset
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringtmpfilesdir=$(prefix)/lib/tmpfiles.d
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringsysusersdir=$(prefix)/lib/sysusers.d
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringsysctldir=$(prefix)/lib/sysctl.d
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringbinfmtdir=$(prefix)/lib/binfmt.d
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringmodulesloaddir=$(prefix)/lib/modules-load.d
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringnetworkdir=$(rootprefix)/lib/systemd/network
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringpkgincludedir=$(includedir)/systemd
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringsystemgeneratordir=$(rootlibexecdir)/system-generators
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringusergeneratordir=$(prefix)/lib/systemd/user-generators
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringsystemshutdowndir=$(rootlibexecdir)/system-shutdown
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringsystemsleepdir=$(rootlibexecdir)/system-sleep
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringsystemunitdir=$(rootprefix)/lib/systemd/system
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringsystempresetdir=$(rootprefix)/lib/systemd/system-preset
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringudevlibexecdir=$(rootprefix)/lib/udev
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringudevhomedir=$(udevlibexecdir)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringudevrulesdir=$(udevlibexecdir)/rules.d
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringudevhwdbdir=$(udevlibexecdir)/hwdb.d
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringcatalogdir=$(prefix)/lib/systemd/catalog
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringkernelinstalldir = $(prefix)/lib/kernel/install.d
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering# And these are the special ones for /
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringrootprefix=@rootprefix@
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringrootbindir=$(rootprefix)/bin
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringrootlibexecdir=$(rootprefix)/lib/systemd
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringCLEANFILES = $(BUILT_SOURCES)
25d042e81516246b1ebf706a57c47ac19abb0b8aLennart PoetteringDISTCLEANFILES =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringBUILT_SOURCES =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringINSTALL_EXEC_HOOKS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringUNINSTALL_EXEC_HOOKS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringINSTALL_DATA_HOOKS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringUNINSTALL_DATA_HOOKS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringDISTCLEAN_LOCAL_HOOKS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringCLEAN_LOCAL_HOOKS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringpkginclude_HEADERS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringnoinst_LTLIBRARIES =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringlib_LTLIBRARIES =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringinclude_HEADERS =
25d042e81516246b1ebf706a57c47ac19abb0b8aLennart Poetteringpkgconfiglib_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpolkitpolicy_in_in_files =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpolkitpolicy_in_files =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringpolkitpolicy_files =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdist_udevrules_DATA =
72f1d5a2880d103dc1c1746f5c02e192e054705eLennart Poetteringnodist_udevrules_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringnodist_pkgsysconf_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdist_pkgsysconf_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdist_pkgdata_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdist_dbuspolicy_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdist_dbussystemservice_DATA =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringcheck_PROGRAMS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringif ENABLE_TESTS
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringnoinst_PROGRAMS = $(manual_tests) $(tests)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringTESTS = $(tests)
72f1d5a2880d103dc1c1746f5c02e192e054705eLennart Poetteringnoinst_PROGRAMS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringudevlibexec_PROGRAMS =
72f1d5a2880d103dc1c1746f5c02e192e054705eLennart Poettering.PHONY: $(INSTALL_EXEC_HOOKS) $(UNINSTALL_EXEC_HOOKS) \
72f1d5a2880d103dc1c1746f5c02e192e054705eLennart Poettering $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS) \
72f1d5a2880d103dc1c1746f5c02e192e054705eLennart Poettering $(DISTCLEAN_LOCAL_HOOKS) $(CLEAN_LOCAL_HOOKS)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringAM_CPPFLAGS = \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -include $(top_builddir)/config.h \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DROOTPREFIX=\"$(rootprefix)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -DX_SERVER=\"$(bindir)/X\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DQUOTACHECK=\"$(QUOTACHECK)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DKEXEC=\"$(KEXEC)\" \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -DLIBDIR=\"$(libdir)\" \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -DROOTLIBDIR=\"$(rootlibdir)\" \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering -I $(top_builddir)/src/shared \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/shared \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/network \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/login \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/journal \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/timedate \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/timesync \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/resolve \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/systemd \
a5344d2c3b0f14e954ce1c0ef905c5b44bc5bf0aLennart Poettering -I $(top_builddir)/src/core \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering -I $(top_srcdir)/src/core \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering -I $(top_srcdir)/src/libudev \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/udev \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering -I $(top_srcdir)/src/udev/net \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering -I $(top_builddir)/src/udev \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-bus \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-event \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-rtnl \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-network \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-SzmekAM_CFLAGS = $(OUR_CFLAGS)
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-SzmekAM_LDFLAGS = $(OUR_LDFLAGS)
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering# ------------------------------------------------------------------------------
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poetteringdefine move-to-rootlibdir
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering if test "$(libdir)" != "$(rootlibdir)"; then \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
9058851be7821edac08c1fa7ecafe5cba9ab9022Lennart Poettering rm -f $(DESTDIR)$(libdir)/$$libname && \
9058851be7821edac08c1fa7ecafe5cba9ab9022Lennart Poettering $(LN_S) --relative -f $(DESTDIR)$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
9058851be7821edac08c1fa7ecafe5cba9ab9022Lennart Poettering mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringRUNLEVEL1_TARGET_WANTS =
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringRUNLEVEL2_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringRUNLEVEL3_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringRUNLEVEL4_TARGET_WANTS =
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart PoetteringRUNLEVEL5_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringSHUTDOWN_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringLOCAL_FS_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringMULTI_USER_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringSYSINIT_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringSOCKETS_TARGET_WANTS =
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringBUSNAMES_TARGET_WANTS =
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringTIMERS_TARGET_WANTS =
a5344d2c3b0f14e954ce1c0ef905c5b44bc5bf0aLennart PoetteringUSER_SOCKETS_TARGET_WANTS =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringUSER_BUSNAMES_TARGET_WANTS =
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringSYSTEM_UNIT_ALIASES =
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart PoetteringUSER_UNIT_ALIASES =
29abad107f8610e73b2fc091216040b579c75453Zbigniew Jędrzejewski-SzmekGENERAL_ALIASES =
2a0e0692565f0435657c93498e09cbb2d3517152Shawn Landdeninstall-target-wants-hook:
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && dir=$(systemunitdir) && $(add-wants)
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && dir=$(systemunitdir) && $(add-wants)
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(SLICES_TARGET_WANTS)" && wants=slices.target && dir=$(systemunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(USER_SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(userunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering what="$(USER_BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(userunitdir) && $(add-wants)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdefine add-wants
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering [ -z "$$what" ] || ( \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering dir=$(DESTDIR)$$dir/$$wants.wants && \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering $(MKDIR_P) -m 0755 $$dir && \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering rm -f $$what && \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringinstall-directories-hook:
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringinstall-aliases-hook:
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering set -- $(SYSTEM_UNIT_ALIASES) && \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering dir=$(systemunitdir) && $(install-aliases)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering set -- $(USER_UNIT_ALIASES) && \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering dir=$(userunitdir) && $(install-relative-aliases)
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering set -- $(GENERAL_ALIASES) && \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering dir= && $(install-relative-aliases)
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poetteringdefine install-aliases
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering while [ -n "$$1" ]; do \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering rm -f $(DESTDIR)$$dir/$$2 && \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering shift 2 || exit $$?; \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poetteringdefine install-relative-aliases
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering while [ -n "$$1" ]; do \
ee55db41442ad8055f5a84a339b1e0e22bc037c4Lennart Poettering $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering rm -f $(DESTDIR)$$dir/$$2 && \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering $(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering shift 2 || exit $$?; \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringinstall-touch-usr-hook:
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering touch -c $(DESTDIR)/$(prefix)
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringINSTALL_EXEC_HOOKS += \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering install-target-wants-hook \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering install-directories-hook \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering install-aliases-hook \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering install-touch-usr-hook
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering# ------------------------------------------------------------------------------
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_M4 = $(AM_V_M4_$(V))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_M4_0 = @echo " M4 " $@;
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringAM_V_XSLT = $(AM_V_XSLT_$(V))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_XSLT_0 = @echo " XSLT " $@;
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringAM_V_GPERF = $(AM_V_GPERF_$(V))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_GPERF_0 = @echo " GPERF " $@;
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringAM_V_LN = $(AM_V_LN_$(V))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart PoetteringAM_V_LN_0 = @echo " LN " $@;
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_RM = $(AM_V_RM_$(V))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY))
0dad12c190b7493955cd60d2a1625199b1709f69Lennart PoetteringAM_V_RM_0 = @echo " RM " $@;
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering# ------------------------------------------------------------------------------
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poetteringrootbin_PROGRAMS = \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-notify \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-ask-password \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-tty-ask-password-agent \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-machine-id-setup \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-escape
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poetteringbin_PROGRAMS = \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-cgls \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-cgtop \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-nspawn \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-detect-virt \
0dad12c190b7493955cd60d2a1625199b1709f69Lennart Poettering systemd-delta \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering systemd-analyze \
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringdist_bin_SCRIPTS = \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poetteringdist_kernelinstall_SCRIPTS = \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering src/kernel-install/90-loaderentry.install
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringrootlibexec_PROGRAMS = \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-cgroups-agent \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-initctl \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-update-utmp \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-shutdownd \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-shutdown \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering systemd-remount-fs \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-reply-password \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-fsck \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-ac-power \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-sysctl \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-sleep \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-bus-proxyd \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-socket-proxyd \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-update-done
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringsystemgenerator_PROGRAMS = \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-getty-generator \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-fstab-generator \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-system-update-generator \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering systemd-debug-generator
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringdist_bashcompletion_DATA = \
5c0aa72a4999bdcf03fe93ed5c8213c2b4c681f0Lennart Poettering shell-completion/bash/systemd-detect-virt \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringdist_zshcompletion_DATA = \
4cd9a9d9ecf3a8835e21930f3215a5f5b74144beLennart Poettering shell-completion/zsh/_systemd-analyze \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek shell-completion/zsh/_systemd-run \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek shell-completion/zsh/_sd_hosts_or_user_at_host \
6e5abe1564070a760196b97031eca9cf5e95e8a2Zbigniew Jędrzejewski-Szmek shell-completion/zsh/_systemd-delta \
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringdist_sysctl_DATA = \
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart Poetteringdist_systemunit_DATA = \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-ask-password-console.path \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringnodist_systemunit_DATA = \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-update-utmp-runlevel.service \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-ask-password-wall.service \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-ask-password-console.service \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/initrd-udevadm-cleanup-db.service \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringdist_userunit_DATA = \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringnodist_userunit_DATA = \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poetteringdist_systempreset_DATA = \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringEXTRA_DIST += \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-update-utmp-runlevel.service.in \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-ask-password-wall.service.in \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/systemd-ask-password-console.service.in \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart Poettering units/initrd-udevadm-cleanup-db.service.in \
b070e7f3c9ed680c821bd89d42506695f2438506Lennart PoetteringCLEANFILES += \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringif HAVE_SYSV_COMPAT
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringnodist_systemunit_DATA += \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringsystemgenerator_PROGRAMS += \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-sysv-generator \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering systemd-rc-local-generator
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart PoetteringEXTRA_DIST += \
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering# automake is broken and can't handle files with a dash in front
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728#8
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poetteringunits-install-hook:
rm -f $(DESTDIR)/$(systemunitdir)/-.slice
include Makefile-man.am
${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
$(AM_V_LN)$(LN_S) -f systemd.index.html $@
NON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES))
SOURCE_XML_FILES = $(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))
update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB)
$(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp
@echo "Makefile-man.am has been regenerated"
$(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 ";" }' < $< > $@
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - < /dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct errno_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} !/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/socket.h - < /dev/null | grep -v AF_UNSPEC | grep -v AF_MAX | $(AWK) '/^#define[ \t]+AF_[^ \t]+[ \t]+PF_[^ \t]/ { print $$2; }' > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct af_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const af_names[] = { "} !/AF_FILE/ && !/AF_ROUTE/ && !/AF_LOCAL/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
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) --relative -f $(DESTDIR)$(systemgeneratordir)/systemd-dbus1-generator $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
$(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(rootlibexecdir)/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge
units/systemd-bus-proxyd@.service
units/user/systemd-bus-proxyd@.service
-Wl,--version-script=$(top_builddir)/src/libsystemd/libsystemd.sym
libname=libsystemd.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd.so*
-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 \
network/80-container-host0.network \
network/80-container-ve.network
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
rules/99-systemd.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/20-net-ifname.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 \
-Wl,--version-script=$(top_srcdir)/src/gudev/libgudev-1.0.sym
$(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
-$(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/
-rmdir $(DESTDIR)/var/log/journal/
# fsprg.c is a drop-in file using void pointer arithmetic
shell-completion/zsh/_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
shell-completion/zsh/_timedatectl
$(systemunitdir)/systemd-timesyncd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-timesyncd.service
-Wl,--version-script=$(top_srcdir)/src/nss-myhostname/nss-myhostname.sym
shell-completion/zsh/_machinectl \
shell-completion/zsh/_sd_machines
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service
$(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service \
$(systemunitdir)/systemd-networkd-wait-online.service $(pkgsysconfdir)/system/network-online.target.wants/systemd-networkd-wait-online.service
shell-completion/zsh/_loginctl \
shell-completion/zsh/_systemd-inhibit
-Wl,--version-script=$(top_srcdir)/src/login/pam_systemd.sym
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.
libsystemd-%.c: src/compat-libs/libsystemd-%.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-journal.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-login.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-id128.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-daemon.sym
libname=libsystemd-login.so && $(move-to-rootlibdir)
libname=libsystemd-journal.so && $(move-to-rootlibdir)
libname=libsystemd-id128.so && $(move-to-rootlibdir)
libname=libsystemd-daemon.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
'|RANDOM_SEED_DIR=$(localstatedir)/lib/systemd/|' \
'|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \
%.pc: %.pc.in
%.rules: %.rules.in
%.conf: %.conf.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 \
$(dbussystemservicedir)/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
$(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections' distcheck
wget -N http://www.linux-usb.org/usb.ids \
./ids-update.pl )
( cd $(top_srcdir)/src/libsystemd/sd-bus/ && \
wget -N https://d-bus.googlecode.com/git/kdbus.h )
scp systemd-$(VERSION).tar.xz $(www_target)
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/
scp man/*.html tango:public/systemd-man/
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
$(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,'` ; \
check-includes: $(top_srcdir)/tools/check-includes.pl
| xargs $(top_srcdir)/tools/check-includes.pl
$(top_srcdir)/tools/check-includes.pl
$(AM_V_at)printf '#include <stdio.h>\n' > $@
$(AM_V_at)printf 'unsigned i; for (i=0;i<sizeof(functions)/sizeof(void*);i++) printf("%%p\\n", functions[i]);\n' >> $@
$(top_builddir)/src/libsystemd/libsystemd.sym \