Makefile.am revision 996d16975b4d802335188a3be2bbc3635c1287f3
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# -*- Mode: makefile; indent-tabs-mode: t -*-
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# This file is part of systemd.
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Copyright 2010-2012 Lennart Poettering
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Copyright 2010-2012 Kay Sievers
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Copyright 2013 Zbigniew Jędrzejewski-Szmek
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Copyright 2013 David Strauss
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# systemd is free software; you can redistribute it and/or modify it
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# under the terms of the GNU Lesser General Public License as published by
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# the Free Software Foundation; either version 2.1 of the License, or
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# (at your option) any later version.
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# systemd is distributed in the hope that it will be useful, but
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# WITHOUT ANY WARRANTY; without even the implied warranty of
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Lesser General Public License for more details.
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# You should have received a copy of the GNU Lesser General Public License
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# along with systemd; If not, see <http://www.gnu.org/licenses/>.
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringAM_MAKEFLAGS = --no-print-directory
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringAUTOMAKE_OPTIONS = color-tests parallel-tests
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringGCC_COLORS ?= 'ooh, shiny!'
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringexport GCC_COLORS
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering# remove targets if the command fails
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering.DELETE_ON_ERROR:
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# keep intermediate files
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering.PRECIOUS: $(TEST_SUITE_LOG) Makefile
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom GundersenLIBUDEV_CURRENT=7
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom GundersenLIBUDEV_REVISION=4
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringLIBSYSTEMD_CURRENT=11
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_REVISION=0
9d12709626bccc0cae677a7035f62efe6aabb4abLennart PoetteringLIBSYSTEMD_AGE=11
023fb90b83871a15ef7f57e8cd126e3426f99b9eLennart Poettering# The following four libraries only exist for compatibility reasons,
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering# their version info should not be bumped anymore
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringLIBSYSTEMD_LOGIN_CURRENT=9
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart PoetteringLIBSYSTEMD_LOGIN_REVISION=3
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_LOGIN_AGE=9
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_DAEMON_CURRENT=0
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_DAEMON_REVISION=12
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_DAEMON_AGE=0
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_ID128_CURRENT=0
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_ID128_REVISION=28
d21ed1ead18d16d35c30299a69d3366847f8a039Lennart PoetteringLIBSYSTEMD_ID128_AGE=0
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringLIBSYSTEMD_JOURNAL_CURRENT=11
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=5
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringLIBSYSTEMD_JOURNAL_AGE=11
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Dirs of external packages
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdbuspolicydir=@dbuspolicydir@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdbussessionservicedir=@dbussessionservicedir@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdbussystemservicedir=@dbussystemservicedir@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringpamlibdir=@pamlibdir@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringpamconfdir=@pamconfdir@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringpkgconfigdatadir=$(datadir)/pkgconfig
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringpkgconfiglibdir=$(libdir)/pkgconfig
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenpolkitpolicydir=$(datadir)/polkit-1/actions
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenbashcompletiondir=@bashcompletiondir@
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenzshcompletiondir=@zshcompletiondir@
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenrpmmacrosdir=$(prefix)/lib/rpm/macros.d
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsysvinitdir=$(SYSTEM_SYSVINIT_PATH)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringvarlogdir=$(localstatedir)/log
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsystemdstatedir=$(localstatedir)/lib/systemd
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringcatalogstatedir=$(systemdstatedir)/catalog
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenxinitrcdir=$(sysconfdir)/X11/xinit/xinitrc.d
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen# Our own, non-special dirs
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenpkgsysconfdir=$(sysconfdir)/systemd
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenuserunitdir=$(prefix)/lib/systemd/user
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenuserpresetdir=$(prefix)/lib/systemd/user-preset
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersentmpfilesdir=$(prefix)/lib/tmpfiles.d
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersensysusersdir=$(prefix)/lib/sysusers.d
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersensysctldir=$(prefix)/lib/sysctl.d
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenbinfmtdir=$(prefix)/lib/binfmt.d
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenmodulesloaddir=$(prefix)/lib/modules-load.d
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringnetworkdir=$(rootprefix)/lib/systemd/network
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringpkgincludedir=$(includedir)/systemd
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsystemgeneratordir=$(rootlibexecdir)/system-generators
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel Andersenusergeneratordir=$(prefix)/lib/systemd/user-generators
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel Andersensystemshutdowndir=$(rootlibexecdir)/system-shutdown
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsystemsleepdir=$(rootlibexecdir)/system-sleep
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersensystemunitdir=$(rootprefix)/lib/systemd/system
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersensystempresetdir=$(rootprefix)/lib/systemd/system-preset
5b30bef856e89a571df57b7b953e9a1409d9acedLennart Poetteringudevlibexecdir=$(rootprefix)/lib/udev
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringudevhomedir=$(udevlibexecdir)
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenudevrulesdir=$(udevlibexecdir)/rules.d
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringudevhwdbdir=$(udevlibexecdir)/hwdb.d
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringcatalogdir=$(prefix)/lib/systemd/catalog
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringkernelinstalldir = $(prefix)/lib/kernel/install.d
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringfactory_etcdir = $(datadir)/factory/etc
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenfactory_pamdir = $(datadir)/factory/etc/pam.d
5b30bef856e89a571df57b7b953e9a1409d9acedLennart Poetteringbootlibdir = $(prefix)/lib/systemd/boot/efi
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen# And these are the special ones for /
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenrootprefix=@rootprefix@
5b30bef856e89a571df57b7b953e9a1409d9acedLennart Poetteringrootbindir=$(rootprefix)/bin
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringrootlibexecdir=$(rootprefix)/lib/systemd
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringBUILT_SOURCES =
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringINSTALL_EXEC_HOOKS =
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringUNINSTALL_EXEC_HOOKS =
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringINSTALL_DATA_HOOKS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringUNINSTALL_DATA_HOOKS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringDISTCLEAN_LOCAL_HOOKS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringCLEAN_LOCAL_HOOKS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringpkginclude_HEADERS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringnoinst_LTLIBRARIES =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringlib_LTLIBRARIES =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringinclude_HEADERS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringpkgconfigdata_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringpkgconfiglib_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringpolkitpolicy_in_in_files =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringpolkitpolicy_in_files =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringpolkitpolicy_files =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringdist_udevrules_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringnodist_udevrules_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringdist_pkgsysconf_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringnodist_pkgsysconf_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringdist_dbuspolicy_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringdist_dbussystemservice_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringdist_systemunit_DATA_busnames =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringdist_sysusers_DATA =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringcheck_PROGRAMS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringTEST_EXTENSIONS = .py
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringPY_LOG_COMPILER = $(PYTHON)
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringif ENABLE_TESTS
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringnoinst_PROGRAMS = $(manual_tests) $(tests)
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringTESTS = $(tests)
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringnoinst_PROGRAMS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringudevlibexec_PROGRAMS =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringgperf_gperf_sources =
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringin_files = $(filter %.in,$(EXTRA_DIST))
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringin_in_files = $(filter %.in.in, $(in_files))
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringm4_files = $(filter %.m4,$(EXTRA_DIST) $(in_files:.m4.in=.m4))
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringCLEANFILES = $(BUILT_SOURCES) \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(pkgconfigdata_DATA) \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(pkgconfiglib_DATA) \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(in_files:.in=) $(in_in_files:.in.in=) \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(m4_files:.m4=)
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering.PHONY: $(INSTALL_EXEC_HOOKS) $(UNINSTALL_EXEC_HOOKS) \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS) \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(DISTCLEAN_LOCAL_HOOKS) $(CLEAN_LOCAL_HOOKS)
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart PoetteringAM_CPPFLAGS = \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -include $(top_builddir)/config.h \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DCERTIFICATE_ROOT=\"$(CERTIFICATEROOT)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_FSCK_PATH=\"$(rootlibexecdir)/systemd-fsck\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DROOTPREFIX=\"$(rootprefix)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DSYSTEMD_LANGUAGE_FALLBACK_MAP=\"$(pkgdatadir)/language-fallback-map\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DQUOTACHECK=\"$(QUOTACHECK)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DKEXEC=\"$(KEXEC)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DMOUNT_PATH=\"$(MOUNT_PATH)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DUMOUNT_PATH=\"$(UMOUNT_PATH)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DLIBDIR=\"$(libdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DROOTLIBDIR=\"$(rootlibdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -DTEST_DIR=\"$(abs_top_srcdir)/test\" \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -I $(top_srcdir)/src \
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering -I $(top_builddir)/src/basic \
89f7c8465cd1ab37347dd0c15920bce31e8225dfLennart Poettering -I $(top_srcdir)/src/basic \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen -I $(top_srcdir)/src/shared \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen -I $(top_builddir)/src/shared \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/network \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/login \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/journal \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_builddir)/src/journal \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/timedate \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/timesync \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/nspawn \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/resolve \
d21ed1ead18d16d35c30299a69d3366847f8a039Lennart Poettering -I $(top_builddir)/src/resolve \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/systemd \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_builddir)/src/core \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/core \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/libudev \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/udev \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/udev/net \
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering -I $(top_builddir)/src/udev \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/libsystemd/sd-event \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/libsystemd/sd-login \
89f7c8465cd1ab37347dd0c15920bce31e8225dfLennart Poettering -I $(top_srcdir)/src/libsystemd/sd-netlink \
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering -I $(top_srcdir)/src/libsystemd/sd-network \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering -I $(top_srcdir)/src/libsystemd/sd-hwdb \
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering -I $(top_srcdir)/src/libsystemd-network \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering $(OUR_CPPFLAGS)
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringAM_CFLAGS = $(OUR_CFLAGS)
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringAM_LDFLAGS = $(OUR_LDFLAGS)
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering# ------------------------------------------------------------------------------
5b30bef856e89a571df57b7b953e9a1409d9acedLennart Poetteringdefine move-to-rootlibdir
5b30bef856e89a571df57b7b953e9a1409d9acedLennart Poettering if test "$(libdir)" != "$(rootlibdir)"; then \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart Poettering $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
9d12709626bccc0cae677a7035f62efe6aabb4abLennart Poettering so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
9d12709626bccc0cae677a7035f62efe6aabb4abLennart Poettering rm -f $(DESTDIR)$(libdir)/$$libname && \
9d12709626bccc0cae677a7035f62efe6aabb4abLennart Poettering $(LN_S) --relative -f $(DESTDIR)$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
9d12709626bccc0cae677a7035f62efe6aabb4abLennart Poettering mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringSHUTDOWN_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringLOCAL_FS_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringMULTI_USER_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringGRAPHICAL_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringRESCUE_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringSYSINIT_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringSOCKETS_TARGET_WANTS =
9d12709626bccc0cae677a7035f62efe6aabb4abLennart PoetteringBUSNAMES_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringTIMERS_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringUSER_SOCKETS_TARGET_WANTS =
aa1936ea1a89c2bb968ba33e3274898a4eeae771Lennart PoetteringUSER_DEFAULT_TARGET_WANTS =
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart PoetteringUSER_BUSNAMES_TARGET_WANTS =
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart PoetteringSYSTEM_UNIT_ALIASES =
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart PoetteringUSER_UNIT_ALIASES =
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart PoetteringGENERAL_ALIASES =
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringinstall-target-wants-hook:
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(GRAPHICAL_TARGET_WANTS)" && wants=graphical.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(RESCUE_TARGET_WANTS)" && wants=rescue.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(SLICES_TARGET_WANTS)" && wants=slices.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(USER_SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(userunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(USER_DEFAULT_TARGET_WANTS)" && wants=default.target && dir=$(userunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringinstall-busnames-target-wants-hook:
0dd25fb9f005d8ab7ac4bc10a609d00569f8c56aLennart Poettering what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering what="$(USER_BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(userunitdir) && $(add-wants)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringdefine add-wants
0dd25fb9f005d8ab7ac4bc10a609d00569f8c56aLennart Poettering [ -z "$$what" ] || ( \
0dd25fb9f005d8ab7ac4bc10a609d00569f8c56aLennart Poettering dir=$(DESTDIR)$$dir/$$wants.wants && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering $(MKDIR_P) -m 0755 $$dir && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering rm -f $$what && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringinstall-directories-hook:
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringinstall-aliases-hook:
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering set -- $(SYSTEM_UNIT_ALIASES) && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering dir=$(systemunitdir) && $(install-aliases)
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering set -- $(USER_UNIT_ALIASES) && \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering dir=$(userunitdir) && $(install-relative-aliases)
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering set -- $(GENERAL_ALIASES) && \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering dir= && $(install-relative-aliases)
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringdefine install-aliases
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering while [ -n "$$1" ]; do \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering rm -f $(DESTDIR)$$dir/$$2 && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering shift 2 || exit $$?; \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringdefine install-relative-aliases
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering while [ -n "$$1" ]; do \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering rm -f $(DESTDIR)$$dir/$$2 && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering $(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poettering shift 2 || exit $$?; \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poetteringinstall-touch-usr-hook:
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering touch -c $(DESTDIR)/$(prefix)
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringINSTALL_EXEC_HOOKS += \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering install-target-wants-hook \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering install-directories-hook \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering install-aliases-hook \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering install-touch-usr-hook
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringINSTALL_EXEC_HOOKS += \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering install-busnames-target-wants-hook
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering# ------------------------------------------------------------------------------
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_M4 = $(AM_V_M4_$(V))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_M4_0 = @echo " M4 " $@;
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_XSLT = $(AM_V_XSLT_$(V))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_XSLT_0 = @echo " XSLT " $@;
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_GPERF = $(AM_V_GPERF_$(V))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_GPERF_0 = @echo " GPERF " $@;
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_LN = $(AM_V_LN_$(V))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_LN_0 = @echo " LN " $@;
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_RM = $(AM_V_RM_$(V))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY))
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringAM_V_RM_0 = @echo " RM " $@;
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering# ------------------------------------------------------------------------------
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poetteringrootbin_PROGRAMS = \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering systemd-notify \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering systemd-ask-password \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering systemd-tty-ask-password-agent \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering systemd-machine-id-setup \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering systemd-escape
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringbin_PROGRAMS = \
9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75Kay Sievers systemd-cgls \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-cgtop \
9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75Kay Sievers systemd-nspawn \
9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75Kay Sievers systemd-detect-virt \
89f7c8465cd1ab37347dd0c15920bce31e8225dfLennart Poettering systemd-delta \
9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75Kay Sievers systemd-analyze \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-stdio-bridge \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_bin_SCRIPTS = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_kernelinstall_SCRIPTS = \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering src/kernel-install/90-loaderentry.install
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringrootlibexec_PROGRAMS = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-cgroups-agent \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-initctl \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-shutdown \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-remount-fs \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-reply-password \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-fsck \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-machine-id-commit \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-ac-power \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-sysctl \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-sleep \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-bus-proxyd \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-socket-proxyd \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-update-done
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringrootlibexec_PROGRAMS += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-update-utmp
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsystemgenerator_PROGRAMS = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-getty-generator \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-fstab-generator \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-system-update-generator \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-debug-generator
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringif ENABLE_BASH_COMPLETION
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_bashcompletion_DATA = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering shell-completion/bash/systemd-detect-virt \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poetteringnodist_bashcompletion_DATA = \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poetteringif ENABLE_ZSH_COMPLETION
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poetteringdist_zshcompletion_DATA = \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering shell-completion/zsh/_systemd-analyze \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poettering shell-completion/zsh/_sd_hosts_or_user_at_host \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart Poetteringnodist_zshcompletion_DATA = \
f48e75cb9a8112d35855c44a156934f2ee0edb2eLennart PoetteringEXTRA_DIST += \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart PoetteringCLEANFILES += \
717603e391b52983ca1fd218e7333a1b9dfc5c05Lennart Poettering $(nodist_bashcompletion_DATA) \
89f7c8465cd1ab37347dd0c15920bce31e8225dfLennart Poettering $(nodist_zshcompletion_DATA)
89f7c8465cd1ab37347dd0c15920bce31e8225dfLennart Poetteringdist_sysctl_DATA = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_systemunit_DATA = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering units/systemd-ask-password-console.path \
89f7c8465cd1ab37347dd0c15920bce31e8225dfLennart Poetteringdist_systemunit_DATA += \
9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75Kay Sievers $(dist_systemunit_DATA_busnames)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_systemunit_DATA_busnames += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringnodist_systemunit_DATA = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering units/initrd-udevadm-cleanup-db.service \
8c841f21f5042b11acc91cc1b039cb162cbbe8f4Djalal Harouninodist_systemunit_DATA += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering units/systemd-update-utmp-runlevel.service
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_userunit_DATA = \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersennodist_userunit_DATA = \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersendist_systempreset_DATA = \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom GundersenEXTRA_DIST += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering units/systemd-machine-id-commit.service.in \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering units/initrd-udevadm-cleanup-db.service.in \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersenif HAVE_SYSV_COMPAT
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersennodist_systemunit_DATA += \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersensystemgenerator_PROGRAMS += \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen systemd-sysv-generator \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering systemd-rc-local-generator
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringEXTRA_DIST += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/systemctl/systemd-sysv-install.SKELETON \
1dba654b27918c22e413ac5b3c19301f1ff86ad2Lennart Poettering# automake is broken and can't handle files with a dash in front
1dba654b27918c22e413ac5b3c19301f1ff86ad2Lennart Poettering# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728#8
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringunits-install-hook:
1dba654b27918c22e413ac5b3c19301f1ff86ad2Lennart Poettering mv $(DESTDIR)$(systemunitdir)/x-.slice $(DESTDIR)/$(systemunitdir)/-.slice
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringunits-uninstall-hook:
1dba654b27918c22e413ac5b3c19301f1ff86ad2Lennart Poettering rm -f $(DESTDIR)/$(systemunitdir)/-.slice
1dba654b27918c22e413ac5b3c19301f1ff86ad2Lennart PoetteringINSTALL_DATA_HOOKS += units-install-hook
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringUNINSTALL_DATA_HOOKS += units-uninstall-hook
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_doc_DATA = \
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart Poettering CODING_STYLE \
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart Poettering DISTRO_PORTING \
1dba654b27918c22e413ac5b3c19301f1ff86ad2Lennart Poettering src/libsystemd/sd-bus/GVARIANT-SERIALIZATION
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart PoetteringEXTRA_DIST += \
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart Poettering@INTLTOOL_POLICY_RULE@
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart Poettering# ------------------------------------------------------------------------------
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart PoetteringMANPAGES_ALIAS =
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering.PHONY: man update-man-list
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringman: $(MANPAGES) $(MANPAGES_ALIAS) $(HTML_FILES) $(HTML_ALIAS)
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering ${XML_FILES:.xml=.html}
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering ${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringif ENABLE_MANPAGES
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(MANPAGES_ALIAS)
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringnoinst_DATA += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(HTML_FILES) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringCLEANFILES += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(HTML_FILES) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_LN)$(LN_S) -f ../../man $@
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringnoinst_DATA += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringCLEANFILES += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_LN)$(LN_S) -f systemd.index.html $@
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringnoinst_DATA += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringCLEANFILES += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringXML_GLOB = $(wildcard $(top_srcdir)/man/*.xml)
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringNON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES))
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart PoetteringSOURCE_XML_FILES = ${patsubst %,$(top_srcdir)/%,$(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))}
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering# This target should only be run manually. It recreates Makefile-man.am
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering# file in the source directory based on all man/*.xml files. Run it after
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering# adding, removing, or changing the conditional in a man page.
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringupdate-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering @echo "Makefile-man.am has been regenerated"
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringman/systemd.index.xml: $(top_srcdir)/tools/make-man-index.py $(NON_INDEX_XML_FILES)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringman/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py man/custom-entities.ent $(SOURCE_XML_FILES)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_GEN)$(PYTHON) $< $@ $(SOURCE_XML_FILES)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart PoetteringCLEANFILES += \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart PoetteringEXTRA_DIST += \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart PoetteringEXTRA_DIST += \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(filter-out man/systemd.directives.xml man/systemd.index.xml,$(XML_FILES)) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering# ------------------------------------------------------------------------------
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringnoinst_LTLIBRARIES += \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringlibbasic_la_SOURCES = \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringnodist_libbasic_la_SOURCES = \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringlibbasic_la_CFLAGS = \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_CFLAGS) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(SELINUX_CFLAGS) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(CAP_CFLAGS) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringlibbasic_la_LIBADD = \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(SELINUX_LIBS) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering# -----------------------------------------------------------------------------
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringnoinst_LTLIBRARIES += \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringlibshared_la_SOURCES = \
34a6778fb9d1065f3fbb8e2243b9f0f25d1d18f1Zbigniew Jędrzejewski-Szmeklibshared_la_SOURCES += \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringif HAVE_SECCOMP
f69157a66ffe413b4cf8bd79057487fc8921e78bThomas Hindoe Paaboel Andersenlibshared_la_SOURCES += \
bc9fd78c7bfc39881e19457e476393635f8b0442Lennart Poetteringlibshared_la_SOURCES += \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringlibshared_la_CFLAGS = \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(AM_CFLAGS) \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(ACL_CFLAGS) \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(LIBIDN_CFLAGS) \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(SECCOMP_CFLAGS)
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringlibshared_la_LIBADD = \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(LIBIDN_LIBS) \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(SECCOMP_LIBS)
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering# -----------------------------------------------------------------------------
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringif HAVE_LIBIPTC
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringnoinst_LTLIBRARIES += \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringlibfirewall_la_SOURCES = \
bc9fd78c7bfc39881e19457e476393635f8b0442Lennart Poetteringlibfirewall_la_CFLAGS = \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(AM_CFLAGS) \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(LIBIPTC_CFLAGS)
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringlibfirewall_la_LIBADD = \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering $(LIBIPTC_LIBS)
fbadf04511389c4a0687ba5e9baf0ecebdbb07f1Lennart Poettering# -----------------------------------------------------------------------------
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringif ENABLE_LDCONFIG
878cd7e95ca303f9851d227a22d2022bd49944b0Lennart Poetteringdist_systemunit_DATA += \
fbadf04511389c4a0687ba5e9baf0ecebdbb07f1Lennart PoetteringSYSINIT_TARGET_WANTS += \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering# ------------------------------------------------------------------------------
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringnoinst_LTLIBRARIES += \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringlibcore_la_SOURCES = \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringnodist_libcore_la_SOURCES = \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringlibcore_la_CFLAGS = \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_CFLAGS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(PAM_CFLAGS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AUDIT_CFLAGS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(KMOD_CFLAGS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(APPARMOR_CFLAGS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(MOUNT_CFLAGS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(SECCOMP_CFLAGS)
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringlibcore_la_LIBADD = \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AUDIT_LIBS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(KMOD_LIBS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(APPARMOR_LIBS) \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poetteringsrc/core/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poettering $(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 ";" }' < $< > $@
cd61c3bfd718fb398cc53ced906266a9297782c9Lennart Poetteringgperf_gperf_m4_sources = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringgperf_txt_sources = \
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel AndersenBUILT_SOURCES += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(gperf_gperf_m4_sources:-gperf.gperf.m4=-gperf.c) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(gperf_gperf_m4_sources:-gperf.gperf.m4=-gperf-nulstr.c) \
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(gperf_gperf_sources:-gperf.gperf=-gperf.c) \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(gperf_txt_sources:-list.txt=-from-name.h) \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(gperf_txt_sources:-list.txt=-to-name.h)
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringCLEANFILES += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(gperf_txt_sources:-list.txt=-from-name.gperf)
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringDISTCLEANFILES = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(gperf_txt_sources)
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringEXTRA_DIST += \
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel Andersen $(gperf_gperf_m4_sources) \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(gperf_gperf_sources)
1ee306e1248866617c96ed9f4263f375588ad838Lennart PoetteringCLEANFILES += \
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering $(gperf_txt_sources)
eb9da376d76b48585b3b63b4f91903b54f7abd36Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct $(notdir $*)_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/basic/errno-to-name.h: src/basic/errno-list.txt
601185b43da638b1c74153deae01dbd518680889Zbigniew Jędrzejewski-Szmek $(AM_V_at)$(MKDIR_P) $(dir $@)
601185b43da638b1c74153deae01dbd518680889Zbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} !/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(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; }' >$@
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poetteringsrc/basic/af-to-name.h: src/basic/af-list.txt
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering $(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 "};"}' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include net/if_arp.h - </dev/null | $(AWK) '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $$2; }' | sed -e 's/ARPHRD_//' >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/basic/arphrd-to-name.h: src/basic/arphrd-list.txt
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const arphrd_names[] = { "} !/CISCO/ { printf "[ARPHRD_%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/basic/arphrd-from-name.gperf: src/basic/arphrd-list.txt
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct arphrd_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, ARPHRD_%s\n", $$1, $$1 }' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/capability.h -include missing.h - </dev/null | $(AWK) '/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $$2; }' | grep -v CAP_LAST_CAP >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/basic/cap-to-name.h: src/basic/cap-list.txt
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel Andersen $(AM_V_at)$(MKDIR_P) $(dir $@)
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel Andersen $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const capability_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, tolower($$1) } END{print "};"}' <$< >$@
e56056e93d33619a3acf13e483900b4f8938228fThomas Hindoe Paaboel Andersensrc/basic/cap-from-name.gperf: src/basic/cap-list.txt
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct capability_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/basic/cap-from-name.h: src/basic/cap-from-name.gperf
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringaudit_list_includes = -include linux/audit.h -include missing.h
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringaudit_list_includes += -include libaudit.h
d21ed1ead18d16d35c30299a69d3366847f8a039Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM $(audit_list_includes) - </dev/null | grep -vE 'AUDIT_.*(FIRST|LAST)_' | $(SED) -r -n 's/^#define\s+AUDIT_(\w+)\s+([0-9]{4})\s*$$/\1\t\2/p' | sort -k2 >$@
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poetteringsrc/journal/audit_type-to-name.h: src/journal/audit_type-list.txt
a7893c6b28772edbc7e1fea3c209caa54d465648Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
d21ed1ead18d16d35c30299a69d3366847f8a039Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *audit_type_to_string(int type) {\n\tswitch(type) {" } {printf " case AUDIT_%s: return \"%s\";\n", $$1, $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsrc/resolve/dns_type-list.txt: src/resolve/dns-type.h
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_GEN)$(SED) -n -r 's/.* DNS_TYPE_(\w+).*/\1/p' <$< >$@
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringsrc/resolve/dns_type-to-name.h: src/resolve/dns_type-list.txt
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *dns_type_to_string(int type) {\n\tswitch(type) {" } {printf " case DNS_TYPE_%s: return ", $$1; sub(/_/, "-"); printf "\"%s\";\n", $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@
785890acf6d629ff881a1f065f431df1b7fc8c7aLennart Poetteringsrc/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct dns_type_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { s=$$1; sub(/_/, "-", s); printf "%s, ", $$s; printf "DNS_TYPE_%s\n", $$1 }' <$< >$@
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# ------------------------------------------------------------------------------
eb9da376d76b48585b3b63b4f91903b54f7abd36Lennart Poetteringsystemd_SOURCES = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsystemd_CFLAGS = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(AM_CFLAGS) \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering $(SECCOMP_CFLAGS)
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringsystemd_LDADD = \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_pkgsysconf_DATA += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_dbuspolicy_DATA += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringdist_dbussystemservice_DATA += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/core/org.freedesktop.systemd1.service
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringpolkitpolicy_in_in_files += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering src/core/org.freedesktop.systemd1.policy.in.in
923d8fd381bced1c2d90ca53d18629d61a0f454aLennart Poetteringpkgconfigdata_DATA += \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poetteringnodist_rpmmacros_DATA = \
f2cbe59e113f08549949a76ac5b9b3972df4cc30Lennart PoetteringEXTRA_DIST += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# ------------------------------------------------------------------------------
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringmanual_tests += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-loopback \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-hostname \
46e65dcc3a522b5e992e165b5e61d14254026859Lennart Poettering test-install \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-watchdog \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringif HAVE_LIBIPTC
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringmanual_tests += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-firewall-util
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poetteringmanual_tests += \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-netlink-manual
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-cgroup-mask \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-job-type \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-env-replace \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-path-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-strxcpyx \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-unit-name \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-unit-file \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-ellipsize \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-hostname-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-process-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-terminal-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-path-lookup \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-barrier \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-tmpfiles \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-namespace \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-replace-var \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-sched-prio \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-calendarspec \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-strip-tab-ansi \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-cgroup-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-fstab-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-hashmap \
84f6181c2ac99a0514ca5e0c8fc8c8e284caf789Lennart Poettering test-unaligned \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-device-nodes \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-architecture \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-socket-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-conf-files \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-conf-parser \
d21ed1ead18d16d35c30299a69d3366847f8a039Lennart Poettering test-capability \
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidt test-ratelimit \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen test-condition \
a1da85830bfaa77b9eb9c54693e5573559c97e50Tom Gundersen test-uid-range \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-bus-policy \
04d39279245834494baccfdb9349db8bf80abd13Lennart Poettering test-locale-util \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-execute \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-cap-list \
84f6181c2ac99a0514ca5e0c8fc8c8e284caf789Lennart Poettering test-af-list \
84f6181c2ac99a0514ca5e0c8fc8c8e284caf789Lennart Poettering test-arphrd-list \
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering test-dns-domain
-I$(top_srcdir)/src/bus-proxyd
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-clean.info
@echo "Coverage report generated in $(abs_builddir)/$(coverage_dir)/index.html"
shell-completion/zsh/_systemd-tmpfiles
$(sysconfdir)/tmpfiles.d
units/systemd-hibernate-resume@.service \
shell-completion/zsh/_bootctl
-I$(top_builddir) -include config.h \
-T $(EFI_LDS_DIR)/elf_$(EFI_ARCH)_efi.lds \
systemd_boot_solib = $(top_builddir)/src/boot/efi/systemd_boot.so
$(top_builddir)/src/boot/efi/%.o: $(top_srcdir)/src/boot/efi/%.c $(addprefix $(top_srcdir)/,$(systemd_boot_headers))
@$(MKDIR_P) $(top_builddir)/src/boot/efi/
stub_solib = $(top_builddir)/src/boot/efi/stub.so
stub = linux$(EFI_MACHINE_TYPE_NAME).efi.stub
$(top_builddir)/src/boot/efi/%.o: $(top_srcdir)/src/boot/efi/%.c $(addprefix $(top_srcdir)/,$(stub_headers))
@$(MKDIR_P) $(top_builddir)/src/boot/efi/
CLEANFILES += test-efi-disk.img
$(AM_V_GEN)test/test-efi-create-disk.sh
test-efi: test-efi-disk.img
$(QEMU) -machine accel=kvm -m 1024 -bios $(QEMU_BIOS) -snapshot test-efi-disk.img
EXTRA_DIST += test/test-efi-create-disk.sh
$(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(systemgeneratordir)/systemd-dbus1-generator $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
xorg/50-systemd-user.sh
-Wl,--version-script=$(top_srcdir)/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
libname=libudev.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libudev.so*
$(sysconfdir)/udev/rules.d
network/99-default.link \
network/80-container-host0.network \
network/80-container-ve.network
rules/50-udev-default.rules \
rules/60-block.rules \
rules/60-drm.rules \
rules/60-evdev.rules \
rules/60-persistent-storage-tape.rules \
rules/60-persistent-input.rules \
rules/60-persistent-alsa.rules \
rules/60-persistent-storage.rules \
rules/60-serial.rules \
rules/64-btrfs.rules \
rules/70-mouse.rules \
rules/75-net-description.rules \
rules/78-sound-card.rules \
rules/80-net-setup-link.rules
rules/99-systemd.rules
rules/99-systemd.rules.in \
$(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/80-drivers.rules
$(sysconfdir)/udev/hwdb.d
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-evdev.hwdb \
hwdb/60-keyboard.hwdb \
hwdb/70-mouse.hwdb \
-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
rules/75-probe_mtd.rules
-$(MKDIR_P) $(DESTDIR)/var/log/journal/remote
-chown 0:0 $(DESTDIR)/var/log/journal/remote
-chmod 755 $(DESTDIR)/var/log/journal/remote
-$(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/remote
-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
shell-completion/zsh/_localectl
shell-completion/zsh/_timedatectl
$(systemunitdir)/systemd-timesyncd.service $(pkgsysconfdir)/system/sysinit.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
-Wl,--version-script=$(top_srcdir)/src/nss-mymachines/nss-mymachines.sym
-D VENDOR_KEYRING_PATH=\"$(rootlibexecdir)/import-pubring.gpg\" \
-D USER_KEYRING_PATH=\"$(pkgsysconfdir)/import-pubring.gpg\"
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service
-Wl,--version-script=$(top_srcdir)/src/nss-resolve/nss-resolve.sym
$(systemunitdir)/systemd-networkd.socket $(pkgsysconfdir)/system/sockets.target.wants/systemd-networkd.socket \
$(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
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
%.conf: %.conf.in
%.rules: %.rules.in
%.conf: %.conf.in
%.sh: %.sh.in
$(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
wget -O ma-large.txt 'https://services13.ieee.org/RST/standards-ra-web/rest/assignments/download/?registry=MA-L&format=txt' && \
wget -O ma-medium.txt 'https://services13.ieee.org/RST/standards-ra-web/rest/assignments/download/?registry=MA-M&format=txt' && \
wget -O ma-small.txt 'https://services13.ieee.org/RST/standards-ra-web/rest/assignments/download/?registry=MA-S&format=txt' && \
./ids-update.pl )
git archive --format=tar --prefix=systemd-$(VERSION)/ HEAD | gzip > systemd-$(VERSION).tar.gz
rsync -rlv --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ $(www_target)/man/
scp man/*.html gardel: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 \
gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --list-keys
gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --import -