Makefile.am revision 4851ac45269f539ff8c90fe686178128584b820c
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# -*- Mode: makefile; indent-tabs-mode: t -*-
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# This file is part of systemd.
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# Copyright 2010-2012 Lennart Poettering
7ec4d5cc4aa574e3191bc5a612e68fd8f25ab7earpluem# Copyright 2010-2012 Kay Sievers
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# Copyright 2013 Zbigniew Jędrzejewski-Szmek
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# Copyright 2013 David Strauss
50c04f297d76a57ead2fa6b73845f7563b1fc788sf# systemd is free software; you can redistribute it and/or modify it
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# under the terms of the GNU Lesser General Public License as published by
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# the Free Software Foundation; either version 2.1 of the License, or
d9b843d090f14405079b4a61a493316cd3f1e5b9minfrin# (at your option) any later version.
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# systemd is distributed in the hope that it will be useful, but
909ce17e2bd0faef7b1c294f2307f009793fd493nd# WITHOUT ANY WARRANTY; without even the implied warranty of
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0ce5630695a7aa568811a9dd0aceedd685f040dend# Lesser General Public License for more details.
42af92a661a06b3cebc88d585aad75064a309d51nd# You should have received a copy of the GNU Lesser General Public License
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# along with systemd; If not, see <http://www.gnu.org/licenses/>.
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendAM_MAKEFLAGS = --no-print-directory
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendAUTOMAKE_OPTIONS = color-tests parallel-tests
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendSUBDIRS = . po
43f6cc6aa3312619633538b8978619a48c0ce52eminfrin# remove targets if the command fails
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend.DELETE_ON_ERROR:
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# keep intermediate files
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend.SECONDARY:
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend.PRECIOUS: $(TEST_SUITE_LOG) Makefile
05ede5110427cb9dc071cc671d5aaba5d3b88c79ndLIBUDEV_CURRENT=5
e8b603fa9ccf7b17b11b42df6d8916fd97c2331dndLIBUDEV_REVISION=0
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBUDEV_AGE=4
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBGUDEV_CURRENT=2
d6ce05b6521a82cc93da69f7c2116c4a5bc54f8cjimLIBGUDEV_REVISION=0
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBGUDEV_AGE=2
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_LOGIN_CURRENT=9
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_LOGIN_REVISION=3
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_LOGIN_AGE=9
03a4ff9ac4c9b8009249010e7c53bb86ff05915andLIBSYSTEMD_DAEMON_CURRENT=0
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_DAEMON_REVISION=12
1e367a83311e5243e04d68857d007d04765a48f9chrisdLIBSYSTEMD_DAEMON_AGE=0
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_ID128_CURRENT=0
7d15331eeb5429d7148d13d6fd914a641bf1c000pquernaLIBSYSTEMD_ID128_REVISION=28
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_ID128_AGE=0
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_JOURNAL_CURRENT=11
2704de98885368683621b01c8f8f4e4b01557611takashiLIBSYSTEMD_JOURNAL_REVISION=5
2704de98885368683621b01c8f8f4e4b01557611takashiLIBSYSTEMD_JOURNAL_AGE=11
1e367a83311e5243e04d68857d007d04765a48f9chrisdLIBSYSTEMD_CURRENT=1
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_REVISION=0
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLIBSYSTEMD_AGE=1
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# Dirs of external packages
fb51a6b789d85113d0976148685b0063c294220drbowendbuspolicydir=@dbuspolicydir@
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fenddbussessionservicedir=@dbussessionservicedir@
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fenddbussystemservicedir=@dbussystemservicedir@
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendpamlibdir=@pamlibdir@
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendpamconfdir=@pamconfdir@
27d778df0b517e1578f907d2e51eb961cd8ee5fbjimpkgconfigdatadir=$(datadir)/pkgconfig
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendpkgconfiglibdir=$(libdir)/pkgconfig
6b0fe1f447ba35827cd5cf1d2a703bd8517f33ffmturkpolkitpolicydir=$(datadir)/polkit-1/actions
6b0fe1f447ba35827cd5cf1d2a703bd8517f33ffmturkbashcompletiondir=@bashcompletiondir@
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendzshcompletiondir=@zshcompletiondir@
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashirpmmacrosdir=$(prefix)/lib/rpm/macros.d
f73390048b37c973a8016ffd22108d7a73c6cc22pquernasysvinitdir=$(SYSTEM_SYSVINIT_PATH)
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendsysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendvarlogdir=$(localstatedir)/log
0a69d9bb491d9810892a9949c01403a1de3c7ac2ndsystemdstatedir=$(localstatedir)/lib/systemd
ebdfe3e677aaa92fe2df702295eac81a97a4610frbowencatalogstatedir=$(systemdstatedir)/catalog
5f4e50966b2b9b58436a1651cbe588d1b595657ewrowe# Our own, non-special dirs
5332c9934b1c0136e9cd4815fe7d70b79d83fddcsfpkgsysconfdir=$(sysconfdir)/systemd
623eebe956d9c2d6d073ed3eae855b56030b40e9noodluserunitdir=$(prefix)/lib/systemd/user
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fenduserpresetdir=$(prefix)/lib/systemd/user-preset
79b024b81f6bb3c44dce77a7552191daf8b522d2jimtmpfilesdir=$(prefix)/lib/tmpfiles.d
4277c95b5a9454a5c25f8d8762634fcff37aa840minfrinsysctldir=$(prefix)/lib/sysctl.d
4277c95b5a9454a5c25f8d8762634fcff37aa840minfrinnetworkdir=$(rootprefix)/lib/systemd/network
4277c95b5a9454a5c25f8d8762634fcff37aa840minfrinpkgincludedir=$(includedir)/systemd
f195a136dcd90148b116fdae8ce95b41ba92b87eminfrinsystemgeneratordir=$(rootlibexecdir)/system-generators
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendusergeneratordir=$(prefix)/lib/systemd/user-generators
1de1266f0ea387d6373be8415745dfd2ab876341jimsystemshutdowndir=$(rootlibexecdir)/system-shutdown
1de1266f0ea387d6373be8415745dfd2ab876341jimsystemsleepdir=$(rootlibexecdir)/system-sleep
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendsystemunitdir=$(rootprefix)/lib/systemd/system
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendsystempresetdir=$(rootprefix)/lib/systemd/system-preset
0ce5630695a7aa568811a9dd0aceedd685f040dendudevlibexecdir=$(rootprefix)/lib/udev
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendudevhomedir=$(udevlibexecdir)
10eed2803538d660048f6e733602e82a75ef6885noodludevrulesdir=$(udevlibexecdir)/rules.d
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendudevhwdbdir=$(udevlibexecdir)/hwdb.d
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendcatalogdir=$(prefix)/lib/systemd/catalog
4db28ee269aa06f7c6232e11cd01f58c3349af23noodlkernelinstalldir = $(prefix)/lib/kernel/install.d
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend# And these are the special ones for /
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndrootprefix=@rootprefix@
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendrootbindir=$(rootprefix)/bin
0ce5630695a7aa568811a9dd0aceedd685f040dendrootlibexecdir=$(rootprefix)/lib/systemd
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendCLEANFILES = $(BUILT_SOURCES)
316f02e3836836c82e19019ff23f90a7ebc65289nilgunDISTCLEANFILES =
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendEXTRA_DIST =
0ce5630695a7aa568811a9dd0aceedd685f040dendBUILT_SOURCES =
0ce5630695a7aa568811a9dd0aceedd685f040dendINSTALL_EXEC_HOOKS =
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendUNINSTALL_EXEC_HOOKS =
-include $(top_builddir)/config.h \
-DRANDOM_SEED_DIR=\"$(localstatedir)/lib/systemd/\" \
-DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
-I $(top_builddir)/src/shared \
-I $(top_srcdir)/src/shared \
-I $(top_srcdir)/src/network \
-I $(top_srcdir)/src/login \
-I $(top_srcdir)/src/journal \
-I $(top_srcdir)/src/timedate \
-I $(top_srcdir)/src/systemd \
-I $(top_builddir)/src/core \
-I $(top_srcdir)/src/core \
-I $(top_srcdir)/src/libudev \
-I $(top_srcdir)/src/udev \
-I $(top_srcdir)/src/udev/net \
-I $(top_builddir)/src/udev \
-I $(top_srcdir)/src/libsystemd/sd-bus \
-I $(top_srcdir)/src/libsystemd/sd-event \
-I $(top_srcdir)/src/libsystemd/sd-rtnl \
-I $(top_srcdir)/src/libsystemd-network \
what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && dir=$(systemunitdir) && $(add-wants)
what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && dir=$(systemunitdir) && $(add-wants)
what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && dir=$(systemunitdir) && $(add-wants)
what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && dir=$(systemunitdir) && $(add-wants)
what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && dir=$(systemunitdir) && $(add-wants)
what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && dir=$(systemunitdir) && $(add-wants)
what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && dir=$(systemunitdir) && $(add-wants)
what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && dir=$(systemunitdir) && $(add-wants)
what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && dir=$(systemunitdir) && $(add-wants)
what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(systemunitdir) && $(add-wants)
what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants)
what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && dir=$(systemunitdir) && $(add-wants)
what="$(SLICES_TARGET_WANTS)" && wants=slices.target && dir=$(systemunitdir) && $(add-wants)
what="$(USER_SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(userunitdir) && $(add-wants)
what="$(USER_BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(userunitdir) && $(add-wants)
dir=$(DESTDIR)$$dir/$$wants.wants && \
shell-completion/zsh/_systemctl \
shell-completion/zsh/_journalctl \
shell-completion/zsh/_udevadm \
shell-completion/zsh/_kernel-install \
shell-completion/zsh/_systemd-nspawn \
shell-completion/zsh/_systemd-analyze \
shell-completion/zsh/_systemd-run \
shell-completion/zsh/_sd_hosts_or_user_at_host \
shell-completion/zsh/_systemd-delta \
shell-completion/zsh/_systemd
units/getty@.service \
units/serial-getty@.service \
units/container-getty@.service \
units/user@.service \
units/systemd-fsck@.service \
units/systemd-nspawn@.service
rm -f $(DESTDIR)/$(systemunitdir)/-.slice
include Makefile-man.am
${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
$(AM_V_LN)$(LN_S) -f systemd.index.html $@
NON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES))
SOURCE_XML_FILES = $(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))
update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB)
$(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp
@echo "Makefile-man.am has been regenerated"
$(AM_V_GEN)$(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - < /dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+[0-9]/ { print $$2; }' > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct errno_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/socket.h - < /dev/null | grep -v AF_UNSPEC | grep -v AF_MAX | $(AWK) '/^#define[ \t]+AF_[^ \t]+[ \t]+PF_[^ \t]/ { print $$2; }' > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct af_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const af_names[] = { "} !/AF_FILE/ && !/AF_ROUTE/ && !/AF_LOCAL/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
coverage_opts = --base-directory $(srcdir) --directory $(builddir) --rc 'geninfo_adjust_src_path=$(abspath $(srcdir))=>$(abspath $(builddir))'
| sed 's|$(abspath $(builddir))|$(abspath $(srcdir))|' > $(coverage_dir)/.lcov.info
genhtml -t "systemd test coverage" -o $(coverage_dir) $(coverage_dir)/.lcov.info
@echo "Coverage report generated in $(abs_builddir)/$(coverage_dir)/index.html"
shell-completion/zsh/_systemd-tmpfiles
$(sysconfdir)/tmpfiles.d
shell-completion/zsh/_bootctl
$(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(systemgeneratordir)/systemd-dbus1-generator $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
$(AM_V_LN)$(LN_S) --relative -f $(DESTDIR)$(rootlibexecdir)/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge
units/systemd-bus-proxyd@.service
units/user/systemd-bus-proxyd@.service
-Wl,--version-script=$(top_builddir)/src/libsystemd/libsystemd.sym
libname=libsystemd.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd.so*
-Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
$(AM_V_LN)$(LN_S) -f ../libudev/html $@
$(AM_V_LN)$(LN_S) -f ../gudev/html $@
libname=libudev.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libudev.so*
$(sysconfdir)/udev/rules.d \
$(sysconfdir)/udev/hwdb.d
network/99-default.link \
network/80-container-host0.network
rules/42-usb-hid-pm.rules \
rules/50-udev-default.rules \
rules/60-drm.rules \
rules/60-keyboard.rules \
rules/60-persistent-storage-tape.rules \
rules/60-persistent-serial.rules \
rules/60-persistent-input.rules \
rules/60-persistent-alsa.rules \
rules/60-persistent-storage.rules \
rules/64-btrfs.rules \
rules/75-net-description.rules \
rules/75-tty-description.rules \
rules/78-sound-card.rules \
rules/80-net-setup-link.rules \
rules/95-udev-late.rules
rules/99-systemd.rules
hwdb/20-pci-vendor-model.hwdb \
hwdb/20-pci-classes.hwdb \
hwdb/20-usb-vendor-model.hwdb \
hwdb/20-usb-classes.hwdb \
hwdb/20-sdio-vendor-model.hwdb \
hwdb/20-sdio-classes.hwdb \
hwdb/20-acpi-vendor.hwdb \
hwdb/20-OUI.hwdb \
hwdb/20-net-ifname.hwdb \
hwdb/60-keyboard.hwdb
rules/99-systemd.rules.in \
rules/99-systemd.rules \
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/input.h - < /dev/null | $(AWK) '/^#define[ \t]+KEY_[^ ]+[ \t]+[0-9]/ { if ($$2 != "KEY_MAX") { print $$2 } }' | sed 's/^KEY_COFFEE$$/KEY_SCREENLOCK/' > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
$(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
rules/50-firmware.rules
rules/80-drivers.rules
-test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
$(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
-rm -rf test/sys
rules/60-cdrom_id.rules
rules/60-persistent-v4l.rules
libudev-internal.la -lm \
rules/61-accelerometer.rules
$(includedir)/gudev-1.0/gudev
lib_LTLIBRARIES += libgudev-1.0.la
-I$(top_builddir)/src/gudev \
-I$(top_srcdir)/src/gudev \
$(AM_V_GEN)echo '#include "gudevmarshal.h"' > $@ && \
-I$(top_srcdir)/src/gudev \
-I$(top_builddir)/src/gudev
src_gudev_GUdev_1_0_gir_LIBS = libgudev-1.0.la
INTROSPECTION_GIRS = src/gudev/GUdev-1.0.gir
INTROSPECTION_SCANNER_ARGS = --c-include=gudev/gudev.h
libname=libgudev-1.0.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libgudev-1.0.so*
rules/75-probe_mtd.rules
-$(MKDIR_P) $(DESTDIR)/var/log/journal
-chown 0:0 $(DESTDIR)/var/log/journal
-chmod 755 $(DESTDIR)/var/log/journal
-setfacl -nm g:adm:rx,d:g:adm:rx $(DESTDIR)/var/log/journal/
-setfacl -nm g:wheel:rx,d:g:wheel:rx $(DESTDIR)/var/log/journal/
-rmdir $(DESTDIR)/var/log/journal/
# fsprg.c is a drop-in file using void pointer arithmetic
shell-completion/zsh/_systemd-coredumpctl
$(prefix)/lib/binfmt.d \
$(sysconfdir)/binfmt.d
units/systemd-backlight@.service
units/systemd-rfkill@.service
shell-completion/zsh/_hostnamectl
update-kbd-model-map: src/locale/generate-kbd-model-map
$PYTHON $< >src/locale/kbd-model-map
shell-completion/zsh/_localectl
$(prefix)/lib/systemd/ntp-units.d \
$(sysconfdir)/systemd/ntp-units.d
shell-completion/zsh/_timedatectl
shell-completion/zsh/_machinectl \
shell-completion/zsh/_sd_machines
$(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service
shell-completion/zsh/_loginctl \
shell-completion/zsh/_systemd-inhibit
id128.la \
-I$(top_builddir)/src/python-systemd
-I$(top_builddir)/src/python-systemd
$(AM_V_GEN)$(SED) -n -r 's/,//g; s/#define (SD_MESSAGE_[A-Z0-9_]+)\s.*/add_id(m, "\1", \1) JOINER/p' <$< >$@
$(AM_V_GEN)PYTHONPATH=$(DESTDIR)$(pyexecdir) LD_LIBRARY_PATH=$(DESTDIR)$(libdir) $(SPHINX_BUILD) -b $* $(SPHINXOPTS) $(top_srcdir)/src/python-systemd/docs $(top_builddir)/docs/html/python-systemd/
$(AM_V_at)echo Output has been generated in $(abs_top_builddir)/docs/html/python-systemd/
dir="$$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
-rm -rf docs/html/python-systemd/
# Remove Python stuff, e.g. to force rebuilding for a different Python version.
libsystemd-%.c: src/compat-libs/libsystemd-%.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-journal.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-login.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-id128.sym
-imacros$(top_srcdir)/src/compat-libs/linkwarning.h
-Wl,--version-script=$(top_srcdir)/src/compat-libs/libsystemd-daemon.sym
libname=libsystemd-login.so && $(move-to-rootlibdir)
libname=libsystemd-journal.so && $(move-to-rootlibdir)
libname=libsystemd-id128.so && $(move-to-rootlibdir)
libname=libsystemd-daemon.so && $(move-to-rootlibdir)
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
'|RANDOM_SEED_DIR=$(localstatedir)/lib/systemd/|' \
'|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \
%.pc: %.pc.in
%.rules: %.rules.in
%.sh: %.sh.in
units/user/%: units/%.m4
$(polkitpolicy_in_in_files:.policy.in.in=.policy)
--stringparam man.output.quietly 1 \
--stringparam funcsynopsis.style ansi \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0 \
--stringparam systemd.version $(VERSION) \
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $<
$(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
$(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
$(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
$(dbussystemservicedir)/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service
$(systemunitdir)/runlevel1.target.wants \
$(systemunitdir)/runlevel2.target.wants \
$(systemunitdir)/runlevel3.target.wants \
$(systemunitdir)/runlevel4.target.wants \
$(systemunitdir)/runlevel5.target.wants
$(prefix)/lib/modules-load.d \
$(sysconfdir)/modules-load.d \
$(prefix)/lib/systemd/network \
$(sysconfdir)/systemd/network \
$(prefix)/lib/sysctl.d \
$(sysconfdir)/sysctl.d \
$(prefix)/lib/kernel/install.d \
$(sysconfdir)/kernel/install.d \
$(pkgsysconfdir)/system/multi-user.target.wants \
$(pkgsysconfdir)/system/getty.target.wants \
$(sysconfdir)/xdg/systemd
$(abs_srcdir)/hwdb/iab.txt
wget -N http://www.linux-usb.org/usb.ids \
./ids-update.pl )
( cd $(top_srcdir)/src/libsystemd/ && \
wget -N https://d-bus.googlecode.com/git/kdbus.h )
scp man/*.html tango:public/systemd-man/
gtkdoc-rebase --html-dir=docs/libudev/html --online
rsync -rlv --delete docs/libudev/html/ --omit-dir-times $(www_target)/libudev/
gtkdoc-rebase --html-dir=docs/gudev/html --online
rsync -rlv --delete docs/gudev/html/ --omit-dir-times $(www_target)/gudev/
rsync -rlv --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ $(www_target)/man/
rsync -rlv --delete --omit-dir-times docs/html/python-systemd/ $(www_target)/python-systemd/
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
$(AM_V_GEN)nm -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
if test -f $(builddir)/man/$$symbol.html ; then \
nm -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
check-includes: $(top_srcdir)/tools/check-includes.pl
| xargs $(top_srcdir)/tools/check-includes.pl
$(top_srcdir)/tools/check-includes.pl
$(AM_V_at)printf '#include <stdio.h>\n' > $@
$(AM_V_at)printf 'unsigned i; for (i=0;i<sizeof(functions)/sizeof(void*);i++) printf("%%p\\n", functions[i]);\n' >> $@
$(top_builddir)/src/libsystemd/libsystemd.sym \