Makefile.am revision 43a99a7afe3063eebc901452026b13360b69a7b5
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# -*- Mode: makefile; indent-tabs-mode: t -*-
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# This file is part of systemd.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Copyright 2010-2012 Lennart Poettering
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Copyright 2010-2012 Kay Sievers
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Copyright 2013 Zbigniew Jędrzejewski-Szmek
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Copyright 2013 David Strauss
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# systemd is free software; you can redistribute it and/or modify it
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# under the terms of the GNU Lesser General Public License as published by
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# the Free Software Foundation; either version 2.1 of the License, or
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# (at your option) any later version.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# systemd is distributed in the hope that it will be useful, but
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# WITHOUT ANY WARRANTY; without even the implied warranty of
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Lesser General Public License for more details.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# You should have received a copy of the GNU Lesser General Public License
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# along with systemd; If not, see <http://www.gnu.org/licenses/>.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
a0166609f782da91710dea9183d1bf138538db37Tom GundersenAM_MAKEFLAGS = --no-print-directory
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel AndersenAUTOMAKE_OPTIONS = color-tests parallel-tests
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen# remove targets if the command fails
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poettering# keep intermediate files
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen.PRECIOUS: $(TEST_SUITE_LOG) Makefile
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBUDEV_REVISION=0
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringLIBGUDEV_CURRENT=1
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringLIBGUDEV_REVISION=3
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringLIBSYSTEMD_LOGIN_CURRENT=9
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringLIBSYSTEMD_LOGIN_REVISION=1
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_LOGIN_AGE=9
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_DAEMON_CURRENT=0
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_DAEMON_REVISION=10
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_DAEMON_AGE=0
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_ID128_CURRENT=0
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_ID128_REVISION=26
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_ID128_AGE=0
a0166609f782da91710dea9183d1bf138538db37Tom GundersenLIBSYSTEMD_JOURNAL_CURRENT=11
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=3
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart PoetteringLIBSYSTEMD_JOURNAL_AGE=11
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart PoetteringLIBSYSTEMD_BUS_CURRENT=0
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart PoetteringLIBSYSTEMD_BUS_REVISION=0
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart PoetteringLIBSYSTEMD_BUS_AGE=0
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poettering# Dirs of external packages
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poetteringdbuspolicydir=@dbuspolicydir@
d74fb368b18f0fbd9a4fe6f15691bbea7f3c4a01Tom Gundersendbussessionservicedir=@dbussessionservicedir@
d74fb368b18f0fbd9a4fe6f15691bbea7f3c4a01Tom Gundersendbussystemservicedir=@dbussystemservicedir@
d74fb368b18f0fbd9a4fe6f15691bbea7f3c4a01Tom Gundersenpamlibdir=@pamlibdir@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpamconfdir=@pamconfdir@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpkgconfigdatadir=$(datadir)/pkgconfig
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpkgconfiglibdir=$(libdir)/pkgconfig
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpolkitpolicydir=$(datadir)/polkit-1/actions
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poetteringbashcompletiondir=@bashcompletiondir@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringzshcompletiondir=@zshcompletiondir@
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringrpmmacrosdir=$(prefix)/lib/rpm/macros.d
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringsysvinitdir=$(SYSTEM_SYSVINIT_PATH)
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringsysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringvarlogdir=$(localstatedir)/log
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringsystemdstatedir=$(localstatedir)/lib/systemd
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringcatalogstatedir=$(systemdstatedir)/catalog
dc61b7e45d89a69f0469ab7b3289cdde7fcc55abTorstein Husebø# Our own, non-special dirs
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poetteringpkgsysconfdir=$(sysconfdir)/systemd
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poetteringuserunitdir=$(prefix)/lib/systemd/user
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poetteringuserpresetdir=$(prefix)/lib/systemd/user-preset
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poetteringtmpfilesdir=$(prefix)/lib/tmpfiles.d
0dd25fb9f005d8ab7ac4bc10a609d00569f8c56aLennart Poetteringsysctldir=$(prefix)/lib/sysctl.d
a407657425a3e47fd2b559cd3bc800f791303f63Lennart Poetteringnetworkdir=$(prefix)/lib/systemd/network
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poetteringpkgincludedir=$(includedir)/systemd
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poetteringsystemgeneratordir=$(rootlibexecdir)/system-generators
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poetteringusergeneratordir=$(prefix)/lib/systemd/user-generators
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poetteringsystemshutdowndir=$(rootlibexecdir)/system-shutdown
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringsystemsleepdir=$(rootlibexecdir)/system-sleep
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringsystemunitdir=$(rootprefix)/lib/systemd/system
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringsystempresetdir=$(rootprefix)/lib/systemd/system-preset
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringudevlibexecdir=$(rootprefix)/lib/udev
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringudevhomedir=$(udevlibexecdir)
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringudevrulesdir=$(udevlibexecdir)/rules.d
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringudevhwdbdir=$(udevlibexecdir)/hwdb.d
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringcatalogdir=$(prefix)/lib/systemd/catalog
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringkernelinstalldir = $(prefix)/lib/kernel/install.d
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# And these are the special ones for /
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringrootprefix=@rootprefix@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringrootbindir=$(rootprefix)/bin
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringrootlibexecdir=$(rootprefix)/lib/systemd
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart PoetteringCLEANFILES = $(BUILT_SOURCES)
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackDISTCLEANFILES =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackBUILT_SOURCES =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackINSTALL_EXEC_HOOKS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackUNINSTALL_EXEC_HOOKS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackINSTALL_DATA_HOOKS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackUNINSTALL_DATA_HOOKS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackDISTCLEAN_LOCAL_HOOKS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel MackCLEAN_LOCAL_HOOKS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mackpkginclude_HEADERS =
8b757a38611006a751c90933d1810cccaa47e1afDaniel Macknoinst_LTLIBRARIES =
8b757a38611006a751c90933d1810cccaa47e1afDaniel Macklib_LTLIBRARIES =
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringinclude_HEADERS =
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringpkgconfiglib_DATA =
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringpolkitpolicy_in_in_files =
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringpolkitpolicy_in_files =
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringpolkitpolicy_files =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringdist_udevrules_DATA =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringnodist_udevrules_DATA =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringdist_pkgsysconf_DATA =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringdist_pkgdata_DATA =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringdist_dbuspolicy_DATA =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringdist_dbussystemservice_DATA =
f0258e473667f44f4656dde49597b2badb9f598aLennart Poetteringcheck_PROGRAMS =
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poetteringif ENABLE_TESTS
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poetteringnoinst_PROGRAMS = $(manual_tests) $(tests)
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart PoetteringTESTS = $(tests)
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poetteringnoinst_PROGRAMS =
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poetteringudevlibexec_PROGRAMS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringAM_CPPFLAGS = \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -include $(top_builddir)/config.h \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
2001c80560e3dae69e14fd994d3978c187af48b8Lennart Poettering -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
2001c80560e3dae69e14fd994d3978c187af48b8Lennart Poettering -DROOTPREFIX=\"$(rootprefix)\" \
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering -DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poettering -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
7586f4d172dd9c3ccc3126fc47dca9e49adec132Tom Gundersen -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
9c5e12a4314e7192e834e1b855e5e80111e636a6Tom Gundersen -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
9c5e12a4314e7192e834e1b855e5e80111e636a6Tom Gundersen -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DX_SERVER=\"$(bindir)/X\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -DQUOTACHECK=\"$(QUOTACHECK)\" \
2001c80560e3dae69e14fd994d3978c187af48b8Lennart Poettering -DKEXEC=\"$(KEXEC)\" \
2001c80560e3dae69e14fd994d3978c187af48b8Lennart Poettering -I $(top_srcdir)/src \
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering -I $(top_builddir)/src/shared \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/shared \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/network \
8ba9fd9cee0eef572f7b3ed7a8c3ed31160e93d3Lennart Poettering -I $(top_srcdir)/src/login \
8ba9fd9cee0eef572f7b3ed7a8c3ed31160e93d3Lennart Poettering -I $(top_srcdir)/src/journal \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/systemd \
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering -I $(top_builddir)/src/core \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/core \
d830ebbdf67d8cb32d33d8fdd47cf467fd6d3815Lennart Poettering -I $(top_srcdir)/src/libudev \
d830ebbdf67d8cb32d33d8fdd47cf467fd6d3815Lennart Poettering -I $(top_srcdir)/src/udev \
d830ebbdf67d8cb32d33d8fdd47cf467fd6d3815Lennart Poettering -I $(top_srcdir)/src/udev/net \
d830ebbdf67d8cb32d33d8fdd47cf467fd6d3815Lennart Poettering -I $(top_builddir)/src/udev \
d830ebbdf67d8cb32d33d8fdd47cf467fd6d3815Lennart Poettering $(OUR_CPPFLAGS)
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringAM_CFLAGS = $(OUR_CFLAGS)
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringAM_LDFLAGS = $(OUR_LDFLAGS)
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# ------------------------------------------------------------------------------
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringdefine move-to-rootlibdir
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering if test "$(libdir)" != "$(rootlibdir)"; then \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering $(LN_S) -f $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringRUNLEVEL1_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringRUNLEVEL2_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringRUNLEVEL3_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringRUNLEVEL4_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringRUNLEVEL5_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringSHUTDOWN_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLOCAL_FS_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringMULTI_USER_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringSYSINIT_TARGET_WANTS =
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringSOCKETS_TARGET_WANTS =
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringBUSNAMES_TARGET_WANTS =
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringTIMERS_TARGET_WANTS =
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringSYSTEM_UNIT_ALIASES =
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringUSER_UNIT_ALIASES =
f91dc2400dc33e9a0745ecaaef7489af116dca38Lennart PoetteringGENERAL_ALIASES =
8db0d2f5c37e7e8f5bfce016cfdad7947a3ea939Zbigniew Jędrzejewski-Szmekinstall-target-wants-hook:
f91dc2400dc33e9a0745ecaaef7489af116dca38Lennart Poettering what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && $(add-wants)
f91dc2400dc33e9a0745ecaaef7489af116dca38Lennart Poettering what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && $(add-wants)
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && $(add-wants)
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && $(add-wants)
e30ec345ace45bfdd6e82fff60682ccf2942b238Lennart Poettering what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && $(add-wants)
e30ec345ace45bfdd6e82fff60682ccf2942b238Lennart Poettering what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek what="$(SLICES_TARGET_WANTS)" && wants=slices.target && $(add-wants)
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek [ -z "$$what" ] || ( \
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek dir=$(DESTDIR)$(systemunitdir)/$$wants.wants && \
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek $(MKDIR_P) -m 0755 $$dir && \
ff3d6560bead6879a2fed1bf99bfe8273b3723f1Zbigniew Jędrzejewski-Szmek rm -f $$what && \
51323288fc628a5cac50914df915545d685b793eLennart Poettering for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poetteringinstall-directories-hook:
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poettering $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poetteringinstall-aliases-hook:
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poettering set -- $(SYSTEM_UNIT_ALIASES) && \
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poettering dir=$(systemunitdir) && $(install-aliases)
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poettering set -- $(USER_UNIT_ALIASES) && \
9551c15505e283f9e5e43635c2920bfdfc584c30Lennart Poettering dir=$(userunitdir) && $(install-aliases)
51323288fc628a5cac50914df915545d685b793eLennart Poettering set -- $(GENERAL_ALIASES) && \
51323288fc628a5cac50914df915545d685b793eLennart Poettering dir= && $(install-aliases)
51323288fc628a5cac50914df915545d685b793eLennart Poetteringdefine install-aliases
106784ebb7b303ae471851100a773ad2aebf5b80Daniel Mack while [ -n "$$1" ]; do \
106784ebb7b303ae471851100a773ad2aebf5b80Daniel Mack $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
51323288fc628a5cac50914df915545d685b793eLennart Poettering rm -f $(DESTDIR)$$dir/$$2 && \
51323288fc628a5cac50914df915545d685b793eLennart Poettering $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
106784ebb7b303ae471851100a773ad2aebf5b80Daniel Mack shift 2 || exit $$?; \
106784ebb7b303ae471851100a773ad2aebf5b80Daniel MackINSTALL_EXEC_HOOKS += \
106784ebb7b303ae471851100a773ad2aebf5b80Daniel Mack install-target-wants-hook \
106784ebb7b303ae471851100a773ad2aebf5b80Daniel Mack install-directories-hook \
51323288fc628a5cac50914df915545d685b793eLennart Poettering install-aliases-hook
shell-completion/zsh/_systemctl \
shell-completion/zsh/_journalctl \
shell-completion/zsh/_udevadm \
shell-completion/zsh/_kernel-install \
shell-completion/zsh/_systemd-nspawn \
shell-completion/zsh/_systemd-analyze \
shell-completion/zsh/_systemd-run \
shell-completion/zsh/_sd_hosts_or_user_at_host \
shell-completion/zsh/_systemd-delta \
shell-completion/zsh/_systemd
units/getty@.service \
units/serial-getty@.service \
units/container-getty@.service \
units/user@.service \
units/systemd-fsck@.service \
units/systemd-nspawn@.service
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: 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 sys/syscall.h - < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9(]/ { sub(/__NR_/, "", $$2); if ($$2 !~ /SYSCALL_BASE/) print $$2; }' > $@
$(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 }' < $< > $@
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_syscall -H hash_syscall_name -p -C < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const syscall_names[] = { "} { printf "[SYSCALL_TO_INDEX(__NR_%s)] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - < /dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+[0-9]/ { 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[] = { "} { 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) -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' > $@