Makefile.am revision 83374163014eb50ed0ecd4f18ab45e5280ce7081
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# 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}
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringAM_MAKEFLAGS = --no-print-directory
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringAUTOMAKE_OPTIONS = color-tests parallel-tests
50f1e641a93cacfc693b0c3d300bee5df0c8c460Tom GundersenSUBDIRS = . po
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering# remove targets if the command fails
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering.DELETE_ON_ERROR:
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# keep intermediate files
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringLIBUDEV_CURRENT=4
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBUDEV_REVISION=3
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBGUDEV_CURRENT=1
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart PoetteringLIBGUDEV_REVISION=3
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_LOGIN_CURRENT=6
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_LOGIN_REVISION=0
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_LOGIN_AGE=6
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringLIBSYSTEMD_DAEMON_CURRENT=0
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringLIBSYSTEMD_DAEMON_REVISION=10
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_DAEMON_AGE=0
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringLIBSYSTEMD_ID128_CURRENT=0
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringLIBSYSTEMD_ID128_REVISION=21
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringLIBSYSTEMD_ID128_AGE=0
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringLIBSYSTEMD_JOURNAL_CURRENT=10
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=0
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringLIBSYSTEMD_JOURNAL_AGE=10
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering# Dirs of external packages
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringdbuspolicydir=@dbuspolicydir@
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekdbussessionservicedir=@dbussessionservicedir@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringdbussystemservicedir=@dbussystemservicedir@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringdbusinterfacedir=@dbusinterfacedir@
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpamlibdir=@pamlibdir@
f5430a3ef308f3a102899fcaf7fbece757082f2aLennart Poetteringpkgconfigdatadir=$(datadir)/pkgconfig
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpkgconfiglibdir=$(libdir)/pkgconfig
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpolkitpolicydir=$(datadir)/polkit-1/actions
9c92ce6d67f88beb31dd6555d12ae3f632218a39Lennart Poetteringbashcompletiondir=@bashcompletiondir@
9c92ce6d67f88beb31dd6555d12ae3f632218a39Lennart Poetteringrpmmacrosdir=$(sysconfdir)/rpm
9c92ce6d67f88beb31dd6555d12ae3f632218a39Lennart Poetteringsysvinitdir=$(SYSTEM_SYSVINIT_PATH)
9c92ce6d67f88beb31dd6555d12ae3f632218a39Lennart Poetteringsysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
9c92ce6d67f88beb31dd6555d12ae3f632218a39Lennart Poetteringvarlogdir=$(localstatedir)/log
9c92ce6d67f88beb31dd6555d12ae3f632218a39Lennart Poetteringsystemdstatedir=$(localstatedir)/lib/systemd
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringcatalogstatedir=$(systemdstatedir)/catalog
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Our own, non-special dirs
8ac4e9e1e54397f6d1745c2a7a806132418c7da2Lennart Poetteringpkgsysconfdir=$(sysconfdir)/systemd
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringuserunitdir=$(prefix)/lib/systemd/user
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringuserpresetdir=$(prefix)/lib/systemd/user-preset
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringtmpfilesdir=$(prefix)/lib/tmpfiles.d
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringsysctldir=$(prefix)/lib/sysctl.d
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringusergeneratordir=$(prefix)/lib/systemd/user-generators
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringpkgincludedir=$(includedir)/systemd
2e276efc7b0398a3086629a52970bdd4ab7252f9Zbigniew Jędrzejewski-Szmeksystemgeneratordir=$(rootlibexecdir)/system-generators
2001c80560e3dae69e14fd994d3978c187af48b8Lennart Poetteringsystemshutdowndir=$(rootlibexecdir)/system-shutdown
c0eb11cfd016381fe02875a4ef29c1ade00c94e7Lennart 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
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringudevhwdbdir=$(udevlibexecdir)/hwdb.d
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringcatalogdir=$(prefix)/lib/systemd/catalog
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringkernelinstalldir = $(prefix)/lib/kernel/install.d
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poettering# And these are the special ones for /
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poetteringrootprefix=@rootprefix@
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poetteringrootbindir=$(rootprefix)/bin
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poetteringrootlibexecdir=$(rootprefix)/lib/systemd
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart PoetteringCLEANFILES = $(BUILT_SOURCES)
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart PoetteringDISTCLEANFILES =
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart PoetteringBUILT_SOURCES =
946c70944ebdf428ffeb9991a7449edbd4011461Zbigniew Jędrzejewski-SzmekINSTALL_EXEC_HOOKS =
946c70944ebdf428ffeb9991a7449edbd4011461Zbigniew Jędrzejewski-SzmekUNINSTALL_EXEC_HOOKS =
946c70944ebdf428ffeb9991a7449edbd4011461Zbigniew Jędrzejewski-SzmekINSTALL_DATA_HOOKS =
946c70944ebdf428ffeb9991a7449edbd4011461Zbigniew Jędrzejewski-SzmekUNINSTALL_DATA_HOOKS =
946c70944ebdf428ffeb9991a7449edbd4011461Zbigniew Jędrzejewski-SzmekDISTCLEAN_LOCAL_HOOKS =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-SzmekCLEAN_LOCAL_HOOKS =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekpkginclude_HEADERS =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmeknoinst_LTLIBRARIES =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmeklib_LTLIBRARIES =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekinclude_HEADERS =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekpkgconfiglib_DATA =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekpolkitpolicy_in_in_files =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekpolkitpolicy_in_files =
0dae31d468b1a0e22d98921f7b0dbd92fd217167Zbigniew Jędrzejewski-Szmekpolkitpolicy_files =
42cc2eebb01056beb7acd3ecfe8e533558237f84Lennart Poetteringdist_udevrules_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersennodist_udevrules_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersendist_pkgsysconf_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersendist_pkgdata_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersendist_dbuspolicy_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersendbusinterface_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersendist_dbussystemservice_DATA =
abf126a355e2f2b62b6c51ab3bb37895d1e3eee7Tom Gundersencheck_PROGRAMS =
42cc2eebb01056beb7acd3ecfe8e533558237f84Lennart Poetteringif ENABLE_TESTS
42cc2eebb01056beb7acd3ecfe8e533558237f84Lennart Poetteringnoinst_PROGRAMS = $(manual_tests) $(tests)
549c1a2564b56f2bb38f1203d59c747ea15817f3Tom GundersenTESTS = $(tests)
42cc2eebb01056beb7acd3ecfe8e533558237f84Lennart Poetteringnoinst_PROGRAMS =
8db0d2f5c37e7e8f5bfce016cfdad7947a3ea939Zbigniew Jędrzejewski-Szmekudevlibexec_PROGRAMS =
8db0d2f5c37e7e8f5bfce016cfdad7947a3ea939Zbigniew Jędrzejewski-Szmek -include $(top_builddir)/config.h \
8db0d2f5c37e7e8f5bfce016cfdad7947a3ea939Zbigniew Jędrzejewski-Szmek -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
8db0d2f5c37e7e8f5bfce016cfdad7947a3ea939Zbigniew Jędrzejewski-Szmek -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
8db0d2f5c37e7e8f5bfce016cfdad7947a3ea939Zbigniew Jędrzejewski-Szmek -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
151226ab4bf276d60d51864330a99f886b923697Zbigniew Jędrzejewski-Szmek -DROOTPREFIX=\"$(rootprefix)\" \
50f1e641a93cacfc693b0c3d300bee5df0c8c460Tom Gundersen -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
9ead3519c54b6d1b79b35541873b5cf7c8b3a7d3Lennart Poettering -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
50f1e641a93cacfc693b0c3d300bee5df0c8c460Tom Gundersen -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
50f1e641a93cacfc693b0c3d300bee5df0c8c460Tom Gundersen -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
50f1e641a93cacfc693b0c3d300bee5df0c8c460Tom Gundersen -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
50f1e641a93cacfc693b0c3d300bee5df0c8c460Tom Gundersen -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -DX_SERVER=\"$(bindir)/X\" \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -DQUOTACHECK=\"$(QUOTACHECK)\" \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -I $(top_srcdir)/src \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -I $(top_srcdir)/src/shared \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -I $(top_srcdir)/src/login \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -I $(top_srcdir)/src/journal \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -I $(top_srcdir)/src/systemd \
5d45a8808431987c370706d365fb0cc95cf03d52Tom Gundersen -I $(top_builddir)/src/core \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/core \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/libudev \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering -I $(top_srcdir)/src/udev \
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering $(OUR_CPPFLAGS)
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringAM_CFLAGS = $(OUR_CFLAGS)
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringAM_LDFLAGS = $(OUR_LDFLAGS)
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering# ------------------------------------------------------------------------------
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poetteringdefine move-to-rootlibdir
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering if test "$(libdir)" != "$(rootlibdir)"; then \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
7c1ff6ac3d9e3acae1d601d40728cf7ccc9a7730Tom Gundersen so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
58db254ade4fb2ef77de68f28c4f13814819f6a1Lennart Poettering $(LN_S) -f $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
36d9205d669bcdcb04fa730d1f3549a9fc9a9001Tom Gundersen mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
801ad6a6a9cd8fbd58b9f9c27f20dbb3c87d47ddLennart PoetteringRUNLEVEL1_TARGET_WANTS =
801ad6a6a9cd8fbd58b9f9c27f20dbb3c87d47ddLennart PoetteringRUNLEVEL2_TARGET_WANTS =
2d4c5cbc0ed3ccb09dc086a040088b454c22c644Lennart PoetteringRUNLEVEL3_TARGET_WANTS =
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringRUNLEVEL4_TARGET_WANTS =
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart PoetteringRUNLEVEL5_TARGET_WANTS =
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringSHUTDOWN_TARGET_WANTS =
8bf52d3d17d364438191077d0750b8b80b5dc53aLennart PoetteringLOCAL_FS_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringMULTI_USER_TARGET_WANTS =
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringSYSINIT_TARGET_WANTS =
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart PoetteringSOCKETS_TARGET_WANTS =
78c6a153c47f8d597c827bdcaf8c4e42ac87f738Lennart PoetteringTIMERS_TARGET_WANTS =
2d4c5cbc0ed3ccb09dc086a040088b454c22c644Lennart PoetteringSYSTEM_UNIT_ALIASES =
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart PoetteringUSER_UNIT_ALIASES =
2001c80560e3dae69e14fd994d3978c187af48b8Lennart PoetteringGENERAL_ALIASES =
2001c80560e3dae69e14fd994d3978c187af48b8Lennart Poetteringinstall-target-wants-hook:
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && $(add-wants)
2d4c5cbc0ed3ccb09dc086a040088b454c22c644Lennart Poettering what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && $(add-wants)
d5099efc47d4e6ac60816b5381a5f607ab03f06eMichal Schmidt what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && $(add-wants)
d5099efc47d4e6ac60816b5381a5f607ab03f06eMichal Schmidt what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && $(add-wants)
what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && $(add-wants)
what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && $(add-wants)
what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && $(add-wants)
what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && $(add-wants)
what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && $(add-wants)
what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && $(add-wants)
what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && $(add-wants)
dir=$(DESTDIR)$(systemunitdir)/$$wants.wants && \
units/getty@.service \
units/serial-getty@.service \
units/user@.service \
units/systemd-fsck@.service \
units/systemd-nspawn@.service
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 ";" }' < $< > $@
src/core/syscall-list.txt: Makefile
$(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); 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 "const char* const syscall_names[] = { "} { printf "[SYSCALL_TO_INDEX(__NR_%s)] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
org.freedesktop.systemd1.%.xml: systemd
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
-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/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
rules/99-systemd.rules \
rules/42-usb-hid-pm.rules \
rules/50-udev-default.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-name-slot.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-acpi-vendor.hwdb \
hwdb/20-OUI.hwdb
rules/99-systemd.rules.in \
rules/99-systemd.rules \
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.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/gdev \
-I$(top_builddir)/src/gdev
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*
$(AM_CPPFLAGS) -I src/udev/keymap
udevkeymapforcereldir = $(udevlibexecdir)/keymaps/force-release
src/udev/keymap/keys.txt: Makefile
$(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 $$1 ", " $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
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*
$(prefix)/lib/binfmt.d \
$(sysconfdir)/binfmt.d
org.freedesktop.hostname1.xml: systemd-hostnamed
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
org.freedesktop.locale1.xml: systemd-localed
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
update-kbd-model-map: src/locale/generate-kbd-model-map
$PYTHON $< > src/locale/kbd-model-map
org.freedesktop.timedate1.xml: systemd-timedated
$(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
$(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
$(prefix)/lib/systemd/ntp-units.d \
$(sysconfdir)/systemd/ntp-units.d
-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/
'|RANDOM_SEED=$(localstatedir)/lib/random-seed|' \
%.pc: %.pc.in Makefile
%.rules: %.rules.in Makefile
%.sh: %.sh.in Makefile
units/user/%: units/%.m4 Makefile
$(polkitpolicy_in_in_files:.policy.in.in=.policy)
man/custom-entities.ent: Makefile
--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 $<
DBUS_PREPROCESS = $(CPP) -P $(CFLAGS) $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
$(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
$(sysconfdir)/tmpfiles.d \
$(prefix)/lib/modules-load.d \
$(sysconfdir)/modules-load.d \
$(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/