Makefile.am revision 1c7dd82563ff2e71a067aea20d2acb2d0553644b
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# -*- Mode: makefile; indent-tabs-mode: t -*-
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek#
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# This file is part of systemd.
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek#
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# Copyright 2010-2012 Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# Copyright 2010-2012 Kay Sievers
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# Copyright 2013 Zbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# Copyright 2013 David Strauss
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek#
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# systemd is free software; you can redistribute it and/or modify it
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# under the terms of the GNU Lesser General Public License as published by
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# the Free Software Foundation; either version 2.1 of the License, or
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# (at your option) any later version.
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek#
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# systemd is distributed in the hope that it will be useful, but
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# WITHOUT ANY WARRANTY; without even the implied warranty of
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# Lesser General Public License for more details.
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek#
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# You should have received a copy of the GNU Lesser General Public License
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# along with systemd; If not, see <http://www.gnu.org/licenses/>.
24882e06c135584f16f31ba8a00fecde8b7f6fadLennart Poettering
24882e06c135584f16f31ba8a00fecde8b7f6fadLennart PoetteringACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
24882e06c135584f16f31ba8a00fecde8b7f6fadLennart PoetteringAM_MAKEFLAGS = --no-print-directory
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringAUTOMAKE_OPTIONS = color-tests parallel-tests
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringGCC_COLORS ?= 'ooh, shiny!'
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringexport GCC_COLORS
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering
24882e06c135584f16f31ba8a00fecde8b7f6fadLennart PoetteringSUBDIRS = . po
b4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123Thomas Hindoe Paaboel Andersen
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# remove targets if the command fails
74df0fca09b3c31ed19e14ba80f996fdff772417Lennart Poettering.DELETE_ON_ERROR:
74df0fca09b3c31ed19e14ba80f996fdff772417Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# keep intermediate files
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering.SECONDARY:
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ceLennart Poettering
430f0182b72373145c839dbfe99d2382855cb8f8Lennart Poettering# Keep the test-suite.log
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek.PRECIOUS: $(TEST_SUITE_LOG) Makefile
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
a09561746f15b84da9471b5c4be74e53d19e4f3fLennart PoetteringLIBUDEV_CURRENT=7
0dec689b098cf62b948d43dc78bde859665056ecTom GundersenLIBUDEV_REVISION=2
3ffd4af22052963e7a29431721ee204e634bea75Lennart PoetteringLIBUDEV_AGE=6
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering
958b66ea16deddd794b3a52643bd44633e165eadLennart PoetteringLIBGUDEV_CURRENT=2
f4f15635ec05293ffcc83a5b39f624bbabbd8fd0Lennart PoetteringLIBGUDEV_REVISION=0
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringLIBGUDEV_AGE=2
958b66ea16deddd794b3a52643bd44633e165eadLennart Poettering
afc5dbf37fd2399d37976388d9dd9ab470ecf446Lennart PoetteringLIBSYSTEMD_CURRENT=5
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringLIBSYSTEMD_REVISION=1
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringLIBSYSTEMD_AGE=5
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# The following four libraries only exist for compatibility reasons,
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# their version info should not be bumped anymore
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekLIBSYSTEMD_LOGIN_CURRENT=9
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekLIBSYSTEMD_LOGIN_REVISION=3
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringLIBSYSTEMD_LOGIN_AGE=9
3ffd4af22052963e7a29431721ee204e634bea75Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringLIBSYSTEMD_DAEMON_CURRENT=0
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringLIBSYSTEMD_DAEMON_REVISION=12
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart PoetteringLIBSYSTEMD_DAEMON_AGE=0
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering
6bedfcbb2970e06a4d3280c8fb62083d252ede73Lennart PoetteringLIBSYSTEMD_ID128_CURRENT=0
4e731273edfe852a3eee2949cd20f49fd5b4f6d7Lennart PoetteringLIBSYSTEMD_ID128_REVISION=28
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart PoetteringLIBSYSTEMD_ID128_AGE=0
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart PoetteringLIBSYSTEMD_JOURNAL_CURRENT=11
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart PoetteringLIBSYSTEMD_JOURNAL_REVISION=5
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart PoetteringLIBSYSTEMD_JOURNAL_AGE=11
8b43440b7ef4b81c69c31de7ff820dc07a780254Lennart Poettering
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering# Dirs of external packages
4a0b58c4a30ecaa61202f845ed86f75b36370cd0Lennart Poetteringdbuspolicydir=@dbuspolicydir@
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmekdbussessionservicedir=@dbussessionservicedir@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdbussystemservicedir=@dbussystemservicedir@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekpamlibdir=@pamlibdir@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekpamconfdir=@pamconfdir@
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchukpkgconfiglibdir=$(libdir)/pkgconfig
7f1ad696a273703789b624fe0b209fb63e953016Lennart Poetteringpolkitpolicydir=$(datadir)/polkit-1/actions
7f1ad696a273703789b624fe0b209fb63e953016Lennart Poetteringbashcompletiondir=@bashcompletiondir@
e150e82097211f09b911c7784a89ef9efed713caMichał Bartoszkiewiczzshcompletiondir=@zshcompletiondir@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekrpmmacrosdir=$(prefix)/lib/rpm/macros.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsysvinitdir=$(SYSTEM_SYSVINIT_PATH)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringvarlogdir=$(localstatedir)/log
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringsystemdstatedir=$(localstatedir)/lib/systemd
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringcatalogstatedir=$(systemdstatedir)/catalog
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringxinitrcdir=$(sysconfdir)/X11/xinit/xinitrc.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# Our own, non-special dirs
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringpkgsysconfdir=$(sysconfdir)/systemd
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringuserunitdir=$(prefix)/lib/systemd/user
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringuserpresetdir=$(prefix)/lib/systemd/user-preset
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtmpfilesdir=$(prefix)/lib/tmpfiles.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsysusersdir=$(prefix)/lib/sysusers.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsysctldir=$(prefix)/lib/sysctl.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringbinfmtdir=$(prefix)/lib/binfmt.d
7fd1b19bc9e9f5574f2877936b8ac267c7706947Harald Hoyermodulesloaddir=$(prefix)/lib/modules-load.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringnetworkdir=$(rootprefix)/lib/systemd/network
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringpkgincludedir=$(includedir)/systemd
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsystemgeneratordir=$(rootlibexecdir)/system-generators
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekusergeneratordir=$(prefix)/lib/systemd/user-generators
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksystemshutdowndir=$(rootlibexecdir)/system-shutdown
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsystemsleepdir=$(rootlibexecdir)/system-sleep
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsystemunitdir=$(rootprefix)/lib/systemd/system
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringsystempresetdir=$(rootprefix)/lib/systemd/system-preset
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringudevlibexecdir=$(rootprefix)/lib/udev
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekudevhomedir=$(udevlibexecdir)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringudevrulesdir=$(udevlibexecdir)/rules.d
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekudevhwdbdir=$(udevlibexecdir)/hwdb.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringcatalogdir=$(prefix)/lib/systemd/catalog
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekkernelinstalldir = $(prefix)/lib/kernel/install.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringfactory_etcdir = $(prefix)/share/factory/etc
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringfactory_pamdir = $(prefix)/share/factory/etc/pam.d
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# And these are the special ones for /
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekrootprefix=@rootprefix@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekrootbindir=$(rootprefix)/bin
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringrootlibexecdir=$(rootprefix)/lib/systemd
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringCLEANFILES = $(BUILT_SOURCES)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekDISTCLEANFILES =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekEXTRA_DIST =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringBUILT_SOURCES =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekINSTALL_EXEC_HOOKS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekUNINSTALL_EXEC_HOOKS =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringINSTALL_DATA_HOOKS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekUNINSTALL_DATA_HOOKS =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringDISTCLEAN_LOCAL_HOOKS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekCLEAN_LOCAL_HOOKS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekpkginclude_HEADERS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknoinst_LTLIBRARIES =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklib_LTLIBRARIES =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekinclude_HEADERS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknoinst_DATA =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringpkgconfiglib_DATA =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringpolkitpolicy_in_in_files =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekpolkitpolicy_in_files =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringpolkitpolicy_files =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_udevrules_DATA =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknodist_udevrules_DATA =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_pkgsysconf_DATA =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknodist_pkgsysconf_DATA =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_pkgdata_DATA =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_dbuspolicy_DATA =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_dbussystemservice_DATA =
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmekdist_systemunit_DATA_busnames =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringcheck_PROGRAMS =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringcheck_DATA =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtests=
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringmanual_tests =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringif ENABLE_TESTS
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknoinst_PROGRAMS = $(manual_tests) $(tests)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringTESTS = $(tests)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringelse
348ced909724a1331b85d57aede80a102a00e428Zbigniew Jędrzejewski-Szmeknoinst_PROGRAMS =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringTESTS =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringendif
348ced909724a1331b85d57aede80a102a00e428Zbigniew Jędrzejewski-Szmekudevlibexec_PROGRAMS =
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering.PHONY: $(INSTALL_EXEC_HOOKS) $(UNINSTALL_EXEC_HOOKS) \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering $(INSTALL_DATA_HOOKS) $(UNINSTALL_DATA_HOOKS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(DISTCLEAN_LOCAL_HOOKS) $(CLEAN_LOCAL_HOOKS)
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-SzmekAM_CPPFLAGS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -include $(top_builddir)/config.h \
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
da2e288bbc4d8cebaa1d38a80f6eec8cde3e9cceLennart Poettering -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
da2e288bbc4d8cebaa1d38a80f6eec8cde3e9cceLennart Poettering -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DCERTIFICATE_ROOT=\"$(CERTIFICATEROOT)\" \
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DROOTPREFIX=\"$(rootprefix)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DX_SERVER=\"$(bindir)/X\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DQUOTACHECK=\"$(QUOTACHECK)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DKEXEC=\"$(KEXEC)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DLIBDIR=\"$(libdir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DROOTLIBDIR=\"$(rootlibdir)\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -DTEST_DIR=\"$(abs_top_srcdir)/test\" \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_srcdir)/src \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_builddir)/src/shared \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_srcdir)/src/shared \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_srcdir)/src/network \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_srcdir)/src/login \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_srcdir)/src/journal \
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/timedate \
670b110c3b59dfa335ac43065b2038400d1d04a9Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/timesync \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering -I $(top_srcdir)/src/resolve \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_builddir)/src/resolve \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/systemd \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek -I $(top_builddir)/src/core \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/core \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libudev \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/udev \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/udev/net \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_builddir)/src/udev \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-bus \
34c10968cbe3b5591b3c0ce225b8694edd9709d0Lennart Poettering -I $(top_srcdir)/src/libsystemd/sd-event \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-rtnl \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-network \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd/sd-hwdb \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-network \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek -I $(top_srcdir)/src/libsystemd-terminal \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(OUR_CPPFLAGS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekAM_CFLAGS = $(OUR_CFLAGS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekAM_LDFLAGS = $(OUR_LDFLAGS)
ed375bebf46c1251f4baa170b39ee93761dbdb19Zbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdefine move-to-rootlibdir
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek if test "$(libdir)" != "$(rootlibdir)"; then \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek rm -f $(DESTDIR)$(libdir)/$$libname && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(LN_S) --relative -f $(DESTDIR)$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek fi
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendef
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekINSTALL_DIRS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekRUNLEVEL1_TARGET_WANTS =
f7dc3ab9f43b67abcbd34062b9352ab42debec49Lennart PoetteringRUNLEVEL2_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekRUNLEVEL3_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekRUNLEVEL4_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekRUNLEVEL5_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekSHUTDOWN_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekLOCAL_FS_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekMULTI_USER_TARGET_WANTS =
4a0b58c4a30ecaa61202f845ed86f75b36370cd0Lennart PoetteringSYSINIT_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekSOCKETS_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekBUSNAMES_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekTIMERS_TARGET_WANTS =
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-SzmekUSER_SOCKETS_TARGET_WANTS =
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-SzmekUSER_DEFAULT_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekUSER_BUSNAMES_TARGET_WANTS =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal SchmidtSYSTEM_UNIT_ALIASES =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekUSER_UNIT_ALIASES =
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal SchmidtGENERAL_ALIASES =
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekinstall-target-wants-hook:
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && dir=$(systemunitdir) && $(add-wants)
cbd671772c9ce053a7050ddd29de170eb9efac7eZbigniew Jędrzejewski-Szmek what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && dir=$(systemunitdir) && $(add-wants)
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && dir=$(systemunitdir) && $(add-wants)
4a0b58c4a30ecaa61202f845ed86f75b36370cd0Lennart Poettering what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(SLICES_TARGET_WANTS)" && wants=slices.target && dir=$(systemunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(USER_SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(userunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(USER_DEFAULT_TARGET_WANTS)" && wants=default.target && dir=$(userunitdir) && $(add-wants)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekinstall-busnames-target-wants-hook:
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants)
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering what="$(USER_BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(userunitdir) && $(add-wants)
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poetteringdefine add-wants
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering [ -z "$$what" ] || ( \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering dir=$(DESTDIR)$$dir/$$wants.wants && \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering $(MKDIR_P) -m 0755 $$dir && \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering cd $$dir && \
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek rm -f $$what && \
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmekendef
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmekinstall-directories-hook:
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmekinstall-aliases-hook:
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek set -- $(SYSTEM_UNIT_ALIASES) && \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering dir=$(systemunitdir) && $(install-aliases)
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek set -- $(USER_UNIT_ALIASES) && \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering dir=$(userunitdir) && $(install-relative-aliases)
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek set -- $(GENERAL_ALIASES) && \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek dir= && $(install-relative-aliases)
2678031a179a9b91fc799f8ef951a548c66c4b49Lennart Poettering
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmekdefine install-aliases
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek while [ -n "$$1" ]; do \
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek rm -f $(DESTDIR)$$dir/$$2 && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek shift 2 || exit $$?; \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek done
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendef
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdefine install-relative-aliases
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek while [ -n "$$1" ]; do \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering rm -f $(DESTDIR)$$dir/$$2 && \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt shift 2 || exit $$?; \
4a0b58c4a30ecaa61202f845ed86f75b36370cd0Lennart Poettering done
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmekendef
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmekinstall-touch-usr-hook:
fc55baee9964a118afbddbf82b8e667a0ad80b99Zbigniew Jędrzejewski-Szmek touch -c $(DESTDIR)/$(prefix)
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekINSTALL_EXEC_HOOKS += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek install-target-wants-hook \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek install-directories-hook \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk install-aliases-hook \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk install-touch-usr-hook
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchukif ENABLE_KDBUS
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukINSTALL_EXEC_HOOKS += \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk install-busnames-target-wants-hook
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchukendif
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk
65089b82401cd395786a7987c470056ff3f01151Lennart Poettering# ------------------------------------------------------------------------------
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_M4 = $(AM_V_M4_$(V))
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
65c1d46b0923771955519329160a1e4c7cd027b0Lennart PoetteringAM_V_M4_0 = @echo " M4 " $@;
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_XSLT = $(AM_V_XSLT_$(V))
65089b82401cd395786a7987c470056ff3f01151Lennart PoetteringAM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_XSLT_0 = @echo " XSLT " $@;
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk
f9a810bedacf1da7c505c1786a2416d592665926Lennart PoetteringAM_V_GPERF = $(AM_V_GPERF_$(V))
f9a810bedacf1da7c505c1786a2416d592665926Lennart PoetteringAM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
f9a810bedacf1da7c505c1786a2416d592665926Lennart PoetteringAM_V_GPERF_0 = @echo " GPERF " $@;
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidt
f9a810bedacf1da7c505c1786a2416d592665926Lennart PoetteringAM_V_LN = $(AM_V_LN_$(V))
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_LN_0 = @echo " LN " $@;
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk
26687bf8a907009dedcff79346860ed41511405eOleksii ShevchukAM_V_RM = $(AM_V_RM_$(V))
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart PoetteringAM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY))
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart PoetteringAM_V_RM_0 = @echo " RM " $@;
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# ------------------------------------------------------------------------------
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringrootbin_PROGRAMS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemctl \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-notify \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-ask-password \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering systemd-tty-ask-password-agent \
ea69bd41c5923f4f278a09bb7d8cb1abcfa122e1Lennart Poettering systemd-machine-id-setup \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-escape
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmek
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmekbin_PROGRAMS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-cgls \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-cgtop \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-nspawn \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-detect-virt \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-delta \
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmek systemd-analyze \
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmek systemd-run \
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmek systemd-stdio-bridge \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-path
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringdist_bin_SCRIPTS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/kernel-install/kernel-install
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringdist_kernelinstall_SCRIPTS = \
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmek src/kernel-install/50-depmod.install \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/kernel-install/90-loaderentry.install
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmek
63c8666b824e8762ffb73647e1caee165dfbc868Zbigniew Jędrzejewski-Szmekrootlibexec_PROGRAMS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-cgroups-agent \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-initctl \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-shutdownd \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-shutdown \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-remount-fs \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-reply-password \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-fsck \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-machine-id-commit \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-ac-power \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-sysctl \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-sleep \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-bus-proxyd \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-socket-proxyd \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering systemd-update-done
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_UTMP
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringrootlibexec_PROGRAMS += \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering systemd-update-utmp
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringendif
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringsystemgenerator_PROGRAMS = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering systemd-getty-generator \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering systemd-fstab-generator \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering systemd-system-update-generator \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering systemd-debug-generator
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringdist_bashcompletion_DATA = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/busctl \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/journalctl \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-analyze \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-cat \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-cgls \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-cgtop \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-delta \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-detect-virt \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-nspawn \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemd-run \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/udevadm \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/kernel-install
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringnodist_bashcompletion_DATA = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/bash/systemctl
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringdist_zshcompletion_DATA = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_journalctl \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_udevadm \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_kernel-install \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_systemd-nspawn \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_systemd-analyze \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_systemd-run \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_sd_hosts_or_user_at_host \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_sd_outputmodes \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_sd_unit_files \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_systemd-delta \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_systemd
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringnodist_zshcompletion_DATA = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering shell-completion/zsh/_systemctl
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart PoetteringEXTRA_DIST += \
8531ae707d4d0203e83304d4af948b8169a5fce1Lennart Poettering shell-completion/bash/systemctl.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek shell-completion/zsh/_systemctl.in
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekCLEANFILES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(nodist_bashcompletion_DATA) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(nodist_zshcompletion_DATA)
fa6ac76083b8ffc1309876459f54f9f0e2843731Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_sysctl_DATA = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek sysctl.d/50-default.conf
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_systemunit_DATA = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/graphical.target \
2678031a179a9b91fc799f8ef951a548c66c4b49Lennart Poettering units/multi-user.target \
2678031a179a9b91fc799f8ef951a548c66c4b49Lennart Poettering units/emergency.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sysinit.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/basic.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/getty.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/halt.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/kexec.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/local-fs.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/local-fs-pre.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/initrd.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/initrd-fs.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/initrd-root-fs.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/remote-fs.target \
fa6ac76083b8ffc1309876459f54f9f0e2843731Lennart Poettering units/remote-fs-pre.target \
fa6ac76083b8ffc1309876459f54f9f0e2843731Lennart Poettering units/network.target \
2678031a179a9b91fc799f8ef951a548c66c4b49Lennart Poettering units/network-pre.target \
2678031a179a9b91fc799f8ef951a548c66c4b49Lennart Poettering units/network-online.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/nss-lookup.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/nss-user-lookup.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/poweroff.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/reboot.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/rescue.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/rpcbind.target \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering units/time-sync.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/shutdown.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/final.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/umount.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sigpwr.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sleep.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sockets.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/timers.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/paths.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/suspend.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/swap.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/slices.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/system.slice \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/x-.slice \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-initctl.socket \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-shutdownd.socket \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering units/syslog.socket \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/dev-hugepages.mount \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/dev-mqueue.mount \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sys-kernel-config.mount \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sys-kernel-debug.mount \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sys-fs-fuse-connections.mount \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/tmp.mount \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/printer.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/sound.target \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk units/bluetooth.target \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering units/smartcard.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-ask-password-wall.path \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk units/systemd-ask-password-console.path \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-udevd-control.socket \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-udevd-kernel.socket \
8266e1c04db8cabe3c68510a0c1f07c09ecdb2e8Lennart Poettering units/system-update.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/initrd-switch-root.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/machines.target
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif ENABLE_KDBUS
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringdist_systemunit_DATA += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(dist_systemunit_DATA_busnames)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_systemunit_DATA_busnames += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/busnames.target
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknodist_systemunit_DATA = \
8266e1c04db8cabe3c68510a0c1f07c09ecdb2e8Lennart Poettering units/getty@.service \
8266e1c04db8cabe3c68510a0c1f07c09ecdb2e8Lennart Poettering units/serial-getty@.service \
8266e1c04db8cabe3c68510a0c1f07c09ecdb2e8Lennart Poettering units/console-shell.service \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering units/console-getty.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/container-getty@.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-initctl.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-shutdownd.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-remount-fs.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-ask-password-wall.service \
3b3154df7e2773332bb814e167187367a0ccae4aLennart Poettering units/systemd-ask-password-console.service \
3b3154df7e2773332bb814e167187367a0ccae4aLennart Poettering units/systemd-sysctl.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/emergency.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/rescue.service \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering units/user@.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-suspend.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-halt.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-poweroff.service \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/systemd-reboot.service \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/systemd-kexec.service \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/systemd-fsck@.service \
d378991747d67fff1d4dc39e7fb2bc8f49f1b561Mirco Tischler units/systemd-fsck-root.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-machine-id-commit.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-udevd.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-udev-trigger.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-udev-settle.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-hwdb-update.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/debug-shell.service \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/initrd-parse-etc.service \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/initrd-cleanup.service \
82499507b369fea3033a74c22813bf423301aef4Lennart Poettering units/initrd-udevadm-cleanup-db.service \
82499507b369fea3033a74c22813bf423301aef4Lennart Poettering units/initrd-switch-root.service \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/systemd-nspawn@.service \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-update-done.service
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekif HAVE_UTMP
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmeknodist_systemunit_DATA += \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/systemd-update-utmp.service \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/systemd-update-utmp-runlevel.service
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poetteringendif
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_userunit_DATA = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/user/basic.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/user/default.target \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/user/exit.target
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknodist_userunit_DATA = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/user/systemd-exit.service
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_systempreset_DATA = \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek system-preset/90-systemd.preset
c2457105d76e3daf159f554a9bafb9751b23d756Holger Hans Peter Freyther
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekEXTRA_DIST += \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek units/getty@.service.m4 \
c2457105d76e3daf159f554a9bafb9751b23d756Holger Hans Peter Freyther units/serial-getty@.service.m4 \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/console-shell.service.m4.in \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek units/console-getty.service.m4.in \
c2457105d76e3daf159f554a9bafb9751b23d756Holger Hans Peter Freyther units/container-getty@.service.m4.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/rescue.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-initctl.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-shutdownd.service.in \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering units/systemd-remount-fs.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-update-utmp.service.in \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-update-utmp-runlevel.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-ask-password-wall.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-ask-password-console.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-sysctl.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/emergency.service.in \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering units/systemd-halt.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-poweroff.service.in \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-reboot.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-kexec.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/user/systemd-exit.service.in \
9bdbc2e2ec523dbefe1c1c7e164b5544aff0b185Lukas Nykryn units/systemd-fsck@.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-fsck-root.service.in \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering units/systemd-machine-id-commit.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/user@.service.m4.in \
3a83211689bdf4ab617a4fb79e11980c50918123Shawn Landden units/debug-shell.service.in \
3a83211689bdf4ab617a4fb79e11980c50918123Shawn Landden units/systemd-suspend.service.in \
3a83211689bdf4ab617a4fb79e11980c50918123Shawn Landden units/quotaon.service.in \
3a83211689bdf4ab617a4fb79e11980c50918123Shawn Landden units/initrd-parse-etc.service.in \
3a83211689bdf4ab617a4fb79e11980c50918123Shawn Landden units/initrd-cleanup.service.in \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering units/initrd-udevadm-cleanup-db.service.in \
3a83211689bdf4ab617a4fb79e11980c50918123Shawn Landden units/initrd-switch-root.service.in \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/systemd-nspawn@.service.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/systemd-update-done.service.in
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
0a20e3c10761378869af7bbef2733e3ae879d0f1Holger Hans Peter FreytherCLEANFILES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/console-shell.service.m4 \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/console-getty.service.m4 \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek units/container-getty@.service.m4 \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering units/user@.service.m4
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_SYSV_COMPAT
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknodist_systemunit_DATA += \
7027ff61a34a12487712b382a061c654acc3a679Lennart Poettering units/rc-local.service \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek units/halt-local.service
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksystemgenerator_PROGRAMS += \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering systemd-sysv-generator \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek systemd-rc-local-generator
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poetteringendif
7027ff61a34a12487712b382a061c654acc3a679Lennart Poettering
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekEXTRA_DIST += \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek units/rc-local.service.in \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering units/halt-local.service.in
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# automake is broken and can't handle files with a dash in front
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728#8
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poetteringunits-install-hook:
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering mv $(DESTDIR)$(systemunitdir)/x-.slice $(DESTDIR)/$(systemunitdir)/-.slice
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekunits-uninstall-hook:
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering rm -f $(DESTDIR)/$(systemunitdir)/-.slice
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering
ae018d9bc900d6355dea4af05119b49c67945184Lennart PoetteringINSTALL_DATA_HOOKS += units-install-hook
ae018d9bc900d6355dea4af05119b49c67945184Lennart PoetteringUNINSTALL_DATA_HOOKS += units-uninstall-hook
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmekdist_doc_DATA = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek README \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering NEWS \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek LICENSE.LGPL2.1 \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering LICENSE.GPL2 \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering LICENSE.MIT \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering DISTRO_PORTING \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/libsystemd/sd-bus/PORTING-DBUS1 \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/libsystemd/sd-bus/DIFFERENCES \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering src/libsystemd/sd-bus/GVARIANT-SERIALIZATION
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering@INTLTOOL_POLICY_RULE@
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering# ------------------------------------------------------------------------------
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering
ae018d9bc900d6355dea4af05119b49c67945184Lennart PoetteringMANPAGES =
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekMANPAGES_ALIAS =
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poetteringinclude Makefile-man.am
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering.PHONY: man update-man-list
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poetteringman: $(MANPAGES) $(MANPAGES_ALIAS) $(HTML_FILES) $(HTML_ALIAS)
0a244b8ecb6dfcb381fe831dc2aa9bacb2c12975Lennart Poettering
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart PoetteringXML_FILES = \
0a244b8ecb6dfcb381fe831dc2aa9bacb2c12975Lennart Poettering ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
0a244b8ecb6dfcb381fe831dc2aa9bacb2c12975Lennart PoetteringHTML_FILES = \
0a244b8ecb6dfcb381fe831dc2aa9bacb2c12975Lennart Poettering ${XML_FILES:.xml=.html}
0a244b8ecb6dfcb381fe831dc2aa9bacb2c12975Lennart PoetteringHTML_ALIAS = \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering ${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
2d43b190901902dbd98ccea77c1d1ddc9e2a9955Dan McGee
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poetteringif ENABLE_MANPAGES
2d43b190901902dbd98ccea77c1d1ddc9e2a9955Dan McGeeman_MANS = \
ef1673d16907726d83bdff2e57b5261997a85020Mirco Tischler $(MANPAGES) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(MANPAGES_ALIAS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
6355e75610a8d47fc3ba5ab8bd442172a2cfe574Lennart Poetteringnoinst_DATA += \
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poettering $(HTML_FILES) \
f8294e4175918117ca6c131720bcf287eadcd029Josh Triplett $(HTML_ALIAS)
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart PoetteringCLEANFILES += \
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poettering $(man_MANS) \
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poettering $(HTML_FILES) \
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poettering $(HTML_ALIAS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poetteringdocs/html/man:
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
e7ff4e7fe9f3abd2297e4ef7b95dcb2804e051c3Greg Kroah-Hartman $(AM_V_LN)$(LN_S) -f ../../man $@
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poettering
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poetteringnoinst_DATA += \
d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89Lennart Poettering docs/html/man
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekCLEANFILES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek docs/html/man
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekif HAVE_PYTHON
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekman/index.html: man/systemd.index.html
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(AM_V_LN)$(LN_S) -f systemd.index.html $@
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmeknoinst_DATA += \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek man/index.html
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekCLEANFILES += \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek man/index.html
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekXML_GLOB = $(wildcard $(top_srcdir)/man/*.xml $(top_builddir)/man/*.xml)
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-SzmekNON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES))
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekSOURCE_XML_FILES = $(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekupdate-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB)
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering @echo "Makefile-man.am has been regenerated"
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekman/systemd.index.xml: $(top_srcdir)/tools/make-man-index.py $(NON_INDEX_XML_FILES)
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(AM_V_at)$(MKDIR_P) $(dir $@)
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekman/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py $(SOURCE_XML_FILES)
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekEXTRA_DIST += \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek man/systemd.index.xml \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek man/index.html \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek man/systemd.directives.xml \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering man/glib-event-glue.c
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekCLEANFILES += \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek man/systemd.index.xml \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek man/systemd.directives.xml
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmekendif
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmekendif
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-SzmekEXTRA_DIST += \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(XML_FILES) \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(HTML_FILES) \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek $(HTML_ALIAS) \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek $(man_MANS) \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek tools/make-man-index.py \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek tools/make-directive-index.py \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek tools/xml_helper.py
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poettering# ------------------------------------------------------------------------------
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmeknoinst_LTLIBRARIES += \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering libsystemd-shared.la
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmeklibsystemd_shared_la_SOURCES = \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/capability.c \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/capability.h \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering src/shared/linux/auto_dev-ioctl.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/ioprio.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/missing.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/initreq.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/securebits.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/special.h \
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek src/shared/list.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/unaligned.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/macro.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/def.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/sparse-endian.h \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering src/shared/refcnt.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/udev-util.h \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/shared/device-nodes.c \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/shared/device-nodes.h \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/shared/util.c \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/shared/util.h \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering src/shared/virt.c \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/virt.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/architecture.c \
19cace379f3f680d3201cd257ab3ca6708b2d45dLennart Poettering src/shared/architecture.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/efivars.c \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/efivars.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/fstab-util.c \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/fstab-util.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/path-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/path-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/time-util.c \
ae018d9bc900d6355dea4af05119b49c67945184Lennart Poettering src/shared/time-util.h \
a569398925430de1f8479262e8ab39502054f2e9Lennart Poettering src/shared/locale-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/locale-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/mempool.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/mempool.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/hashmap.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/hashmap.h \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/shared/siphash24.c \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/shared/siphash24.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/set.h \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/shared/fdset.c \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/shared/fdset.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/prioq.c \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/shared/prioq.h \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/shared/sleep-config.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/sleep-config.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/strv.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/strv.h \
da4993920cdf5527b8528f0a483b54ab3cbc1971Kay Sievers src/shared/env-util.c \
40adcda869bda55f44b57fd3a2bd71d006dfb51bLennart Poettering src/shared/env-util.h \
759c945a43577d56e85a927f15e7d9aaa94a4e4aColin Walters src/shared/strbuf.c \
82499507b369fea3033a74c22813bf423301aef4Lennart Poettering src/shared/strbuf.h \
edc3797f7cd9e37c24e5241cac3263e7c918f732Lennart Poettering src/shared/strxcpyx.c \
edc3797f7cd9e37c24e5241cac3263e7c918f732Lennart Poettering src/shared/strxcpyx.h \
edc3797f7cd9e37c24e5241cac3263e7c918f732Lennart Poettering src/shared/conf-parser.c \
edc3797f7cd9e37c24e5241cac3263e7c918f732Lennart Poettering src/shared/conf-parser.h \
7517e17443225fafea86b21e42a36af69feb1dbcTorstein Husebø src/shared/log.c \
8a0889dfdafa3054c894e54852d8a9e3a7e8390bLennart Poettering src/shared/log.h \
da4993920cdf5527b8528f0a483b54ab3cbc1971Kay Sievers src/shared/ratelimit.h \
da4993920cdf5527b8528f0a483b54ab3cbc1971Kay Sievers src/shared/ratelimit.c \
759c945a43577d56e85a927f15e7d9aaa94a4e4aColin Walters src/shared/exit-status.c \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering src/shared/exit-status.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/utf8.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/utf8.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/gunicode.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/gunicode.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/pager.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/pager.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/socket-util.c \
b92bea5d2a9481de69bb627a7b442a9f58fca43dZbigniew Jędrzejewski-Szmek src/shared/socket-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/in-addr-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/in-addr-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/ether-addr-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/conf-files.c \
b6fa25552e538eca207072e12d223e3523b21a19Evgeny Vereshchagin src/shared/conf-files.h \
b6fa25552e538eca207072e12d223e3523b21a19Evgeny Vereshchagin src/shared/cgroup-util.c \
b6fa25552e538eca207072e12d223e3523b21a19Evgeny Vereshchagin src/shared/cgroup-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/cgroup-show.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/cgroup-show.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/unit-name.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/unit-name.h \
e2cc6eca73cd1df8be552d7c23f9ff3d69c06f1eLennart Poettering src/shared/utmp-wtmp.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/watchdog.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/watchdog.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/spawn-ask-password-agent.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/spawn-ask-password-agent.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/replace-var.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/replace-var.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/spawn-polkit-agent.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/spawn-polkit-agent.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/clock-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/clock-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/time-dst.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/time-dst.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/calendarspec.c \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering src/shared/calendarspec.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/fileio.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/fileio.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/shared/output-mode.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/MurmurHash2.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/MurmurHash2.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/acpi-fpdt.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/acpi-fpdt.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/boot-timestamps.h \
3b3154df7e2773332bb814e167187367a0ccae4aLennart Poettering src/shared/boot-timestamps.c \
3b3154df7e2773332bb814e167187367a0ccae4aLennart Poettering src/shared/mkdir.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/mkdir.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/smack-util.c \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/smack-util.h \
968f319679d9069af037240d0c3bcd126181cdacZbigniew Jędrzejewski-Szmek src/shared/apparmor-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/apparmor-util.h \
7027ff61a34a12487712b382a061c654acc3a679Lennart Poettering src/shared/ima-util.c \
7fd1b19bc9e9f5574f2877936b8ac267c7706947Harald Hoyer src/shared/ima-util.h \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/ptyfwd.c \
db91ea32aa223d1b087d99811226a9c59a1bb281Zbigniew Jędrzejewski-Szmek src/shared/ptyfwd.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/errno-list.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/errno-list.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/af-list.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/af-list.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/arphrd-list.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/arphrd-list.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/cap-list.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/cap-list.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/audit.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/audit.h \
2f5df74a5ec135ab2baebf26af6f088e5b4b8205Holger Hans Peter Freyther src/shared/xml.c \
2f5df74a5ec135ab2baebf26af6f088e5b4b8205Holger Hans Peter Freyther src/shared/xml.h \
2f5df74a5ec135ab2baebf26af6f088e5b4b8205Holger Hans Peter Freyther src/shared/json.c \
2f5df74a5ec135ab2baebf26af6f088e5b4b8205Holger Hans Peter Freyther src/shared/json.h \
2f5df74a5ec135ab2baebf26af6f088e5b4b8205Holger Hans Peter Freyther src/shared/bus-label.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/bus-label.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/gpt.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/clean-ipc.h \
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poettering src/shared/clean-ipc.c \
7027ff61a34a12487712b382a061c654acc3a679Lennart Poettering src/shared/login-shared.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/login-shared.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/ring.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/ring.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/barrier.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/barrier.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/pty.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/pty.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/async.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/async.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/base-filesystem.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/base-filesystem.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/memfd-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/memfd-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/uid-range.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/uid-range.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/nss-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/verbs.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/verbs.h \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/sigbus.c \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/sigbus.h \
db91ea32aa223d1b087d99811226a9c59a1bb281Zbigniew Jędrzejewski-Szmek src/shared/build.h
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_UTMP
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_shared_la_SOURCES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/utmp-wtmp.c
db91ea32aa223d1b087d99811226a9c59a1bb281Zbigniew Jędrzejewski-Szmekendif
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmeknodist_libsystemd_shared_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/errno-from-name.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/errno-to-name.h \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering src/shared/af-from-name.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/af-to-name.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/arphrd-from-name.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/arphrd-to-name.h \
caa2f4c0c9613b2e02aafa308c8fb092576014a9Zbigniew Jędrzejewski-Szmek src/shared/cap-from-name.h \
84267e4043cf88bf540b5bf9cd65e194670a4ffaLennart Poettering src/shared/cap-to-name.h
09eba4d46b1119c758fba38a520a38c8d19af739Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_shared_la_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(CAP_CFLAGS) \
caa2f4c0c9613b2e02aafa308c8fb092576014a9Zbigniew Jędrzejewski-Szmek $(SECCOMP_CFLAGS) \
caa2f4c0c9613b2e02aafa308c8fb092576014a9Zbigniew Jędrzejewski-Szmek -pthread
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_shared_la_LIBADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(CAP_LIBS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -lm
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknoinst_LTLIBRARIES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-units.la
ac892057c2ddd8f06323c73ebd80423cc3ec7190Dimitri John Ledkov
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_units_la_SOURCES = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/install.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/install.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/install-printf.c \
63c372cb9df3bee01e3bf8cd7f96f336bddda846Lennart Poettering src/shared/install-printf.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/path-lookup.c \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/path-lookup.h \
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek src/shared/specifier.c \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/specifier.h
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
433dd100442e8197868def975c6fd38b48dc6439Lukas Nykryn# ------------------------------------------------------------------------------
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidtnoinst_LTLIBRARIES += \
e40ec7aec5e64cd0cfa5fc556d6a9747229b5794Zbigniew Jędrzejewski-Szmek libsystemd-label.la
433dd100442e8197868def975c6fd38b48dc6439Lukas Nykryn
433dd100442e8197868def975c6fd38b48dc6439Lukas Nykrynlibsystemd_label_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/socket-label.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/label.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/label.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/selinux-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/selinux-util.h \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/mkdir-label.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/ask-password-api.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/ask-password-api.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/switch-root.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/switch-root.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/fileio-label.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/fileio-label.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/dev-setup.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/dev-setup.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/dropin.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/dropin.h \
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidt src/shared/condition.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/condition.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/generator.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/generator.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/btrfs-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/btrfs-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/btrfs-ctree.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/machine-image.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/machine-image.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/copy.c \
fc1d70af2101e16c9e6f3c5bfd5ab315ee9e6daeLennart Poettering src/shared/copy.h
fc1d70af2101e16c9e6f3c5bfd5ab315ee9e6daeLennart Poettering
fc1d70af2101e16c9e6f3c5bfd5ab315ee9e6daeLennart Poetteringlibsystemd_label_la_CFLAGS = \
fc1d70af2101e16c9e6f3c5bfd5ab315ee9e6daeLennart Poettering $(AM_CFLAGS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(SELINUX_CFLAGS)
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidtlibsystemd_label_la_LIBADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(SELINUX_LIBS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering# -----------------------------------------------------------------------------
5c3bde3fa8613e09e694198862ea9038566af422Zbigniew Jędrzejewski-Szmek
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringif HAVE_LIBIPTC
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringnoinst_LTLIBRARIES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-fw.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_fw_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/fw-util.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/fw-util.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_fw_la_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering $(LIBIPTC_CFLAGS)
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poetteringlibsystemd_fw_la_LIBADD = \
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering $(LIBIPTC_LIBS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# -----------------------------------------------------------------------------
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif ENABLE_LDCONFIG
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekdist_systemunit_DATA += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek units/ldconfig.service
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekSYSINIT_TARGET_WANTS += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek ldconfig.service
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_SECCOMP
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknoinst_LTLIBRARIES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-seccomp.la
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poetteringlibsystemd_seccomp_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/seccomp-util.h \
00a168618906bea43c3c57e20b9152582c324bf8Olivier Brunel src/shared/seccomp-util.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_seccomp_la_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt $(SECCOMP_CFLAGS)
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_seccomp_la_LIBADD = \
93b73b064c663d6248bebfbbbd82989b5ca10fc5Lennart Poettering $(SECCOMP_LIBS)
93b73b064c663d6248bebfbbbd82989b5ca10fc5Lennart Poetteringendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknoinst_LTLIBRARIES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-logs.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_logs_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/logs-show.c \
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering src/shared/logs-show.h
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_ACL
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidtnoinst_LTLIBRARIES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-acl.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_acl_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/acl-util.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/acl-util.h
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_acl_la_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidt $(ACL_CFLAGS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeklibsystemd_acl_la_LIBADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(ACL_LIBS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendif
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
253f59dff9c93ee1d2c33444b5715e42bc1c6889Lennart Poetteringnoinst_LTLIBRARIES += \
253f59dff9c93ee1d2c33444b5715e42bc1c6889Lennart Poettering libsystemd-core.la
253f59dff9c93ee1d2c33444b5715e42bc1c6889Lennart Poettering
253f59dff9c93ee1d2c33444b5715e42bc1c6889Lennart Poetteringlibsystemd_core_la_SOURCES = \
253f59dff9c93ee1d2c33444b5715e42bc1c6889Lennart Poettering src/core/unit.c \
253f59dff9c93ee1d2c33444b5715e42bc1c6889Lennart Poettering src/core/unit.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/unit-printf.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/unit-printf.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/job.c \
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidt src/core/job.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/manager.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/manager.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/transaction.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/transaction.h \
804ae586d475d77946debb22c1bc9ee049d4750cLennart Poettering src/core/load-fragment.c \
804ae586d475d77946debb22c1bc9ee049d4750cLennart Poettering src/core/load-fragment.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/service.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/service.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/socket.c \
804ae586d475d77946debb22c1bc9ee049d4750cLennart Poettering src/core/socket.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/busname.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/busname.h \
c6878637502b1717a110a9a7e8bba32a8583fcdfLennart Poettering src/core/bus-endpoint.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/bus-endpoint.h \
763c7aa288485cf5ab627fe1d25ff58e76f9dacbZbigniew Jędrzejewski-Szmek src/core/bus-policy.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/bus-policy.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/core/target.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/core/target.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/core/snapshot.c \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/core/snapshot.h \
8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71cZbigniew Jędrzejewski-Szmek src/core/device.c \
fbb634117d0b0ebd5b105e65b141e75ae9af7f8fLennart Poettering src/core/device.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/mount.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/mount.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/automount.c \
8531ae707d4d0203e83304d4af948b8169a5fce1Lennart Poettering src/core/automount.h \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/swap.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/swap.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/timer.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/timer.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/path.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/path.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/slice.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/slice.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/scope.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/scope.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/load-dropin.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/load-dropin.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/execute.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/execute.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/kill.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/kill.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-manager.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-manager.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-unit.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-unit.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-job.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-job.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-service.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-service.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-socket.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-socket.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-busname.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-busname.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-target.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-target.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-snapshot.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-snapshot.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-device.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-device.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-mount.c \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-mount.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/dbus-automount.c \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering src/core/dbus-automount.h \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-swap.c \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-swap.h \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-timer.c \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-timer.h \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-path.c \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/dbus-path.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-slice.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-slice.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-scope.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-scope.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/dbus-execute.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-execute.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-kill.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-kill.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/dbus-cgroup.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/dbus-cgroup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/cgroup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/cgroup.h \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering src/core/selinux-access.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/selinux-access.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/selinux-setup.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/selinux-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/smack-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/smack-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/ima-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/ima-setup.h \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering src/core/locale-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/locale-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/hostname-setup.c \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering src/core/hostname-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/machine-id-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/machine-id-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/mount-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/mount-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/kmod-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/kmod-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/loopback-setup.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/loopback-setup.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/namespace.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/namespace.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/killall.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/killall.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/audit-fd.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/audit-fd.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/show-status.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/show-status.h \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/failure-action.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/failure-action.h
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poetteringnodist_libsystemd_core_la_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/load-fragment-gperf.c \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering src/core/load-fragment-gperf-nulstr.c
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poetteringlibsystemd_core_la_CFLAGS = \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(AM_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(PAM_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(AUDIT_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(KMOD_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(APPARMOR_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(SECCOMP_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(MOUNT_CFLAGS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering -pthread
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poetteringlibsystemd_core_la_LIBADD = \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering libsystemd-units.la \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering libsystemd-label.la \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering libudev-internal.la \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering libsystemd-shared.la \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering libsystemd-internal.la \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(PAM_LIBS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(AUDIT_LIBS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(KMOD_LIBS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(APPARMOR_LIBS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(SECCOMP_LIBS) \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering $(MOUNT_LIBS)
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poetteringif HAVE_SECCOMP
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poetteringlibsystemd_core_la_LIBADD += \
a315ac4e076c4ce7ce3e5c95792cf916d5e918c5Lennart Poettering libsystemd-seccomp.la
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringsrc/core/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart 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 ";" }' < $< > $@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
f9a810bedacf1da7c505c1786a2416d592665926Lennart PoetteringEXTRA_DIST += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/load-fragment-gperf.gperf.m4
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekCLEANFILES += \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/load-fragment-gperf.gperf \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/load-fragment-gperf.c \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/core/load-fragment-gperf-nulstr.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/errno-list.txt \
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering src/shared/errno-from-name.gperf \
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering src/shared/af-list.txt \
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering src/shared/af-from-name.gperf \
74055aa76278232ff05574fc47c4e6b3560554a7Lennart Poettering src/shared/arphrd-list.txt \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/shared/arphrd-from-name.gperf \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/shared/cap-list.txt \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/cap-from-name.gperf \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/resolve/dns_type-list.txt \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/resolve/dns_type-from-name.gperf
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekBUILT_SOURCES += \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/shared/errno-from-name.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/errno-to-name.h \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering src/shared/af-from-name.h \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/shared/af-to-name.h \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/shared/arphrd-from-name.h \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/shared/arphrd-to-name.h \
dbd6e31cf91ab86a4a2fffeb50ccef211da3126dLennart Poettering src/shared/cap-from-name.h \
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering src/shared/cap-to-name.h \
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering src/resolve/dns_type-from-name.h \
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering src/resolve/dns_type-to-name.h
dbd6e31cf91ab86a4a2fffeb50ccef211da3126dLennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering%-from-name.gperf: %-list.txt
f9a810bedacf1da7c505c1786a2416d592665926Lennart 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 }' <$< >$@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering%-from-name.h: %-from-name.gperf
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksrc/shared/errno-list.txt:
4daf54a851e4fb7ed1a13c3117bba12528fd2c7fZbigniew Jędrzejewski-Szmek $(AM_V_at)$(MKDIR_P) $(dir $@)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@
6203e07a83214a55bb1f88508fcda2005c601deaLennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksrc/shared/errno-to-name.h: src/shared/errno-list.txt
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew 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 "};"}' <$< >$@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringsrc/shared/af-list.txt:
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart 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; }' >$@
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringsrc/shared/af-to-name.h: src/shared/af-list.txt
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart 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 "};"}' <$< >$@
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringsrc/shared/arphrd-list.txt:
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart 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_//' >$@
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poettering
33d52ab92f2f0bfd706e6f343d172618d1e03f3dLennart Poetteringsrc/shared/arphrd-to-name.h: src/shared/arphrd-list.txt
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const arphrd_names[] = { "} !/CISCO/ { printf "[ARPHRD_%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringsrc/shared/arphrd-from-name.gperf: src/shared/arphrd-list.txt
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart 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 }' <$< >$@
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksrc/shared/cap-list.txt:
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_V_at)$(MKDIR_P) $(dir $@)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(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 >$@
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksrc/shared/cap-to-name.h: src/shared/cap-list.txt
151b9b9662a90455262ce575a8a8ae74bf4ff336Lennart Poettering $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const capability_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, tolower($$1) } END{print "};"}' <$< >$@
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringsrc/shared/cap-from-name.gperf: src/shared/cap-list.txt
f9a810bedacf1da7c505c1786a2416d592665926Lennart 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 }' <$< >$@
151b9b9662a90455262ce575a8a8ae74bf4ff336Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringsrc/shared/cap-from-name.h: src/shared/cap-from-name.gperf
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
151b9b9662a90455262ce575a8a8ae74bf4ff336Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringsrc/resolve/dns_type-list.txt: src/resolve/dns-type.h
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering $(AM_V_at)$(MKDIR_P) $(dir $@)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(SED) -n -r 's/.* DNS_TYPE_(\w+).*/\1/p' <$< >$@
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poetteringsrc/resolve/dns_type-to-name.h: src/resolve/dns_type-list.txt
b374689c02c681671a3c3c0b0fd3add32386b442Lennart 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 "\ndefault: return NULL;\n\t}\n}\n" }' <$< >$@
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poetteringsrc/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt
b374689c02c681671a3c3c0b0fd3add32386b442Lennart 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 }' <$< >$@
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering# ------------------------------------------------------------------------------
151b9b9662a90455262ce575a8a8ae74bf4ff336Lennart Poetteringsystemd_SOURCES = \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/core/main.c
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksystemd_CFLAGS = \
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering $(AM_CFLAGS) \
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering $(SECCOMP_CFLAGS)
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poettering
b374689c02c681671a3c3c0b0fd3add32386b442Lennart Poetteringsystemd_LDADD = \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering libsystemd-core.la \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering $(RT_LIBS)
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringdist_pkgsysconf_DATA += \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering src/core/system.conf \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering src/core/user.conf
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringdist_dbuspolicy_DATA += \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering src/core/org.freedesktop.systemd1.conf
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poetteringdist_dbussystemservice_DATA += \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering src/core/org.freedesktop.systemd1.service
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekpolkitpolicy_in_in_files += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/org.freedesktop.systemd1.policy.in.in
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekpkgconfiglib_DATA += \
7fd1b19bc9e9f5574f2877936b8ac267c7706947Harald Hoyer src/core/systemd.pc
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani
74df0fca09b3c31ed19e14ba80f996fdff772417Lennart Poetteringnodist_rpmmacros_DATA = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/macros.systemd
74df0fca09b3c31ed19e14ba80f996fdff772417Lennart Poettering
b5884878a2874447b2a9f07f324a7cd909d96d48Lennart PoetteringEXTRA_DIST += \
da927ba997d68401563b927f92e6e40e021a8e5cMichal Schmidt src/core/systemd.pc.in \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/core/macros.systemd.in
b5884878a2874447b2a9f07f324a7cd909d96d48Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekCLEANFILES += \
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani src/core/macros.systemd \
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani src/core/org.freedesktop.systemd1.policy.in
ff82c36c792a23a03994af2ae40cbd441e128bb4Zbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek# ------------------------------------------------------------------------------
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahanimanual_tests += \
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani test-ns \
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani test-loopback \
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani test-hostname \
d581d9d91fa5c42ce7828a7d0b1334d370cf1670Susant Sahani test-daemon \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-cgroup \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-install \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-watchdog \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-log \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-ipcrm \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-btrfs
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_LIBIPTC
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekmanual_tests += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-fw-util
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_KMOD
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekmanual_tests += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-rtnl-manual
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektests += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-engine \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen test-cgroup-mask \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen test-job-type \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen test-env-replace \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen test-strbuf \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen test-strv \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen test-path \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-path-util \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-strxcpyx \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-unit-name \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-unit-file \
804ae586d475d77946debb22c1bc9ee049d4750cLennart Poettering test-utf8 \
db91ea32aa223d1b087d99811226a9c59a1bb281Zbigniew Jędrzejewski-Szmek test-ellipsize \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-util \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-path-lookup \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-ring \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-barrier \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-pty \
75eb615480afd787fa412f0a529523f568f79b26Lennart Poettering test-tmpfiles \
75eb615480afd787fa412f0a529523f568f79b26Lennart Poettering test-namespace \
a9edaeff8481573764288ccf7e433a95b6dc7c03Josh Triplett test-date \
a9edaeff8481573764288ccf7e433a95b6dc7c03Josh Triplett test-sleep \
a9edaeff8481573764288ccf7e433a95b6dc7c03Josh Triplett test-replace-var \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-sched-prio \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek test-calendarspec \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-strip-tab-ansi \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-cgroup-util \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-fstab-util \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-prioq \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-fileio \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-time \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-hashmap \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-set \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-list \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-unaligned \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-tables \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-device-nodes \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-xml \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-json \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-architecture \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-socket-util \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-fdset \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-conf-files \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-capability \
d07f7b9ef2835c290d6beadebd17d15308608eeaLennart Poettering test-async \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-ratelimit \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-condition \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-uid-range \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-bus-policy \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-locale-util \
ca2670162464b98f44d3f30a1d8b47b02609784cMichał Bartoszkiewicz test-execute \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test-copy \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-cap-list \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test-sigbus \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test-verbs
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart PoetteringEXTRA_DIST += \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/a.service \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test/basic.target \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test/b.service \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test/c.service \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test/daughter.service \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test/d.service \
6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222bLennart Poettering test/end.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/e.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/f.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/grandchild.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/g.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/hello-after-sleep.target \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/hello.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/h.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/parent-deep.slice \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/parent.slice \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/paths.target \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/sched_idle_bad.service \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test/sched_idle_ok.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/sched_rr_bad.service \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test/sched_rr_change.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/sched_rr_ok.service \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering test/shutdown.target \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test/sleep.service \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test/sockets.target \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test/son.service \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk test/sysinit.target \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/testsuite.target \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/timers.target \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/unstoppable.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-changed.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-directorynotempty.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-existsglob.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-exists.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-makedirectory.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-modified.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-mycustomunit.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-service.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-changed.path \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-directorynotempty.path \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-existsglob.path \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-exists.path \
4a62c710b62a5a3c7a8a278b810b9d5b5a0c8f4fMichal Schmidt test/path-makedirectory.path \
4a62c710b62a5a3c7a8a278b810b9d5b5a0c8f4fMichal Schmidt test/path-modified.path \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/path-unit.path \
151b9b9662a90455262ce575a8a8ae74bf4ff336Lennart Poettering test/exec-environment-empty.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-environment-multiple.service \
28def94cc8fd4394b20e2155d7130166662343c4Dave Reisner test/exec-environment.service \
28def94cc8fd4394b20e2155d7130166662343c4Dave Reisner test/exec-group.service \
28def94cc8fd4394b20e2155d7130166662343c4Dave Reisner test/exec-ignoresigpipe-no.service \
e53fc357a9bb9d0a5362ccc4246d598cb0febd5eLennart Poettering test/exec-ignoresigpipe-yes.service \
03e334a1c7dc8c20c38902aa039440763acc9b17Lennart Poettering test/exec-personality-x86-64.service \
28def94cc8fd4394b20e2155d7130166662343c4Dave Reisner test/exec-personality-x86.service \
28def94cc8fd4394b20e2155d7130166662343c4Dave Reisner test/exec-privatedevices-no.service \
28def94cc8fd4394b20e2155d7130166662343c4Dave Reisner test/exec-privatedevices-yes.service \
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt test/exec-privatetmp-no.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-privatetmp-yes.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-systemcallerrornumber.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-systemcallfilter-failing2.service \
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt test/exec-systemcallfilter-failing.service \
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt test/exec-systemcallfilter-not-failing2.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-systemcallfilter-not-failing.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-user.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-workingdirectory.service \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering test/exec-umask-0177.service \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/exec-umask-default.service \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/hello.conf \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/methods.conf \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/ownerships.conf \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/signals.conf \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/check-own-rules.conf \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/many-rules.conf \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering test/bus-policy/test.conf
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart PoetteringEXTRA_DIST += \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-helper.h
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_device_nodes_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-device-nodes.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_device_nodes_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_engine_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-engine.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_engine_CFLAGS = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering $(AM_CFLAGS) \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering $(SECCOMP_CFLAGS)
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_engine_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-core.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering $(RT_LIBS)
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_job_type_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-job-type.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_job_type_CFLAGS = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(AM_CFLAGS) \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(SECCOMP_CFLAGS)
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_job_type_LDADD = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering libsystemd-core.la \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(RT_LIBS)
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_ns_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-ns.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_ns_CFLAGS = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(AM_CFLAGS) \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(SECCOMP_CFLAGS)
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_ns_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-core.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_loopback_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-loopback.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_loopback_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-core.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_hostname_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-hostname.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_hostname_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-core.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringif ENABLE_EFI
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringmanual_tests += \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering test-boot-timestamp
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_boot_timestamp_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-boot-timestamps.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_boot_timestamp_LDADD = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering libsystemd-shared.la
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringendif
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_unit_name_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-unit-name.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_unit_name_CFLAGS = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(AM_CFLAGS) \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(SECCOMP_CFLAGS)
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_unit_name_LDADD = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering libsystemd-core.la \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering $(RT_LIBS)
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_unit_file_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-unit-file.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_unit_file_CFLAGS = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering $(AM_CFLAGS) \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering $(SECCOMP_CFLAGS)
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_unit_file_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-core.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering $(RT_LIBS)
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_utf8_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-utf8.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_utf8_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_capability_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-capability.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_capability_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_async_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-async.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_async_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_locale_util_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-locale-util.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_locale_util_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_copy_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-copy.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_copy_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-label.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_sigbus_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-sigbus.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_sigbus_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_condition_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-condition.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_condition_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-label.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-internal.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_fdset_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-fdset.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_fdset_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-internal.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_fstab_util_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-fstab-util.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_fstab_util_LDADD = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering libsystemd-shared.la
4de2402b603ea2f518f451d06f09e15aeae54fabLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_ratelimit_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-ratelimit.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_ratelimit_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_util_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-util.c
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_util_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
13790add4bf648fed816361794d8277a75253410Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_path_lookup_SOURCES = \
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek src/test/test-path-lookup.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_path_lookup_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek -lm \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-units.la \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_uid_range_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-uid-range.c
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poetteringtest_uid_range_LDADD = \
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk libsystemd-shared.la
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuk
26687bf8a907009dedcff79346860ed41511405eOleksii Shevchuktest_cap_list_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-cap-list.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_cap_list_LDADD = \
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensen libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
e150e82097211f09b911c7784a89ef9efed713caMichał Bartoszkiewicztest_socket_util_SOURCES = \
e150e82097211f09b911c7784a89ef9efed713caMichał Bartoszkiewicz src/test/test-socket-util.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_socket_util_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian Thorarensentest_ring_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-ring.c
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtest_ring_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_barrier_SOURCES = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/test/test-barrier.c
d288f79fb4a2fe4a93cf99f74dacd2cebd3f2440Zbigniew Jędrzejewski-Szmek
b1389b0d0805392570085acc7cb10eafcf885405Zbigniew Jędrzejewski-Szmektest_barrier_LDADD = \
b1389b0d0805392570085acc7cb10eafcf885405Zbigniew Jędrzejewski-Szmek libsystemd-shared.la
d288f79fb4a2fe4a93cf99f74dacd2cebd3f2440Zbigniew Jędrzejewski-Szmek
d288f79fb4a2fe4a93cf99f74dacd2cebd3f2440Zbigniew Jędrzejewski-Szmektest_pty_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-pty.c
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_pty_LDADD = \
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt libsystemd-core.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_tmpfiles_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-tmpfiles.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_tmpfiles_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringtest_namespace_SOURCES = \
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt src/test/test-namespace.c
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_verbs_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-verbs.c
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidt
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41Michal Schmidttest_verbs_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_namespace_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-core.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekCLEANFILES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-hashmap-ordered.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-SzmekBUILT_SOURCES += \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-hashmap-ordered.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeksrc/test/test-hashmap-ordered.c: src/test/test-hashmap-plain.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_V_at)$(MKDIR_P) $(dir $@)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_V_GEN)$(AWK) 'BEGIN { print "/* GENERATED FILE */\n#define ORDERED" } \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek { if (!match($$0, "^#include")) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek gsub(/hashmap/, "ordered_hashmap"); \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek gsub(/HASHMAP/, "ORDERED_HASHMAP"); \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek gsub(/Hashmap/, "OrderedHashmap"); \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek print }' <$< >$@
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmeknodist_test_hashmap_SOURCES = \
03ee5c38cb0da193dd08733fb4c0c2809cee6a99Lennart Poettering src/test/test-hashmap-ordered.c
03ee5c38cb0da193dd08733fb4c0c2809cee6a99Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_hashmap_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-hashmap.c \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-hashmap-plain.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_hashmap_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_set_SOURCES = \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering src/test/test-set.c
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering
875c2e220e2611165e09051c4747971811f1de58Lennart Poetteringtest_set_LDADD = \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering libsystemd-shared.la
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering
875c2e220e2611165e09051c4747971811f1de58Lennart Poetteringtest_xml_SOURCES = \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering src/test/test-xml.c
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering
875c2e220e2611165e09051c4747971811f1de58Lennart Poetteringtest_xml_LDADD = \
4ec3cd7391e119b597375c547cf4ed50fce9f115Lennart Poettering libsystemd-shared.la
4ec3cd7391e119b597375c547cf4ed50fce9f115Lennart Poettering
13790add4bf648fed816361794d8277a75253410Lennart Poetteringtest_json_SOURCES = \
13790add4bf648fed816361794d8277a75253410Lennart Poettering src/test/test-json.c
13790add4bf648fed816361794d8277a75253410Lennart Poettering
13790add4bf648fed816361794d8277a75253410Lennart Poetteringtest_json_LDADD = \
13790add4bf648fed816361794d8277a75253410Lennart Poettering libsystemd-shared.la
4ec3cd7391e119b597375c547cf4ed50fce9f115Lennart Poettering
13790add4bf648fed816361794d8277a75253410Lennart Poetteringtest_list_SOURCES = \
13790add4bf648fed816361794d8277a75253410Lennart Poettering src/test/test-list.c
13790add4bf648fed816361794d8277a75253410Lennart Poettering
4ec3cd7391e119b597375c547cf4ed50fce9f115Lennart Poetteringtest_list_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
15d91bff36c61d38df8edff258d1702a017a0e66Zbigniew Jędrzejewski-Szmektest_unaligned_LDADD = \
15d91bff36c61d38df8edff258d1702a017a0e66Zbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
13790add4bf648fed816361794d8277a75253410Lennart Poetteringtest_unaligned_SOURCES = \
13790add4bf648fed816361794d8277a75253410Lennart Poettering src/test/test-unaligned.c
13790add4bf648fed816361794d8277a75253410Lennart Poettering
13790add4bf648fed816361794d8277a75253410Lennart Poetteringtest_tables_SOURCES = \
13790add4bf648fed816361794d8277a75253410Lennart Poettering src/test/test-tables.c \
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek src/shared/test-tables.h \
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek src/bus-proxyd/bus-xml-policy.c \
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek src/bus-proxyd/bus-xml-policy.h \
37b7affefde5443680d73642a990ce86776e28afZbigniew Jędrzejewski-Szmek src/journal/journald-server.c \
37b7affefde5443680d73642a990ce86776e28afZbigniew Jędrzejewski-Szmek src/journal/journald-server.h
15d91bff36c61d38df8edff258d1702a017a0e66Zbigniew Jędrzejewski-Szmek
15d91bff36c61d38df8edff258d1702a017a0e66Zbigniew Jędrzejewski-Szmektest_tables_CPPFLAGS = \
15d91bff36c61d38df8edff258d1702a017a0e66Zbigniew Jędrzejewski-Szmek $(AM_CPPFLAGS) \
15d91bff36c61d38df8edff258d1702a017a0e66Zbigniew Jędrzejewski-Szmek -I$(top_srcdir)/src/bus-proxyd
37b7affefde5443680d73642a990ce86776e28afZbigniew Jędrzejewski-Szmek
13790add4bf648fed816361794d8277a75253410Lennart Poetteringtest_tables_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(SECCOMP_CFLAGS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
37b7affefde5443680d73642a990ce86776e28afZbigniew Jędrzejewski-Szmektest_tables_LDADD = \
13790add4bf648fed816361794d8277a75253410Lennart Poettering libsystemd-logs.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-journal-internal.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-journal-core.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-core.la \
37b7affefde5443680d73642a990ce86776e28afZbigniew Jędrzejewski-Szmek libudev-core.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(RT_LIBS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_prioq_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-prioq.c
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmektest_prioq_LDADD = \
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek libsystemd-shared.la
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmektest_fileio_SOURCES = \
7d18d348da26fdbb392c76b0f5edb7f06282afbbZbigniew Jędrzejewski-Szmek src/test/test-fileio.c
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_fileio_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_time_SOURCES = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering src/test/test-time.c
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringtest_time_LDADD = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering libsystemd-shared.la
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_architecture_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-architecture.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_architecture_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_log_SOURCES = \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/test/test-log.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_log_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poettering
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poetteringtest_ipcrm_SOURCES = \
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poettering src/test/test-ipcrm.c
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poettering
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poetteringtest_ipcrm_LDADD = \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering libsystemd-shared.la \
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering -lrt
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_btrfs_SOURCES = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering src/test/test-btrfs.c
804ae586d475d77946debb22c1bc9ee049d4750cLennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_btrfs_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-label.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekif HAVE_LIBIPTC
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_fw_util_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-fw-util.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_fw_util_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(LIBIPTC_CFLAGS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_fw_util_LDADD = \
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt libsystemd-fw.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(LIBIPTC_LIBS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmekendif
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_rtnl_manual_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-rtnl-manual.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_rtnl_manual_CFLAGS = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(AM_CFLAGS) \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(KMOD_CFLAGS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_rtnl_manual_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-internal.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek $(KMOD_LIBS)
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_ellipsize_SOURCES = \
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt src/test/test-ellipsize.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_ellipsize_LDADD = \
43cf8388ea4ffed1801468d4b650d6e48eefce9eMichal Schmidt libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringtest_date_SOURCES = \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/test/test-date.c
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringtest_date_LDADD = \
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering libsystemd-shared.la
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringtest_sleep_SOURCES = \
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering src/test/test-sleep.c
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poetteringtest_sleep_LDADD = \
94b6551662e0db8eb09768ed70f77759f322b4c6Lennart Poettering libsystemd-core.la
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poetteringtest_replace_var_SOURCES = \
119e9655dc36f18ed74f9a256d5c693b5aeb43abLennart Poettering src/test/test-replace-var.c
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_replace_var_LDADD = \
03e334a1c7dc8c20c38902aa039440763acc9b17Lennart Poettering libsystemd-shared.la
03e334a1c7dc8c20c38902aa039440763acc9b17Lennart Poettering
03e334a1c7dc8c20c38902aa039440763acc9b17Lennart Poetteringtest_calendarspec_SOURCES = \
03e334a1c7dc8c20c38902aa039440763acc9b17Lennart Poettering src/test/test-calendarspec.c
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering
03e334a1c7dc8c20c38902aa039440763acc9b17Lennart Poetteringtest_calendarspec_LDADD = \
e22aa3d3284709234f086ebebc13a905a295b7a7Lennart Poettering libsystemd-shared.la
0c24bb2346b6b6232d67aacd5236b56ea4989de4Lennart Poettering
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_strip_tab_ansi_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-strip-tab-ansi.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_strip_tab_ansi_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_daemon_SOURCES = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek src/test/test-daemon.c
e9174f29c7e3ee45137537b126458718913a3ec5Lennart Poettering
99d0966e75a984bed4f117c888ecc93e16e7b7b6Lennart Poetteringtest_daemon_LDADD = \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-internal.la \
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek libsystemd-shared.la
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektest_cgroup_SOURCES = \
3e044c492e3ebe64f4e3175c94f9db8a62557b82Markus Elfring src/test/test-cgroup.c
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtest_cgroup_LDADD = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering libsystemd-label.la \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering libsystemd-shared.la \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering libsystemd-internal.la
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtest_cgroup_mask_SOURCES = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering src/test/test-cgroup-mask.c
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtest_cgroup_mask_CPPFLAGS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering $(AM_CPPFLAGS)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtest_cgroup_mask_CFLAGS = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering $(AM_CFLAGS) \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering $(SECCOMP_CFLAGS)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poetteringtest_cgroup_mask_LDADD = \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering libsystemd-core.la \
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering $(RT_LIBS)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart Poettering
test_cgroup_util_SOURCES = \
src/test/test-cgroup-util.c
test_cgroup_util_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
test_env_replace_SOURCES = \
src/test/test-env-replace.c
test_env_replace_LDADD = \
libsystemd-shared.la
test_strbuf_SOURCES = \
src/test/test-strbuf.c
test_strbuf_LDADD = \
libsystemd-shared.la
test_strv_SOURCES = \
src/test/test-strv.c
test_strv_LDADD = \
libsystemd-units.la \
libsystemd-internal.la \
libsystemd-shared.la
test_path_util_SOURCES = \
src/test/test-path-util.c
test_path_util_LDADD = \
libsystemd-shared.la
test_path_SOURCES = \
src/test/test-path.c
test_path_CFLAGS = \
$(AM_CFLAGS)
test_path_LDADD = \
libsystemd-core.la
test_execute_SOURCES = \
src/test/test-execute.c
test_execute_CFLAGS = \
$(AM_CFLAGS)
test_execute_LDADD = \
libsystemd-core.la
test_strxcpyx_SOURCES = \
src/test/test-strxcpyx.c
test_strxcpyx_LDADD = \
libsystemd-shared.la
test_install_SOURCES = \
src/test/test-install.c
test_install_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-shared.la \
libsystemd-internal.la
test_watchdog_SOURCES = \
src/test/test-watchdog.c
test_watchdog_LDADD = \
libsystemd-shared.la
test_sched_prio_SOURCES = \
src/test/test-sched-prio.c
test_sched_prio_CPPFLAGS = \
$(AM_CPPFLAGS)
test_sched_prio_CFLAGS = \
$(AM_CFLAGS) \
$(SECCOMP_CFLAGS)
test_sched_prio_LDADD = \
libsystemd-core.la \
$(RT_LIBS)
test_conf_files_SOURCES = \
src/test/test-conf-files.c
test_conf_files_LDADD = \
libsystemd-shared.la
test_bus_policy_SOURCES = \
src/bus-proxyd/test-bus-xml-policy.c
test_bus_policy_LDADD = \
libsystemd-proxy.la \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
## .PHONY so it always rebuilds it
.PHONY: coverage lcov-run lcov-report coverage-sync
# run lcov from scratch, always
coverage: all
$(MAKE) lcov-run
$(MAKE) lcov-report
coverage_dir = coverage
coverage_opts = --base-directory $(srcdir) --directory $(builddir) --rc 'geninfo_adjust_src_path=$(abspath $(srcdir))=>$(abspath $(builddir))'
if ENABLE_COVERAGE
# reset run coverage tests
lcov-run:
@rm -rf $(coverage_dir)
lcov $(coverage_opts) --zerocounters
-$(MAKE) check
# generate report based on current coverage data
lcov-report:
$(MKDIR_P) $(coverage_dir)
lcov $(coverage_opts) --compat-libtool --capture --no-external \
| sed 's|$(abspath $(builddir))|$(abspath $(srcdir))|' > $(coverage_dir)/.lcov.info
lcov --remove $(coverage_dir)/.lcov.info --output-file $(coverage_dir)/.lcov-clean.info 'test-*'
genhtml -t "systemd test coverage" -o $(coverage_dir) $(coverage_dir)/.lcov-clean.info
@echo "Coverage report generated in $(abs_builddir)/$(coverage_dir)/index.html"
# lcov doesn't work properly with vpath builds, make sure that bad
# output is not uploaded by mistake.
coverage-sync: coverage
test "$(builddir)" = "$(srcdir)"
rsync -rlv --delete --omit-dir-times coverage/ $(www_target)/coverage
else
lcov-run lcov-report:
echo "Need to reconfigure with --enable-coverage"
endif
# ------------------------------------------------------------------------------
systemd_analyze_SOURCES = \
src/analyze/analyze.c \
src/analyze/analyze-verify.c \
src/analyze/analyze-verify.h
systemd_verify_CFLAGS = \
$(AM_CFLAGS) \
$(SECCOMP_CFLAGS)
systemd_analyze_LDADD = \
libsystemd-core.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(RT_LIBS)
# ------------------------------------------------------------------------------
systemd_initctl_SOURCES = \
src/initctl/initctl.c
systemd_initctl_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_update_utmp_SOURCES = \
src/update-utmp/update-utmp.c
systemd_update_utmp_CFLAGS = \
$(AM_CFLAGS) \
$(AUDIT_CFLAGS)
systemd_update_utmp_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la \
$(AUDIT_LIBS)
# ------------------------------------------------------------------------------
systemd_update_done_SOURCES = \
src/update-done/update-done.c
systemd_update_done_LDADD = \
libsystemd-internal.la \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_shutdownd_SOURCES = \
src/shutdownd/shutdownd.c
systemd_shutdownd_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
dist_doc_DATA += \
src/systemd/sd-shutdown.h
# ------------------------------------------------------------------------------
systemd_shutdown_SOURCES = \
src/core/umount.c \
src/core/umount.h \
src/core/shutdown.c \
src/core/mount-setup.c \
src/core/mount-setup.h \
src/core/killall.h \
src/core/killall.c
systemd_shutdown_LDADD = \
libsystemd-label.la \
libudev-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
if HAVE_KMOD
systemd_modules_load_SOURCES = \
src/modules-load/modules-load.c
systemd_modules_load_CFLAGS = \
$(AM_CFLAGS) \
$(KMOD_CFLAGS)
systemd_modules_load_LDADD = \
libsystemd-shared.la \
$(KMOD_LIBS)
rootlibexec_PROGRAMS += \
systemd-modules-load
nodist_systemunit_DATA += \
units/systemd-modules-load.service
SYSINIT_TARGET_WANTS += \
systemd-modules-load.service
if ENABLE_TMPFILES
nodist_systemunit_DATA += \
units/kmod-static-nodes.service
SYSINIT_TARGET_WANTS += \
kmod-static-nodes.service
endif
endif
EXTRA_DIST += \
units/systemd-modules-load.service.in \
units/kmod-static-nodes.service.in
# ------------------------------------------------------------------------------
if ENABLE_TMPFILES
systemd_tmpfiles_SOURCES = \
src/tmpfiles/tmpfiles.c
systemd_tmpfiles_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
systemd-tmpfiles
dist_systemunit_DATA += \
units/systemd-tmpfiles-clean.timer
nodist_systemunit_DATA += \
units/systemd-tmpfiles-setup-dev.service \
units/systemd-tmpfiles-setup.service \
units/systemd-tmpfiles-clean.service
nodist_tmpfiles_DATA = \
tmpfiles.d/etc.conf
dist_tmpfiles_DATA = \
tmpfiles.d/systemd.conf \
tmpfiles.d/systemd-nologin.conf \
tmpfiles.d/tmp.conf \
tmpfiles.d/x11.conf \
tmpfiles.d/var.conf
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
tmpfiles.d/legacy.conf
endif
SYSINIT_TARGET_WANTS += \
systemd-tmpfiles-setup-dev.service \
systemd-tmpfiles-setup.service
dist_zshcompletion_DATA += \
shell-completion/zsh/_systemd-tmpfiles
TIMERS_TARGET_WANTS += \
systemd-tmpfiles-clean.timer
INSTALL_DIRS += \
$(tmpfilesdir) \
$(sysconfdir)/tmpfiles.d
endif
EXTRA_DIST += \
tmpfiles.d/etc.conf.m4 \
units/systemd-tmpfiles-setup-dev.service.in \
units/systemd-tmpfiles-setup.service.in \
units/systemd-tmpfiles-clean.service.in
CLEANFILES += \
tmpfiles.d/etc.conf
# ------------------------------------------------------------------------------
if ENABLE_SYSUSERS
systemd_sysusers_SOURCES = \
src/sysusers/sysusers.c
systemd_sysusers_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
systemd-sysusers
nodist_systemunit_DATA += \
units/systemd-sysusers.service
SYSINIT_TARGET_WANTS += \
systemd-sysusers.service
dist_sysusers_DATA = \
sysusers.d/systemd.conf
nodist_sysusers_DATA = \
sysusers.d/basic.conf
EXTRA_DIST += \
units/systemd-sysusers.service.in \
sysusers.d/basic.conf.in
CLEANFILES += \
sysusers.d/basic.conf
INSTALL_DIRS += \
$(sysusersdir)
endif
# ------------------------------------------------------------------------------
dist_factory_etc_DATA = \
factory/etc/nsswitch.conf
if HAVE_PAM
dist_factory_pam_DATA = \
factory/etc/pam.d/system-auth \
factory/etc/pam.d/other
endif
# ------------------------------------------------------------------------------
if ENABLE_FIRSTBOOT
systemd_firstboot_SOURCES = \
src/firstboot/firstboot.c
systemd_firstboot_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la \
-lcrypt
rootbin_PROGRAMS += \
systemd-firstboot
nodist_systemunit_DATA += \
units/systemd-firstboot.service
EXTRA_DIST += \
units/systemd-firstboot.service.in
SYSINIT_TARGET_WANTS += \
systemd-firstboot.service
endif
# ------------------------------------------------------------------------------
systemd_machine_id_setup_SOURCES = \
src/machine-id-setup/machine-id-setup-main.c \
src/core/machine-id-setup.c \
src/core/machine-id-setup.h
systemd_machine_id_setup_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_sysctl_SOURCES = \
src/sysctl/sysctl.c
systemd_sysctl_LDADD = \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_sleep_SOURCES = \
src/sleep/sleep.c
systemd_sleep_LDADD = \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_fsck_SOURCES = \
src/fsck/fsck.c
systemd_fsck_LDADD = \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_machine_id_commit_SOURCES = \
src/machine-id-commit/machine-id-commit.c \
src/core/machine-id-setup.c \
src/core/machine-id-setup.h
systemd_machine_id_commit_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
SYSINIT_TARGET_WANTS += \
systemd-machine-id-commit.service
# ------------------------------------------------------------------------------
systemd_ac_power_SOURCES = \
src/ac-power/ac-power.c
systemd_ac_power_LDADD = \
libudev-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_detect_virt_SOURCES = \
src/detect-virt/detect-virt.c
systemd_detect_virt_LDADD = \
libsystemd-shared.la
INSTALL_EXEC_HOOKS += \
systemd-detect-virt-install-hook
# ------------------------------------------------------------------------------
systemd_delta_SOURCES = \
src/delta/delta.c
systemd_delta_LDADD = \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_getty_generator_SOURCES = \
src/getty-generator/getty-generator.c
systemd_getty_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_debug_generator_SOURCES = \
src/debug-generator/debug-generator.c
systemd_debug_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_fstab_generator_SOURCES = \
src/fstab-generator/fstab-generator.c \
src/core/mount-setup.c
systemd_fstab_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_system_update_generator_SOURCES = \
src/system-update-generator/system-update-generator.c
systemd_system_update_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
if ENABLE_HIBERNATE
systemgenerator_PROGRAMS += \
systemd-hibernate-resume-generator
rootlibexec_PROGRAMS += \
systemd-hibernate-resume
systemd_hibernate_resume_SOURCES = \
src/hibernate-resume/hibernate-resume.c
systemd_hibernate_resume_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
systemd_hibernate_resume_generator_SOURCES = \
src/hibernate-resume/hibernate-resume-generator.c
systemd_hibernate_resume_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
EXTRA_DIST += \
units/systemd-hibernate.service.in \
units/systemd-hibernate-resume@.service.in \
units/systemd-hybrid-sleep.service.in
dist_systemunit_DATA += \
units/hibernate.target \
units/hybrid-sleep.target
nodist_systemunit_DATA += \
units/systemd-hibernate.service \
units/systemd-hibernate-resume@.service \
units/systemd-hybrid-sleep.service
endif
# ------------------------------------------------------------------------------
if ENABLE_EFI
systemgenerator_PROGRAMS += \
systemd-efi-boot-generator
systemd_efi_boot_generator_SOURCES = \
src/efi-boot-generator/efi-boot-generator.c
systemd_efi_boot_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
bootctl_SOURCES = \
src/boot/boot.h \
src/boot/boot-loader.h \
src/boot/bootctl.c \
src/boot/boot-loader.c \
src/boot/boot-efi.c
bootctl_LDADD = \
libsystemd-shared.la \
libsystemd-internal.la
bin_PROGRAMS += \
bootctl
dist_bashcompletion_DATA += \
shell-completion/bash/bootctl
dist_zshcompletion_DATA += \
shell-completion/zsh/_bootctl
endif
# ------------------------------------------------------------------------------
if HAVE_BLKID
systemgenerator_PROGRAMS += \
systemd-gpt-auto-generator
systemd_gpt_auto_generator_SOURCES = \
src/gpt-auto-generator/gpt-auto-generator.c \
src/shared/blkid-util.h
systemd_gpt_auto_generator_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la \
$(BLKID_LIBS)
systemd_gpt_auto_generator_CFLAGS = \
$(AM_CFLAGS) \
$(BLKID_CFLAGS)
endif
# ------------------------------------------------------------------------------
if ENABLE_KDBUS
systemgenerator_PROGRAMS += \
systemd-dbus1-generator
systemd_dbus1_generator_SOURCES = \
src/dbus1-generator/dbus1-generator.c
systemd_dbus1_generator_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
dbus1-generator-install-hook:
$(AM_V_at)$(MKDIR_P) $(DESTDIR)$(usergeneratordir)
$(AM_V_RM)rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
$(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(systemgeneratordir)/systemd-dbus1-generator $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
dbus1-generator-uninstall-hook:
rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
dist_xinitrc_SCRIPTS = \
xorg/50-systemd-user.sh
INSTALL_EXEC_HOOKS += dbus1-generator-install-hook
UNINSTALL_EXEC_HOOKS += dbus1-generator-uninstall-hook
endif
# ------------------------------------------------------------------------------
systemd_sysv_generator_SOURCES = \
src/sysv-generator/sysv-generator.c
systemd_sysv_generator_LDADD = \
libsystemd-core.la \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_rc_local_generator_SOURCES = \
src/rc-local-generator/rc-local-generator.c
systemd_rc_local_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_remount_fs_SOURCES = \
src/remount-fs/remount-fs.c \
src/core/mount-setup.c \
src/core/mount-setup.h
systemd_remount_fs_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_cgroups_agent_SOURCES = \
src/cgroups-agent/cgroups-agent.c
systemd_cgroups_agent_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_escape_SOURCES = \
src/escape/escape.c
systemd_escape_LDADD = \
libsystemd-shared.la
# -----------------------------------------------------------------------------
systemctl_SOURCES = \
src/systemctl/systemctl.c
systemctl_LDADD = \
libsystemd-units.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-logs.la \
libsystemd-journal-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_notify_SOURCES = \
src/notify/notify.c
systemd_notify_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_path_SOURCES = \
src/path/path.c
systemd_path_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_ask_password_SOURCES = \
src/ask-password/ask-password.c
systemd_ask_password_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_reply_password_SOURCES = \
src/reply-password/reply-password.c
systemd_reply_password_LDADD = \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_cgls_SOURCES = \
src/cgls/cgls.c
systemd_cgls_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_cgtop_SOURCES = \
src/cgtop/cgtop.c
systemd_cgtop_LDADD = \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_nspawn_SOURCES = \
src/nspawn/nspawn.c \
src/core/mount-setup.c \
src/core/mount-setup.h \
src/core/loopback-setup.c \
src/core/loopback-setup.h
systemd_nspawn_CFLAGS = \
$(AM_CFLAGS) \
$(SECCOMP_CFLAGS) \
$(BLKID_CFLAGS)
systemd_nspawn_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la \
$(BLKID_LIBS)
if HAVE_SECCOMP
systemd_nspawn_LDADD += \
libsystemd-seccomp.la \
$(SECCOMP_LIBS)
endif
if HAVE_LIBIPTC
systemd_nspawn_LDADD += \
libsystemd-fw.la
endif
# ------------------------------------------------------------------------------
systemd_run_SOURCES = \
src/run/run.c
systemd_run_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-proxy.la
libsystemd_proxy_la_SOURCES = \
src/bus-proxyd/bus-xml-policy.c \
src/bus-proxyd/bus-xml-policy.h \
src/bus-proxyd/driver.c \
src/bus-proxyd/driver.h \
src/bus-proxyd/proxy.c \
src/bus-proxyd/proxy.h \
src/bus-proxyd/synthesize.c \
src/bus-proxyd/synthesize.h
libsystemd_proxy_la_CFLAGS = \
$(AM_CFLAGS) \
-pthread
libsystemd_proxy_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
systemd_bus_proxyd_SOURCES = \
src/bus-proxyd/bus-proxyd.c
systemd_bus_proxyd_CFLAGS = \
$(AM_CFLAGS) \
-pthread
systemd_bus_proxyd_LDADD = \
libsystemd-proxy.la \
libsystemd-internal.la \
libsystemd-shared.la
systemd_stdio_bridge_SOURCES = \
src/bus-proxyd/stdio-bridge.c
systemd_stdio_bridge_LDADD = \
libsystemd-proxy.la \
libsystemd-internal.la \
libsystemd-shared.la
if ENABLE_KDBUS
nodist_systemunit_DATA += \
units/systemd-bus-proxyd.service
dist_systemunit_DATA += \
units/systemd-bus-proxyd.socket
nodist_userunit_DATA += \
units/user/systemd-bus-proxyd.service
dist_userunit_DATA += \
units/user/systemd-bus-proxyd.socket
endif
EXTRA_DIST += \
units/systemd-bus-proxyd.service.m4.in \
units/user/systemd-bus-proxyd.service.in
CLEANFILES += \
units/systemd-bus-proxyd.service.m4
if HAVE_SMACK
bus-proxyd-set-cap-hook:
-$(SETCAP) cap_mac_admin+ei $(DESTDIR)$(rootlibexecdir)/systemd-bus-proxyd
INSTALL_EXEC_HOOKS += bus-proxyd-set-cap-hook
endif
# ------------------------------------------------------------------------------
systemd_tty_ask_password_agent_SOURCES = \
src/tty-ask-password-agent/tty-ask-password-agent.c
systemd_tty_ask_password_agent_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
libsystemd_internal_la_SOURCES = \
src/systemd/sd-bus.h \
src/systemd/sd-bus-protocol.h \
src/systemd/sd-bus-vtable.h \
src/systemd/sd-utf8.h \
src/systemd/sd-event.h \
src/systemd/sd-rtnl.h \
src/systemd/sd-resolve.h \
src/systemd/sd-login.h \
src/systemd/sd-id128.h \
src/systemd/sd-daemon.h \
src/systemd/sd-path.h \
src/systemd/sd-network.h \
src/systemd/sd-hwdb.h \
src/libsystemd/sd-bus/sd-bus.c \
src/libsystemd/sd-bus/bus-control.c \
src/libsystemd/sd-bus/bus-control.h \
src/libsystemd/sd-bus/bus-error.c \
src/libsystemd/sd-bus/bus-error.h \
src/libsystemd/sd-bus/bus-common-errors.h \
src/libsystemd/sd-bus/bus-common-errors.c \
src/libsystemd/sd-bus/bus-internal.c \
src/libsystemd/sd-bus/bus-internal.h \
src/libsystemd/sd-bus/bus-socket.c \
src/libsystemd/sd-bus/bus-socket.h \
src/libsystemd/sd-bus/bus-kernel.c \
src/libsystemd/sd-bus/bus-kernel.h \
src/libsystemd/sd-bus/bus-container.c \
src/libsystemd/sd-bus/bus-container.h \
src/libsystemd/sd-bus/bus-message.c \
src/libsystemd/sd-bus/bus-message.h \
src/libsystemd/sd-bus/bus-creds.c \
src/libsystemd/sd-bus/bus-creds.h \
src/libsystemd/sd-bus/bus-signature.c \
src/libsystemd/sd-bus/bus-signature.h \
src/libsystemd/sd-bus/bus-type.c \
src/libsystemd/sd-bus/bus-type.h \
src/libsystemd/sd-bus/bus-match.c \
src/libsystemd/sd-bus/bus-match.h \
src/libsystemd/sd-bus/bus-bloom.c \
src/libsystemd/sd-bus/bus-bloom.h \
src/libsystemd/sd-bus/bus-introspect.c \
src/libsystemd/sd-bus/bus-introspect.h \
src/libsystemd/sd-bus/bus-objects.c \
src/libsystemd/sd-bus/bus-objects.h \
src/libsystemd/sd-bus/bus-gvariant.c \
src/libsystemd/sd-bus/bus-gvariant.h \
src/libsystemd/sd-bus/bus-convenience.c \
src/libsystemd/sd-bus/bus-track.c \
src/libsystemd/sd-bus/bus-track.h \
src/libsystemd/sd-bus/bus-util.c \
src/libsystemd/sd-bus/bus-util.h \
src/libsystemd/sd-bus/bus-slot.c \
src/libsystemd/sd-bus/bus-slot.h \
src/libsystemd/sd-bus/bus-protocol.h \
src/libsystemd/sd-bus/kdbus.h \
src/libsystemd/sd-utf8/sd-utf8.c \
src/libsystemd/sd-event/sd-event.c \
src/libsystemd/sd-event/event-util.h \
src/libsystemd/sd-rtnl/sd-rtnl.c \
src/libsystemd/sd-rtnl/rtnl-internal.h \
src/libsystemd/sd-rtnl/rtnl-message.c \
src/libsystemd/sd-rtnl/rtnl-types.h \
src/libsystemd/sd-rtnl/rtnl-types.c \
src/libsystemd/sd-rtnl/rtnl-util.h \
src/libsystemd/sd-rtnl/rtnl-util.c \
src/libsystemd/sd-rtnl/local-addresses.h \
src/libsystemd/sd-rtnl/local-addresses.c \
src/libsystemd/sd-id128/sd-id128.c \
src/libsystemd/sd-daemon/sd-daemon.c \
src/libsystemd/sd-login/sd-login.c \
src/libsystemd/sd-path/sd-path.c \
src/libsystemd/sd-network/sd-network.c \
src/libsystemd/sd-network/network-util.h \
src/libsystemd/sd-network/network-util.c \
src/libsystemd/sd-hwdb/sd-hwdb.c \
src/libsystemd/sd-hwdb/hwdb-util.h \
src/libsystemd/sd-hwdb/hwdb-internal.h
nodist_libsystemd_internal_la_SOURCES = \
src/libsystemd/libsystemd.sym
libsystemd_internal_la_CFLAGS = \
$(AM_CFLAGS) \
-pthread
libsystemd_internal_la_LIBADD = \
$(RT_LIBS)
libsystemd_resolve_la_SOURCES = \
src/libsystemd/sd-resolve/sd-resolve.c \
src/libsystemd/sd-resolve/resolve-util.h
libsystemd_resolve_la_CFLAGS = \
$(AM_CFLAGS) \
-pthread
libsystemd_resolve_la_LIBADD = \
-lresolv
noinst_LTLIBRARIES += \
libsystemd-internal.la \
libsystemd-resolve.la
libsystemd_dump_la_SOURCES = \
src/libsystemd/sd-bus/bus-dump.c \
src/libsystemd/sd-bus/bus-dump.h
noinst_LTLIBRARIES += \
libsystemd-dump.la
EXTRA_DIST += \
src/libsystemd/libsystemd.sym.m4 \
src/libsystemd/libsystemd.pc.in \
src/libsystemd/sd-bus/DIFFERENCES \
src/libsystemd/sd-bus/GVARIANT-SERIALIZATION
CLEANFILES += \
src/libsystemd/libsystemd.sym
BUILT_SOURCES += \
src/libsystemd/libsystemd.sym
libsystemd_la_SOURCES = \
$(libsystemd_internal_la_SOURCES) \
$(libsystemd_resolve_la_SOURCES) \
$(libsystemd_journal_internal_la_SOURCES)
nodist_libsystemd_la_SOURCES = \
$(nodist_libsystemd_internal_la_SOURCES)
libsystemd_la_CFLAGS = \
$(libsystemd_internal_la_CFLAGS) \
$(libsystemd_resolve_la_CFLAGS) \
$(libsystemd_journal_internal_la_CFLAGS)
libsystemd_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_CURRENT):$(LIBSYSTEMD_REVISION):$(LIBSYSTEMD_AGE) \
-Wl,--version-script=$(top_builddir)/src/libsystemd/libsystemd.sym
libsystemd_la_LIBADD = \
libsystemd-shared.la \
$(libsystemd_internal_la_LIBADD) \
$(libsystemd_journal_internal_la_LIBADD) \
$(libsystemd_resolve_la_LIBADD)
libsystemd-install-hook:
libname=libsystemd.so && $(move-to-rootlibdir)
libsystemd-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libsystemd.so*
INSTALL_EXEC_HOOKS += libsystemd-install-hook
UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook
pkgconfiglib_DATA += \
src/libsystemd/libsystemd.pc
pkginclude_HEADERS += \
src/systemd/sd-login.h \
src/systemd/sd-id128.h \
src/systemd/sd-daemon.h
if ENABLE_KDBUS
pkginclude_HEADERS += \
src/systemd/sd-bus.h \
src/systemd/sd-bus-protocol.h \
src/systemd/sd-bus-vtable.h \
src/systemd/sd-utf8.h \
src/systemd/sd-event.h \
src/systemd/sd-rtnl.h \
src/systemd/sd-resolve.h \
src/systemd/sd-path.h
endif
lib_LTLIBRARIES += \
libsystemd.la
tests += \
test-bus-marshal \
test-bus-signature \
test-bus-chat \
test-bus-cleanup \
test-bus-server \
test-bus-match \
test-bus-kernel \
test-bus-kernel-bloom \
test-bus-kernel-benchmark \
test-bus-zero-copy \
test-bus-introspect \
test-bus-objects \
test-bus-error \
test-bus-creds \
test-bus-gvariant \
test-event \
test-rtnl \
test-local-addresses \
test-resolve
bin_PROGRAMS += \
busctl
test_bus_marshal_SOURCES = \
src/libsystemd/sd-bus/test-bus-marshal.c
test_bus_marshal_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(GLIB_LIBS) \
$(DBUS_LIBS)
test_bus_marshal_CFLAGS = \
$(AM_CFLAGS) \
$(GLIB_CFLAGS) \
$(DBUS_CFLAGS)
test_bus_signature_SOURCES = \
src/libsystemd/sd-bus/test-bus-signature.c
test_bus_signature_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_chat_SOURCES = \
src/libsystemd/sd-bus/test-bus-chat.c
test_bus_chat_CFLAGS = \
$(AM_CFLAGS) \
-pthread
test_bus_chat_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_cleanup_SOURCES = \
src/libsystemd/sd-bus/test-bus-cleanup.c
test_bus_cleanup_CFLAGS = \
$(AM_CFLAGS) \
$(SECCOMP_CFLAGS)
test_bus_cleanup_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_server_SOURCES = \
src/libsystemd/sd-bus/test-bus-server.c
test_bus_server_CFLAGS = \
$(AM_CFLAGS) \
-pthread
test_bus_server_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_objects_SOURCES = \
src/libsystemd/sd-bus/test-bus-objects.c
test_bus_objects_CFLAGS = \
$(AM_CFLAGS) \
-pthread
test_bus_objects_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_error_SOURCES = \
src/libsystemd/sd-bus/test-bus-error.c
test_bus_error_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_gvariant_SOURCES = \
src/libsystemd/sd-bus/test-bus-gvariant.c
test_bus_gvariant_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(GLIB_LIBS)
test_bus_gvariant_CFLAGS = \
$(AM_CFLAGS) \
$(GLIB_CFLAGS)
test_bus_creds_SOURCES = \
src/libsystemd/sd-bus/test-bus-creds.c
test_bus_creds_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_match_SOURCES = \
src/libsystemd/sd-bus/test-bus-match.c
test_bus_match_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_kernel_SOURCES = \
src/libsystemd/sd-bus/test-bus-kernel.c
test_bus_kernel_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_kernel_bloom_SOURCES = \
src/libsystemd/sd-bus/test-bus-kernel-bloom.c
test_bus_kernel_bloom_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_kernel_benchmark_SOURCES = \
src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
test_bus_kernel_benchmark_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_zero_copy_SOURCES = \
src/libsystemd/sd-bus/test-bus-zero-copy.c
test_bus_zero_copy_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la
test_bus_introspect_SOURCES = \
src/libsystemd/sd-bus/test-bus-introspect.c
test_bus_introspect_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_event_SOURCES = \
src/libsystemd/sd-event/test-event.c
test_event_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_rtnl_SOURCES = \
src/libsystemd/sd-rtnl/test-rtnl.c
test_rtnl_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_local_addresses_SOURCES = \
src/libsystemd/sd-rtnl/test-local-addresses.c
test_local_addresses_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_resolve_SOURCES = \
src/libsystemd/sd-resolve/test-resolve.c
test_resolve_LDADD = \
libsystemd-resolve.la \
libsystemd-internal.la \
libsystemd-shared.la
test_resolve_CFLAGS = \
$(AM_CFLAGS) \
-pthread
busctl_SOURCES = \
src/libsystemd/sd-bus/busctl.c \
src/libsystemd/sd-bus/busctl-introspect.c \
src/libsystemd/sd-bus/busctl-introspect.h
busctl_LDADD = \
libsystemd-dump.la \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-network.la
libsystemd_network_la_CFLAGS = \
$(AM_CFLAGS) \
$(KMOD_CFLAGS)
libsystemd_network_la_SOURCES = \
src/systemd/sd-dhcp-client.h \
src/systemd/sd-dhcp-server.h \
src/systemd/sd-dhcp-lease.h \
src/systemd/sd-ipv4ll.h \
src/systemd/sd-icmp6-nd.h \
src/systemd/sd-dhcp6-client.h \
src/systemd/sd-dhcp6-lease.h \
src/systemd/sd-pppoe.h \
src/systemd/sd-lldp.h \
src/libsystemd-network/sd-dhcp-client.c \
src/libsystemd-network/sd-dhcp-server.c \
src/libsystemd-network/dhcp-network.c \
src/libsystemd-network/dhcp-option.c \
src/libsystemd-network/dhcp-packet.c \
src/libsystemd-network/dhcp-internal.h \
src/libsystemd-network/dhcp-server-internal.h \
src/libsystemd-network/dhcp-protocol.h \
src/libsystemd-network/dhcp-lease-internal.h \
src/libsystemd-network/sd-dhcp-lease.c \
src/libsystemd-network/sd-ipv4ll.c \
src/libsystemd-network/ipv4ll-network.c \
src/libsystemd-network/ipv4ll-packet.c \
src/libsystemd-network/ipv4ll-internal.h \
src/libsystemd-network/sd-pppoe.c \
src/libsystemd-network/network-internal.c \
src/libsystemd-network/network-internal.h \
src/libsystemd-network/sd-icmp6-nd.c \
src/libsystemd-network/sd-dhcp6-client.c \
src/libsystemd-network/dhcp6-internal.h \
src/libsystemd-network/dhcp6-protocol.h \
src/libsystemd-network/dhcp6-network.c \
src/libsystemd-network/dhcp6-option.c \
src/libsystemd-network/dhcp6-lease-internal.h \
src/libsystemd-network/sd-dhcp6-lease.c \
src/libsystemd-network/lldp.h \
src/libsystemd-network/lldp-tlv.h \
src/libsystemd-network/lldp-tlv.c \
src/libsystemd-network/lldp-network.h \
src/libsystemd-network/lldp-network.c \
src/libsystemd-network/lldp-port.h \
src/libsystemd-network/lldp-port.c \
src/libsystemd-network/lldp-internal.h \
src/libsystemd-network/lldp-internal.c \
src/libsystemd-network/lldp-util.h \
src/libsystemd-network/sd-lldp.c
libsystemd_network_la_LIBADD = \
libudev-internal.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(KMOD_LIBS)
test_dhcp_option_SOURCES = \
src/libsystemd-network/dhcp-protocol.h \
src/libsystemd-network/dhcp-internal.h \
src/libsystemd-network/test-dhcp-option.c
test_dhcp_option_LDADD = \
libsystemd-network.la \
libsystemd-internal.la \
libsystemd-shared.la
test_dhcp_client_SOURCES = \
src/systemd/sd-dhcp-client.h \
src/libsystemd-network/dhcp-protocol.h \
src/libsystemd-network/dhcp-internal.h \
src/libsystemd-network/test-dhcp-client.c
test_dhcp_client_LDADD = \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
test_dhcp_server_SOURCES = \
src/libsystemd-network/test-dhcp-server.c
test_dhcp_server_LDADD = \
libsystemd-network.la \
libsystemd-internal.la \
libsystemd-shared.la
test_ipv4ll_SOURCES = \
src/systemd/sd-ipv4ll.h \
src/libsystemd-network/ipv4ll-internal.h \
src/libsystemd-network/test-ipv4ll.c
test_ipv4ll_LDADD = \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
test_pppoe_SOURCES = \
src/systemd/sd-pppoe.h \
src/libsystemd-network/test-pppoe.c
test_pppoe_LDADD = \
libsystemd-network.la \
libsystemd-shared.la
test_icmp6_rs_SOURCES = \
src/systemd/sd-dhcp6-client.h \
src/systemd/sd-icmp6-nd.h \
src/libsystemd-network/dhcp6-internal.h \
src/libsystemd-network/test-icmp6-rs.c
test_icmp6_rs_LDADD = \
libsystemd-network.la \
libsystemd-internal.la \
libsystemd-shared.la
test_dhcp6_client_SOURCES = \
src/systemd/sd-dhcp6-client.h \
src/libsystemd-network/dhcp6-internal.h \
src/libsystemd-network/test-dhcp6-client.c
test_dhcp6_client_LDADD = \
libsystemd-network.la \
libsystemd-internal.la \
libsystemd-shared.la
test_lldp_SOURCES = \
src/libsystemd-network/lldp.h \
src/libsystemd-network/lldp-tlv.h \
src/libsystemd-network/lldp-tlv.c \
src/libsystemd-network/test-lldp.c
test_lldp_LDADD = \
libsystemd-network.la \
libsystemd-internal.la \
libsystemd-shared.la
tests += \
test-dhcp-option \
test-dhcp-client \
test-dhcp-server \
test-ipv4ll \
test-icmp6-rs \
test-dhcp6-client \
test-lldp
manual_tests += \
test-pppoe
# ------------------------------------------------------------------------------
if ENABLE_TERMINAL
noinst_LTLIBRARIES += \
libsystemd-terminal.la
rootlibexec_PROGRAMS += \
systemd-consoled
noinst_PROGRAMS += \
systemd-evcat \
systemd-modeset \
systemd-subterm
dist_pkgdata_DATA += \
src/libsystemd-terminal/unifont-glyph-array.bin
nodist_userunit_DATA += \
units/user/systemd-consoled.service
USER_DEFAULT_TARGET_WANTS += \
systemd-consoled.service
tests += \
test-term-page \
test-term-parser \
test-unifont
endif
EXTRA_DIST += \
units/user/systemd-consoled.service.in
libsystemd_terminal_la_CFLAGS = \
$(AM_CFLAGS) \
$(TERMINAL_CFLAGS)
libsystemd_terminal_la_SOURCES = \
src/libsystemd-terminal/grdev.h \
src/libsystemd-terminal/grdev-internal.h \
src/libsystemd-terminal/grdev.c \
src/libsystemd-terminal/grdev-drm.c \
src/libsystemd-terminal/idev.h \
src/libsystemd-terminal/idev-internal.h \
src/libsystemd-terminal/idev.c \
src/libsystemd-terminal/idev-evdev.c \
src/libsystemd-terminal/idev-keyboard.c \
src/libsystemd-terminal/sysview.h \
src/libsystemd-terminal/sysview-internal.h \
src/libsystemd-terminal/sysview.c \
src/libsystemd-terminal/term.h \
src/libsystemd-terminal/term-internal.h \
src/libsystemd-terminal/term-charset.c \
src/libsystemd-terminal/term-page.c \
src/libsystemd-terminal/term-parser.c \
src/libsystemd-terminal/term-screen.c \
src/libsystemd-terminal/term-wcwidth.c \
src/libsystemd-terminal/unifont.h \
src/libsystemd-terminal/unifont-def.h \
src/libsystemd-terminal/unifont.c
libsystemd_terminal_la_LIBADD = \
libudev-internal.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(TERMINAL_LIBS)
systemd_consoled_CFLAGS = \
$(AM_CFLAGS) \
$(TERMINAL_CFLAGS)
systemd_consoled_SOURCES = \
src/console/consoled.h \
src/console/consoled.c \
src/console/consoled-display.c \
src/console/consoled-manager.c \
src/console/consoled-session.c \
src/console/consoled-terminal.c \
src/console/consoled-workspace.c
systemd_consoled_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(TERMINAL_LIBS)
systemd_evcat_CFLAGS = \
$(AM_CFLAGS) \
$(TERMINAL_CFLAGS)
systemd_evcat_SOURCES = \
src/libsystemd-terminal/evcat.c
systemd_evcat_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(TERMINAL_LIBS)
systemd_modeset_CFLAGS = \
$(AM_CFLAGS) \
$(TERMINAL_CFLAGS)
systemd_modeset_SOURCES = \
src/libsystemd-terminal/modeset.c
systemd_modeset_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(TERMINAL_LIBS)
systemd_subterm_SOURCES = \
src/libsystemd-terminal/subterm.c
systemd_subterm_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la
test_term_page_SOURCES = \
src/libsystemd-terminal/test-term-page.c
test_term_page_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la
test_term_parser_SOURCES = \
src/libsystemd-terminal/test-term-parser.c
test_term_parser_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la
test_unifont_SOURCES = \
src/libsystemd-terminal/test-unifont.c
test_unifont_LDADD = \
libsystemd-terminal.la \
libsystemd-internal.la \
libsystemd-shared.la
.PHONY: update-unifont
update-unifont: tools/compile-unifont.py
$(AM_V_GEN)$(PYTHON) $< \
<$(top_srcdir)/src/libsystemd-terminal/unifont.hex \
>$(top_srcdir)/src/libsystemd-terminal/unifont-glyph-array.bin
@echo "unifont-glyph-array.bin has been regenerated"
# ------------------------------------------------------------------------------
if ENABLE_GTK_DOC
SUBDIRS += \
docs/libudev
noinst_DATA += \
docs/html/libudev \
docs/html/gudev
endif
include_HEADERS += \
src/libudev/libudev.h
lib_LTLIBRARIES += \
libudev.la
libudev_la_SOURCES =\
src/libudev/libudev.sym \
src/libudev/libudev-private.h \
src/libudev/libudev.c \
src/libudev/libudev-list.c \
src/libudev/libudev-util.c \
src/libudev/libudev-device.c \
src/libudev/libudev-enumerate.c \
src/libudev/libudev-monitor.c \
src/libudev/libudev-queue.c \
src/libudev/libudev-hwdb.c
libudev_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden
libudev_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \
-Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
libudev_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
pkgconfiglib_DATA += \
src/libudev/libudev.pc
EXTRA_DIST += \
src/libudev/libudev.pc.in
CLEANFILES += \
src/libudev/libudev.pc \
docs/html/libudev \
docs/html/gudev
docs/html/libudev:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_LN)$(LN_S) -f ../libudev/html $@
docs/html/gudev:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_LN)$(LN_S) -f ../gudev/html $@
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libudev-install-hook:
libname=libudev.so && $(move-to-rootlibdir)
libudev-uninstall-hook:
rm -f $(DESTDIR)$(rootlibdir)/libudev.so*
INSTALL_EXEC_HOOKS += libudev-install-hook
UNINSTALL_EXEC_HOOKS += libudev-uninstall-hook
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libudev-internal.la
libudev_internal_la_SOURCES =\
$(libudev_la_SOURCES) \
src/libudev/libudev-device-private.c
libudev_internal_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default
# ------------------------------------------------------------------------------
INSTALL_DIRS += \
$(sysconfdir)/udev/rules.d
dist_network_DATA = \
network/99-default.link \
network/80-container-host0.network \
network/80-container-ve.network
dist_udevrules_DATA += \
rules/42-usb-hid-pm.rules \
rules/50-udev-default.rules \
rules/60-drm.rules \
rules/60-keyboard.rules \
rules/70-mouse.rules \
rules/60-persistent-storage-tape.rules \
rules/60-persistent-serial.rules \
rules/60-persistent-input.rules \
rules/60-persistent-alsa.rules \
rules/60-persistent-storage.rules \
rules/64-btrfs.rules \
rules/75-net-description.rules \
rules/75-tty-description.rules \
rules/78-sound-card.rules \
rules/80-net-setup-link.rules \
rules/95-udev-late.rules
nodist_udevrules_DATA += \
rules/99-systemd.rules
udevconfdir = $(sysconfdir)/udev
dist_udevconf_DATA = \
src/udev/udev.conf
sharepkgconfigdir = $(datadir)/pkgconfig
sharepkgconfig_DATA = \
src/udev/udev.pc
EXTRA_DIST += \
rules/99-systemd.rules.in \
src/udev/udev.pc.in
CLEANFILES += \
rules/99-systemd.rules \
src/udev/udev.pc
EXTRA_DIST += \
units/systemd-udevd.service.in \
units/systemd-udev-trigger.service.in \
units/systemd-udev-settle.service.in
CLEANFILES += \
units/systemd-udevd.service \
units/systemd-udev-trigger.service \
units/systemd-udev-settle.service
SOCKETS_TARGET_WANTS += \
systemd-udevd-control.socket \
systemd-udevd-kernel.socket
SYSINIT_TARGET_WANTS += \
systemd-udevd.service \
systemd-udev-trigger.service
rootbin_PROGRAMS += \
udevadm
rootlibexec_PROGRAMS += \
systemd-udevd
noinst_LTLIBRARIES += \
libudev-core.la
src/udev/keyboard-keys.txt:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(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/' > $@
src/udev/keyboard-keys-from-name.gperf: src/udev/keyboard-keys.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
src/udev/keyboard-keys-from-name.h: src/udev/keyboard-keys-from-name.gperf
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < $< > $@
src/udev/keyboard-keys-to-name.h: src/udev/keyboard-keys.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
libudev_core_la_SOURCES = \
src/udev/udev.h \
src/udev/udev-event.c \
src/udev/udev-watch.c \
src/udev/udev-node.c \
src/udev/udev-rules.c \
src/udev/udev-ctrl.c \
src/udev/udev-builtin.c \
src/udev/udev-builtin-btrfs.c \
src/udev/udev-builtin-hwdb.c \
src/udev/udev-builtin-input_id.c \
src/udev/udev-builtin-keyboard.c \
src/udev/udev-builtin-net_id.c \
src/udev/udev-builtin-net_setup_link.c \
src/udev/udev-builtin-path_id.c \
src/udev/udev-builtin-usb_id.c \
src/udev/net/link-config.h \
src/udev/net/link-config.c \
src/udev/net/ethtool-util.h \
src/udev/net/ethtool-util.c
nodist_libudev_core_la_SOURCES = \
src/udev/keyboard-keys-from-name.h \
src/udev/keyboard-keys-to-name.h \
src/udev/net/link-config-gperf.c
BUILT_SOURCES += \
$(nodist_libudev_core_la_SOURCES)
CLEANFILES += \
src/udev/keyboard-keys-from-name.gperf \
src/udev/keyboard-keys.txt \
src/udev/net/link-config-gperf.c
EXTRA_DIST += \
src/udev/net/link-config-gperf.gperf
libudev_core_la_CFLAGS = \
$(AM_CFLAGS) \
$(BLKID_CFLAGS) \
$(KMOD_CFLAGS)
libudev_core_la_LIBADD = \
libudev-internal.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-network.la \
libsystemd-shared.la \
$(BLKID_LIBS) \
$(KMOD_LIBS)
if HAVE_KMOD
libudev_core_la_SOURCES += \
src/udev/udev-builtin-kmod.c
dist_udevrules_DATA += \
rules/80-drivers.rules
endif
if HAVE_BLKID
libudev_core_la_SOURCES += \
src/udev/udev-builtin-blkid.c
endif
if HAVE_ACL
libudev_core_la_SOURCES += \
src/udev/udev-builtin-uaccess.c \
src/login/logind-acl.c \
src/libsystemd/sd-login/sd-login.c \
src/systemd/sd-login.h
libudev_core_la_LIBADD += \
libsystemd-acl.la
endif
systemd_udevd_SOURCES = \
src/udev/udevd.c
systemd_udevd_LDADD = \
libudev-core.la
udevadm_SOURCES = \
src/udev/udevadm.c \
src/udev/udevadm-info.c \
src/udev/udevadm-control.c \
src/udev/udevadm-monitor.c \
src/udev/udevadm-hwdb.c \
src/udev/udevadm-settle.c \
src/udev/udevadm-trigger.c \
src/udev/udevadm-test.c \
src/udev/udevadm-test-builtin.c \
src/udev/udevadm-util.c \
src/udev/udevadm-util.h
udevadm_LDADD = \
libudev-core.la
# ------------------------------------------------------------------------------
if ENABLE_HWDB
INSTALL_DIRS += \
$(sysconfdir)/udev/hwdb.d
systemd_hwdb_SOURCES = \
src/libsystemd/sd-hwdb/hwdb-internal.h \
src/hwdb/hwdb.c
systemd_hwdb_LDADD = \
libsystemd-shared.la \
libsystemd-internal.la \
libudev-internal.la
rootbin_PROGRAMS += \
systemd-hwdb
dist_udevhwdb_DATA = \
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-bluetooth-vendor-product.hwdb \
hwdb/20-acpi-vendor.hwdb \
hwdb/20-OUI.hwdb \
hwdb/20-net-ifname.hwdb \
hwdb/60-keyboard.hwdb \
hwdb/70-mouse.hwdb
EXTRA_DIST += \
units/systemd-hwdb-update.service.in
CLEANFILES += \
units/systemd-hwdb-update.service
SYSINIT_TARGET_WANTS += \
systemd-hwdb-update.service
# Update hwdb on installation. Do not bother if installing
# in DESTDIR, since this is likely for packaging purposes.
hwdb-update-hook:
-test -n "$(DESTDIR)" || $(rootbindir)/systemd-hwdb update
INSTALL_DATA_HOOKS += \
hwdb-update-hook
hwdb-remove-hook:
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
endif
# ------------------------------------------------------------------------------
TESTS += \
test/udev-test.pl \
test/rules-test.sh
manual_tests += \
test-libudev \
test-udev
test_libudev_SOURCES = \
src/test/test-libudev.c
test_libudev_LDADD = \
libsystemd-label.la \
libudev-internal.la \
libsystemd-shared.la \
libsystemd-internal.la
test_udev_SOURCES = \
src/test/test-udev.c
test_udev_LDADD = \
libudev-core.la \
$(BLKID_LIBS) \
$(KMOD_LIBS) \
$(SELINUX_LIBS)
if HAVE_ACL
test_udev_LDADD += \
libsystemd-acl.la
endif
check_DATA += \
test/sys
# packed sysfs test tree
test/sys:
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
test-sys-distclean:
-rm -rf test/sys
DISTCLEAN_LOCAL_HOOKS += test-sys-distclean
EXTRA_DIST += \
test/sys.tar.xz \
test/udev-test.pl \
test/rules-test.sh \
test/rule-syntax-check.py
# ------------------------------------------------------------------------------
ata_id_SOURCES = \
src/udev/ata_id/ata_id.c
ata_id_LDADD = \
libudev-internal.la \
libsystemd-shared.la
udevlibexec_PROGRAMS += \
ata_id
# ------------------------------------------------------------------------------
cdrom_id_SOURCES = \
src/udev/cdrom_id/cdrom_id.c
cdrom_id_LDADD = \
libudev-internal.la \
libsystemd-shared.la
udevlibexec_PROGRAMS += \
cdrom_id
dist_udevrules_DATA += \
rules/60-cdrom_id.rules
# ------------------------------------------------------------------------------
collect_SOURCES = \
src/udev/collect/collect.c
collect_LDADD = \
libudev-internal.la \
libsystemd-shared.la
udevlibexec_PROGRAMS += \
collect
# ------------------------------------------------------------------------------
scsi_id_SOURCES =\
src/udev/scsi_id/scsi_id.c \
src/udev/scsi_id/scsi_serial.c \
src/udev/scsi_id/scsi.h \
src/udev/scsi_id/scsi_id.h
scsi_id_LDADD = \
libudev-internal.la \
libsystemd-shared.la
udevlibexec_PROGRAMS += \
scsi_id
EXTRA_DIST += \
src/udev/scsi_id/README
# ------------------------------------------------------------------------------
v4l_id_SOURCES = \
src/udev/v4l_id/v4l_id.c
v4l_id_LDADD = \
libudev-internal.la \
libsystemd-shared.la
udevlibexec_PROGRAMS += \
v4l_id
dist_udevrules_DATA += \
rules/60-persistent-v4l.rules
# ------------------------------------------------------------------------------
accelerometer_SOURCES = \
src/udev/accelerometer/accelerometer.c
accelerometer_LDADD = \
libudev-internal.la \
libsystemd-shared.la
udevlibexec_PROGRAMS += \
accelerometer
dist_udevrules_DATA += \
rules/61-accelerometer.rules
# ------------------------------------------------------------------------------
if ENABLE_GUDEV
if ENABLE_GTK_DOC
SUBDIRS += \
docs/gudev
endif
libgudev_includedir = \
$(includedir)/gudev-1.0/gudev
libgudev_include_HEADERS = \
src/gudev/gudev.h \
src/gudev/gudevenums.h \
src/gudev/gudevenumtypes.h \
src/gudev/gudevtypes.h \
src/gudev/gudevclient.h \
src/gudev/gudevdevice.h \
src/gudev/gudevenumerator.h
lib_LTLIBRARIES += libgudev-1.0.la
pkgconfiglib_DATA += \
src/gudev/gudev-1.0.pc
CLEANFILES += \
src/gudev/gudev-1.0.pc
libgudev_1_0_la_SOURCES = \
src/gudev/libgudev-1.0.sym \
src/gudev/gudevenums.h \
src/gudev/gudevenumtypes.h \
src/gudev/gudevenumtypes.h\
src/gudev/gudevtypes.h \
src/gudev/gudevclient.h \
src/gudev/gudevclient.c \
src/gudev/gudevdevice.h \
src/gudev/gudevdevice.c \
src/gudev/gudevenumerator.h \
src/gudev/gudevenumerator.c \
src/gudev/gudevprivate.h
nodist_libgudev_1_0_la_SOURCES = \
src/gudev/gudevmarshal.h \
src/gudev/gudevmarshal.c \
src/gudev/gudevenumtypes.h \
src/gudev/gudevenumtypes.c
BUILT_SOURCES += \
$(nodist_libgudev_1_0_la_SOURCES)
libgudev_1_0_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_builddir)/src\
-I$(top_srcdir)/src\
-I$(top_builddir)/src/gudev \
-I$(top_srcdir)/src/gudev \
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
-D_GUDEV_COMPILATION \
-DG_LOG_DOMAIN=\"GUdev\"
libgudev_1_0_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(GLIB_CFLAGS)
libgudev_1_0_la_LIBADD = \
libudev.la \
$(GLIB_LIBS)
libgudev_1_0_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBGUDEV_CURRENT):$(LIBGUDEV_REVISION):$(LIBGUDEV_AGE) \
-export-dynamic \
-no-undefined \
-Wl,--version-script=$(top_srcdir)/src/gudev/libgudev-1.0.sym
src/gudev/gudevmarshal.h: src/gudev/gudevmarshal.list
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)glib-genmarshal $< --prefix=g_udev_marshal --header > $@
src/gudev/gudevmarshal.c: src/gudev/gudevmarshal.list
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)echo '#include "gudevmarshal.h"' > $@ && \
glib-genmarshal $< --prefix=g_udev_marshal --body >> $@
src/gudev/gudevenumtypes.%: src/gudev/gudevenumtypes.%.template src/gudev/gudevenums.h
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)glib-mkenums --template $^ > $@
if HAVE_INTROSPECTION
-include $(INTROSPECTION_MAKEFILE)
src/gudev/GUdev-1.0.gir: libgudev-1.0.la
src_gudev_GUdev_1_0_gir_INCLUDES = GObject-2.0
src_gudev_GUdev_1_0_gir_CFLAGS = \
$(AM_CFLAGS) \
$(INCLUDES) \
-D_GUDEV_COMPILATION \
-D_GUDEV_WORK_AROUND_DEV_T_BUG \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_srcdir)/src/gudev \
-I$(top_builddir)/src/gudev
src_gudev_GUdev_1_0_gir_LIBS = libgudev-1.0.la
src_gudev_GUdev_1_0_gir_SCANNERFLAGS = \
--pkg-export=gudev-1.0 \
--warn-all
src_gudev_GUdev_1_0_gir_FILES = \
src/gudev/gudev.h \
src/gudev/gudevtypes.h \
src/gudev/gudevenums.h \
src/gudev/gudevenumtypes.h \
src/gudev/gudevclient.h \
src/gudev/gudevdevice.h \
src/gudev/gudevenumerator.h \
src/gudev/gudevclient.c \
src/gudev/gudevdevice.c \
src/gudev/gudevenumerator.c
INTROSPECTION_GIRS = src/gudev/GUdev-1.0.gir
INTROSPECTION_SCANNER_ARGS = --c-include=gudev/gudev.h
girdir = $(datadir)/gir-1.0
gir_DATA = \
src/gudev/GUdev-1.0.gir
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = \
src/gudev/GUdev-1.0.typelib
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif # HAVE_INTROSPECTION
endif
EXTRA_DIST += \
src/gudev/gudev-1.0.pc.in \
src/gudev/gudevmarshal.list \
src/gudev/gudevenumtypes.h.template \
src/gudev/gudevenumtypes.c.template \
src/gudev/gjs-example.js \
src/gudev/seed-example-enum.js \
src/gudev/seed-example.js
# ------------------------------------------------------------------------------
mtd_probe_SOURCES = \
src/udev/mtd_probe/mtd_probe.c \
src/udev/mtd_probe/mtd_probe.h \
src/udev/mtd_probe/probe_smartmedia.c
dist_udevrules_DATA += \
rules/75-probe_mtd.rules
udevlibexec_PROGRAMS += \
mtd_probe
# ------------------------------------------------------------------------------
test_id128_SOURCES = \
src/test/test-id128.c
test_id128_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
tests += \
test-id128
# ------------------------------------------------------------------------------
rootlibexec_PROGRAMS += \
systemd-activate
systemd_activate_SOURCES = \
src/activate/activate.c
systemd_activate_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
# ------------------------------------------------------------------------------
systemd_journald_SOURCES = \
src/journal/journald.c \
src/journal/journald-server.h
systemd_journald_LDADD = \
libsystemd-journal-core.la \
libsystemd-internal.la \
libsystemd-shared.la
systemd_cat_SOURCES = \
src/journal/cat.c
systemd_cat_LDADD = \
libsystemd-journal-core.la
if HAVE_MICROHTTPD
rootlibexec_PROGRAMS += \
systemd-journal-remote
systemd_journal_remote_SOURCES = \
src/journal-remote/journal-remote-parse.h \
src/journal-remote/journal-remote-parse.c \
src/journal-remote/journal-remote-write.h \
src/journal-remote/journal-remote-write.c \
src/journal-remote/journal-remote.h \
src/journal-remote/journal-remote.c
systemd_journal_remote_LDADD = \
libsystemd-internal.la \
libsystemd-journal-core.la
systemd_journal_remote_SOURCES += \
src/journal-remote/microhttpd-util.h \
src/journal-remote/microhttpd-util.c
systemd_journal_remote_CFLAGS = \
$(AM_CFLAGS) \
$(MICROHTTPD_CFLAGS)
systemd_journal_remote_LDADD += \
$(MICROHTTPD_LIBS)
if ENABLE_SYSUSERS
dist_sysusers_DATA += \
sysusers.d/systemd-remote.conf
endif
if ENABLE_TMPFILES
dist_tmpfiles_DATA += \
tmpfiles.d/systemd-remote.conf
endif
if HAVE_GNUTLS
systemd_journal_remote_LDADD += \
$(GNUTLS_LIBS)
# systemd-journal-remote make sense mostly with full crypto stack
dist_systemunit_DATA += \
units/systemd-journal-remote.socket
nodist_systemunit_DATA += \
units/systemd-journal-remote.service
EXTRA_DIST += \
units/systemd-journal-remote.service.in
journal-remote-install-hook: journal-install-hook
-$(MKDIR_P) $(DESTDIR)/var/log/journal/remote
-chown 0:0 $(DESTDIR)/var/log/journal/remote
-chmod 755 $(DESTDIR)/var/log/journal/remote
INSTALL_EXEC_HOOKS += journal-remote-install-hook
endif
nodist_pkgsysconf_DATA += \
src/journal-remote/journal-remote.conf
EXTRA_DIST += \
src/journal-remote/journal-remote.conf.in
CLEANFILES += \
src/journal-remote/journal-remote.conf
endif
if HAVE_LIBCURL
rootlibexec_PROGRAMS += \
systemd-journal-upload
systemd_journal_upload_SOURCES = \
src/journal-remote/journal-upload.h \
src/journal-remote/journal-upload.c \
src/journal-remote/journal-upload-journal.c
systemd_journal_upload_CFLAGS = \
$(AM_CFLAGS) \
$(LIBCURL_CFLAGS)
systemd_journal_upload_LDADD = \
libsystemd-internal.la \
libsystemd-journal-internal.la \
libsystemd-shared.la \
$(LIBCURL_LIBS)
nodist_systemunit_DATA += \
units/systemd-journal-upload.service
EXTRA_DIST += \
units/systemd-journal-upload.service.in
nodist_pkgsysconf_DATA += \
src/journal-remote/journal-upload.conf
EXTRA_DIST += \
src/journal-remote/journal-upload.conf.in
CLEANFILES += \
src/journal-remote/journal-upload.conf
endif
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
journalctl_CFLAGS = \
$(AM_CFLAGS)
journalctl_SOURCES = \
src/journal/journalctl.c
journalctl_LDADD = \
libsystemd-journal-internal.la \
libsystemd-internal.la \
libsystemd-logs.la \
libsystemd-shared.la
if HAVE_ACL
journalctl_LDADD += \
libsystemd-acl.la
endif
if HAVE_QRENCODE
journalctl_SOURCES += \
src/journal/journal-qrcode.c \
src/journal/journal-qrcode.h
journalctl_CFLAGS += \
$(QRENCODE_CFLAGS)
journalctl_LDADD += \
$(QRENCODE_LIBS)
endif
test_journal_SOURCES = \
src/journal/test-journal.c
test_journal_LDADD = \
libsystemd-journal-core.la
test_journal_send_SOURCES = \
src/journal/test-journal-send.c
test_journal_send_LDADD = \
libsystemd-journal-core.la
test_journal_syslog_SOURCES = \
src/journal/test-journal-syslog.c
test_journal_syslog_LDADD = \
libsystemd-journal-core.la
test_journal_match_SOURCES = \
src/journal/test-journal-match.c
test_journal_match_LDADD = \
libsystemd-journal-core.la
test_journal_enum_SOURCES = \
src/journal/test-journal-enum.c
test_journal_enum_LDADD = \
libsystemd-journal-core.la
test_journal_stream_SOURCES = \
src/journal/test-journal-stream.c
test_journal_stream_LDADD = \
libsystemd-journal-core.la
test_journal_flush_SOURCES = \
src/journal/test-journal-flush.c
test_journal_flush_LDADD = \
libsystemd-journal-core.la
test_journal_init_SOURCES = \
src/journal/test-journal-init.c
test_journal_init_LDADD = \
libsystemd-journal-core.la
test_journal_verify_SOURCES = \
src/journal/test-journal-verify.c
test_journal_verify_LDADD = \
libsystemd-journal-core.la
test_journal_interleaving_SOURCES = \
src/journal/test-journal-interleaving.c
test_journal_interleaving_LDADD = \
libsystemd-journal-core.la
test_mmap_cache_SOURCES = \
src/journal/test-mmap-cache.c
test_mmap_cache_LDADD = \
libsystemd-journal-core.la
test_catalog_SOURCES = \
src/journal/test-catalog.c
test_catalog_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DCATALOG_DIR=\"$(abs_top_srcdir)/catalog\"
test_catalog_LDADD = \
libsystemd-journal-core.la
test_compress_SOURCES = \
src/journal/test-compress.c
test_compress_LDADD = \
libsystemd-journal-internal.la \
libsystemd-shared.la
test_compress_benchmark_SOURCES = \
src/journal/test-compress-benchmark.c
test_compress_benchmark_LDADD = \
libsystemd-journal-internal.la \
libsystemd-shared.la
libsystemd_journal_core_la_SOURCES = \
src/journal/journald-kmsg.c \
src/journal/journald-kmsg.h \
src/journal/journald-syslog.c \
src/journal/journald-syslog.h \
src/journal/journald-stream.c \
src/journal/journald-stream.h \
src/journal/journald-server.c \
src/journal/journald-server.h \
src/journal/journald-console.c \
src/journal/journald-console.h \
src/journal/journald-wall.c \
src/journal/journald-wall.h \
src/journal/journald-native.c \
src/journal/journald-native.h \
src/journal/journald-audit.c \
src/journal/journald-audit.h \
src/journal/journald-rate-limit.c \
src/journal/journald-rate-limit.h \
src/journal/journal-internal.h
nodist_libsystemd_journal_core_la_SOURCES = \
src/journal/journald-gperf.c
libsystemd_journal_core_la_LIBADD = \
libsystemd-journal-internal.la \
libudev-internal.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
if HAVE_ACL
libsystemd_journal_core_la_LIBADD += \
libsystemd-acl.la
endif
noinst_LTLIBRARIES += \
libsystemd-journal-core.la
journal-install-hook:
-$(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/
journal-uninstall-hook:
-rmdir $(DESTDIR)/var/log/journal/remote
-rmdir $(DESTDIR)/var/log/journal/
INSTALL_EXEC_HOOKS += journal-install-hook
UNINSTALL_EXEC_HOOKS += journal-uninstall-hook
# ------------------------------------------------------------------------------
# Update catalog on installation. Do not bother if installing
# in DESTDIR, since this is likely for packaging purposes.
catalog-update-hook:
-test -n "$(DESTDIR)" || $(rootbindir)/journalctl --update-catalog
INSTALL_DATA_HOOKS += \
catalog-update-hook
catalog-remove-hook:
-test -n "$(DESTDIR)" || rm -f $(catalogstatedir)/database
UNINSTALL_DATA_HOOKS += \
catalog-remove-hook
manual_tests += \
test-journal-enum
tests += \
test-journal \
test-journal-send \
test-journal-syslog \
test-journal-match \
test-journal-stream \
test-journal-init \
test-journal-verify \
test-journal-interleaving \
test-journal-flush \
test-mmap-cache \
test-catalog
if HAVE_COMPRESSION
tests += \
test-compress \
test-compress-benchmark
endif
pkginclude_HEADERS += \
src/systemd/sd-journal.h \
src/systemd/sd-messages.h \
src/systemd/_sd-common.h
libsystemd_journal_internal_la_SOURCES = \
src/journal/sd-journal.c \
src/systemd/sd-journal.h \
src/systemd/_sd-common.h \
src/journal/journal-file.c \
src/journal/journal-file.h \
src/journal/journal-vacuum.c \
src/journal/journal-vacuum.h \
src/journal/journal-verify.c \
src/journal/journal-verify.h \
src/journal/lookup3.c \
src/journal/lookup3.h \
src/journal/journal-send.c \
src/journal/journal-def.h \
src/journal/compress.h \
src/journal/catalog.c \
src/journal/catalog.h \
src/journal/mmap-cache.c \
src/journal/mmap-cache.h \
src/journal/compress.c
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
libsystemd_journal_internal_la_CFLAGS = \
$(AM_CFLAGS)
libsystemd_journal_internal_la_LIBADD = \
libsystemd-label.la
if HAVE_XZ
libsystemd_journal_internal_la_CFLAGS += \
$(XZ_CFLAGS)
libsystemd_journal_internal_la_LIBADD += \
$(XZ_LIBS)
endif
if HAVE_LZ4
libsystemd_journal_internal_la_LIBADD += \
-llz4
endif
if HAVE_GCRYPT
libsystemd_journal_internal_la_SOURCES += \
src/journal/journal-authenticate.c \
src/journal/journal-authenticate.h \
src/journal/fsprg.c \
src/journal/fsprg.h
libsystemd_journal_internal_la_LIBADD += \
$(GCRYPT_LIBS)
# fsprg.c is a drop-in file using void pointer arithmetic
libsystemd_journal_internal_la_CFLAGS += \
$(GCRYPT_CFLAGS) \
-Wno-pointer-arith
endif
noinst_LTLIBRARIES += \
libsystemd-journal-internal.la
rootlibexec_PROGRAMS += \
systemd-journald
rootbin_PROGRAMS += \
journalctl
bin_PROGRAMS += \
systemd-cat
dist_systemunit_DATA += \
units/systemd-journald.socket \
units/systemd-journald-dev-log.socket \
units/systemd-journald-audit.socket
nodist_systemunit_DATA += \
units/systemd-journald.service \
units/systemd-journal-flush.service \
units/systemd-journal-catalog-update.service
dist_pkgsysconf_DATA += \
src/journal/journald.conf
dist_catalog_DATA = \
catalog/systemd.fr.catalog \
catalog/systemd.it.catalog \
catalog/systemd.pl.catalog \
catalog/systemd.pt_BR.catalog \
catalog/systemd.ru.catalog \
catalog/systemd.catalog
SOCKETS_TARGET_WANTS += \
systemd-journald.socket \
systemd-journald-dev-log.socket \
systemd-journald-audit.socket
SYSINIT_TARGET_WANTS += \
systemd-journald.service \
systemd-journal-flush.service \
systemd-journal-catalog-update.service
EXTRA_DIST += \
units/systemd-journald.service.in \
units/systemd-journal-flush.service.in \
units/systemd-journal-catalog-update.service.in \
src/journal/journald-gperf.gperf
CLEANFILES += \
src/journal/journald-gperf.c
# ------------------------------------------------------------------------------
if HAVE_MICROHTTPD
gatewayddocumentrootdir=$(pkgdatadir)/gatewayd
rootlibexec_PROGRAMS += \
systemd-journal-gatewayd
systemd_journal_gatewayd_SOURCES = \
src/journal-remote/journal-gatewayd.c \
src/journal-remote/microhttpd-util.h \
src/journal-remote/microhttpd-util.c
systemd_journal_gatewayd_LDADD = \
libsystemd-logs.la \
libsystemd-journal-internal.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(MICROHTTPD_LIBS)
if HAVE_GNUTLS
systemd_journal_gatewayd_LDADD += \
$(GNUTLS_LIBS)
endif
systemd_journal_gatewayd_CFLAGS = \
$(AM_CFLAGS) \
$(MICROHTTPD_CFLAGS)
systemd_journal_gatewayd_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DDOCUMENT_ROOT=\"$(gatewayddocumentrootdir)\"
dist_systemunit_DATA += \
units/systemd-journal-gatewayd.socket
nodist_systemunit_DATA += \
units/systemd-journal-gatewayd.service
dist_gatewayddocumentroot_DATA = \
src/journal-remote/browse.html
endif
EXTRA_DIST += \
units/systemd-journal-gatewayd.service.in
# ------------------------------------------------------------------------------
systemd_socket_proxyd_SOURCES = \
src/socket-proxy/socket-proxyd.c
systemd_socket_proxyd_LDADD = \
libsystemd-logs.la \
libsystemd-internal.la \
libsystemd-journal-internal.la \
libsystemd-shared.la \
libsystemd-resolve.la
# ------------------------------------------------------------------------------
if ENABLE_COREDUMP
systemd_coredump_SOURCES = \
src/journal/coredump.c \
src/journal/coredump-vacuum.c \
src/journal/coredump-vacuum.h
systemd_coredump_LDADD = \
libsystemd-journal-internal.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
if HAVE_ELFUTILS
systemd_coredump_SOURCES += \
src/journal/stacktrace.c \
src/journal/stacktrace.h
systemd_coredump_LDADD += \
$(ELFUTILS_LIBS)
endif
rootlibexec_PROGRAMS += \
systemd-coredump
dist_pkgsysconf_DATA += \
src/journal/coredump.conf
if HAVE_ACL
systemd_coredump_LDADD += \
libsystemd-acl.la
endif
coredumpctl_SOURCES = \
src/journal/coredumpctl.c
coredumpctl_LDADD = \
libsystemd-journal-internal.la \
libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
coredumpctl
manual_tests += \
test-coredump-vacuum
test_coredump_vacuum_SOURCES = \
src/journal/test-coredump-vacuum.c \
src/journal/coredump-vacuum.c \
src/journal/coredump-vacuum.h
test_coredump_vacuum_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
dist_bashcompletion_DATA += \
shell-completion/bash/coredumpctl
dist_zshcompletion_DATA += \
shell-completion/zsh/_coredumpctl
sysctl_DATA = \
sysctl.d/50-coredump.conf
CLEANFILES += \
sysctl.d/50-coredump.conf
endif
EXTRA_DIST += \
sysctl.d/50-coredump.conf.in
# ------------------------------------------------------------------------------
if ENABLE_BINFMT
systemd_binfmt_SOURCES = \
src/binfmt/binfmt.c
systemd_binfmt_LDADD = \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-binfmt
dist_systemunit_DATA += \
units/proc-sys-fs-binfmt_misc.automount \
units/proc-sys-fs-binfmt_misc.mount
nodist_systemunit_DATA += \
units/systemd-binfmt.service
INSTALL_DIRS += \
$(prefix)/lib/binfmt.d \
$(sysconfdir)/binfmt.d
SYSINIT_TARGET_WANTS += \
systemd-binfmt.service \
proc-sys-fs-binfmt_misc.automount
endif
EXTRA_DIST += \
units/systemd-binfmt.service.in
# ------------------------------------------------------------------------------
if ENABLE_VCONSOLE
systemd_vconsole_setup_SOURCES = \
src/vconsole/vconsole-setup.c
systemd_vconsole_setup_LDADD = \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-vconsole-setup
nodist_systemunit_DATA += \
units/systemd-vconsole-setup.service
nodist_udevrules_DATA += \
src/vconsole/90-vconsole.rules
SYSINIT_TARGET_WANTS += \
systemd-vconsole-setup.service
CLEANFILES += \
src/vconsole/90-vconsole.rules
endif
EXTRA_DIST += \
src/vconsole/90-vconsole.rules.in \
units/systemd-vconsole-setup.service.in
# ------------------------------------------------------------------------------
if ENABLE_BOOTCHART
systemd_bootchart_SOURCES = \
src/bootchart/bootchart.c \
src/bootchart/bootchart.h \
src/bootchart/store.c \
src/bootchart/store.h \
src/bootchart/svg.c \
src/bootchart/svg.h
systemd_bootchart_LDADD = \
libsystemd-journal-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-bootchart
dist_pkgsysconf_DATA += \
src/bootchart/bootchart.conf
nodist_systemunit_DATA += \
units/systemd-bootchart.service
EXTRA_DIST += \
units/systemd-bootchart.service.in
CLEANFILES += \
units/systemd-bootchart.service
endif
# ------------------------------------------------------------------------------
if ENABLE_QUOTACHECK
rootlibexec_PROGRAMS += \
systemd-quotacheck
nodist_systemunit_DATA += \
units/systemd-quotacheck.service
systemd_quotacheck_SOURCES = \
src/quotacheck/quotacheck.c
systemd_quotacheck_LDADD = \
libsystemd-shared.la
endif
EXTRA_DIST += \
units/systemd-quotacheck.service.in
nodist_systemunit_DATA += \
units/quotaon.service
# ------------------------------------------------------------------------------
if ENABLE_RANDOMSEED
rootlibexec_PROGRAMS += \
systemd-random-seed
nodist_systemunit_DATA += \
units/systemd-random-seed.service
systemd_random_seed_SOURCES = \
src/random-seed/random-seed.c
systemd_random_seed_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
SYSINIT_TARGET_WANTS += \
systemd-random-seed.service
endif
EXTRA_DIST += \
units/systemd-random-seed.service.in
# ------------------------------------------------------------------------------
if ENABLE_BACKLIGHT
rootlibexec_PROGRAMS += \
systemd-backlight
nodist_systemunit_DATA += \
units/systemd-backlight@.service
systemd_backlight_SOURCES = \
src/backlight/backlight.c
systemd_backlight_LDADD = \
libsystemd-label.la \
libudev-internal.la \
libsystemd-shared.la
endif
EXTRA_DIST += \
units/systemd-backlight@.service.in
# ------------------------------------------------------------------------------
if ENABLE_RFKILL
rootlibexec_PROGRAMS += \
systemd-rfkill
nodist_systemunit_DATA += \
units/systemd-rfkill@.service
systemd_rfkill_SOURCES = \
src/rfkill/rfkill.c
systemd_rfkill_LDADD = \
libsystemd-label.la \
libudev-internal.la \
libsystemd-shared.la
endif
EXTRA_DIST += \
units/systemd-rfkill@.service.in
# ------------------------------------------------------------------------------
if HAVE_LIBCRYPTSETUP
rootlibexec_PROGRAMS += \
systemd-cryptsetup
systemgenerator_PROGRAMS += \
systemd-cryptsetup-generator
dist_systemunit_DATA += \
units/cryptsetup.target \
units/cryptsetup-pre.target
systemd_cryptsetup_SOURCES = \
src/cryptsetup/cryptsetup.c
systemd_cryptsetup_CFLAGS = \
$(AM_CFLAGS) \
$(LIBCRYPTSETUP_CFLAGS)
systemd_cryptsetup_LDADD = \
libsystemd-label.la \
libudev-internal.la \
libsystemd-shared.la \
$(LIBCRYPTSETUP_LIBS)
systemd_cryptsetup_generator_SOURCES = \
src/cryptsetup/cryptsetup-generator.c
systemd_cryptsetup_generator_LDADD = \
libsystemd-label.la \
libsystemd-shared.la
SYSINIT_TARGET_WANTS += \
cryptsetup.target
endif
# ------------------------------------------------------------------------------
if ENABLE_HOSTNAMED
systemd_hostnamed_SOURCES = \
src/hostname/hostnamed.c
systemd_hostnamed_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-hostnamed
nodist_systemunit_DATA += \
units/systemd-hostnamed.service
dist_systemunit_DATA_busnames += \
units/org.freedesktop.hostname1.busname
dist_dbuspolicy_DATA += \
src/hostname/org.freedesktop.hostname1.conf
dist_dbussystemservice_DATA += \
src/hostname/org.freedesktop.hostname1.service
polkitpolicy_files += \
src/hostname/org.freedesktop.hostname1.policy
SYSTEM_UNIT_ALIASES += \
systemd-hostnamed.service dbus-org.freedesktop.hostname1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.hostname1.busname
hostnamectl_SOURCES = \
src/hostname/hostnamectl.c
hostnamectl_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
hostnamectl
dist_bashcompletion_DATA += \
shell-completion/bash/hostnamectl
dist_zshcompletion_DATA += \
shell-completion/zsh/_hostnamectl
endif
polkitpolicy_in_files += \
src/hostname/org.freedesktop.hostname1.policy.in
EXTRA_DIST += \
units/systemd-hostnamed.service.in
# ------------------------------------------------------------------------------
dist_systemunit_DATA_busnames += \
units/org.freedesktop.systemd1.busname
BUSNAMES_TARGET_WANTS += \
org.freedesktop.systemd1.busname
# ------------------------------------------------------------------------------
if ENABLE_LOCALED
systemd_localed_SOURCES = \
src/locale/localed.c
systemd_localed_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(XKBCOMMON_LIBS)
systemd_localed_CFLAGS = \
$(AM_CFLAGS) \
$(XKBCOMMON_CFLAGS)
nodist_systemunit_DATA += \
units/systemd-localed.service
dist_systemunit_DATA_busnames += \
units/org.freedesktop.locale1.busname
rootlibexec_PROGRAMS += \
systemd-localed
dist_dbuspolicy_DATA += \
src/locale/org.freedesktop.locale1.conf
dist_dbussystemservice_DATA += \
src/locale/org.freedesktop.locale1.service
polkitpolicy_files += \
src/locale/org.freedesktop.locale1.policy
SYSTEM_UNIT_ALIASES += \
systemd-localed.service dbus-org.freedesktop.locale1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.locale1.busname
dist_pkgdata_DATA += \
src/locale/kbd-model-map
dist_noinst_SCRIPT = \
src/locale/generate-kbd-model-map
localectl_SOURCES = \
src/locale/localectl.c
localectl_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
localectl
dist_bashcompletion_DATA += \
shell-completion/bash/localectl
dist_zshcompletion_DATA += \
shell-completion/zsh/_localectl
endif
.PHONY: update-kbd-model-map
polkitpolicy_in_files += \
src/locale/org.freedesktop.locale1.policy.in
EXTRA_DIST += \
units/systemd-localed.service.in
# ------------------------------------------------------------------------------
if ENABLE_TIMEDATED
systemd_timedated_SOURCES = \
src/timedate/timedated.c
systemd_timedated_LDADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-timedated
dist_dbussystemservice_DATA += \
src/timedate/org.freedesktop.timedate1.service
dist_dbuspolicy_DATA += \
src/timedate/org.freedesktop.timedate1.conf
nodist_systemunit_DATA += \
units/systemd-timedated.service
dist_systemunit_DATA_busnames += \
units/org.freedesktop.timedate1.busname
polkitpolicy_files += \
src/timedate/org.freedesktop.timedate1.policy
SYSTEM_UNIT_ALIASES += \
systemd-timedated.service dbus-org.freedesktop.timedate1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.timedate1.busname
timedatectl_SOURCES = \
src/timedate/timedatectl.c
timedatectl_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
timedatectl
dist_bashcompletion_DATA += \
shell-completion/bash/timedatectl
dist_zshcompletion_DATA += \
shell-completion/zsh/_timedatectl
endif
polkitpolicy_in_files += \
src/timedate/org.freedesktop.timedate1.policy.in
EXTRA_DIST += \
units/systemd-timedated.service.in
# ------------------------------------------------------------------------------
if ENABLE_TIMESYNCD
systemd_timesyncd_SOURCES = \
src/timesync/timesyncd.c \
src/timesync/timesyncd-manager.c \
src/timesync/timesyncd-manager.h \
src/timesync/timesyncd-conf.c \
src/timesync/timesyncd-conf.h \
src/timesync/timesyncd-server.c \
src/timesync/timesyncd-server.h
nodist_systemd_timesyncd_SOURCES = \
src/timesync/timesyncd-gperf.c
EXTRA_DIST += \
src/timesync/timesyncd-gperf.gperf
CLEANFILES += \
src/timesync/timesyncd-gperf.c
systemd_timesyncd_LDADD = \
libsystemd-resolve.la \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-timesyncd
nodist_systemunit_DATA += \
units/systemd-timesyncd.service
GENERAL_ALIASES += \
$(systemunitdir)/systemd-timesyncd.service $(pkgsysconfdir)/system/sysinit.target.wants/systemd-timesyncd.service
EXTRA_DIST += \
units/systemd-timesyncd.service.in
nodist_pkgsysconf_DATA += \
src/timesync/timesyncd.conf
EXTRA_DIST += \
src/timesync/timesyncd.conf.in
CLEANFILES += \
src/timesync/timesyncd.conf
endif
# ------------------------------------------------------------------------------
if HAVE_MYHOSTNAME
libnss_myhostname_la_SOURCES = \
src/nss-myhostname/nss-myhostname.sym \
src/nss-myhostname/nss-myhostname.c
libnss_myhostname_la_LDFLAGS = \
$(AM_LDFLAGS) \
-module \
-export-dynamic \
-avoid-version \
-shared \
-shrext .so.2 \
-Wl,--version-script=$(top_srcdir)/src/nss-myhostname/nss-myhostname.sym
libnss_myhostname_la_LIBADD = \
libsystemd-shared.la \
libsystemd-internal.la
lib_LTLIBRARIES += \
libnss_myhostname.la
endif
# ------------------------------------------------------------------------------
if ENABLE_MACHINED
systemd_machined_SOURCES = \
src/machine/machined.c \
src/machine/machined.h
systemd_machined_LDADD = \
libsystemd-machine-core.la
rootlibexec_PROGRAMS += \
systemd-machined
libsystemd_machine_core_la_SOURCES = \
src/machine/machine.c \
src/machine/machine.h \
src/machine/machined-dbus.c \
src/machine/machine-dbus.c \
src/machine/machine-dbus.h \
src/machine/image-dbus.c \
src/machine/image-dbus.h
libsystemd_machine_core_la_LIBADD = \
libsystemd-label.la \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la
noinst_LTLIBRARIES += \
libsystemd-machine-core.la
machinectl_SOURCES = \
src/machine/machinectl.c
machinectl_LDADD = \
libsystemd-internal.la \
libsystemd-logs.la \
libsystemd-journal-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
machinectl
dist_bashcompletion_DATA += \
shell-completion/bash/machinectl
test_machine_tables_SOURCES = \
src/machine/test-machine-tables.c
test_machine_tables_LDADD = \
libsystemd-machine-core.la
tests += \
test-machine-tables
nodist_systemunit_DATA += \
units/systemd-machined.service
dist_systemunit_DATA += \
units/machine.slice
dist_systemunit_DATA_busnames += \
units/org.freedesktop.machine1.busname
dist_dbussystemservice_DATA += \
src/machine/org.freedesktop.machine1.service
dist_dbuspolicy_DATA += \
src/machine/org.freedesktop.machine1.conf
polkitpolicy_files += \
src/machine/org.freedesktop.machine1.policy
polkitpolicy_in_files += \
src/machine/org.freedesktop.machine1.policy.in
dist_zshcompletion_DATA += \
shell-completion/zsh/_machinectl \
shell-completion/zsh/_sd_machines
SYSTEM_UNIT_ALIASES += \
systemd-machined.service dbus-org.freedesktop.machine1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.machine1.busname
EXTRA_DIST += \
units/systemd-machined.service.in
libnss_mymachines_la_SOURCES = \
src/nss-mymachines/nss-mymachines.sym \
src/nss-mymachines/nss-mymachines.c
libnss_mymachines_la_LDFLAGS = \
$(AM_LDFLAGS) \
-module \
-export-dynamic \
-avoid-version \
-shared \
-shrext .so.2 \
-Wl,--version-script=$(top_srcdir)/src/nss-mymachines/nss-mymachines.sym
libnss_mymachines_la_LIBADD = \
libsystemd-shared.la \
libsystemd-internal.la
lib_LTLIBRARIES += \
libnss_mymachines.la
if HAVE_LIBCURL
bin_PROGRAMS += \
systemd-import
systemd_import_SOURCES = \
src/import/import.c \
src/import/import-raw.c \
src/import/import-raw.h \
src/import/import-dkr.c \
src/import/import-dkr.h \
src/import/curl-util.c \
src/import/curl-util.h \
src/import/aufs-util.c \
src/import/aufs-util.h \
src/import/qcow2-util.c \
src/import/qcow2-util.h
systemd_import_CFLAGS = \
$(AM_CFLAGS) \
$(LIBCURL_CFLAGS) \
$(XZ_CFLAGS) \
$(ZLIB_CFLAGS)
systemd_import_LDADD = \
libsystemd-internal.la \
libsystemd-label.la \
libsystemd-shared.la \
$(LIBCURL_LIBS) \
$(XZ_LIBS) \
$(ZLIB_LIBS)
endif
if HAVE_ZLIB
manual_tests += \
test-qcow2
test_qcow2_SOURCES = \
src/import/test-qcow2.c \
src/import/qcow2-util.c \
src/import/qcow2-util.h
test_qcow2_CFLAGS = \
$(AM_CFLAGS) \
$(ZLIB_CFLAGS)
test_qcow2_LDADD = \
libsystemd-internal.la \
libsystemd-label.la \
libsystemd-shared.la \
$(ZLIB_LIBS)
endif
endif
# ------------------------------------------------------------------------------
if ENABLE_RESOLVED
systemd_resolved_SOURCES = \
src/resolve/resolved.c \
src/resolve/resolved-manager.c \
src/resolve/resolved-manager.h \
src/resolve/resolved-conf.c \
src/resolve/resolved-conf.h \
src/resolve/resolved-bus.c \
src/resolve/resolved-bus.h \
src/resolve/resolved-link.h \
src/resolve/resolved-link.c \
src/resolve/resolved-def.h \
src/resolve/resolved-dns-domain.h \
src/resolve/resolved-dns-domain.c \
src/resolve/resolved-dns-rr.h \
src/resolve/resolved-dns-rr.c \
src/resolve/resolved-dns-question.h \
src/resolve/resolved-dns-question.c \
src/resolve/resolved-dns-answer.h \
src/resolve/resolved-dns-answer.c \
src/resolve/resolved-dns-packet.h \
src/resolve/resolved-dns-packet.c \
src/resolve/resolved-dns-query.h \
src/resolve/resolved-dns-query.c \
src/resolve/resolved-dns-transaction.h \
src/resolve/resolved-dns-transaction.c \
src/resolve/resolved-dns-scope.h \
src/resolve/resolved-dns-scope.c \
src/resolve/resolved-dns-server.h \
src/resolve/resolved-dns-server.c \
src/resolve/resolved-dns-cache.h \
src/resolve/resolved-dns-cache.c \
src/resolve/resolved-dns-zone.h \
src/resolve/resolved-dns-zone.c \
src/resolve/resolved-dns-stream.h \
src/resolve/resolved-dns-stream.c \
src/resolve/dns-type.c \
src/resolve/dns-type.h \
src/resolve/dns_type-from-name.h \
src/resolve/dns_type-to-name.h
nodist_systemd_resolved_SOURCES = \
src/resolve/resolved-gperf.c
EXTRA_DIST += \
src/resolve/resolved-gperf.gperf \
src/resolve/dns_type-from-name.gperf
CLEANFILES += \
src/resolve/resolved-gperf.c
systemd_resolved_LDADD = \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(LIBIDN_LIBS)
rootlibexec_PROGRAMS += \
systemd-resolved
nodist_systemunit_DATA += \
units/systemd-resolved.service
dist_systemunit_DATA_busnames += \
units/org.freedesktop.resolve1.busname
dist_dbuspolicy_DATA += \
src/resolve/org.freedesktop.resolve1.conf
dist_dbussystemservice_DATA += \
src/resolve/org.freedesktop.resolve1.service
EXTRA_DIST += \
units/systemd-resolved.service.in
SYSTEM_UNIT_ALIASES += \
systemd-resolved.service dbus-org.freedesktop.resolve1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.resolve1.busname
GENERAL_ALIASES += \
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service
nodist_pkgsysconf_DATA += \
src/resolve/resolved.conf
EXTRA_DIST += \
src/resolve/resolved.conf.in
CLEANFILES += \
src/resolve/resolved.conf
tests += \
test-dns-domain
test_dns_domain_SOURCES = \
src/resolve/resolved-dns-domain.h \
src/resolve/resolved-dns-domain.c \
src/resolve/test-dns-domain.c
test_dns_domain_LDADD = \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la \
$(LIBIDN_LIBS)
libnss_resolve_la_SOURCES = \
src/nss-resolve/nss-resolve.sym \
src/nss-resolve/nss-resolve.c
libnss_resolve_la_LDFLAGS = \
$(AM_LDFLAGS) \
-module \
-export-dynamic \
-avoid-version \
-shared \
-shrext .so.2 \
-Wl,--version-script=$(top_srcdir)/src/nss-resolve/nss-resolve.sym
libnss_resolve_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
lib_LTLIBRARIES += \
libnss_resolve.la
systemd_resolve_host_SOURCES = \
src/resolve-host/resolve-host.c \
src/resolve/resolved-dns-packet.c \
src/resolve/resolved-dns-packet.h \
src/resolve/resolved-dns-rr.c \
src/resolve/resolved-dns-rr.h \
src/resolve/resolved-dns-answer.c \
src/resolve/resolved-dns-answer.h \
src/resolve/resolved-dns-question.c \
src/resolve/resolved-dns-question.h \
src/resolve/resolved-dns-domain.c \
src/resolve/resolved-dns-domain.h \
src/resolve/dns-type.c \
src/resolve/dns-type.h \
src/resolve/dns_type-from-name.h \
src/resolve/dns_type-to-name.h
systemd_resolve_host_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la \
$(LIBIDN_LIBS)
rootlibexec_PROGRAMS += \
systemd-resolve-host
endif
# ------------------------------------------------------------------------------
if ENABLE_NETWORKD
rootlibexec_PROGRAMS += \
systemd-networkd
systemd_networkd_SOURCES = \
src/network/networkd.c
systemd_networkd_LDADD = \
libsystemd-networkd-core.la
if HAVE_LIBIPTC
systemd_networkd_LDADD += \
libsystemd-fw.la
endif
noinst_LTLIBRARIES += \
libsystemd-networkd-core.la
libsystemd_networkd_core_la_CFLAGS = \
$(AM_CFLAGS)
libsystemd_networkd_core_la_SOURCES = \
src/libsystemd-network/network-internal.h \
src/network/networkd.h \
src/network/networkd-link.h \
src/network/networkd-netdev.h \
src/network/networkd-netdev-tunnel.h \
src/network/networkd-netdev-veth.h \
src/network/networkd-netdev-vxlan.h \
src/network/networkd-netdev-vlan.h \
src/network/networkd-netdev-macvlan.h \
src/network/networkd-netdev-dummy.h \
src/network/networkd-netdev-tuntap.h \
src/network/networkd-netdev-bond.h \
src/network/networkd-netdev-bridge.h \
src/network/networkd-netdev.c \
src/network/networkd-netdev-tunnel.c \
src/network/networkd-netdev-veth.c \
src/network/networkd-netdev-vxlan.c \
src/network/networkd-netdev-vlan.c \
src/network/networkd-netdev-macvlan.c \
src/network/networkd-netdev-dummy.c \
src/network/networkd-netdev-tuntap.c \
src/network/networkd-netdev-bond.c \
src/network/networkd-netdev-bridge.c \
src/network/networkd-link.c \
src/network/networkd-ipv4ll.c \
src/network/networkd-dhcp4.c \
src/network/networkd-dhcp6.c \
src/network/networkd-network.c \
src/network/networkd-address.c \
src/network/networkd-route.c \
src/network/networkd-manager.c \
src/network/networkd-fdb.c \
src/network/networkd-address-pool.c
nodist_libsystemd_networkd_core_la_SOURCES = \
src/network/networkd-network-gperf.c \
src/network/networkd-netdev-gperf.c
libsystemd_networkd_core_la_LIBADD = \
libudev-internal.la \
libsystemd-internal.la \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-networkd-wait-online
systemd_networkd_wait_online_CFLAGS = \
$(AM_CFLAGS)
systemd_networkd_wait_online_SOURCES = \
src/libsystemd-network/network-internal.h \
src/network/networkd-wait-online.h \
src/network/networkd-wait-online-link.h \
src/network/networkd-wait-online.c \
src/network/networkd-wait-online-manager.c \
src/network/networkd-wait-online-link.c
systemd_networkd_wait_online_LDADD = \
libsystemd-network.la \
libudev-internal.la \
libsystemd-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
networkctl
networkctl_SOURCES = \
src/network/networkctl.c
networkctl_LDADD = \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la \
libsystemd-network.la
test_network_SOURCES = \
src/network/test-network.c
test_network_LDADD = \
libsystemd-networkd-core.la
if HAVE_LIBIPTC
test_network_LDADD += \
libsystemd-fw.la
endif
test_network_tables_SOURCES = \
src/network/test-network-tables.c \
src/shared/test-tables.h
test_network_tables_LDADD = \
libsystemd-networkd-core.la \
libudev-core.la
if HAVE_LIBIPTC
test_network_tables_LDADD += \
libsystemd-fw.la
endif
tests += \
test-network \
test-network-tables
nodist_systemunit_DATA += \
units/systemd-networkd.service \
units/systemd-networkd-wait-online.service
GENERAL_ALIASES += \
$(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
EXTRA_DIST += \
src/network/networkd-network-gperf.gperf \
src/network/networkd-netdev-gperf.gperf \
units/systemd-networkd.service.in \
units/systemd-networkd-wait-online.service.in
CLEANFILES += \
src/network/networkd-network-gperf.c \
src/network/networkd-netdev-gperf.c
endif
# ------------------------------------------------------------------------------
if ENABLE_LOGIND
systemd_logind_SOURCES = \
src/login/logind.c \
src/login/logind.h
nodist_systemd_logind_SOURCES = \
src/login/logind-gperf.c
systemd_logind_LDADD = \
libsystemd-logind-core.la
libsystemd_logind_core_la_SOURCES = \
src/login/logind-core.c \
src/login/logind-device.c \
src/login/logind-device.h \
src/login/logind-button.c \
src/login/logind-button.h \
src/login/logind-action.c \
src/login/logind-action.h \
src/login/logind-seat.c \
src/login/logind-seat.h \
src/login/logind-session.c \
src/login/logind-session.h \
src/login/logind-session-device.c \
src/login/logind-session-device.h \
src/login/logind-user.c \
src/login/logind-user.h \
src/login/logind-inhibit.c \
src/login/logind-inhibit.h \
src/login/logind-dbus.c \
src/login/logind-session-dbus.c \
src/login/logind-seat-dbus.c \
src/login/logind-user-dbus.c \
src/login/logind-acl.h
libsystemd_logind_core_la_LIBADD = \
libsystemd-label.la \
libsystemd-internal.la \
libudev-internal.la \
libsystemd-shared.la
if HAVE_ACL
libsystemd_logind_core_la_SOURCES += \
src/login/logind-acl.c
libsystemd_logind_core_la_LIBADD += \
libsystemd-acl.la
endif
noinst_LTLIBRARIES += \
libsystemd-logind-core.la
systemd_user_sessions_SOURCES = \
src/login/user-sessions.c
systemd_user_sessions_LDADD = \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
systemd-logind \
systemd-user-sessions
loginctl_SOURCES = \
src/login/loginctl.c \
src/login/sysfs-show.h \
src/login/sysfs-show.c
loginctl_LDADD = \
libsystemd-internal.la \
libsystemd-logs.la \
libsystemd-journal-internal.la \
libudev-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
loginctl
dist_bashcompletion_DATA += \
shell-completion/bash/loginctl
dist_zshcompletion_DATA += \
shell-completion/zsh/_loginctl \
shell-completion/zsh/_systemd-inhibit
systemd_inhibit_SOURCES = \
src/login/inhibit.c
systemd_inhibit_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
rootbin_PROGRAMS += \
systemd-inhibit
test_login_SOURCES = \
src/libsystemd/sd-login/test-login.c
test_login_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_login_shared_SOURCES = \
src/login/test-login-shared.c
test_login_shared_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_inhibit_SOURCES = \
src/login/test-inhibit.c
test_inhibit_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
test_login_tables_SOURCES = \
src/login/test-login-tables.c
test_login_tables_LDADD = \
libsystemd-logind-core.la
manual_tests += \
test-login \
test-inhibit
tests += \
test-login-tables \
test-login-shared
if HAVE_PAM
pam_systemd_la_SOURCES = \
src/login/pam_systemd.sym \
src/login/pam_systemd.c
pam_systemd_la_CFLAGS = \
$(AM_CFLAGS) \
$(PAM_CFLAGS) \
-fvisibility=hidden
pam_systemd_la_LDFLAGS = \
$(AM_LDFLAGS) \
-module \
-export-dynamic \
-avoid-version \
-shared \
-Wl,--version-script=$(top_srcdir)/src/login/pam_systemd.sym
pam_systemd_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la \
$(PAM_LIBS)
pamlib_LTLIBRARIES = \
pam_systemd.la
dist_pamconf_DATA = \
src/login/systemd-user
endif
nodist_systemunit_DATA += \
units/systemd-logind.service \
units/systemd-user-sessions.service
dist_systemunit_DATA += \
units/user.slice
dist_systemunit_DATA_busnames += \
units/org.freedesktop.login1.busname
dist_dbussystemservice_DATA += \
src/login/org.freedesktop.login1.service
dist_dbuspolicy_DATA += \
src/login/org.freedesktop.login1.conf
dist_pkgsysconf_DATA += \
src/login/logind.conf
polkitpolicy_files += \
src/login/org.freedesktop.login1.policy
INSTALL_DIRS += \
$(systemdstatedir)
MULTI_USER_TARGET_WANTS += \
systemd-logind.service \
systemd-user-sessions.service
SYSTEM_UNIT_ALIASES += \
systemd-logind.service dbus-org.freedesktop.login1.service
BUSNAMES_TARGET_WANTS += \
org.freedesktop.login1.busname
dist_udevrules_DATA += \
src/login/70-uaccess.rules \
src/login/70-power-switch.rules
nodist_udevrules_DATA += \
src/login/71-seat.rules \
src/login/73-seat-late.rules
CLEANFILES += \
src/login/logind-gperf.c \
src/login/71-seat.rules \
src/login/73-seat-late.rules
endif
polkitpolicy_in_files += \
src/login/org.freedesktop.login1.policy.in
EXTRA_DIST += \
src/login/logind-gperf.gperf \
src/login/71-seat.rules.in \
src/login/73-seat-late.rules.in \
units/systemd-logind.service.in \
units/systemd-user-sessions.service.in
# ------------------------------------------------------------------------------
if HAVE_PYTHON_DEVEL
pkgpyexec_LTLIBRARIES = \
_journal.la \
id128.la \
_daemon.la \
_reader.la \
login.la
_journal_la_SOURCES = \
src/python-systemd/_journal.c
_journal_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS)
_journal_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
_journal_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd.la
id128_la_SOURCES = \
src/python-systemd/id128.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
nodist_id128_la_SOURCES = \
src/python-systemd/id128-constants.h
id128_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS) \
-I$(top_builddir)/src/python-systemd
id128_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
id128_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-shared.la \
libsystemd.la
_daemon_la_SOURCES = \
src/python-systemd/_daemon.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
_daemon_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS) \
-I$(top_builddir)/src/python-systemd
_daemon_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
_daemon_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-shared.la \
libsystemd.la
_reader_la_SOURCES = \
src/python-systemd/_reader.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
_reader_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS)
_reader_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
_reader_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-shared.la \
libsystemd.la
login_la_SOURCES = \
src/python-systemd/login.c \
src/python-systemd/pyutil.c \
src/python-systemd/pyutil.h
login_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default \
$(PYTHON_DEVEL_CFLAGS)
login_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-module \
-avoid-version
login_la_LIBADD = \
$(PYTHON_DEVEL_LIBS) \
libsystemd-shared.la \
libsystemd.la
dist_pkgpyexec_PYTHON = \
src/python-systemd/journal.py \
src/python-systemd/daemon.py \
src/python-systemd/__init__.py
src/python-systemd/id128-constants.h: src/systemd/sd-messages.h
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(SED) -n -r 's/,//g; s/#define (SD_MESSAGE_[A-Z0-9_]+)\s.*/add_id(m, "\1", \1) JOINER/p' <$< >$@
BUILT_SOURCES += \
src/python-systemd/id128-constants.h
SPHINXOPTS = -D version=$(VERSION) -D release=$(VERSION)
sphinx-%:
$(AM_V_at)test -n "$(SPHINX_BUILD)" || { echo " *** sphinx-build is not available"; exit 1; }
$(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/
python-shell:
$(AM_V_at)echo "Starting python with $(DESTDIR)$(pyexecdir)"
$(AM_V_at)PYTHONPATH=$(DESTDIR)$(pyexecdir) LD_LIBRARY_PATH=$(DESTDIR)$(libdir) $(PYTHON)
destdir-sphinx: all
dir="$$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
$(MAKE) DESTDIR="$$dir" install && \
$(MAKE) DESTDIR="$$dir" sphinx-html && \
rm -rf "$$dir"
endif
CLEAN_LOCAL_HOOKS += clean-sphinx
.PHONY: python-shell destdir-sphinx clean-sphinx clean-python
clean-sphinx:
-rm -rf docs/html/python-systemd/
# Remove Python stuff, e.g. to force rebuilding for a different Python version.
clean-python:
-rm -rf src/python-systemd/.libs src/python-systemd/*.l[ao]
-rm -f _daemon.la id128.la _journal.la login.la _reader.la
# ------------------------------------------------------------------------------
if ENABLE_COMPAT_LIBS
EXTRA_DIST += \
src/compat-libs/linkwarning.h
libsystemd-%.c: src/compat-libs/libsystemd-%.sym
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)sed -r -n 's/^ +(sd_.*);/obsolete_lib(\1,$(notdir $(basename $<)));/p' <$< >$@
BUILT_SOURCES += \
libsystemd-journal.c \
libsystemd-login.c \
libsystemd-id128.c \
libsystemd-daemon.c
libsystemd_journal_la_SOURCES = \
libsystemd-journal.c \
src/compat-libs/libsystemd-journal.sym
libsystemd_journal_la_CPPFLAGS = \
$(AM_CFLAGS) \
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
libsystemd_journal_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-journal.sym
libsystemd_journal_la_LIBADD = \
libsystemd-journal-internal.la \
libsystemd-internal.la \
libsystemd-shared.la
libsystemd_login_la_SOURCES = \
libsystemd-login.c \
src/compat-libs/libsystemd-login.sym
libsystemd_login_la_CPPFLAGS = \
$(AM_CFLAGS) \
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
libsystemd_login_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-login.sym
libsystemd_login_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
libsystemd_id128_la_SOURCES = \
libsystemd-id128.c \
src/compat-libs/libsystemd-id128.sym
libsystemd_id128_la_CPPFLAGS = \
$(AM_CFLAGS) \
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
libsystemd_id128_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-id128.sym
libsystemd_id128_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
libsystemd_daemon_la_SOURCES = \
libsystemd-daemon.c \
src/compat-libs/libsystemd-daemon.sym
libsystemd_daemon_la_CPPFLAGS = \
$(AM_CFLAGS) \
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
libsystemd_daemon_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-daemon.sym
libsystemd_daemon_la_LIBADD = \
libsystemd-internal.la \
libsystemd-shared.la
lib_LTLIBRARIES += \
libsystemd-journal.la \
libsystemd-login.la \
libsystemd-id128.la \
libsystemd-daemon.la
pkgconfiglib_DATA += \
src/compat-libs/libsystemd-journal.pc \
src/compat-libs/libsystemd-login.pc \
src/compat-libs/libsystemd-id128.pc \
src/compat-libs/libsystemd-daemon.pc
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
compat-lib-install-hook:
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)
compat-lib-uninstall-hook:
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*
INSTALL_EXEC_HOOKS += compat-lib-install-hook
UNINSTALL_EXEC_HOOKS += compat-lib-uninstall-hook
endif
EXTRA_DIST += \
src/compat-libs/libsystemd-journal.pc.in \
src/compat-libs/libsystemd-login.pc.in \
src/compat-libs/libsystemd-id128.pc.in \
src/compat-libs/libsystemd-daemon.pc.in
# ------------------------------------------------------------------------------
substitutions = \
'|rootlibexecdir=$(rootlibexecdir)|' \
'|rootbindir=$(rootbindir)|' \
'|bindir=$(bindir)|' \
'|SYSTEMCTL=$(rootbindir)/systemctl|' \
'|SYSTEMD_NOTIFY=$(rootbindir)/systemd-notify|' \
'|pkgsysconfdir=$(pkgsysconfdir)|' \
'|SYSTEM_CONFIG_UNIT_PATH=$(pkgsysconfdir)/system|' \
'|USER_CONFIG_UNIT_PATH=$(pkgsysconfdir)/user|' \
'|pkgdatadir=$(pkgdatadir)|' \
'|systemunitdir=$(systemunitdir)|' \
'|userunitdir=$(userunitdir)|' \
'|systempresetdir=$(systempresetdir)|' \
'|userpresetdir=$(userpresetdir)|' \
'|udevhwdbdir=$(udevhwdbdir)|' \
'|udevrulesdir=$(udevrulesdir)|' \
'|catalogdir=$(catalogdir)|' \
'|tmpfilesdir=$(tmpfilesdir)|' \
'|sysusersdir=$(sysusersdir)|' \
'|sysctldir=$(sysctldir)|' \
'|systemgeneratordir=$(systemgeneratordir)|' \
'|usergeneratordir=$(usergeneratordir)|' \
'|CERTIFICATEROOT=$(CERTIFICATEROOT)|' \
'|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
'|PACKAGE_NAME=$(PACKAGE_NAME)|' \
'|PACKAGE_URL=$(PACKAGE_URL)|' \
'|RANDOM_SEED_DIR=$(localstatedir)/lib/systemd/|' \
'|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \
'|prefix=$(prefix)|' \
'|exec_prefix=$(exec_prefix)|' \
'|libdir=$(libdir)|' \
'|includedir=$(includedir)|' \
'|VERSION=$(VERSION)|' \
'|rootprefix=$(rootprefix)|' \
'|udevlibexecdir=$(udevlibexecdir)|' \
'|SUSHELL=$(SUSHELL)|' \
'|DEBUGTTY=$(DEBUGTTY)|' \
'|KILL=$(KILL)|' \
'|KMOD=$(KMOD)|' \
'|MKDIR_P=$(MKDIR_P)|' \
'|QUOTAON=$(QUOTAON)|' \
'|QUOTACHECK=$(QUOTACHECK)|' \
'|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
'|VARLOGDIR=$(varlogdir)|' \
'|RC_LOCAL_SCRIPT_PATH_START=$(RC_LOCAL_SCRIPT_PATH_START)|' \
'|RC_LOCAL_SCRIPT_PATH_STOP=$(RC_LOCAL_SCRIPT_PATH_STOP)|' \
'|PYTHON=$(PYTHON)|' \
'|PYTHON_BINARY=$(PYTHON_BINARY)|' \
'|NTP_SERVERS=$(NTP_SERVERS)|' \
'|DNS_SERVERS=$(DNS_SERVERS)|' \
'|systemuidmax=$(SYSTEM_UID_MAX)|' \
'|systemgidmax=$(SYSTEM_GID_MAX)|' \
'|TTY_GID=$(TTY_GID)|' \
'|systemsleepdir=$(systemsleepdir)|' \
'|systemshutdowndir=$(systemshutdowndir)|' \
'|binfmtdir=$(binfmtdir)|' \
'|modulesloaddir=$(modulesloaddir)|'
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
< $< > $@
units/%: units/%.in
$(SED_PROCESS)
man/%: man/%.in
$(SED_PROCESS)
sysctl.d/%: sysctl.d/%.in
$(SED_PROCESS)
%.pc: %.pc.in
$(SED_PROCESS)
%.conf: %.conf.in
$(SED_PROCESS)
src/core/macros.%: src/core/macros.%.in
$(SED_PROCESS)
src/%.policy.in: src/%.policy.in.in
$(SED_PROCESS)
shell-completion/%: shell-completion/%.in
$(SED_PROCESS)
%.rules: %.rules.in
$(SED_PROCESS)
%.conf: %.conf.in
$(SED_PROCESS)
%.sh: %.sh.in
$(SED_PROCESS)
$(AM_V_GEN)chmod +x $@
src/%.c: src/%.gperf
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GPERF)$(GPERF) < $< > $@
src/%: src/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
sysusers.d/%: sysusers.d/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
tmpfiles.d/%: tmpfiles.d/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
units/%: units/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@
units/user/%: units/user/%.m4
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@
if ENABLE_POLKIT
nodist_polkitpolicy_DATA = \
$(polkitpolicy_files) \
$(polkitpolicy_in_in_files:.policy.in.in=.policy)
endif
EXTRA_DIST += \
$(polkitpolicy_in_files) \
$(polkitpolicy_in_in_files)
CLEANFILES += \
$(nodist_systemunit_DATA) \
$(nodist_userunit_DATA) \
$(pkgconfiglib_DATA) \
$(nodist_polkitpolicy_DATA)
# ------------------------------------------------------------------------------
if ENABLE_MANPAGES
man/custom-entities.ent: configure.ac
$(AM_V_GEN)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \
printf '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">\n,$(substitutions))))') \
> $@ # '
DISTCLEANFILES += \
man/custom-entities.ent
XSLTPROC_FLAGS = \
--nonet \
--xinclude \
--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) \
--path '$(builddir)/man:$(srcdir)/man'
XSLTPROC_PROCESS_MAN = \
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $<
XSLTPROC_PROCESS_HTML = \
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
man/%.1: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.3: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.5: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.7: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.8: man/%.xml man/custom-man.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_MAN)
man/%.html: man/%.xml man/custom-html.xsl man/custom-entities.ent
$(XSLTPROC_PROCESS_HTML)
define html-alias
$(AM_V_LN)$(LN_S) -f $(notdir $<) $@
endef
endif
EXTRA_DIST += \
man/custom-html.xsl \
man/custom-man.xsl
# ------------------------------------------------------------------------------
if HAVE_SYSV_COMPAT
sysvinit_DATA = \
docs/sysvinit/README
varlog_DATA = \
docs/var-log/README
docs/sysvinit/README: docs/sysvinit/README.in
$(SED_PROCESS)
docs/var-log/README: docs/var-log/README.in
$(SED_PROCESS)
CLEANFILES += \
docs/sysvinit/README \
docs/var-log/README
endif
EXTRA_DIST += \
docs/sysvinit/README.in \
docs/var-log/README.in
SOCKETS_TARGET_WANTS += \
systemd-initctl.socket \
systemd-shutdownd.socket
if HAVE_UTMP
if HAVE_SYSV_COMPAT
RUNLEVEL1_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL2_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL3_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL4_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
RUNLEVEL5_TARGET_WANTS += \
systemd-update-utmp-runlevel.service
endif
SYSINIT_TARGET_WANTS += \
systemd-update-utmp.service
endif
SYSINIT_TARGET_WANTS += \
systemd-update-done.service
LOCAL_FS_TARGET_WANTS += \
systemd-remount-fs.service \
tmp.mount
MULTI_USER_TARGET_WANTS += \
getty.target \
systemd-ask-password-wall.path
SYSINIT_TARGET_WANTS += \
dev-hugepages.mount \
dev-mqueue.mount \
sys-kernel-config.mount \
sys-kernel-debug.mount \
sys-fs-fuse-connections.mount \
systemd-sysctl.service \
systemd-ask-password-console.path
if HAVE_SYSV_COMPAT
SYSTEM_UNIT_ALIASES += \
poweroff.target runlevel0.target \
rescue.target runlevel1.target \
multi-user.target runlevel2.target \
multi-user.target runlevel3.target \
multi-user.target runlevel4.target \
graphical.target runlevel5.target \
reboot.target runlevel6.target
endif
SYSTEM_UNIT_ALIASES += \
graphical.target default.target \
reboot.target ctrl-alt-del.target \
getty@.service autovt@.service
USER_UNIT_ALIASES += \
$(systemunitdir)/shutdown.target shutdown.target \
$(systemunitdir)/sockets.target sockets.target \
$(systemunitdir)/timers.target timers.target \
$(systemunitdir)/paths.target paths.target \
$(systemunitdir)/bluetooth.target bluetooth.target \
$(systemunitdir)/printer.target printer.target \
$(systemunitdir)/sound.target sound.target \
$(systemunitdir)/smartcard.target smartcard.target
if ENABLE_KDBUS
USER_UNIT_ALIASES += \
$(systemunitdir)/busnames.target busnames.target
endif
GENERAL_ALIASES += \
$(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
$(systemunitdir)/getty@.service $(pkgsysconfdir)/system/getty.target.wants/getty@tty1.service \
$(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
$(dbussystemservicedir)/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service
if HAVE_SYSV_COMPAT
INSTALL_DIRS += \
$(systemunitdir)/runlevel1.target.wants \
$(systemunitdir)/runlevel2.target.wants \
$(systemunitdir)/runlevel3.target.wants \
$(systemunitdir)/runlevel4.target.wants \
$(systemunitdir)/runlevel5.target.wants
endif
INSTALL_DIRS += \
$(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 \
$(systemshutdowndir) \
$(systemsleepdir) \
$(systemgeneratordir) \
$(usergeneratordir) \
\
$(userunitdir) \
$(pkgsysconfdir)/system \
$(pkgsysconfdir)/system/multi-user.target.wants \
$(pkgsysconfdir)/system/getty.target.wants \
$(pkgsysconfdir)/user \
$(dbussessionservicedir) \
$(sysconfdir)/xdg/systemd
install-exec-hook: $(INSTALL_EXEC_HOOKS)
uninstall-hook: $(UNINSTALL_DATA_HOOKS) $(UNINSTALL_EXEC_HOOKS)
install-data-hook: $(INSTALL_DATA_HOOKS)
distclean-local: $(DISTCLEAN_LOCAL_HOOKS)
clean-local: $(CLEAN_LOCAL_HOOKS)
rm -rf $(abs_srcdir)/install-tree
rm -f $(abs_srcdir)/hwdb/usb.ids $(abs_srcdir)/hwdb/pci.ids $(abs_srcdir)/hwdb/oui.txt \
$(abs_srcdir)/hwdb/iab.txt
DISTCHECK_CONFIGURE_FLAGS = \
--with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
--with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
--with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
--with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \
--with-zshcompletiondir=$$dc_install_base/$(zshcompletiondir) \
--with-pamlibdir=$$dc_install_base/$(pamlibdir) \
--with-pamconfdir=$$dc_install_base/$(pamconfdir) \
--with-rootprefix=$$dc_install_base \
--disable-split-usr \
--enable-kdbus \
--enable-compat-libs
if HAVE_SYSV_COMPAT
DISTCHECK_CONFIGURE_FLAGS += \
--with-sysvinit-path=$$dc_install_base/$(sysvinitdir) \
--with-sysvrcnd-path=$$dc_install_base/$(sysvrcnddir)
else
DISTCHECK_CONFIGURE_FLAGS += \
--with-sysvinit-path= \
--with-sysvrcnd-path=
endif
if HAVE_PYTHON
DISTCHECK_CONFIGURE_FLAGS += \
--with-python
endif
if ENABLE_GTK_DOC
DISTCHECK_CONFIGURE_FLAGS += \
--enable-gtk-doc
endif
#
# Require python when making dist
#
.PHONY: dist-check-python
dist-check-python:
if !HAVE_PYTHON
@echo "*** python and python-lxml module must be installed and enabled in order to make dist"
@false
endif
dist-check-compat-libs:
if !ENABLE_COMPAT_LIBS
@echo "*** compat-libs must be enabled in order to make dist"
@false
endif
dist: dist-check-python dist-check-compat-libs
# check "broken" platforms limited toolchains for link breakage before we release
.PHONY: linkcheck
linkcheck:
$(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections' distcheck
.PHONY: hwdb-update
hwdb-update:
( cd $(top_srcdir)/hwdb && \
wget -N http://www.linux-usb.org/usb.ids \
http://pci-ids.ucw.cz/v2.2/pci.ids \
http://standards.ieee.org/develop/regauth/oui/oui.txt \
http://standards.ieee.org/develop/regauth/iab/iab.txt && \
./ids-update.pl )
.PHONY: kdbus-update
kdbus-update:
( cd $(top_srcdir)/src/libsystemd/sd-bus/ && \
wget -N https://d-bus.googlecode.com/git/kdbus.h )
.PHONY: git-tag
git-tag:
git tag -s "v$(VERSION)" -m "systemd $(VERSION)"
www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd
.PHONY: upload
upload: all check dist
scp systemd-$(VERSION).tar.xz $(www_target)
.PHONY: doc-sync
doc-sync: all destdir-sphinx
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/
.PHONY: gardel
gardel: upload
scp man/*.html gardel:public/systemd-man/
.PHONY: lennart-fedora
lennart-fedora:
cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
.PHONY: install-tree
install-tree: all
rm -rf $(abs_srcdir)/install-tree
$(MAKE) install DESTDIR=$(abs_srcdir)/install-tree
tree $(abs_srcdir)/install-tree
# Let's run all tests of the test suite, but under valgrind. Let's
# exclude the one perl script we have in there
.PHONY: valgrind-tests
valgrind-tests: $(TESTS)
$(AM_V_GEN)for f in $(filter-out %.pl, $^); do \
if file $$f | grep -q shell; then \
echo -e "$${x}Skipping non-binary $$f"; else \
echo -e "$${x}Running $$f"; \
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
x="\n\n"; \
done
exported-%: %
$(AM_V_GEN)$(NM) -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
exported: $(addprefix exported-, $(lib_LTLIBRARIES))
$(AM_V_GEN)cat $^ > $@
.PHONY: check-api-docs
check-api-docs: exported man
$(AM_V_GEN)for symbol in `cat exported` ; do \
if test -f $(builddir)/man/$$symbol.html ; then \
echo " Symbol $$symbol() is documented." ; \
else \
echo "‣ Symbol $$symbol() lacks documentation." ; \
fi ; \
done
OBJECT_VARIABLES:=$(filter %_OBJECTS,$(.VARIABLES))
ALL_OBJECTS:=$(foreach v,$(OBJECT_VARIABLES),$($(v)))
undefined defined: $(ALL_OBJECTS)
$(AM_V_GEN)for f in $(ALL_OBJECTS) ; do \
$(NM) -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
done | cut -c 20- | cut -d @ -f 1 | sort -u > $@
CLEANFILES += \
defined \
undefined
.PHONY: check-api-unused
check-api-unused: defined undefined exported
( cat exported undefined ) | sort -u | diff -u - defined | grep ^+ | grep -v ^+++ | cut -c2-
.PHONY: check-includes
check-includes: $(top_srcdir)/tools/check-includes.pl
$(AM_V_GEN) find * -name '*.[hcS]' -type f -print | sort -u \
| xargs $(top_srcdir)/tools/check-includes.pl
EXTRA_DIST += \
$(top_srcdir)/tools/check-includes.pl
# Stupid test that everything purported to be exported really is
define generate-sym-test
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_at)printf '#include <stdio.h>\n' > $@
$(AM_V_at)printf '#include "%s"\n' $(notdir $(filter %.h, $^)) >> $@
$(AM_V_at)printf 'void* functions[] = {\n' >> $@
$(AM_V_GEN)sed -r -n 's/^ +([a-zA-Z0-9_]+);/\1,/p' $< >> $@
$(AM_V_at)printf '};\nint main(void) {\n' >> $@
$(AM_V_at)printf 'unsigned i; for (i=0;i<sizeof(functions)/sizeof(void*);i++) printf("%%p\\n", functions[i]);\n' >> $@
$(AM_V_at)printf 'return 0; }\n' >> $@
endef
test-libsystemd-sym.c: \
$(top_builddir)/src/libsystemd/libsystemd.sym \
src/systemd/sd-journal.h \
src/systemd/sd-daemon.h \
src/systemd/sd-login.h \
src/systemd/sd-bus.h \
src/systemd/sd-utf8.h \
src/systemd/sd-resolve.h \
src/systemd/sd-path.h
$(generate-sym-test)
test-libudev-sym.c: \
src/libudev/libudev.sym \
src/udev/udev.h
$(generate-sym-test)
test_libsystemd_sym_SOURCES = \
test-libsystemd-sym.c
test_libsystemd_sym_LDADD = \
libsystemd.la
test_libudev_sym_SOURCES = \
test-libudev-sym.c
test_libudev_sym_CFLAGS = \
$(AM_CFLAGS) \
-Wno-deprecated-declarations
test_libudev_sym_LDADD = \
libudev.la
BUILT_SOURCES += \
$(test_libsystemd_sym_SOURCES) \
$(test_libudev_sym_SOURCES)
tests += \
test-libsystemd-sym \
test-libudev-sym
.PHONY: cppcheck
cppcheck:
cppcheck --enable=all -q $(top_srcdir)
# Used to extract compile flags for YCM.
print-%:
@echo $($*)
git-contrib:
@git shortlog -s `git describe --abbrev=0`.. | cut -c8- | awk '{ print $$0 "," }' | sort -u
EXTRA_DIST += \
tools/gdb-sd_dump_hashmaps.py