1 # -*- Mode: makefile; indent-tabs-mode: t -*-
3 # This file is part of systemd.
5 # Copyright 2010-2012 Lennart Poettering
6 # Copyright 2010-2012 Kay Sievers
7 # Copyright 2013 Zbigniew Jędrzejewski-Szmek
8 # Copyright 2013 David Strauss
10 # systemd is free software; you can redistribute it and/or modify it
11 # under the terms of the GNU Lesser General Public License as published by
12 # the Free Software Foundation; either version 2.1 of the License, or
13 # (at your option) any later version.
15 # systemd is distributed in the hope that it will be useful, but
16 # WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 # Lesser General Public License for more details.
20 # You should have received a copy of the GNU Lesser General Public License
21 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
23 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
24 AM_MAKEFLAGS = --no-print-directory
25 AUTOMAKE_OPTIONS = color-tests parallel-tests
29 # remove targets if the command fails
32 # keep intermediate files
35 # Keep the test-suite.log
36 .PRECIOUS: $(TEST_SUITE_LOG) Makefile
46 LIBSYSTEMD_LOGIN_CURRENT=9
47 LIBSYSTEMD_LOGIN_REVISION=1
48 LIBSYSTEMD_LOGIN_AGE=9
50 LIBSYSTEMD_DAEMON_CURRENT=0
51 LIBSYSTEMD_DAEMON_REVISION=10
52 LIBSYSTEMD_DAEMON_AGE=0
54 LIBSYSTEMD_ID128_CURRENT=0
55 LIBSYSTEMD_ID128_REVISION=26
56 LIBSYSTEMD_ID128_AGE=0
58 LIBSYSTEMD_JOURNAL_CURRENT=11
59 LIBSYSTEMD_JOURNAL_REVISION=3
60 LIBSYSTEMD_JOURNAL_AGE=11
62 LIBSYSTEMD_BUS_CURRENT=0
63 LIBSYSTEMD_BUS_REVISION=0
66 # Dirs of external packages
67 dbuspolicydir=@dbuspolicydir@
68 dbussessionservicedir=@dbussessionservicedir@
69 dbussystemservicedir=@dbussystemservicedir@
71 pamconfdir=@pamconfdir@
72 pkgconfigdatadir=$(datadir)/pkgconfig
73 pkgconfiglibdir=$(libdir)/pkgconfig
74 polkitpolicydir=$(datadir)/polkit-1/actions
75 bashcompletiondir=@bashcompletiondir@
76 zshcompletiondir=@zshcompletiondir@
77 rpmmacrosdir=$(prefix)/lib/rpm/macros.d
78 sysvinitdir=$(SYSTEM_SYSVINIT_PATH)
79 sysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
80 varlogdir=$(localstatedir)/log
81 systemdstatedir=$(localstatedir)/lib/systemd
82 catalogstatedir=$(systemdstatedir)/catalog
84 # Our own, non-special dirs
85 pkgsysconfdir=$(sysconfdir)/systemd
86 userunitdir=$(prefix)/lib/systemd/user
87 userpresetdir=$(prefix)/lib/systemd/user-preset
88 tmpfilesdir=$(prefix)/lib/tmpfiles.d
89 sysctldir=$(prefix)/lib/sysctl.d
90 networkdir=$(prefix)/lib/systemd/network
91 pkgincludedir=$(includedir)/systemd
92 systemgeneratordir=$(rootlibexecdir)/system-generators
93 usergeneratordir=$(prefix)/lib/systemd/user-generators
94 systemshutdowndir=$(rootlibexecdir)/system-shutdown
95 systemsleepdir=$(rootlibexecdir)/system-sleep
96 systemunitdir=$(rootprefix)/lib/systemd/system
97 systempresetdir=$(rootprefix)/lib/systemd/system-preset
98 udevlibexecdir=$(rootprefix)/lib/udev
99 udevhomedir=$(udevlibexecdir)
100 udevrulesdir=$(udevlibexecdir)/rules.d
101 udevhwdbdir=$(udevlibexecdir)/hwdb.d
102 catalogdir=$(prefix)/lib/systemd/catalog
103 kernelinstalldir = $(prefix)/lib/kernel/install.d
105 # And these are the special ones for /
106 rootprefix=@rootprefix@
107 rootbindir=$(rootprefix)/bin
108 rootlibexecdir=$(rootprefix)/lib/systemd
110 CLEANFILES = $(BUILT_SOURCES)
115 UNINSTALL_EXEC_HOOKS =
117 UNINSTALL_DATA_HOOKS =
118 DISTCLEAN_LOCAL_HOOKS =
126 polkitpolicy_in_in_files =
127 polkitpolicy_in_files =
129 dist_udevrules_DATA =
130 nodist_udevrules_DATA =
131 dist_pkgsysconf_DATA =
133 dist_dbuspolicy_DATA =
134 dist_dbussystemservice_DATA =
140 noinst_PROGRAMS = $(manual_tests) $(tests)
146 udevlibexec_PROGRAMS =
149 -include $(top_builddir)/config.h \
150 -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" \
151 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
152 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
153 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
154 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
155 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
156 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
157 -DCATALOG_DATABASE=\"$(catalogstatedir)/database\" \
158 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
159 -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
160 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
161 -DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
162 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
163 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
164 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
165 -DROOTPREFIX=\"$(rootprefix)\" \
166 -DRANDOM_SEED=\"$(localstatedir)/lib/systemd/random-seed\" \
167 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
168 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
169 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
170 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
171 -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
172 -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
173 -DX_SERVER=\"$(bindir)/X\" \
174 -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
175 -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
176 -DQUOTACHECK=\"$(QUOTACHECK)\" \
177 -DKEXEC=\"$(KEXEC)\" \
178 -I $(top_srcdir)/src \
179 -I $(top_srcdir)/src/shared \
180 -I $(top_srcdir)/src/network \
181 -I $(top_srcdir)/src/login \
182 -I $(top_srcdir)/src/journal \
183 -I $(top_srcdir)/src/systemd \
184 -I $(top_builddir)/src/core \
185 -I $(top_srcdir)/src/core \
186 -I $(top_srcdir)/src/libudev \
187 -I $(top_srcdir)/src/udev \
188 -I $(top_srcdir)/src/udev/net \
189 -I $(top_builddir)/src/udev \
190 -I $(top_srcdir)/src/libsystemd-bus \
191 -I $(top_srcdir)/src/libsystemd-rtnl \
194 AM_CFLAGS = $(OUR_CFLAGS)
195 AM_LDFLAGS = $(OUR_LDFLAGS)
197 # ------------------------------------------------------------------------------
198 define move-to-rootlibdir
199 if test "$(libdir)" != "$(rootlibdir)"; then \
200 $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
201 so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
202 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
203 $(LN_S) -f $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
204 mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
210 RUNLEVEL1_TARGET_WANTS =
211 RUNLEVEL2_TARGET_WANTS =
212 RUNLEVEL3_TARGET_WANTS =
213 RUNLEVEL4_TARGET_WANTS =
214 RUNLEVEL5_TARGET_WANTS =
215 SHUTDOWN_TARGET_WANTS =
216 LOCAL_FS_TARGET_WANTS =
217 MULTI_USER_TARGET_WANTS =
218 SYSINIT_TARGET_WANTS =
219 SOCKETS_TARGET_WANTS =
220 TIMERS_TARGET_WANTS =
222 SYSTEM_UNIT_ALIASES =
227 install-target-wants-hook:
228 what="$(RUNLEVEL1_TARGET_WANTS)" && wants=runlevel1.target && $(add-wants)
229 what="$(RUNLEVEL2_TARGET_WANTS)" && wants=runlevel2.target && $(add-wants)
230 what="$(RUNLEVEL3_TARGET_WANTS)" && wants=runlevel3.target && $(add-wants)
231 what="$(RUNLEVEL4_TARGET_WANTS)" && wants=runlevel4.target && $(add-wants)
232 what="$(RUNLEVEL5_TARGET_WANTS)" && wants=runlevel5.target && $(add-wants)
233 what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && $(add-wants)
234 what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && $(add-wants)
235 what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && $(add-wants)
236 what="$(SYSINIT_TARGET_WANTS)" && wants=sysinit.target && $(add-wants)
237 what="$(SOCKETS_TARGET_WANTS)" && wants=sockets.target && $(add-wants)
238 what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && $(add-wants)
239 what="$(SLICES_TARGET_WANTS)" && wants=slices.target && $(add-wants)
242 [ -z "$$what" ] || ( \
243 dir=$(DESTDIR)$(systemunitdir)/$$wants.wants && \
244 $(MKDIR_P) -m 0755 $$dir && \
247 for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
250 install-directories-hook:
251 $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
253 install-aliases-hook:
254 set -- $(SYSTEM_UNIT_ALIASES) && \
255 dir=$(systemunitdir) && $(install-aliases)
256 set -- $(USER_UNIT_ALIASES) && \
257 dir=$(userunitdir) && $(install-aliases)
258 set -- $(GENERAL_ALIASES) && \
259 dir= && $(install-aliases)
261 define install-aliases
262 while [ -n "$$1" ]; do \
263 $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
264 rm -f $(DESTDIR)$$dir/$$2 && \
265 $(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
266 shift 2 || exit $$?; \
270 INSTALL_EXEC_HOOKS += \
271 install-target-wants-hook \
272 install-directories-hook \
275 # ------------------------------------------------------------------------------
276 AM_V_M4 = $(AM_V_M4_$(V))
277 AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
278 AM_V_M4_0 = @echo " M4 " $@;
280 AM_V_XSLT = $(AM_V_XSLT_$(V))
281 AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
282 AM_V_XSLT_0 = @echo " XSLT " $@;
284 AM_V_GPERF = $(AM_V_GPERF_$(V))
285 AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
286 AM_V_GPERF_0 = @echo " GPERF " $@;
288 AM_V_LN = $(AM_V_LN_$(V))
289 AM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
290 AM_V_LN_0 = @echo " LN " $@;
292 # ------------------------------------------------------------------------------
296 systemd-ask-password \
297 systemd-tty-ask-password-agent \
298 systemd-machine-id-setup
303 systemd-stdio-bridge \
305 systemd-detect-virt \
311 src/kernel-install/kernel-install
313 dist_kernelinstall_SCRIPTS = \
314 src/kernel-install/50-depmod.install \
315 src/kernel-install/90-loaderentry.install
317 rootlibexec_PROGRAMS = \
319 systemd-cgroups-agent \
321 systemd-update-utmp \
325 systemd-reply-password \
330 systemd-socket-proxyd
332 systemgenerator_PROGRAMS = \
333 systemd-getty-generator \
334 systemd-fstab-generator \
335 systemd-system-update-generator
337 dist_bashcompletion_DATA = \
338 shell-completion/bash/journalctl \
339 shell-completion/bash/systemctl \
340 shell-completion/bash/systemd-analyze \
341 shell-completion/bash/systemd-run \
342 shell-completion/bash/udevadm \
343 shell-completion/bash/kernel-install
345 dist_zshcompletion_DATA = \
346 shell-completion/zsh/_systemctl \
347 shell-completion/zsh/_journalctl \
348 shell-completion/zsh/_udevadm \
349 shell-completion/zsh/_kernel-install \
350 shell-completion/zsh/_systemd-nspawn \
351 shell-completion/zsh/_systemd-analyze \
352 shell-completion/zsh/_systemd-run \
353 shell-completion/zsh/_sd_hosts_or_user_at_host \
354 shell-completion/zsh/_systemd-delta \
355 shell-completion/zsh/_systemd
358 sysctl.d/50-default.conf
360 dist_systemunit_DATA = \
361 units/graphical.target \
362 units/multi-user.target \
363 units/emergency.service \
364 units/emergency.target \
365 units/sysinit.target \
370 units/local-fs.target \
371 units/local-fs-pre.target \
372 units/initrd.target \
373 units/initrd-fs.target \
374 units/initrd-root-fs.target \
375 units/remote-fs.target \
376 units/remote-fs-pre.target \
377 units/network.target \
378 units/network-online.target \
379 units/nss-lookup.target \
380 units/nss-user-lookup.target \
381 units/hibernate.target \
382 units/hybrid-sleep.target \
383 units/poweroff.target \
384 units/reboot.target \
385 units/rescue.target \
386 units/rpcbind.target \
387 units/time-sync.target \
388 units/shutdown.target \
390 units/umount.target \
391 units/sigpwr.target \
393 units/sockets.target \
394 units/timers.target \
396 units/suspend.target \
398 units/slices.target \
401 units/systemd-initctl.socket \
402 units/systemd-shutdownd.socket \
403 units/syslog.socket \
404 units/dev-hugepages.mount \
405 units/dev-mqueue.mount \
406 units/sys-kernel-config.mount \
407 units/sys-kernel-debug.mount \
408 units/sys-fs-fuse-connections.mount \
410 units/printer.target \
412 units/bluetooth.target \
413 units/smartcard.target \
414 units/systemd-ask-password-wall.path \
415 units/systemd-ask-password-console.path \
416 units/systemd-udevd-control.socket \
417 units/systemd-udevd-kernel.socket \
418 units/system-update.target \
419 units/initrd-switch-root.target
421 nodist_systemunit_DATA = \
422 units/getty@.service \
423 units/serial-getty@.service \
424 units/console-shell.service \
425 units/console-getty.service \
426 units/container-getty@.service \
427 units/systemd-initctl.service \
428 units/systemd-shutdownd.service \
429 units/systemd-remount-fs.service \
430 units/systemd-update-utmp.service \
431 units/systemd-update-utmp-runlevel.service \
432 units/systemd-ask-password-wall.service \
433 units/systemd-ask-password-console.service \
434 units/systemd-sysctl.service \
435 units/emergency.service \
436 units/rescue.service \
437 units/user@.service \
438 units/systemd-hibernate.service \
439 units/systemd-hybrid-sleep.service \
440 units/systemd-suspend.service \
441 units/systemd-halt.service \
442 units/systemd-poweroff.service \
443 units/systemd-reboot.service \
444 units/systemd-kexec.service \
445 units/systemd-fsck@.service \
446 units/systemd-fsck-root.service \
447 units/systemd-udevd.service \
448 units/systemd-udev-trigger.service \
449 units/systemd-udev-settle.service \
450 units/debug-shell.service \
451 units/initrd-parse-etc.service \
452 units/initrd-cleanup.service \
453 units/initrd-udevadm-cleanup-db.service \
454 units/initrd-switch-root.service \
455 units/systemd-nspawn@.service
457 dist_userunit_DATA = \
458 units/user/default.target \
459 units/user/exit.target
461 nodist_userunit_DATA = \
462 units/user/systemd-exit.service
465 units/getty@.service.m4 \
466 units/serial-getty@.service.m4 \
467 units/console-shell.service.m4.in \
468 units/console-getty.service.m4.in \
469 units/container-getty@.service.m4.in \
470 units/rescue.service.m4.in \
471 units/systemd-initctl.service.in \
472 units/systemd-shutdownd.service.in \
473 units/systemd-remount-fs.service.in \
474 units/systemd-update-utmp.service.in \
475 units/systemd-update-utmp-runlevel.service.in \
476 units/systemd-ask-password-wall.service.in \
477 units/systemd-ask-password-console.service.in \
478 units/systemd-sysctl.service.in \
479 units/emergency.service.in \
480 units/systemd-halt.service.in \
481 units/systemd-poweroff.service.in \
482 units/systemd-reboot.service.in \
483 units/systemd-kexec.service.in \
484 units/user/systemd-exit.service.in \
485 units/systemd-fsck@.service.in \
486 units/systemd-fsck-root.service.in \
487 units/user@.service.in \
488 units/systemd-udevd.service \
489 units/systemd-udev-trigger.service \
490 units/systemd-udev-settle.service \
491 units/debug-shell.service.in \
492 units/systemd-hibernate.service.in \
493 units/systemd-hybrid-sleep.service.in \
494 units/systemd-suspend.service.in \
495 units/quotaon.service.in \
496 units/initrd-parse-etc.service.in \
497 units/initrd-cleanup.service.in \
498 units/initrd-udevadm-cleanup-db.service.in \
499 units/initrd-switch-root.service.in \
500 units/systemd-nspawn@.service.in
503 units/console-shell.service.m4 \
504 units/console-getty.service.m4 \
505 units/container-getty@.service.m4 \
506 units/rescue.service.m4
509 nodist_systemunit_DATA += \
510 units/rc-local.service \
511 units/halt-local.service
513 systemgenerator_PROGRAMS += \
514 systemd-rc-local-generator
518 units/rc-local.service.in \
519 units/halt-local.service.in
521 # automake is broken and can't handle files with a dash in front
522 # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728#8
524 mv $(DESTDIR)$(systemunitdir)/x-.slice $(DESTDIR)/$(systemunitdir)/-.slice
526 units-uninstall-hook:
527 rm -f $(DESTDIR)/$(systemunitdir)/-.slice
529 INSTALL_DATA_HOOKS += units-install-hook
530 UNINSTALL_DATA_HOOKS += units-uninstall-hook
540 @INTLTOOL_POLICY_RULE@
542 # ------------------------------------------------------------------------------
547 include Makefile-man.am
550 man: $(MANPAGES) $(MANPAGES_ALIAS) $(HTML_FILES) $(HTML_ALIAS)
553 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
555 ${XML_FILES:.xml=.html}
557 ${patsubst %.1,%.html,${patsubst %.3,%.html,${patsubst %.5,%.html,${patsubst %.7,%.html,${patsubst %.8,%.html,$(MANPAGES_ALIAS)}}}}}
574 $(AM_V_at)$(MKDIR_P) $(dir $@)
575 $(AM_V_LN)$(LN_S) -f ../../man $@
584 man/index.html: man/systemd.index.html
585 $(AM_V_LN)$(LN_S) -f systemd.index.html $@
593 XML_GLOB = $(wildcard $(top_srcdir)/man/*.xml $(top_builddir)/man/*.xml)
594 NON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES))
595 SOURCE_XML_FILES = $(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES))
597 update-man-list: make-man-rules.py $(XML_GLOB)
598 $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp
599 $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am
600 @echo "Makefile-man.am has been regenerated"
602 man/systemd.index.xml: make-man-index.py $(NON_INDEX_XML_FILES)
603 $(AM_V_at)$(MKDIR_P) $(dir $@)
604 $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
606 man/systemd.directives.xml: make-directive-index.py $(SOURCE_XML_FILES)
607 $(AM_V_at)$(MKDIR_P) $(dir $@)
608 $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
611 man/systemd.index.xml \
613 man/systemd.directives.xml
616 man/systemd.index.xml \
617 man/systemd.directives.xml
629 make-directive-index.py \
632 # ------------------------------------------------------------------------------
633 noinst_LTLIBRARIES += \
636 libsystemd_rtnl_la_SOURCES = \
637 src/systemd/sd-rtnl.h \
638 src/libsystemd-rtnl/sd-rtnl.c \
639 src/libsystemd-rtnl/rtnl-internal.h \
640 src/libsystemd-rtnl/rtnl-message.c \
641 src/libsystemd-rtnl/rtnl-util.h \
642 src/libsystemd-rtnl/rtnl-util.c
644 test_rtnl_SOURCES = \
645 src/libsystemd-rtnl/test-rtnl.c
653 # ------------------------------------------------------------------------------
654 noinst_LTLIBRARIES += \
657 libsystemd_shared_la_SOURCES = \
658 src/shared/linux/auto_dev-ioctl.h \
659 src/shared/linux/fanotify.h \
660 src/shared/linux/seccomp.h \
661 src/shared/linux/seccomp-bpf.h \
662 src/shared/missing.h \
666 src/shared/device-nodes.c \
667 src/shared/device-nodes.h \
668 src/shared/sparse-endian.h \
671 src/shared/udev-util.h \
674 src/shared/efivars.c \
675 src/shared/efivars.h \
676 src/shared/path-util.c \
677 src/shared/path-util.h \
678 src/shared/time-util.c \
679 src/shared/time-util.h \
680 src/shared/hashmap.c \
681 src/shared/hashmap.h \
688 src/shared/sleep-config.c \
689 src/shared/sleep-config.h \
692 src/shared/env-util.c \
693 src/shared/env-util.h \
694 src/shared/strbuf.c \
695 src/shared/strbuf.h \
696 src/shared/strxcpyx.c \
697 src/shared/strxcpyx.h \
698 src/shared/conf-parser.c \
699 src/shared/conf-parser.h \
702 src/shared/ratelimit.h \
703 src/shared/ratelimit.c \
704 src/shared/exit-status.c \
705 src/shared/exit-status.h \
708 src/shared/gunicode.c \
709 src/shared/gunicode.h \
712 src/shared/ioprio.h \
713 src/shared/socket-util.c \
714 src/shared/socket-util.h \
715 src/shared/conf-files.c \
716 src/shared/conf-files.h \
717 src/shared/cgroup-util.c \
718 src/shared/cgroup-util.h \
719 src/shared/cgroup-show.c \
720 src/shared/cgroup-show.h \
721 src/shared/unit-name.c \
722 src/shared/unit-name.h \
723 src/shared/utmp-wtmp.c \
724 src/shared/utmp-wtmp.h \
725 src/shared/watchdog.c \
726 src/shared/watchdog.h \
727 src/shared/spawn-ask-password-agent.c \
728 src/shared/spawn-ask-password-agent.h \
729 src/shared/replace-var.c \
730 src/shared/replace-var.h \
731 src/shared/spawn-polkit-agent.c \
732 src/shared/spawn-polkit-agent.h \
733 src/shared/hwclock.c \
734 src/shared/hwclock.h \
735 src/shared/time-dst.c \
736 src/shared/time-dst.h \
737 src/shared/calendarspec.c \
738 src/shared/calendarspec.h \
739 src/shared/fileio.c \
740 src/shared/fileio.h \
741 src/shared/output-mode.h \
742 src/shared/MurmurHash3.c \
743 src/shared/MurmurHash3.h \
744 src/shared/acpi-fpdt.h \
745 src/shared/acpi-fpdt.c \
746 src/shared/boot-timestamps.h \
747 src/shared/boot-timestamps.c \
748 src/shared/refcnt.h \
751 src/shared/smack-util.c \
752 src/shared/smack-util.h \
753 src/shared/apparmor-util.c \
754 src/shared/apparmor-util.h \
755 src/shared/ima-util.c \
756 src/shared/ima-util.h \
757 src/shared/ptyfwd.c \
758 src/shared/ptyfwd.h \
759 src/shared/net-util.c \
760 src/shared/net-util.h
762 #-------------------------------------------------------------------------------
763 noinst_LTLIBRARIES += \
766 libsystemd_dbus_la_SOURCES = \
767 src/shared/dbus-common.c \
768 src/shared/dbus-common.h
770 libsystemd_dbus_la_CFLAGS = \
774 libsystemd_dbus_la_LIBADD = \
777 # ------------------------------------------------------------------------------
778 noinst_LTLIBRARIES += \
781 libsystemd_units_la_SOURCES = \
782 src/shared/install.c \
783 src/shared/install.h \
784 src/shared/install-printf.c \
785 src/shared/install-printf.h \
786 src/shared/path-lookup.c \
787 src/shared/path-lookup.h \
788 src/shared/specifier.c \
789 src/shared/specifier.h
791 libsystemd_units_la_CFLAGS = \
795 # ------------------------------------------------------------------------------
796 noinst_LTLIBRARIES += \
799 libsystemd_label_la_SOURCES = \
800 src/shared/socket-label.c \
803 src/shared/selinux-util.c \
804 src/shared/selinux-util.h \
805 src/shared/mkdir-label.c \
806 src/shared/ask-password-api.c \
807 src/shared/ask-password-api.h \
808 src/shared/fileio-label.c \
809 src/shared/fileio-label.h \
810 src/shared/dev-setup.c \
811 src/shared/dev-setup.h
813 libsystemd_label_la_CFLAGS = \
817 libsystemd_label_la_LIBADD = \
820 # ------------------------------------------------------------------------------
821 noinst_LTLIBRARIES += \
824 libsystemd_logs_la_SOURCES = \
825 src/shared/logs-show.c \
826 src/shared/logs-show.h
828 # ------------------------------------------------------------------------------
829 noinst_LTLIBRARIES += \
830 libsystemd-capability.la
832 libsystemd_capability_la_SOURCES = \
833 src/shared/capability.c \
834 src/shared/capability.h
836 libsystemd_capability_la_CFLAGS = \
840 libsystemd_capability_la_LIBADD = \
843 # ------------------------------------------------------------------------------
844 noinst_LTLIBRARIES += \
847 libsystemd_audit_la_SOURCES = \
851 # ------------------------------------------------------------------------------
853 noinst_LTLIBRARIES += \
856 libsystemd_acl_la_SOURCES = \
857 src/shared/acl-util.c \
858 src/shared/acl-util.h
860 libsystemd_acl_la_CFLAGS = \
864 libsystemd_acl_la_LIBADD = \
868 # ------------------------------------------------------------------------------
869 noinst_LTLIBRARIES += \
872 libsystemd_core_la_SOURCES = \
875 src/core/unit-printf.c \
876 src/core/unit-printf.h \
881 src/core/transaction.c \
882 src/core/transaction.h \
883 src/core/load-fragment.c \
884 src/core/load-fragment.h \
887 src/core/automount.c \
888 src/core/automount.h \
897 src/core/snapshot.c \
898 src/core/snapshot.h \
909 src/core/load-dropin.c \
910 src/core/load-dropin.h \
917 src/core/dbus-manager.c \
918 src/core/dbus-manager.h \
919 src/core/dbus-unit.c \
920 src/core/dbus-unit.h \
921 src/core/dbus-job.c \
922 src/core/dbus-job.h \
923 src/core/dbus-service.c \
924 src/core/dbus-service.h \
925 src/core/dbus-socket.c \
926 src/core/dbus-socket.h \
927 src/core/dbus-timer.c \
928 src/core/dbus-timer.h \
929 src/core/dbus-target.c \
930 src/core/dbus-target.h \
931 src/core/dbus-mount.c \
932 src/core/dbus-mount.h \
933 src/core/dbus-automount.c \
934 src/core/dbus-automount.h \
935 src/core/dbus-swap.c \
936 src/core/dbus-swap.h \
937 src/core/dbus-snapshot.c \
938 src/core/dbus-snapshot.h \
939 src/core/dbus-device.c \
940 src/core/dbus-device.h \
941 src/core/dbus-path.c \
942 src/core/dbus-path.h \
943 src/core/dbus-slice.c \
944 src/core/dbus-slice.h \
945 src/core/dbus-scope.c \
946 src/core/dbus-scope.h \
947 src/core/dbus-execute.c \
948 src/core/dbus-execute.h \
949 src/core/dbus-kill.c \
950 src/core/dbus-kill.h \
951 src/core/dbus-cgroup.c \
952 src/core/dbus-cgroup.h \
955 src/core/selinux-access.c \
956 src/core/selinux-access.h \
957 src/core/selinux-setup.c \
958 src/core/selinux-setup.h \
959 src/core/smack-setup.c \
960 src/core/smack-setup.h \
961 src/core/ima-setup.c \
962 src/core/ima-setup.h \
963 src/core/locale-setup.h \
964 src/core/locale-setup.c \
965 src/core/hostname-setup.c \
966 src/core/hostname-setup.h \
967 src/core/machine-id-setup.c \
968 src/core/machine-id-setup.h \
969 src/core/mount-setup.c \
970 src/core/mount-setup.h \
971 src/core/loopback-setup.h \
972 src/core/loopback-setup.c \
973 src/core/condition.c \
974 src/core/condition.h \
975 src/core/namespace.c \
976 src/core/namespace.h \
979 src/core/securebits.h \
982 src/core/bus-errors.h \
984 src/core/sysfs-show.h \
985 src/core/switch-root.h \
986 src/core/switch-root.c \
989 src/core/syscall-list.c \
990 src/core/syscall-list.h \
991 src/core/audit-fd.c \
992 src/core/audit-fd.h \
997 libsystemd_core_la_SOURCES += \
998 src/core/kmod-setup.c \
999 src/core/kmod-setup.h
1002 nodist_libsystemd_core_la_SOURCES = \
1003 src/core/load-fragment-gperf.c \
1004 src/core/load-fragment-gperf-nulstr.c \
1005 src/core/syscall-from-name.h \
1006 src/core/syscall-to-name.h
1008 libsystemd_core_la_CFLAGS = \
1017 libsystemd_core_la_LIBADD = \
1018 libsystemd-capability.la \
1019 libsystemd-units.la \
1020 libsystemd-label.la \
1021 libsystemd-dbus.la \
1022 libsystemd-audit.la \
1023 libsystemd-id128-internal.la \
1024 libsystemd-daemon-internal.la \
1025 libudev-internal.la \
1026 libsystemd-shared.la \
1033 src/core/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf
1034 $(AM_V_at)$(MKDIR_P) $(dir $@)
1035 $(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 ";" }' < $< > $@
1038 src/core/load-fragment-gperf.gperf.m4
1041 src/core/load-fragment-gperf.gperf \
1042 src/core/load-fragment-gperf.c \
1043 src/core/load-fragment-gperf-nulstr.c \
1044 src/core/syscall-list.txt \
1045 src/core/syscall-from-name.gperf
1048 src/core/syscall-from-name.h \
1049 src/core/syscall-to-name.h
1051 src/core/syscall-list.txt: Makefile
1052 $(AM_V_at)$(MKDIR_P) $(dir $@)
1053 $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/syscall.h - < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9(]/ { sub(/__NR_/, "", $$2); if ($$2 !~ /SYSCALL_BASE/) print $$2; }' > $@
1055 src/core/syscall-from-name.gperf: src/core/syscall-list.txt Makefile
1056 $(AM_V_at)$(MKDIR_P) $(dir $@)
1057 $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct syscall_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, __NR_%s\n", $$1, $$1 }' < $< > $@
1059 src/core/syscall-from-name.h: src/core/syscall-from-name.gperf Makefile
1060 $(AM_V_at)$(MKDIR_P) $(dir $@)
1061 $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_syscall -H hash_syscall_name -p -C < $< > $@
1063 src/core/syscall-to-name.h: src/core/syscall-list.txt Makefile
1064 $(AM_V_at)$(MKDIR_P) $(dir $@)
1065 $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const syscall_names[] = { "} { printf "[SYSCALL_TO_INDEX(__NR_%s)] = \"%s\",\n", $$1, $$1 } END{print "};"}' < $< > $@
1067 # ------------------------------------------------------------------------------
1076 libsystemd-core.la \
1079 dist_pkgsysconf_DATA += \
1080 src/core/system.conf \
1083 dist_dbuspolicy_DATA += \
1084 src/core/org.freedesktop.systemd1.conf
1086 dist_dbussystemservice_DATA += \
1087 src/core/org.freedesktop.systemd1.service
1089 polkitpolicy_in_in_files += \
1090 src/core/org.freedesktop.systemd1.policy.in.in
1092 pkgconfigdata_DATA = \
1095 nodist_rpmmacros_DATA = \
1096 src/core/macros.systemd
1099 src/core/systemd.pc.in \
1100 src/core/macros.systemd.in
1103 src/core/macros.systemd \
1104 src/core/org.freedesktop.systemd1.policy.in
1106 # ------------------------------------------------------------------------------
1136 test-strip-tab-ansi \
1147 test/sched_idle_bad.service \
1148 test/sched_idle_ok.service \
1149 test/sched_rr_bad.service \
1150 test/sched_rr_ok.service \
1151 test/sched_rr_change.service
1154 src/test/test-helper.h
1156 test_device_nodes_SOURCES = \
1157 src/test/test-device-nodes.c
1159 test_device_nodes_LDADD = \
1160 libsystemd-shared.la
1162 test_engine_SOURCES = \
1163 src/test/test-engine.c
1165 test_engine_CFLAGS = \
1169 test_engine_LDADD = \
1170 libsystemd-core.la \
1173 test_job_type_SOURCES = \
1174 src/test/test-job-type.c
1176 test_job_type_CFLAGS = \
1180 test_job_type_LDADD = \
1181 libsystemd-core.la \
1194 test_loopback_SOURCES = \
1195 src/test/test-loopback.c
1197 test_loopback_LDADD = \
1200 test_hostname_SOURCES = \
1201 src/test/test-hostname.c
1203 test_hostname_LDADD = \
1210 test_boot_timestamp_SOURCES = \
1211 src/test/test-boot-timestamps.c
1213 test_boot_timestamp_LDADD = \
1214 libsystemd-shared.la
1217 test_unit_name_SOURCES = \
1218 src/test/test-unit-name.c
1220 test_unit_name_CFLAGS = \
1224 test_unit_name_LDADD = \
1225 libsystemd-core.la \
1228 test_unit_file_SOURCES = \
1229 src/test/test-unit-file.c
1231 test_unit_file_CFLAGS = \
1235 test_unit_file_LDADD = \
1236 libsystemd-core.la \
1239 test_utf8_SOURCES = \
1240 src/test/test-utf8.c
1243 libsystemd-shared.la
1245 test_util_SOURCES = \
1246 src/test/test-util.c
1251 test_namespace_SOURCES = \
1252 src/test/test-namespace.c
1254 test_namespace_LDADD = \
1257 test_hashmap_SOURCES = \
1258 src/test/test-hashmap.c
1260 test_hashmap_LDADD = \
1263 test_list_SOURCES = \
1264 src/test/test-list.c
1269 test_tables_SOURCES = \
1270 src/test/test-tables.c \
1271 src/shared/test-tables.h
1273 test_tables_CFLAGS = \
1277 test_tables_LDADD = \
1278 libsystemd-logs.la \
1279 libsystemd-journal-internal.la \
1280 libsystemd-core.la \
1283 test_prioq_SOURCES = \
1284 src/test/test-prioq.c
1286 test_prioq_LDADD = \
1289 test_fileio_SOURCES = \
1290 src/test/test-fileio.c
1292 test_fileio_LDADD = \
1295 test_time_SOURCES = \
1296 src/test/test-time.c
1301 test_log_SOURCES = \
1307 test_ellipsize_SOURCES = \
1308 src/test/test-ellipsize.c
1310 test_ellipsize_LDADD = \
1313 test_date_SOURCES = \
1314 src/test/test-date.c
1319 test_sleep_SOURCES = \
1320 src/test/test-sleep.c
1322 test_sleep_LDADD = \
1325 test_replace_var_SOURCES = \
1326 src/test/test-replace-var.c
1328 test_replace_var_LDADD = \
1329 libsystemd-shared.la
1331 test_calendarspec_SOURCES = \
1332 src/test/test-calendarspec.c
1334 test_calendarspec_LDADD = \
1335 libsystemd-shared.la
1337 test_strip_tab_ansi_SOURCES = \
1338 src/test/test-strip-tab-ansi.c
1340 test_strip_tab_ansi_LDADD = \
1341 libsystemd-shared.la
1343 test_daemon_SOURCES = \
1344 src/test/test-daemon.c
1346 test_daemon_LDADD = \
1347 libsystemd-daemon-internal.la \
1348 libsystemd-shared.la
1350 test_cgroup_SOURCES = \
1351 src/test/test-cgroup.c
1353 test_cgroup_LDADD = \
1354 libsystemd-label.la \
1355 libsystemd-shared.la
1357 test_cgroup_util_SOURCES = \
1358 src/test/test-cgroup-util.c
1360 test_cgroup_util_LDADD = \
1361 libsystemd-label.la \
1362 libsystemd-daemon-internal.la \
1363 libsystemd-shared.la
1365 test_env_replace_SOURCES = \
1366 src/test/test-env-replace.c
1368 test_env_replace_LDADD = \
1369 libsystemd-shared.la
1371 test_strbuf_SOURCES = \
1372 src/test/test-strbuf.c
1374 test_strbuf_LDADD = \
1375 libsystemd-shared.la
1377 test_strv_SOURCES = \
1378 src/test/test-strv.c
1381 libsystemd-units.la \
1382 libsystemd-id128-internal.la \
1383 libsystemd-shared.la
1385 test_path_util_SOURCES = \
1386 src/test/test-path-util.c
1388 test_path_util_LDADD = \
1389 libsystemd-shared.la
1391 test_strxcpyx_SOURCES = \
1392 src/test/test-strxcpyx.c
1394 test_strxcpyx_LDADD = \
1395 libsystemd-shared.la
1397 test_install_SOURCES = \
1398 src/test/test-install.c
1400 test_install_CFLAGS = \
1404 test_install_LDADD = \
1405 libsystemd-units.la \
1406 libsystemd-label.la \
1407 libsystemd-id128-internal.la \
1408 libsystemd-shared.la
1410 test_watchdog_SOURCES = \
1411 src/test/test-watchdog.c
1413 test_watchdog_LDADD = \
1414 libsystemd-shared.la
1416 test_sched_prio_SOURCES = \
1417 src/test/test-sched-prio.c
1419 test_sched_prio_CFLAGS = \
1422 -D"STR(s)=\#s" -D"TEST_DIR=STR($(abs_top_srcdir)/test/)"
1424 test_sched_prio_LDADD = \
1425 libsystemd-core.la \
1428 # ------------------------------------------------------------------------------
1429 ## .PHONY so it always rebuilds it
1430 .PHONY: coverage lcov-run lcov-report
1432 # run lcov from scratch, always
1437 coverage_dir = coverage
1438 coverage_opts = --base-directory $(srcdir) --directory $(builddir) --rc 'geninfo_adjust_src_path=$(abspath $(srcdir))=>$(abspath $(builddir))'
1441 # reset run coverage tests
1443 @rm -rf $(coverage_dir)
1444 lcov $(coverage_opts) --zerocounters
1447 # generate report based on current coverage data
1449 $(MKDIR_P) $(coverage_dir)
1450 lcov $(coverage_opts) --compat-libtool --capture --no-external \
1451 | sed 's|$(abspath $(builddir))|$(abspath $(srcdir))|' > $(coverage_dir)/.lcov.info
1452 genhtml -t "systemd test coverage" -o $(coverage_dir) $(coverage_dir)/.lcov.info
1453 @echo "Coverage report generated in $(abs_builddir)/$(coverage_dir)/index.html"
1455 # lcov doesn't work properly with vpath builds, make sure that bad
1456 # output is not uploaded by mistake.
1457 coverage-sync: coverage
1458 test "$(builddir)" = "$(srcdir)"
1459 rsync -rlv --delete --omit-dir-times coverage/ $(www_target)/coverage
1462 lcov-run lcov-report:
1463 echo "Need to reconfigure with --enable-coverage"
1466 # ------------------------------------------------------------------------------
1467 systemd_analyze_SOURCES = \
1468 src/analyze/analyze.c
1470 systemd_analyze_LDADD = \
1471 libsystemd-bus-internal.la \
1472 libsystemd-id128-internal.la \
1473 libsystemd-daemon-internal.la \
1474 libsystemd-shared.la
1476 # ------------------------------------------------------------------------------
1477 systemd_initctl_SOURCES = \
1478 src/initctl/initctl.c
1480 systemd_initctl_LDADD = \
1481 libsystemd-bus-internal.la \
1482 libsystemd-id128-internal.la \
1483 libsystemd-daemon-internal.la \
1484 libsystemd-shared.la
1486 # ------------------------------------------------------------------------------
1487 systemd_update_utmp_SOURCES = \
1488 src/update-utmp/update-utmp.c
1490 systemd_update_utmp_CFLAGS = \
1494 systemd_update_utmp_LDADD = \
1495 libsystemd-bus-internal.la \
1496 libsystemd-id128-internal.la \
1497 libsystemd-daemon-internal.la \
1498 libsystemd-shared.la \
1501 # ------------------------------------------------------------------------------
1502 systemd_shutdownd_SOURCES = \
1503 src/shutdownd/shutdownd.c
1505 systemd_shutdownd_LDADD = \
1506 libsystemd-label.la \
1507 libsystemd-daemon-internal.la \
1508 libsystemd-shared.la
1511 src/systemd/sd-shutdown.h
1513 # ------------------------------------------------------------------------------
1514 systemd_shutdown_SOURCES = \
1517 src/core/shutdown.c \
1518 src/core/mount-setup.c \
1519 src/core/mount-setup.h \
1520 src/core/killall.h \
1523 systemd_shutdown_LDADD = \
1524 libsystemd-label.la \
1525 libudev-internal.la \
1526 libsystemd-shared.la
1528 # ------------------------------------------------------------------------------
1530 systemd_modules_load_SOURCES = \
1531 src/modules-load/modules-load.c
1533 systemd_modules_load_CFLAGS = \
1537 systemd_modules_load_LDADD = \
1538 libsystemd-shared.la \
1541 rootlibexec_PROGRAMS += \
1542 systemd-modules-load
1544 nodist_systemunit_DATA += \
1545 units/systemd-modules-load.service
1547 SYSINIT_TARGET_WANTS += \
1548 systemd-modules-load.service
1551 nodist_systemunit_DATA += \
1552 units/kmod-static-nodes.service
1554 SYSINIT_TARGET_WANTS += \
1555 kmod-static-nodes.service
1560 units/systemd-modules-load.service.in \
1561 units/kmod-static-nodes.service.in
1563 # ------------------------------------------------------------------------------
1565 systemd_tmpfiles_SOURCES = \
1566 src/tmpfiles/tmpfiles.c \
1567 src/shared/specifier.c \
1568 src/shared/specifier.h
1570 systemd_tmpfiles_LDADD = \
1571 libsystemd-label.la \
1572 libsystemd-capability.la \
1573 libsystemd-id128-internal.la \
1574 libsystemd-shared.la
1576 rootbin_PROGRAMS += \
1579 dist_systemunit_DATA += \
1580 units/systemd-tmpfiles-clean.timer
1582 nodist_systemunit_DATA += \
1583 units/systemd-tmpfiles-setup-dev.service \
1584 units/systemd-tmpfiles-setup.service \
1585 units/systemd-tmpfiles-clean.service
1587 dist_tmpfiles_DATA = \
1588 tmpfiles.d/systemd.conf \
1589 tmpfiles.d/tmp.conf \
1593 dist_tmpfiles_DATA += \
1594 tmpfiles.d/legacy.conf
1597 SYSINIT_TARGET_WANTS += \
1598 systemd-tmpfiles-setup-dev.service \
1599 systemd-tmpfiles-setup.service
1601 dist_zshcompletion_DATA += \
1602 shell-completion/zsh/_systemd-tmpfiles
1604 TIMERS_TARGET_WANTS += \
1605 systemd-tmpfiles-clean.timer
1609 $(sysconfdir)/tmpfiles.d
1613 units/systemd-tmpfiles-setup-dev.service.in \
1614 units/systemd-tmpfiles-setup.service.in \
1615 units/systemd-tmpfiles-clean.service.in
1617 # ------------------------------------------------------------------------------
1618 systemd_machine_id_setup_SOURCES = \
1619 src/machine-id-setup/machine-id-setup-main.c \
1620 src/core/machine-id-setup.c \
1621 src/core/machine-id-setup.h
1623 systemd_machine_id_setup_LDADD = \
1624 libsystemd-label.la \
1625 libsystemd-id128-internal.la \
1626 libsystemd-shared.la
1628 # ------------------------------------------------------------------------------
1629 systemd_sysctl_SOURCES = \
1632 systemd_sysctl_LDADD = \
1633 libsystemd-shared.la
1635 # ------------------------------------------------------------------------------
1636 systemd_sleep_SOURCES = \
1639 systemd_sleep_LDADD = \
1640 libsystemd-shared.la
1642 # ------------------------------------------------------------------------------
1643 systemd_fsck_SOURCES = \
1646 systemd_fsck_LDADD = \
1647 libsystemd-bus-internal.la \
1648 libsystemd-id128-internal.la \
1649 libsystemd-daemon-internal.la \
1650 libudev-internal.la \
1651 libsystemd-shared.la
1653 # ------------------------------------------------------------------------------
1654 systemd_ac_power_SOURCES = \
1655 src/ac-power/ac-power.c
1657 systemd_ac_power_LDADD = \
1658 libudev-internal.la \
1659 libsystemd-shared.la
1661 # ------------------------------------------------------------------------------
1662 systemd_detect_virt_SOURCES = \
1663 src/detect-virt/detect-virt.c
1665 systemd_detect_virt_LDADD = \
1666 libsystemd-shared.la
1668 systemd-detect-virt-install-hook:
1669 -$(SETCAP) cap_dac_override,cap_sys_ptrace=ep $(DESTDIR)$(bindir)/systemd-detect-virt
1671 INSTALL_EXEC_HOOKS += \
1672 systemd-detect-virt-install-hook
1674 # ------------------------------------------------------------------------------
1675 systemd_delta_SOURCES = \
1678 systemd_delta_LDADD = \
1679 libsystemd-shared.la
1681 # ------------------------------------------------------------------------------
1682 systemd_getty_generator_SOURCES = \
1683 src/getty-generator/getty-generator.c
1685 systemd_getty_generator_LDADD = \
1686 libsystemd-label.la \
1687 libsystemd-shared.la
1689 # ------------------------------------------------------------------------------
1690 systemd_fstab_generator_SOURCES = \
1691 src/fstab-generator/fstab-generator.c \
1692 src/core/mount-setup.c
1694 systemd_fstab_generator_LDADD = \
1695 libsystemd-label.la \
1696 libsystemd-shared.la
1698 # ------------------------------------------------------------------------------
1699 systemd_system_update_generator_SOURCES = \
1700 src/system-update-generator/system-update-generator.c
1702 systemd_system_update_generator_LDADD = \
1703 libsystemd-label.la \
1704 libsystemd-shared.la
1707 # ------------------------------------------------------------------------------
1708 systemgenerator_PROGRAMS += \
1709 systemd-efi-boot-generator
1711 systemd_efi_boot_generator_SOURCES = \
1712 src/efi-boot-generator/efi-boot-generator.c
1714 systemd_efi_boot_generator_LDADD = \
1715 libsystemd-label.la \
1716 libsystemd-shared.la
1718 # ------------------------------------------------------------------------------
1721 src/boot/boot-loader.h \
1722 src/boot/bootctl.c \
1723 src/boot/boot-loader.c \
1727 libsystemd-shared.la \
1728 libsystemd-id128-internal.la \
1729 libsystemd-daemon-internal.la
1735 # ------------------------------------------------------------------------------
1737 systemgenerator_PROGRAMS += \
1738 systemd-gpt-auto-generator
1740 systemd_gpt_auto_generator_SOURCES = \
1741 src/gpt-auto-generator/gpt-auto-generator.c
1743 systemd_gpt_auto_generator_LDADD = \
1744 libsystemd-label.la \
1745 libsystemd-id128-internal.la \
1746 libudev-internal.la \
1747 libsystemd-shared.la \
1750 systemd_gpt_auto_generator_CFLAGS = \
1755 # ------------------------------------------------------------------------------
1756 systemd_rc_local_generator_SOURCES = \
1757 src/rc-local-generator/rc-local-generator.c
1759 systemd_rc_local_generator_LDADD = \
1760 libsystemd-label.la \
1761 libsystemd-shared.la
1763 # ------------------------------------------------------------------------------
1764 systemd_remount_fs_SOURCES = \
1765 src/remount-fs/remount-fs.c \
1766 src/core/mount-setup.c \
1767 src/core/mount-setup.h
1769 systemd_remount_fs_LDADD = \
1770 libsystemd-label.la \
1771 libsystemd-shared.la
1773 # ------------------------------------------------------------------------------
1774 systemd_cgroups_agent_SOURCES = \
1775 src/cgroups-agent/cgroups-agent.c
1777 systemd_cgroups_agent_LDADD = \
1778 libsystemd-bus-internal.la \
1779 libsystemd-id128-internal.la \
1780 libsystemd-daemon-internal.la \
1781 libsystemd-shared.la
1783 # ------------------------------------------------------------------------------
1784 systemctl_SOURCES = \
1785 src/systemctl/systemctl.c
1788 libsystemd-units.la \
1789 libsystemd-label.la \
1790 libsystemd-bus-internal.la \
1791 libsystemd-logs.la \
1792 libsystemd-login-internal.la \
1793 libsystemd-journal-internal.la \
1794 libsystemd-id128-internal.la \
1795 libsystemd-daemon-internal.la \
1796 libsystemd-shared.la
1798 # ------------------------------------------------------------------------------
1799 systemd_notify_SOURCES = \
1800 src/notify/notify.c \
1801 src/readahead/sd-readahead.c
1803 systemd_notify_LDADD = \
1804 libsystemd-daemon-internal.la \
1805 libsystemd-shared.la
1807 # ------------------------------------------------------------------------------
1808 systemd_ask_password_SOURCES = \
1809 src/ask-password/ask-password.c
1811 systemd_ask_password_LDADD = \
1812 libsystemd-label.la \
1813 libsystemd-shared.la
1815 # ------------------------------------------------------------------------------
1816 systemd_reply_password_SOURCES = \
1817 src/reply-password/reply-password.c
1819 systemd_reply_password_LDADD = \
1820 libsystemd-shared.la
1822 # ------------------------------------------------------------------------------
1823 systemd_cgls_SOURCES = \
1826 systemd_cgls_LDADD = \
1827 libsystemd-shared.la
1829 # ------------------------------------------------------------------------------
1830 systemd_cgtop_SOURCES = \
1833 systemd_cgtop_LDADD = \
1834 libsystemd-shared.la
1836 # ------------------------------------------------------------------------------
1837 systemd_nspawn_SOURCES = \
1838 src/nspawn/nspawn.c \
1839 src/core/mount-setup.c \
1840 src/core/mount-setup.h \
1841 src/core/loopback-setup.c \
1842 src/core/loopback-setup.h
1844 systemd_nspawn_LDADD = \
1845 libsystemd-label.la \
1846 libsystemd-capability.la \
1847 libsystemd-bus-internal.la \
1848 libsystemd-id128-internal.la \
1849 libsystemd-daemon-internal.la \
1850 libsystemd-shared.la
1852 # ------------------------------------------------------------------------------
1853 systemd_run_SOURCES = \
1856 systemd_run_LDADD = \
1857 libsystemd-label.la \
1858 libsystemd-capability.la \
1859 libsystemd-bus-internal.la \
1860 libsystemd-daemon-internal.la \
1861 libsystemd-id128-internal.la \
1862 libsystemd-shared.la
1864 # ------------------------------------------------------------------------------
1865 systemd_stdio_bridge_SOURCES = \
1866 src/stdio-bridge/stdio-bridge.c
1868 systemd_stdio_bridge_LDADD = \
1869 libsystemd-bus-internal.la \
1870 libsystemd-daemon-internal.la \
1871 libsystemd-id128-internal.la \
1872 libsystemd-shared.la
1874 # ------------------------------------------------------------------------------
1875 systemd_tty_ask_password_agent_SOURCES = \
1876 src/tty-ask-password-agent/tty-ask-password-agent.c
1878 systemd_tty_ask_password_agent_LDADD = \
1879 libsystemd-label.la \
1880 libsystemd-shared.la
1882 # ------------------------------------------------------------------------------
1883 libsystemd_daemon_la_SOURCES = \
1884 src/libsystemd-daemon/libsystemd-daemon.sym \
1885 src/libsystemd-daemon/sd-daemon.c
1887 libsystemd_daemon_internal_la_SOURCES = \
1888 $(libsystemd_daemon_la_SOURCES)
1890 libsystemd_daemon_internal_la_CPPFLAGS = \
1892 -DSD_DAEMON_DISABLE_MQ
1894 libsystemd_daemon_la_CFLAGS = \
1896 -fvisibility=hidden \
1899 libsystemd_daemon_la_LDFLAGS = \
1901 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1902 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon/libsystemd-daemon.sym
1904 libsystemd_daemon_la_LIBADD = \
1907 pkginclude_HEADERS += \
1908 src/systemd/sd-daemon.h
1910 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1911 libsystemd-daemon-install-hook:
1912 libname=libsystemd-daemon.so && $(move-to-rootlibdir)
1914 libsystemd-daemon-uninstall-hook:
1915 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1917 INSTALL_EXEC_HOOKS += libsystemd-daemon-install-hook
1918 UNINSTALL_EXEC_HOOKS += libsystemd-daemon-uninstall-hook
1920 lib_LTLIBRARIES += \
1921 libsystemd-daemon.la
1923 noinst_LTLIBRARIES += \
1924 libsystemd-daemon-internal.la
1926 pkgconfiglib_DATA += \
1927 src/libsystemd-daemon/libsystemd-daemon.pc
1930 src/libsystemd-daemon/libsystemd-daemon.pc.in
1932 # ------------------------------------------------------------------------------
1933 libsystemd_bus_la_SOURCES = \
1934 src/libsystemd-bus/libsystemd-bus.sym \
1935 src/systemd/sd-bus.h \
1936 src/systemd/sd-bus-protocol.h \
1937 src/systemd/sd-bus-vtable.h \
1938 src/systemd/sd-memfd.h \
1939 src/systemd/sd-utf8.h \
1940 src/systemd/sd-event.h \
1941 src/libsystemd-bus/sd-bus.c \
1942 src/libsystemd-bus/bus-control.c \
1943 src/libsystemd-bus/bus-control.h \
1944 src/libsystemd-bus/bus-error.c \
1945 src/libsystemd-bus/bus-error.h \
1946 src/libsystemd-bus/bus-internal.c \
1947 src/libsystemd-bus/bus-internal.h \
1948 src/libsystemd-bus/bus-socket.c \
1949 src/libsystemd-bus/bus-socket.h \
1950 src/libsystemd-bus/bus-kernel.c \
1951 src/libsystemd-bus/bus-kernel.h \
1952 src/libsystemd-bus/bus-container.c \
1953 src/libsystemd-bus/bus-container.h \
1954 src/libsystemd-bus/bus-message.c \
1955 src/libsystemd-bus/bus-message.h \
1956 src/libsystemd-bus/bus-signature.c \
1957 src/libsystemd-bus/bus-signature.h \
1958 src/libsystemd-bus/bus-type.c \
1959 src/libsystemd-bus/bus-type.h \
1960 src/libsystemd-bus/bus-match.c \
1961 src/libsystemd-bus/bus-match.h \
1962 src/libsystemd-bus/bus-bloom.c \
1963 src/libsystemd-bus/bus-bloom.h \
1964 src/libsystemd-bus/bus-introspect.c \
1965 src/libsystemd-bus/bus-introspect.h \
1966 src/libsystemd-bus/bus-objects.c \
1967 src/libsystemd-bus/bus-objects.h \
1968 src/libsystemd-bus/bus-convenience.c \
1969 src/libsystemd-bus/kdbus.h \
1970 src/libsystemd-bus/sd-memfd.c \
1971 src/libsystemd-bus/bus-util.c \
1972 src/libsystemd-bus/bus-util.h \
1973 src/libsystemd-bus/sd-utf8.c \
1974 src/libsystemd-bus/sd-event.c \
1975 src/libsystemd-bus/event-util.h
1977 libsystemd_bus_la_LIBADD = \
1978 libsystemd-id128-internal.la \
1979 libsystemd-daemon-internal.la \
1980 libsystemd-shared.la
1982 libsystemd_bus_la_CFLAGS = \
1986 libsystemd_bus_la_LDFLAGS = \
1988 -version-info $(LIBSYSTEMD_BUS_CURRENT):$(LIBSYSTEMD_BUS_REVISION):$(LIBSYSTEMD_BUS_AGE) \
1989 -Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-bus.sym
1991 pkgconfiglib_DATA += \
1992 src/libsystemd-bus/libsystemd-bus.pc
1995 src/libsystemd-bus/libsystemd-bus.pc.in
1997 lib_LTLIBRARIES += \
2000 libsystemd_bus_internal_la_SOURCES = \
2001 $(libsystemd_bus_la_SOURCES)
2003 libsystemd_bus_internal_la_CFLAGS = \
2004 $(libsystemd_bus_la_CFLAGS)
2006 noinst_LTLIBRARIES += \
2007 libsystemd-bus-internal.la
2009 libsystemd_bus_dump_la_SOURCES = \
2010 src/libsystemd-bus/bus-dump.c \
2011 src/libsystemd-bus/bus-dump.h
2013 libsystemd_bus_dump_la_CFLAGS = \
2017 noinst_LTLIBRARIES += \
2018 libsystemd-bus-dump.la
2022 test-bus-signature \
2027 test-bus-kernel-bloom \
2028 test-bus-kernel-benchmark \
2030 test-bus-zero-copy \
2031 test-bus-introspect \
2038 test_bus_marshal_SOURCES = \
2039 src/libsystemd-bus/test-bus-marshal.c
2041 test_bus_marshal_LDADD = \
2042 libsystemd-bus-internal.la \
2043 libsystemd-id128-internal.la \
2044 libsystemd-daemon-internal.la \
2045 libsystemd-shared.la \
2046 libsystemd-bus-dump.la \
2047 libsystemd-capability.la \
2052 test_bus_marshal_CFLAGS = \
2058 test_bus_signature_SOURCES = \
2059 src/libsystemd-bus/test-bus-signature.c
2061 test_bus_signature_LDADD = \
2062 libsystemd-shared.la \
2063 libsystemd-bus-internal.la
2065 test_bus_chat_SOURCES = \
2066 src/libsystemd-bus/test-bus-chat.c
2068 test_bus_chat_CFLAGS = \
2072 test_bus_chat_LDADD = \
2073 libsystemd-bus-internal.la \
2074 libsystemd-id128-internal.la \
2075 libsystemd-daemon-internal.la \
2076 libsystemd-shared.la
2078 test_bus_server_SOURCES = \
2079 src/libsystemd-bus/test-bus-server.c
2081 test_bus_server_CFLAGS = \
2085 test_bus_server_LDADD = \
2086 libsystemd-bus-internal.la \
2087 libsystemd-id128-internal.la \
2088 libsystemd-daemon-internal.la \
2089 libsystemd-shared.la
2091 test_bus_objects_SOURCES = \
2092 src/libsystemd-bus/test-bus-objects.c
2094 test_bus_objects_CFLAGS = \
2099 test_bus_objects_LDADD = \
2100 libsystemd-bus-internal.la \
2101 libsystemd-id128-internal.la \
2102 libsystemd-daemon-internal.la \
2103 libsystemd-shared.la \
2104 libsystemd-bus-dump.la \
2105 libsystemd-capability.la \
2108 test_bus_match_SOURCES = \
2109 src/libsystemd-bus/test-bus-match.c
2111 test_bus_match_LDADD = \
2112 libsystemd-bus-internal.la \
2113 libsystemd-id128-internal.la \
2114 libsystemd-daemon-internal.la \
2115 libsystemd-shared.la
2117 test_bus_kernel_SOURCES = \
2118 src/libsystemd-bus/test-bus-kernel.c
2120 test_bus_kernel_LDADD = \
2121 libsystemd-bus-internal.la \
2122 libsystemd-id128-internal.la \
2123 libsystemd-daemon-internal.la \
2124 libsystemd-shared.la \
2125 libsystemd-bus-dump.la \
2126 libsystemd-capability.la \
2129 test_bus_kernel_CFLAGS = \
2133 test_bus_kernel_bloom_SOURCES = \
2134 src/libsystemd-bus/test-bus-kernel-bloom.c
2136 test_bus_kernel_bloom_LDADD = \
2137 libsystemd-bus-internal.la \
2138 libsystemd-id128-internal.la \
2139 libsystemd-daemon-internal.la \
2140 libsystemd-shared.la
2142 test_bus_kernel_benchmark_SOURCES = \
2143 src/libsystemd-bus/test-bus-kernel-benchmark.c
2145 test_bus_kernel_benchmark_LDADD = \
2146 libsystemd-bus-internal.la \
2147 libsystemd-id128-internal.la \
2148 libsystemd-daemon-internal.la \
2149 libsystemd-shared.la
2151 test_bus_memfd_SOURCES = \
2152 src/libsystemd-bus/test-bus-memfd.c
2154 test_bus_memfd_LDADD = \
2155 libsystemd-bus-internal.la \
2156 libsystemd-shared.la
2158 test_bus_zero_copy_SOURCES = \
2159 src/libsystemd-bus/test-bus-zero-copy.c
2161 test_bus_zero_copy_LDADD = \
2162 libsystemd-bus-internal.la \
2163 libsystemd-id128-internal.la \
2164 libsystemd-daemon-internal.la \
2165 libsystemd-shared.la \
2166 libsystemd-bus-dump.la \
2167 libsystemd-capability.la \
2170 test_bus_zero_copy_CFLAGS = \
2174 test_bus_introspect_SOURCES = \
2175 src/libsystemd-bus/test-bus-introspect.c
2177 test_bus_introspect_LDADD = \
2178 libsystemd-shared.la \
2179 libsystemd-bus-internal.la
2181 test_event_SOURCES = \
2182 src/libsystemd-bus/test-event.c
2184 test_event_LDADD = \
2185 libsystemd-bus-internal.la \
2186 libsystemd-id128-internal.la \
2187 libsystemd-daemon-internal.la \
2188 libsystemd-shared.la
2191 src/libsystemd-bus/busctl.c
2194 libsystemd-bus-internal.la \
2195 libsystemd-id128-internal.la \
2196 libsystemd-daemon-internal.la \
2197 libsystemd-shared.la \
2198 libsystemd-bus-dump.la \
2199 libsystemd-capability.la \
2206 # ------------------------------------------------------------------------------
2216 include_HEADERS += \
2217 src/libudev/libudev.h
2219 lib_LTLIBRARIES += \
2222 libudev_la_SOURCES =\
2223 src/libudev/libudev.sym \
2224 src/libudev/libudev-private.h \
2225 src/libudev/libudev.c \
2226 src/libudev/libudev-list.c \
2227 src/libudev/libudev-util.c \
2228 src/libudev/libudev-device.c \
2229 src/libudev/libudev-enumerate.c \
2230 src/libudev/libudev-monitor.c \
2231 src/libudev/libudev-queue.c \
2232 src/libudev/libudev-hwdb-def.h \
2233 src/libudev/libudev-hwdb.c
2235 libudev_la_CFLAGS = \
2239 libudev_la_LDFLAGS = \
2241 -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \
2242 -Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
2244 libudev_la_LIBADD = \
2245 libsystemd-daemon-internal.la \
2246 libsystemd-id128-internal.la \
2247 libsystemd-shared.la
2249 pkgconfiglib_DATA += \
2250 src/libudev/libudev.pc
2253 src/libudev/libudev.pc.in
2256 src/libudev/libudev.pc \
2261 $(AM_V_at)$(MKDIR_P) $(dir $@)
2262 $(AM_V_LN)$(LN_S) -f ../libudev/html $@
2265 $(AM_V_at)$(MKDIR_P) $(dir $@)
2266 $(AM_V_LN)$(LN_S) -f ../gudev/html $@
2268 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
2269 libudev-install-hook:
2270 libname=libudev.so && $(move-to-rootlibdir)
2272 libudev-uninstall-hook:
2273 rm -f $(DESTDIR)$(rootlibdir)/libudev.so*
2275 INSTALL_EXEC_HOOKS += libudev-install-hook
2276 UNINSTALL_EXEC_HOOKS += libudev-uninstall-hook
2278 # ------------------------------------------------------------------------------
2279 noinst_LTLIBRARIES += \
2282 libudev_internal_la_SOURCES =\
2283 $(libudev_la_SOURCES) \
2284 src/libudev/libudev-device-private.c \
2285 src/libudev/libudev-queue-private.c
2287 libudev_internal_la_CFLAGS = \
2289 -fvisibility=default
2291 # ------------------------------------------------------------------------------
2293 $(sysconfdir)/udev/rules.d \
2294 $(sysconfdir)/udev/hwdb.d
2296 dist_network_DATA = \
2297 network/99-default.link
2299 dist_udevrules_DATA += \
2300 rules/99-systemd.rules \
2301 rules/42-usb-hid-pm.rules \
2302 rules/50-udev-default.rules \
2303 rules/60-drm.rules \
2304 rules/60-keyboard.rules \
2305 rules/60-persistent-storage-tape.rules \
2306 rules/60-persistent-serial.rules \
2307 rules/60-persistent-input.rules \
2308 rules/60-persistent-alsa.rules \
2309 rules/60-persistent-storage.rules \
2310 rules/64-btrfs.rules \
2311 rules/75-net-description.rules \
2312 rules/75-tty-description.rules \
2313 rules/78-sound-card.rules \
2314 rules/80-net-setup-link.rules \
2315 rules/95-udev-late.rules
2317 dist_udevhwdb_DATA = \
2318 hwdb/20-pci-vendor-model.hwdb \
2319 hwdb/20-pci-classes.hwdb \
2320 hwdb/20-usb-vendor-model.hwdb \
2321 hwdb/20-usb-classes.hwdb \
2322 hwdb/20-bluetooth-vendor-product.hwdb \
2323 hwdb/20-acpi-vendor.hwdb \
2325 hwdb/60-keyboard.hwdb
2327 udevconfdir = $(sysconfdir)/udev
2328 dist_udevconf_DATA = \
2331 sharepkgconfigdir = $(datadir)/pkgconfig
2332 sharepkgconfig_DATA = \
2336 rules/99-systemd.rules.in \
2340 rules/99-systemd.rules \
2344 units/systemd-udevd.service.in \
2345 units/systemd-udev-trigger.service.in \
2346 units/systemd-udev-settle.service.in
2349 units/systemd-udevd.service \
2350 units/systemd-udev-trigger.service \
2351 units/systemd-udev-settle.service
2353 SOCKETS_TARGET_WANTS += \
2354 systemd-udevd-control.socket \
2355 systemd-udevd-kernel.socket
2356 SYSINIT_TARGET_WANTS += \
2357 systemd-udevd.service \
2358 systemd-udev-trigger.service
2360 rootbin_PROGRAMS += \
2363 rootlibexec_PROGRAMS += \
2366 noinst_LTLIBRARIES += \
2369 src/udev/keyboard-keys.txt: Makefile
2370 $(AM_V_at)$(MKDIR_P) $(dir $@)
2371 $(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/' > $@
2373 src/udev/keyboard-keys-from-name.gperf: src/udev/keyboard-keys.txt Makefile
2374 $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print tolower(substr($$1 ,5)) ", " $$1 }' < $< > $@
2376 src/udev/keyboard-keys-from-name.h: src/udev/keyboard-keys-from-name.gperf Makefile
2377 $(AM_V_GPERF)$(GPERF) -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < $< > $@
2379 src/udev/keyboard-keys-to-name.h: src/udev/keyboard-keys.txt Makefile
2380 $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
2382 libudev_core_la_SOURCES = \
2384 src/udev/udev-event.c \
2385 src/udev/udev-watch.c \
2386 src/udev/udev-node.c \
2387 src/udev/udev-rules.c \
2388 src/udev/udev-ctrl.c \
2389 src/udev/udev-builtin.c \
2390 src/udev/udev-builtin-btrfs.c \
2391 src/udev/udev-builtin-hwdb.c \
2392 src/udev/udev-builtin-input_id.c \
2393 src/udev/udev-builtin-keyboard.c \
2394 src/udev/udev-builtin-net_id.c \
2395 src/udev/udev-builtin-net_setup_link.c \
2396 src/udev/udev-builtin-path_id.c \
2397 src/udev/udev-builtin-usb_id.c \
2398 src/udev/net/link-config.h \
2399 src/udev/net/link-config.c \
2400 src/udev/net/ethtool-util.h \
2401 src/udev/net/ethtool-util.c
2403 nodist_libudev_core_la_SOURCES = \
2404 src/udev/keyboard-keys-from-name.h \
2405 src/udev/keyboard-keys-to-name.h \
2406 src/udev/net/link-config-gperf.c
2409 $(nodist_libudev_core_la_SOURCES)
2412 src/udev/keyboard-keys-from-name.gperf \
2413 src/udev/keyboard-keys.txt \
2414 src/udev/net/link-config-gperf.c
2417 src/udev/net/link-config-gperf.gperf
2419 libudev_core_la_CFLAGS = \
2424 libudev_core_la_LIBADD = \
2425 libudev-internal.la \
2426 libsystemd-label.la \
2427 libsystemd-daemon-internal.la \
2428 libsystemd-rtnl.la \
2429 libsystemd-id128-internal.la \
2430 libsystemd-shared.la \
2434 libudev_core_la_CPPFLAGS = \
2436 -DFIRMWARE_PATH="$(FIRMWARE_PATH)"
2439 libudev_core_la_SOURCES += \
2440 src/udev/udev-builtin-firmware.c
2442 dist_udevrules_DATA += \
2443 rules/50-firmware.rules
2447 libudev_core_la_SOURCES += \
2448 src/udev/udev-builtin-kmod.c
2450 dist_udevrules_DATA += \
2451 rules/80-drivers.rules
2455 libudev_core_la_SOURCES += \
2456 src/udev/udev-builtin-blkid.c
2460 libudev_core_la_SOURCES += \
2461 src/udev/udev-builtin-uaccess.c \
2462 src/login/logind-acl.c \
2463 src/login/sd-login.c \
2464 src/systemd/sd-login.h \
2465 src/login/login-shared.c \
2466 src/login/login-shared.h
2468 libudev_core_la_LIBADD += \
2472 systemd_udevd_SOURCES = \
2475 systemd_udevd_LDADD = \
2479 src/udev/udevadm.c \
2480 src/udev/udevadm-info.c \
2481 src/udev/udevadm-control.c \
2482 src/udev/udevadm-monitor.c \
2483 src/udev/udevadm-hwdb.c \
2484 src/udev/udevadm-settle.c \
2485 src/udev/udevadm-trigger.c \
2486 src/udev/udevadm-test.c \
2487 src/udev/udevadm-test-builtin.c
2492 # Update hwdb on installation. Do not bother if installing
2493 # in DESTDIR, since this is likely for packaging purposes.
2495 -test -n "$(DESTDIR)" || $(rootbindir)/udevadm hwdb --update
2497 INSTALL_DATA_HOOKS += \
2501 -test -n "$(DESTDIR)" || rm -f /etc/udev/hwdb.bin
2503 # ------------------------------------------------------------------------------
2512 test_libudev_SOURCES = \
2513 src/test/test-libudev.c
2515 test_libudev_LDADD = \
2516 libsystemd-label.la \
2517 libudev-internal.la \
2518 libsystemd-shared.la
2520 test_udev_SOURCES = \
2521 src/test/test-udev.c
2530 test_udev_LDADD += \
2537 # packed sysfs test tree
2539 $(AM_V_at)$(MKDIR_P) $(dir $@)
2540 $(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
2544 DISTCLEAN_LOCAL_HOOKS += test-sys-distclean
2549 test/rules-test.sh \
2550 test/rule-syntax-check.py
2552 # ------------------------------------------------------------------------------
2554 src/udev/ata_id/ata_id.c
2557 libudev-internal.la \
2558 libsystemd-shared.la
2560 udevlibexec_PROGRAMS += \
2563 # ------------------------------------------------------------------------------
2564 cdrom_id_SOURCES = \
2565 src/udev/cdrom_id/cdrom_id.c
2568 libudev-internal.la \
2569 libsystemd-shared.la
2571 udevlibexec_PROGRAMS += \
2574 dist_udevrules_DATA += \
2575 rules/60-cdrom_id.rules
2577 # ------------------------------------------------------------------------------
2579 src/udev/collect/collect.c
2582 libudev-internal.la \
2583 libsystemd-shared.la
2585 udevlibexec_PROGRAMS += \
2588 # ------------------------------------------------------------------------------
2590 src/udev/scsi_id/scsi_id.c \
2591 src/udev/scsi_id/scsi_serial.c \
2592 src/udev/scsi_id/scsi.h \
2593 src/udev/scsi_id/scsi_id.h
2596 libudev-internal.la \
2597 libsystemd-shared.la
2599 udevlibexec_PROGRAMS += \
2603 src/udev/scsi_id/README
2605 # ------------------------------------------------------------------------------
2607 src/udev/v4l_id/v4l_id.c
2612 udevlibexec_PROGRAMS += \
2615 dist_udevrules_DATA += \
2616 rules/60-persistent-v4l.rules
2618 # ------------------------------------------------------------------------------
2619 accelerometer_SOURCES = \
2620 src/udev/accelerometer/accelerometer.c
2622 accelerometer_LDADD = \
2623 libudev-internal.la -lm \
2624 libsystemd-shared.la
2626 udevlibexec_PROGRAMS += \
2629 dist_udevrules_DATA += \
2630 rules/61-accelerometer.rules
2632 # ------------------------------------------------------------------------------
2639 libgudev_includedir = \
2640 $(includedir)/gudev-1.0/gudev
2642 libgudev_include_HEADERS = \
2644 src/gudev/gudevenums.h \
2645 src/gudev/gudevenumtypes.h \
2646 src/gudev/gudevtypes.h \
2647 src/gudev/gudevclient.h \
2648 src/gudev/gudevdevice.h \
2649 src/gudev/gudevenumerator.h
2651 lib_LTLIBRARIES += libgudev-1.0.la
2653 pkgconfiglib_DATA += \
2654 src/gudev/gudev-1.0.pc
2657 src/gudev/gudev-1.0.pc
2659 libgudev_1_0_la_SOURCES = \
2660 src/gudev/gudevenums.h \
2661 src/gudev/gudevenumtypes.h \
2662 src/gudev/gudevenumtypes.h\
2663 src/gudev/gudevtypes.h \
2664 src/gudev/gudevclient.h \
2665 src/gudev/gudevclient.c \
2666 src/gudev/gudevdevice.h \
2667 src/gudev/gudevdevice.c \
2668 src/gudev/gudevenumerator.h \
2669 src/gudev/gudevenumerator.c \
2670 src/gudev/gudevprivate.h
2672 nodist_libgudev_1_0_la_SOURCES = \
2673 src/gudev/gudevmarshal.h \
2674 src/gudev/gudevmarshal.c \
2675 src/gudev/gudevenumtypes.h \
2676 src/gudev/gudevenumtypes.c
2679 $(nodist_libgudev_1_0_la_SOURCES)
2681 libgudev_1_0_la_CPPFLAGS = \
2683 -I$(top_builddir)/src\
2684 -I$(top_srcdir)/src\
2685 -I$(top_builddir)/src/gudev \
2686 -I$(top_srcdir)/src/gudev \
2687 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
2688 -D_GUDEV_COMPILATION \
2689 -DG_LOG_DOMAIN=\"GUdev\"
2691 libgudev_1_0_la_CFLAGS = \
2693 -fvisibility=default \
2696 libgudev_1_0_la_LIBADD = \
2700 libgudev_1_0_la_LDFLAGS = \
2702 -version-info $(LIBGUDEV_CURRENT):$(LIBGUDEV_REVISION):$(LIBGUDEV_AGE) \
2703 -export-dynamic -no-undefined \
2704 -export-symbols-regex '^g_udev_.*'
2706 src/gudev/gudevmarshal.h: src/gudev/gudevmarshal.list
2707 $(AM_V_at)$(MKDIR_P) $(dir $@)
2708 $(AM_V_GEN)glib-genmarshal $< --prefix=g_udev_marshal --header > $@
2710 src/gudev/gudevmarshal.c: src/gudev/gudevmarshal.list
2711 $(AM_V_at)$(MKDIR_P) $(dir $@)
2712 $(AM_V_GEN)echo '#include "gudevmarshal.h"' > $@ && \
2713 glib-genmarshal $< --prefix=g_udev_marshal --body >> $@
2715 src/gudev/gudevenumtypes.%: src/gudev/gudevenumtypes.%.template src/gudev/gudevenums.h
2716 $(AM_V_at)$(MKDIR_P) $(dir $@)
2717 $(AM_V_GEN)glib-mkenums --template $^ > $@
2719 if HAVE_INTROSPECTION
2720 -include $(INTROSPECTION_MAKEFILE)
2722 src/gudev/GUdev-1.0.gir: libgudev-1.0.la
2724 src_gudev_GUdev_1_0_gir_INCLUDES = GObject-2.0
2726 src_gudev_GUdev_1_0_gir_CFLAGS = \
2729 -D_GUDEV_COMPILATION \
2730 -D_GUDEV_WORK_AROUND_DEV_T_BUG \
2731 -I$(top_srcdir)/src \
2732 -I$(top_builddir)/src \
2733 -I$(top_srcdir)/src/gudev \
2734 -I$(top_builddir)/src/gudev
2736 src_gudev_GUdev_1_0_gir_LIBS = libgudev-1.0.la
2738 src_gudev_GUdev_1_0_gir_SCANNERFLAGS = \
2739 --pkg-export=gudev-1.0 \
2742 src_gudev_GUdev_1_0_gir_FILES = \
2744 src/gudev/gudevtypes.h \
2745 src/gudev/gudevenums.h \
2746 src/gudev/gudevenumtypes.h \
2747 src/gudev/gudevclient.h \
2748 src/gudev/gudevdevice.h \
2749 src/gudev/gudevenumerator.h \
2750 src/gudev/gudevclient.c \
2751 src/gudev/gudevdevice.c \
2752 src/gudev/gudevenumerator.c
2754 INTROSPECTION_GIRS = src/gudev/GUdev-1.0.gir
2755 INTROSPECTION_SCANNER_ARGS = --c-include=gudev/gudev.h
2757 girdir = $(datadir)/gir-1.0
2759 src/gudev/GUdev-1.0.gir
2761 typelibsdir = $(libdir)/girepository-1.0
2763 src/gudev/GUdev-1.0.typelib
2765 CLEANFILES += $(gir_DATA) $(typelibs_DATA)
2766 endif # HAVE_INTROSPECTION
2768 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
2769 libgudev-install-hook:
2770 libname=libgudev-1.0.so && $(move-to-rootlibdir)
2772 libgudev-uninstall-hook:
2773 rm -f $(DESTDIR)$(rootlibdir)/libgudev-1.0.so*
2775 INSTALL_EXEC_HOOKS += libgudev-install-hook
2776 UNINSTALL_EXEC_HOOKS += libgudev-uninstall-hook
2780 src/gudev/gudev-1.0.pc.in \
2781 src/gudev/gudevmarshal.list \
2782 src/gudev/gudevenumtypes.h.template \
2783 src/gudev/gudevenumtypes.c.template \
2784 src/gudev/gjs-example.js \
2785 src/gudev/seed-example-enum.js \
2786 src/gudev/seed-example.js
2788 # ------------------------------------------------------------------------------
2789 mtd_probe_SOURCES = \
2790 src/udev/mtd_probe/mtd_probe.c \
2791 src/udev/mtd_probe/mtd_probe.h \
2792 src/udev/mtd_probe/probe_smartmedia.c
2794 mtd_probe_CPPFLAGS = \
2797 dist_udevrules_DATA += \
2798 rules/75-probe_mtd.rules
2800 udevlibexec_PROGRAMS += \
2803 # ------------------------------------------------------------------------------
2804 libsystemd_id128_la_SOURCES = \
2805 src/libsystemd-id128/libsystemd-id128.sym \
2806 src/libsystemd-id128/sd-id128.c
2808 libsystemd_id128_la_CFLAGS = \
2812 libsystemd_id128_la_LDFLAGS = \
2814 -version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
2815 -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128/libsystemd-id128.sym
2817 libsystemd_id128_la_LIBADD = \
2818 libsystemd-daemon-internal.la \
2819 libsystemd-shared.la
2821 libsystemd_id128_internal_la_SOURCES = \
2822 $(libsystemd_id128_la_SOURCES)
2824 test_id128_SOURCES = \
2825 src/test/test-id128.c
2827 test_id128_LDADD = \
2828 libsystemd-id128-internal.la \
2829 libsystemd-daemon-internal.la \
2830 libsystemd-shared.la
2835 pkginclude_HEADERS += \
2836 src/systemd/sd-id128.h
2838 lib_LTLIBRARIES += \
2841 noinst_LTLIBRARIES += \
2842 libsystemd-id128-internal.la
2844 pkgconfiglib_DATA += \
2845 src/libsystemd-id128/libsystemd-id128.pc
2847 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
2848 libsystemd-id128-install-hook:
2849 libname=libsystemd-id128.so && $(move-to-rootlibdir)
2851 libsystemd-id128-uninstall-hook:
2852 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
2854 INSTALL_EXEC_HOOKS += libsystemd-id128-install-hook
2855 UNINSTALL_EXEC_HOOKS += libsystemd-id128-uninstall-hook
2858 src/libsystemd-id128/libsystemd-id128.pc.in
2860 # ------------------------------------------------------------------------------
2862 rootlibexec_PROGRAMS += \
2865 systemd_activate_SOURCES = \
2866 src/activate/activate.c
2868 systemd_activate_LDADD = \
2869 libsystemd-label.la \
2870 libsystemd-daemon-internal.la \
2871 libsystemd-shared.la
2873 # ------------------------------------------------------------------------------
2874 systemd_journald_SOURCES = \
2875 src/journal/journald.c \
2876 src/journal/journald-server.h
2878 systemd_journald_LDADD = \
2879 libsystemd-journal-core.la
2881 systemd_cat_SOURCES = \
2884 systemd_cat_LDADD = \
2885 libsystemd-journal-core.la
2887 # using _CFLAGS = in the conditional below would suppress AM_CFLAGS
2888 journalctl_CFLAGS = \
2891 journalctl_SOURCES = \
2892 src/journal/journalctl.c
2894 journalctl_LDADD = \
2895 libsystemd-journal-internal.la \
2896 libsystemd-id128-internal.la \
2897 libsystemd-logs.la \
2898 libsystemd-shared.la
2901 journalctl_LDADD += \
2906 journalctl_SOURCES += \
2907 src/journal/journal-qrcode.c \
2908 src/journal/journal-qrcode.h
2910 journalctl_CFLAGS += \
2913 journalctl_LDADD += \
2917 test_journal_SOURCES = \
2918 src/journal/test-journal.c
2920 test_journal_LDADD = \
2921 libsystemd-journal-core.la
2923 test_journal_send_SOURCES = \
2924 src/journal/test-journal-send.c
2926 test_journal_send_LDADD = \
2927 libsystemd-journal-core.la
2929 test_journal_syslog_SOURCES = \
2930 src/journal/test-journal-syslog.c
2932 test_journal_syslog_LDADD = \
2933 libsystemd-journal-core.la
2935 test_journal_match_SOURCES = \
2936 src/journal/test-journal-match.c
2938 test_journal_match_LDADD = \
2939 libsystemd-journal-core.la
2941 test_journal_enum_SOURCES = \
2942 src/journal/test-journal-enum.c
2944 test_journal_enum_LDADD = \
2945 libsystemd-journal-core.la
2947 test_journal_stream_SOURCES = \
2948 src/journal/test-journal-stream.c
2950 test_journal_stream_LDADD = \
2951 libsystemd-journal-core.la
2953 test_journal_init_SOURCES = \
2954 src/journal/test-journal-init.c
2956 test_journal_init_LDADD = \
2957 libsystemd-journal-core.la
2959 test_journal_verify_SOURCES = \
2960 src/journal/test-journal-verify.c
2962 test_journal_verify_LDADD = \
2963 libsystemd-journal-core.la
2965 test_journal_interleaving_SOURCES = \
2966 src/journal/test-journal-interleaving.c
2968 test_journal_interleaving_LDADD = \
2969 libsystemd-journal-core.la
2971 test_mmap_cache_SOURCES = \
2972 src/journal/test-mmap-cache.c
2974 test_mmap_cache_LDADD = \
2975 libsystemd-journal-core.la
2977 test_catalog_SOURCES = \
2978 src/journal/test-catalog.c
2980 test_catalog_CFLAGS = \
2982 -DCATALOG_DIR=\"$(abs_top_srcdir)/catalog\"
2984 test_catalog_LDADD = \
2985 libsystemd-journal-core.la
2987 libsystemd_journal_la_SOURCES = \
2988 src/journal/libsystemd-journal.sym \
2989 src/journal/sd-journal.c \
2990 src/systemd/sd-journal.h \
2991 src/systemd/_sd-common.h \
2992 src/journal/journal-file.c \
2993 src/journal/journal-file.h \
2994 src/journal/journal-vacuum.c \
2995 src/journal/journal-vacuum.h \
2996 src/journal/journal-verify.c \
2997 src/journal/journal-verify.h \
2998 src/journal/lookup3.c \
2999 src/journal/lookup3.h \
3000 src/journal/journal-send.c \
3001 src/journal/journal-def.h \
3002 src/journal/compress.h \
3003 src/journal/catalog.c \
3004 src/journal/catalog.h \
3005 src/journal/mmap-cache.c \
3006 src/journal/mmap-cache.h
3008 libsystemd_journal_la_CFLAGS = \
3012 libsystemd_journal_la_LDFLAGS = \
3014 -version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
3015 -Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
3017 libsystemd_journal_la_LIBADD = \
3018 libsystemd-label.la \
3019 libsystemd-daemon-internal.la \
3020 libsystemd-id128-internal.la \
3021 libsystemd-shared.la
3023 libsystemd_journal_internal_la_SOURCES = \
3024 $(libsystemd_journal_la_SOURCES)
3026 # using _CFLAGS = in the conditional below would suppress AM_CFLAGS
3027 libsystemd_journal_internal_la_CFLAGS = \
3030 libsystemd_journal_internal_la_LIBADD =
3033 libsystemd_journal_la_SOURCES += \
3034 src/journal/compress.c
3036 libsystemd_journal_la_CFLAGS += \
3039 libsystemd_journal_la_LIBADD += \
3042 libsystemd_journal_internal_la_CFLAGS += \
3045 libsystemd_journal_internal_la_LIBADD += \
3049 libsystemd_journal_core_la_SOURCES = \
3050 src/journal/journald-kmsg.c \
3051 src/journal/journald-kmsg.h \
3052 src/journal/journald-syslog.c \
3053 src/journal/journald-syslog.h \
3054 src/journal/journald-stream.c \
3055 src/journal/journald-stream.h \
3056 src/journal/journald-server.c \
3057 src/journal/journald-server.h \
3058 src/journal/journald-console.c \
3059 src/journal/journald-console.h \
3060 src/journal/journald-native.c \
3061 src/journal/journald-native.h \
3062 src/journal/journald-rate-limit.c \
3063 src/journal/journald-rate-limit.h \
3064 src/journal/journal-internal.h
3066 nodist_libsystemd_journal_core_la_SOURCES = \
3067 src/journal/journald-gperf.c
3069 libsystemd_journal_core_la_LIBADD = \
3070 libsystemd-journal-internal.la \
3071 libudev-internal.la \
3072 libsystemd-audit.la \
3073 libsystemd-capability.la \
3074 libsystemd-label.la \
3075 libsystemd-daemon-internal.la \
3076 libsystemd-id128-internal.la \
3077 libsystemd-shared.la
3080 libsystemd_journal_core_la_LIBADD += \
3081 libsystemd-login-internal.la
3085 libsystemd_journal_core_la_LIBADD += \
3089 noinst_LTLIBRARIES += \
3090 libsystemd-journal-core.la
3093 libsystemd_journal_la_SOURCES += \
3094 src/journal/journal-authenticate.c \
3095 src/journal/journal-authenticate.h \
3096 src/journal/fsprg.c \
3099 libsystemd_journal_la_CFLAGS += \
3103 libsystemd_journal_la_LIBADD += \
3106 libsystemd_journal_internal_la_CFLAGS += \
3110 libsystemd_journal_internal_la_LIBADD += \
3114 # move lib from $(libdir) to $(rootlibdir) and update devel link, if
3115 # needed. Also, grant read access to new journal files to members of
3116 # "adm" and "wheel".
3117 libsystemd-journal-install-hook:
3118 libname=libsystemd-journal.so && $(move-to-rootlibdir)
3119 -$(MKDIR_P) $(DESTDIR)/var/log/journal
3120 -chown 0:0 $(DESTDIR)/var/log/journal
3121 -chmod 755 $(DESTDIR)/var/log/journal
3122 -setfacl -nm g:adm:rx,d:g:adm:rx $(DESTDIR)/var/log/journal/
3123 -setfacl -nm g:wheel:rx,d:g:wheel:rx $(DESTDIR)/var/log/journal/
3125 libsystemd-journal-uninstall-hook:
3126 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
3128 INSTALL_EXEC_HOOKS += libsystemd-journal-install-hook
3129 UNINSTALL_EXEC_HOOKS += libsystemd-journal-uninstall-hook
3131 # ------------------------------------------------------------------------------
3133 # Update catalog on installation. Do not bother if installing
3134 # in DESTDIR, since this is likely for packaging purposes.
3135 catalog-update-hook:
3136 -test -n "$(DESTDIR)" || $(rootbindir)/journalctl --update-catalog
3138 INSTALL_DATA_HOOKS += \
3141 catalog-remove-hook:
3142 -test -n "$(DESTDIR)" || rm -f $(catalogstatedir)/database
3144 UNINSTALL_DATA_HOOKS += \
3153 test-journal-syslog \
3154 test-journal-match \
3155 test-journal-stream \
3157 test-journal-verify \
3158 test-journal-interleaving \
3162 pkginclude_HEADERS += \
3163 src/systemd/sd-journal.h \
3164 src/systemd/sd-messages.h \
3165 src/systemd/_sd-common.h
3167 lib_LTLIBRARIES += \
3168 libsystemd-journal.la
3170 noinst_LTLIBRARIES += \
3171 libsystemd-journal-internal.la
3173 rootlibexec_PROGRAMS += \
3176 rootbin_PROGRAMS += \
3182 dist_systemunit_DATA += \
3183 units/systemd-journald.socket
3185 nodist_systemunit_DATA += \
3186 units/systemd-journald.service \
3187 units/systemd-journal-flush.service
3189 dist_pkgsysconf_DATA += \
3190 src/journal/journald.conf
3192 pkgconfiglib_DATA += \
3193 src/journal/libsystemd-journal.pc
3195 dist_catalog_DATA = \
3196 catalog/systemd.catalog
3198 SOCKETS_TARGET_WANTS += \
3199 systemd-journald.socket
3200 SYSINIT_TARGET_WANTS += \
3201 systemd-journald.service \
3202 systemd-journal-flush.service
3205 src/journal/libsystemd-journal.pc.in \
3206 units/systemd-journald.service.in \
3207 units/systemd-journal-flush.service.in \
3208 src/journal/journald-gperf.gperf
3211 src/journal/journald-gperf.c
3213 # ------------------------------------------------------------------------------
3215 gatewayddocumentrootdir=$(pkgdatadir)/gatewayd
3217 rootlibexec_PROGRAMS += \
3218 systemd-journal-gatewayd
3220 systemd_journal_gatewayd_SOURCES = \
3221 src/journal/journal-gatewayd.c \
3222 src/journal/microhttpd-util.h \
3223 src/journal/microhttpd-util.c
3225 systemd_journal_gatewayd_LDADD = \
3226 libsystemd-logs.la \
3227 libsystemd-journal-internal.la \
3228 libsystemd-id128-internal.la \
3229 libsystemd-daemon-internal.la \
3230 libsystemd-bus-internal.la \
3231 libsystemd-shared.la \
3234 systemd_journal_gatewayd_CFLAGS = \
3236 -DDOCUMENT_ROOT=\"$(gatewayddocumentrootdir)\" \
3237 $(MICROHTTPD_CFLAGS)
3239 dist_systemunit_DATA += \
3240 units/systemd-journal-gatewayd.socket
3242 nodist_systemunit_DATA += \
3243 units/systemd-journal-gatewayd.service
3245 dist_gatewayddocumentroot_DATA = \
3246 src/journal/browse.html
3251 units/systemd-journal-gatewayd.service.in
3253 # ------------------------------------------------------------------------------
3255 systemd_socket_proxyd_SOURCES = \
3256 src/socket-proxy/socket-proxyd.c
3258 systemd_socket_proxyd_LDADD = \
3259 libsystemd-logs.la \
3260 libsystemd-bus-internal.la \
3261 libsystemd-journal-internal.la \
3262 libsystemd-id128-internal.la \
3263 libsystemd-daemon-internal.la \
3264 libsystemd-shared.la
3266 # ------------------------------------------------------------------------------
3268 systemd_coredump_SOURCES = \
3269 src/journal/coredump.c
3271 systemd_coredump_LDADD = \
3272 libsystemd-journal-internal.la \
3273 libsystemd-label.la \
3274 libsystemd-shared.la
3277 systemd_coredump_LDADD += \
3278 libsystemd-login-internal.la
3281 rootlibexec_PROGRAMS += \
3284 systemd_coredumpctl_SOURCES = \
3285 src/journal/coredumpctl.c
3287 systemd_coredumpctl_LDADD = \
3288 libsystemd-journal-internal.la \
3289 libsystemd-id128-internal.la \
3290 libsystemd-shared.la
3295 dist_bashcompletion_DATA += \
3296 shell-completion/bash/systemd-coredumpctl
3298 dist_zshcompletion_DATA += \
3299 shell-completion/zsh/_systemd-coredumpctl
3302 sysctl.d/50-coredump.conf
3305 sysctl.d/50-coredump.conf
3309 sysctl.d/50-coredump.conf.in
3311 # ------------------------------------------------------------------------------
3313 systemd_binfmt_SOURCES = \
3316 systemd_binfmt_LDADD = \
3317 libsystemd-shared.la
3319 rootlibexec_PROGRAMS += \
3322 dist_systemunit_DATA += \
3323 units/proc-sys-fs-binfmt_misc.automount \
3324 units/proc-sys-fs-binfmt_misc.mount
3326 nodist_systemunit_DATA += \
3327 units/systemd-binfmt.service
3330 $(prefix)/lib/binfmt.d \
3331 $(sysconfdir)/binfmt.d
3333 SYSINIT_TARGET_WANTS += \
3334 systemd-binfmt.service \
3335 proc-sys-fs-binfmt_misc.automount
3340 units/systemd-binfmt.service.in
3342 # ------------------------------------------------------------------------------
3344 systemd_vconsole_setup_SOURCES = \
3345 src/vconsole/vconsole-setup.c
3347 systemd_vconsole_setup_LDADD = \
3348 libsystemd-shared.la
3350 rootlibexec_PROGRAMS += \
3351 systemd-vconsole-setup
3353 nodist_systemunit_DATA += \
3354 units/systemd-vconsole-setup.service
3356 SYSINIT_TARGET_WANTS += \
3357 systemd-vconsole-setup.service
3361 units/systemd-vconsole-setup.service.in
3363 # ------------------------------------------------------------------------------
3365 systemd_readahead_SOURCES = \
3366 src/readahead/readahead.c \
3367 src/readahead/readahead-collect.c \
3368 src/readahead/readahead-replay.c \
3369 src/readahead/readahead-analyze.c \
3370 src/readahead/readahead-common.c \
3371 src/readahead/readahead-common.h
3373 systemd_readahead_LDADD = \
3374 libsystemd-daemon-internal.la \
3375 libudev-internal.la \
3376 libsystemd-shared.la
3379 src/readahead/sd-readahead.c \
3380 src/systemd/sd-readahead.h
3382 rootlibexec_PROGRAMS += \
3385 dist_systemunit_DATA += \
3386 units/systemd-readahead-drop.service \
3387 units/systemd-readahead-done.timer
3389 nodist_systemunit_DATA += \
3390 units/systemd-readahead-collect.service \
3391 units/systemd-readahead-replay.service \
3392 units/systemd-readahead-done.service
3397 units/systemd-readahead-collect.service.in \
3398 units/systemd-readahead-replay.service.in \
3399 units/systemd-readahead-done.service.in
3401 # ------------------------------------------------------------------------------
3403 systemd_bootchart_SOURCES = \
3404 src/bootchart/bootchart.c \
3405 src/bootchart/bootchart.h \
3406 src/bootchart/store.c \
3407 src/bootchart/store.h \
3408 src/bootchart/svg.c \
3411 systemd_bootchart_LDADD = \
3412 libsystemd-journal-internal.la \
3413 libsystemd-shared.la
3415 rootlibexec_PROGRAMS += \
3418 dist_pkgsysconf_DATA += \
3419 src/bootchart/bootchart.conf
3422 # ------------------------------------------------------------------------------
3423 if ENABLE_QUOTACHECK
3424 rootlibexec_PROGRAMS += \
3427 nodist_systemunit_DATA += \
3428 units/systemd-quotacheck.service
3430 systemd_quotacheck_SOURCES = \
3431 src/quotacheck/quotacheck.c
3433 systemd_quotacheck_LDADD = \
3434 libsystemd-shared.la
3438 units/systemd-quotacheck.service.in
3440 nodist_systemunit_DATA += \
3441 units/quotaon.service
3443 # ------------------------------------------------------------------------------
3444 if ENABLE_RANDOMSEED
3445 rootlibexec_PROGRAMS += \
3448 nodist_systemunit_DATA += \
3449 units/systemd-random-seed.service
3451 systemd_random_seed_SOURCES = \
3452 src/random-seed/random-seed.c
3454 systemd_random_seed_LDADD = \
3455 libsystemd-label.la \
3456 libsystemd-shared.la
3458 SYSINIT_TARGET_WANTS += \
3459 systemd-random-seed.service
3464 units/systemd-random-seed.service.in
3466 # ------------------------------------------------------------------------------
3468 rootlibexec_PROGRAMS += \
3471 nodist_systemunit_DATA += \
3472 units/systemd-backlight@.service
3474 systemd_backlight_SOURCES = \
3475 src/backlight/backlight.c
3477 systemd_backlight_LDADD = \
3478 libsystemd-label.la \
3479 libudev-internal.la \
3480 libsystemd-shared.la
3484 units/systemd-backlight@.service.in
3486 # ------------------------------------------------------------------------------
3488 rootlibexec_PROGRAMS += \
3491 nodist_systemunit_DATA += \
3492 units/systemd-rfkill@.service
3494 systemd_rfkill_SOURCES = \
3497 systemd_rfkill_LDADD = \
3498 libsystemd-label.la \
3499 libudev-internal.la \
3500 libsystemd-shared.la
3504 units/systemd-rfkill@.service.in
3506 # ------------------------------------------------------------------------------
3507 if HAVE_LIBCRYPTSETUP
3508 rootlibexec_PROGRAMS += \
3511 systemgenerator_PROGRAMS += \
3512 systemd-cryptsetup-generator
3514 dist_systemunit_DATA += \
3515 units/cryptsetup.target
3517 systemd_cryptsetup_SOURCES = \
3518 src/cryptsetup/cryptsetup.c
3520 systemd_cryptsetup_CFLAGS = \
3522 $(LIBCRYPTSETUP_CFLAGS)
3524 systemd_cryptsetup_LDADD = \
3525 libsystemd-label.la \
3526 libudev-internal.la \
3527 libsystemd-shared.la \
3528 $(LIBCRYPTSETUP_LIBS)
3530 systemd_cryptsetup_generator_SOURCES = \
3531 src/cryptsetup/cryptsetup-generator.c
3533 systemd_cryptsetup_generator_LDADD = \
3534 libsystemd-label.la \
3535 libsystemd-shared.la
3537 SYSINIT_TARGET_WANTS += \
3542 # ------------------------------------------------------------------------------
3544 systemd_hostnamed_SOURCES = \
3545 src/hostname/hostnamed.c
3547 systemd_hostnamed_LDADD = \
3548 libsystemd-label.la \
3549 libsystemd-bus-internal.la \
3550 libsystemd-id128-internal.la \
3551 libsystemd-daemon-internal.la \
3552 libsystemd-shared.la
3554 rootlibexec_PROGRAMS += \
3557 nodist_systemunit_DATA += \
3558 units/systemd-hostnamed.service
3560 dist_dbuspolicy_DATA += \
3561 src/hostname/org.freedesktop.hostname1.conf
3563 dist_dbussystemservice_DATA += \
3564 src/hostname/org.freedesktop.hostname1.service
3566 polkitpolicy_files += \
3567 src/hostname/org.freedesktop.hostname1.policy
3569 SYSTEM_UNIT_ALIASES += \
3570 systemd-hostnamed.service dbus-org.freedesktop.hostname1.service
3572 hostnamectl_SOURCES = \
3573 src/hostname/hostnamectl.c
3575 hostnamectl_LDADD = \
3576 libsystemd-bus-internal.la \
3577 libsystemd-id128-internal.la \
3578 libsystemd-daemon-internal.la \
3579 libsystemd-shared.la
3584 dist_bashcompletion_DATA += \
3585 shell-completion/bash/hostnamectl
3587 dist_zshcompletion_DATA += \
3588 shell-completion/zsh/_hostnamectl
3592 polkitpolicy_in_files += \
3593 src/hostname/org.freedesktop.hostname1.policy.in
3596 units/systemd-hostnamed.service.in
3598 # ------------------------------------------------------------------------------
3600 systemd_localed_SOURCES = \
3601 src/locale/localed.c
3603 systemd_localed_LDADD = \
3604 libsystemd-label.la \
3605 libsystemd-bus-internal.la \
3606 libsystemd-id128-internal.la \
3607 libsystemd-daemon-internal.la \
3608 libsystemd-shared.la
3610 nodist_systemunit_DATA += \
3611 units/systemd-localed.service
3613 rootlibexec_PROGRAMS += \
3616 dist_dbuspolicy_DATA += \
3617 src/locale/org.freedesktop.locale1.conf
3619 dist_dbussystemservice_DATA += \
3620 src/locale/org.freedesktop.locale1.service
3622 polkitpolicy_files += \
3623 src/locale/org.freedesktop.locale1.policy
3625 SYSTEM_UNIT_ALIASES += \
3626 systemd-localed.service dbus-org.freedesktop.locale1.service
3628 dist_pkgdata_DATA += \
3629 src/locale/kbd-model-map
3631 dist_noinst_SCRIPT = \
3632 src/locale/generate-kbd-model-map
3634 update-kbd-model-map: src/locale/generate-kbd-model-map
3635 $PYTHON $< > src/locale/kbd-model-map
3637 localectl_SOURCES = \
3638 src/locale/localectl.c
3641 libsystemd-bus-internal.la \
3642 libsystemd-id128-internal.la \
3643 libsystemd-daemon-internal.la \
3644 libsystemd-shared.la
3649 dist_bashcompletion_DATA += \
3650 shell-completion/bash/localectl
3652 dist_zshcompletion_DATA += \
3653 shell-completion/zsh/_localectl
3657 polkitpolicy_in_files += \
3658 src/locale/org.freedesktop.locale1.policy.in
3661 units/systemd-localed.service.in
3663 # ------------------------------------------------------------------------------
3665 systemd_timedated_SOURCES = \
3666 src/timedate/timedated.c
3668 systemd_timedated_LDADD = \
3669 libsystemd-label.la \
3670 libsystemd-bus-internal.la \
3671 libsystemd-id128-internal.la \
3672 libsystemd-daemon-internal.la \
3673 libsystemd-shared.la
3675 rootlibexec_PROGRAMS += \
3678 dist_dbussystemservice_DATA += \
3679 src/timedate/org.freedesktop.timedate1.service
3681 dist_dbuspolicy_DATA += \
3682 src/timedate/org.freedesktop.timedate1.conf
3684 nodist_systemunit_DATA += \
3685 units/systemd-timedated.service
3687 polkitpolicy_files += \
3688 src/timedate/org.freedesktop.timedate1.policy
3691 $(prefix)/lib/systemd/ntp-units.d \
3692 $(sysconfdir)/systemd/ntp-units.d
3694 SYSTEM_UNIT_ALIASES += \
3695 systemd-timedated.service dbus-org.freedesktop.timedate1.service
3697 timedatectl_SOURCES = \
3698 src/timedate/timedatectl.c
3700 timedatectl_LDADD = \
3701 libsystemd-bus-internal.la \
3702 libsystemd-id128-internal.la \
3703 libsystemd-daemon-internal.la \
3704 libsystemd-shared.la
3709 dist_bashcompletion_DATA += \
3710 shell-completion/bash/timedatectl
3712 dist_zshcompletion_DATA += \
3713 shell-completion/zsh/_timedatectl
3716 polkitpolicy_in_files += \
3717 src/timedate/org.freedesktop.timedate1.policy.in
3720 units/systemd-timedated.service.in
3722 # ------------------------------------------------------------------------------
3724 libnss_myhostname_la_SOURCES = \
3725 src/nss-myhostname/nss-myhostname.c \
3726 src/nss-myhostname/ifconf.h \
3727 src/nss-myhostname/netlink.c
3729 libnss_myhostname_la_LDFLAGS = \
3737 lib_LTLIBRARIES += \
3738 libnss_myhostname.la
3741 # ------------------------------------------------------------------------------
3743 systemd_machined_SOURCES = \
3744 src/machine/machined.c \
3745 src/machine/machined.h
3747 systemd_machined_LDADD = \
3748 libsystemd-machine-core.la
3750 rootlibexec_PROGRAMS += \
3753 libsystemd_machine_core_la_SOURCES = \
3754 src/machine/machined-dbus.c \
3755 src/machine/machine.c \
3756 src/machine/machine.h \
3757 src/machine/machine-dbus.c
3759 libsystemd_machine_core_la_LIBADD = \
3760 libsystemd-label.la \
3761 libsystemd-audit.la \
3762 libsystemd-daemon-internal.la \
3763 libsystemd-bus-internal.la \
3764 libsystemd-id128-internal.la \
3765 libudev-internal.la \
3766 libsystemd-shared.la
3768 noinst_LTLIBRARIES += \
3769 libsystemd-machine-core.la
3771 machinectl_SOURCES = \
3772 src/machine/machinectl.c
3774 machinectl_LDADD = \
3775 libsystemd-bus-internal.la \
3776 libsystemd-id128-internal.la \
3777 libsystemd-daemon-internal.la \
3778 libsystemd-shared.la
3780 rootbin_PROGRAMS += \
3783 test_machine_tables_SOURCES = \
3784 src/machine/test-machine-tables.c
3786 test_machine_tables_LDADD = \
3787 libsystemd-machine-core.la
3792 nodist_systemunit_DATA += \
3793 units/systemd-machined.service
3795 dist_systemunit_DATA += \
3798 dist_dbussystemservice_DATA += \
3799 src/machine/org.freedesktop.machine1.service
3801 dist_dbuspolicy_DATA += \
3802 src/machine/org.freedesktop.machine1.conf
3804 dist_zshcompletion_DATA += \
3805 shell-completion/zsh/_machinectl
3807 SYSTEM_UNIT_ALIASES += \
3808 systemd-machined.service dbus-org.freedesktop.machine1.service
3811 units/systemd-machined.service.in
3815 # ------------------------------------------------------------------------------
3817 rootlibexec_PROGRAMS += \
3820 systemd_networkd_SOURCES = \
3821 src/network/networkd.h \
3822 src/network/networkd.c \
3823 src/network/networkd-link.c \
3824 src/network/networkd-network.c \
3825 src/network/networkd-address.c \
3826 src/network/networkd-route.c \
3827 src/network/networkd-manager.c
3829 nodist_systemd_networkd_SOURCES = \
3830 src/network/networkd-gperf.c
3832 systemd_networkd_LDADD = \
3833 libudev-internal.la \
3835 libsystemd-rtnl.la \
3836 libsystemd-shared.la
3838 nodist_systemunit_DATA += \
3839 units/systemd-networkd.service
3841 MULTI_USER_TARGET_WANTS += \
3842 systemd-networkd.service
3844 test_network_SOURCES = \
3845 src/network/test-network.c \
3846 src/network/networkd.h \
3847 src/network/networkd-link.c \
3848 src/network/networkd-network.c \
3849 src/network/networkd-address.c \
3850 src/network/networkd-route.c \
3851 src/network/networkd-manager.c \
3852 src/network/networkd-gperf.c
3854 test_network_LDADD = \
3855 libudev-internal.la \
3857 libsystemd-rtnl.la \
3858 libsystemd-shared.la
3860 tests += test-network
3863 src/network/networkd-gperf.gperf \
3864 units/systemd-networkd.service.in
3867 src/network/networkd-gperf.c
3870 # ------------------------------------------------------------------------------
3872 systemd_logind_SOURCES = \
3873 src/login/logind.c \
3876 nodist_systemd_logind_SOURCES = \
3877 src/login/logind-gperf.c
3879 systemd_logind_LDADD = \
3880 libsystemd-logind-core.la
3882 libsystemd_logind_core_la_SOURCES = \
3883 src/login/logind-core.c \
3884 src/login/logind-dbus.c \
3885 src/login/logind-device.c \
3886 src/login/logind-device.h \
3887 src/login/logind-button.c \
3888 src/login/logind-button.h \
3889 src/login/logind-action.c \
3890 src/login/logind-action.h \
3891 src/login/logind-seat.c \
3892 src/login/logind-seat.h \
3893 src/login/logind-session.c \
3894 src/login/logind-session.h \
3895 src/login/logind-session-device.c \
3896 src/login/logind-session-device.h \
3897 src/login/logind-user.c \
3898 src/login/logind-user.h \
3899 src/login/logind-inhibit.c \
3900 src/login/logind-inhibit.h \
3901 src/login/logind-session-dbus.c \
3902 src/login/logind-seat-dbus.c \
3903 src/login/logind-user-dbus.c \
3904 src/login/logind-acl.h \
3905 src/login/login-shared.c \
3906 src/login/login-shared.h
3908 libsystemd_logind_core_la_LIBADD = \
3909 libsystemd-label.la \
3910 libsystemd-capability.la \
3911 libsystemd-audit.la \
3912 libsystemd-daemon-internal.la \
3913 libsystemd-id128-internal.la \
3914 libsystemd-bus-internal.la \
3915 libudev-internal.la \
3916 libsystemd-shared.la
3919 libsystemd_logind_core_la_SOURCES += \
3920 src/login/logind-acl.c
3922 libsystemd_logind_core_la_LIBADD += \
3926 noinst_LTLIBRARIES += \
3927 libsystemd-logind-core.la
3929 systemd_user_sessions_SOURCES = \
3930 src/login/user-sessions.c
3932 systemd_user_sessions_LDADD = \
3933 libsystemd-shared.la
3935 rootlibexec_PROGRAMS += \
3937 systemd-user-sessions
3939 loginctl_SOURCES = \
3940 src/login/loginctl.c \
3941 src/login/sysfs-show.c
3944 libsystemd-bus-internal.la \
3945 libudev-internal.la \
3946 libsystemd-shared.la \
3947 libsystemd-id128-internal.la \
3948 libsystemd-daemon-internal.la
3950 rootbin_PROGRAMS += \
3953 dist_bashcompletion_DATA += \
3954 shell-completion/bash/loginctl
3956 dist_zshcompletion_DATA += \
3957 shell-completion/zsh/_loginctl \
3958 shell-completion/zsh/_systemd-inhibit
3960 systemd_inhibit_SOURCES = \
3963 systemd_inhibit_LDADD = \
3964 libsystemd-bus-internal.la \
3965 libsystemd-id128-internal.la \
3966 libsystemd-daemon-internal.la \
3967 libsystemd-shared.la
3969 rootbin_PROGRAMS += \
3972 test_login_SOURCES = \
3973 src/login/test-login.c
3975 test_login_LDADD = \
3976 libsystemd-login-internal.la \
3977 libsystemd-shared.la
3979 test_login_shared_SOURCES = \
3980 src/login/test-login-shared.c
3982 test_login_shared_LDADD = \
3983 libsystemd-login-internal.la \
3984 libsystemd-shared.la
3986 test_inhibit_SOURCES = \
3987 src/login/test-inhibit.c
3989 test_inhibit_LDADD = \
3990 libsystemd-bus-internal.la \
3991 libsystemd-daemon-internal.la \
3992 libsystemd-id128-internal.la \
3993 libsystemd-shared.la
3995 test_login_tables_SOURCES = \
3996 src/login/test-login-tables.c
3998 test_login_tables_LDADD = \
3999 libsystemd-logind-core.la
4009 libsystemd_login_la_SOURCES = \
4010 src/login/libsystemd-login.sym \
4011 src/login/sd-login.c \
4012 src/systemd/sd-login.h \
4013 src/login/login-shared.c \
4014 src/login/login-shared.h
4016 libsystemd_login_la_CFLAGS = \
4020 libsystemd_login_la_LDFLAGS = \
4022 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
4023 -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
4025 libsystemd_login_la_LIBADD = \
4026 libsystemd-daemon-internal.la \
4027 libsystemd-shared.la
4029 libsystemd_login_internal_la_SOURCES = \
4030 $(libsystemd_login_la_SOURCES)
4033 pam_systemd_la_SOURCES = \
4034 src/login/pam-module.c
4036 pam_systemd_la_CFLAGS = \
4041 pam_systemd_la_LDFLAGS = \
4047 -export-symbols-regex '^pam_sm_.*'
4049 pam_systemd_la_LIBADD = \
4050 libsystemd-capability.la \
4051 libsystemd-audit.la \
4052 libsystemd-bus-internal.la \
4053 libsystemd-id128-internal.la \
4054 libsystemd-daemon-internal.la \
4055 libsystemd-shared.la \
4058 pamlib_LTLIBRARIES = \
4061 dist_pamconf_DATA = \
4062 src/login/systemd-user
4065 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
4066 libsystemd-login-install-hook:
4067 libname=libsystemd-login.so && $(move-to-rootlibdir)
4069 libsystemd-login-uninstall-hook:
4070 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
4072 INSTALL_EXEC_HOOKS += libsystemd-login-install-hook
4073 UNINSTALL_EXEC_HOOKS += libsystemd-login-uninstall-hook
4075 nodist_systemunit_DATA += \
4076 units/systemd-logind.service \
4077 units/systemd-user-sessions.service
4079 dist_systemunit_DATA += \
4082 dist_dbussystemservice_DATA += \
4083 src/login/org.freedesktop.login1.service
4085 dist_dbuspolicy_DATA += \
4086 src/login/org.freedesktop.login1.conf
4088 dist_pkgsysconf_DATA += \
4089 src/login/logind.conf
4091 pkginclude_HEADERS += \
4092 src/systemd/sd-login.h
4094 lib_LTLIBRARIES += \
4097 noinst_LTLIBRARIES += \
4098 libsystemd-login-internal.la
4100 pkgconfiglib_DATA += \
4101 src/login/libsystemd-login.pc
4103 polkitpolicy_files += \
4104 src/login/org.freedesktop.login1.policy
4109 MULTI_USER_TARGET_WANTS += \
4110 systemd-logind.service \
4111 systemd-user-sessions.service
4113 SYSTEM_UNIT_ALIASES += \
4114 systemd-logind.service dbus-org.freedesktop.login1.service
4116 systemd_multi_seat_x_SOURCES = \
4117 src/login/multi-seat-x.c
4119 systemd_multi_seat_x_LDADD = \
4120 libsystemd-label.la \
4121 libsystemd-shared.la
4123 rootlibexec_PROGRAMS += \
4124 systemd-multi-seat-x
4126 dist_udevrules_DATA += \
4127 src/login/70-uaccess.rules \
4128 src/login/70-power-switch.rules
4130 nodist_udevrules_DATA += \
4131 src/login/71-seat.rules \
4132 src/login/73-seat-late.rules
4135 src/login/logind-gperf.c \
4136 src/login/71-seat.rules \
4137 src/login/73-seat-late.rules
4140 polkitpolicy_in_files += \
4141 src/login/org.freedesktop.login1.policy.in
4144 src/login/logind-gperf.gperf \
4145 src/login/libsystemd-login.pc.in \
4146 src/login/71-seat.rules.in \
4147 src/login/73-seat-late.rules.in \
4148 units/systemd-logind.service.in \
4149 units/systemd-user-sessions.service.in
4151 # ------------------------------------------------------------------------------
4152 if HAVE_PYTHON_DEVEL
4153 pkgpyexec_LTLIBRARIES = \
4160 _journal_la_SOURCES = \
4161 src/python-systemd/_journal.c
4163 _journal_la_CFLAGS = \
4165 -fvisibility=default \
4166 $(PYTHON_DEVEL_CFLAGS)
4168 _journal_la_LDFLAGS = \
4174 _journal_la_LIBADD = \
4175 $(PYTHON_DEVEL_LIBS) \
4176 libsystemd-journal.la
4178 id128_la_SOURCES = \
4179 src/python-systemd/id128.c \
4180 src/python-systemd/id128-constants.h \
4181 src/python-systemd/pyutil.c \
4182 src/python-systemd/pyutil.h
4186 -fvisibility=default \
4187 $(PYTHON_DEVEL_CFLAGS) \
4188 -I$(top_builddir)/src/python-systemd
4190 id128_la_LDFLAGS = \
4197 $(PYTHON_DEVEL_LIBS) \
4200 _daemon_la_SOURCES = \
4201 src/python-systemd/_daemon.c \
4202 src/python-systemd/pyutil.c \
4203 src/python-systemd/pyutil.h
4205 _daemon_la_CFLAGS = \
4207 -fvisibility=default \
4208 $(PYTHON_DEVEL_CFLAGS) \
4209 -I$(top_builddir)/src/python-systemd
4211 _daemon_la_LDFLAGS = \
4217 _daemon_la_LIBADD = \
4218 $(PYTHON_DEVEL_LIBS) \
4219 libsystemd-daemon.la
4221 _reader_la_SOURCES = \
4222 src/python-systemd/_reader.c \
4223 src/python-systemd/pyutil.c \
4224 src/python-systemd/pyutil.h
4226 _reader_la_CFLAGS = \
4228 -fvisibility=default \
4229 $(PYTHON_DEVEL_CFLAGS)
4231 _reader_la_LDFLAGS = \
4237 _reader_la_LIBADD = \
4238 $(PYTHON_DEVEL_LIBS) \
4239 libsystemd-journal.la \
4240 libsystemd-id128.la \
4241 libsystemd-daemon-internal.la \
4242 libsystemd-shared.la
4244 login_la_SOURCES = \
4245 src/python-systemd/login.c \
4246 src/python-systemd/pyutil.c \
4247 src/python-systemd/pyutil.h
4251 -fvisibility=default \
4252 $(PYTHON_DEVEL_CFLAGS)
4254 login_la_LDFLAGS = \
4261 $(PYTHON_DEVEL_LIBS) \
4262 libsystemd-journal.la \
4263 libsystemd-login.la \
4264 libsystemd-daemon-internal.la \
4265 libsystemd-shared.la
4267 dist_pkgpyexec_PYTHON = \
4268 src/python-systemd/journal.py \
4269 src/python-systemd/daemon.py \
4270 src/python-systemd/__init__.py
4272 src/python-systemd/id128-constants.h: src/systemd/sd-messages.h Makefile
4273 $(AM_V_at)$(MKDIR_P) $(dir $@)
4274 $(AM_V_GEN)$(SED) -n -r 's/,//g; s/#define (SD_MESSAGE_[A-Z0-9_]+)\s.*/add_id(m, "\1", \1) JOINER/p' <$< >$@
4277 src/python-systemd/id128-constants.h
4279 SPHINXOPTS = -D version=$(VERSION) -D release=$(VERSION)
4281 $(AM_V_at)test -n "$(SPHINX_BUILD)" || { echo " *** sphinx-build is not available"; exit 1; }
4282 $(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/
4283 $(AM_V_at)echo Output has been generated in $(abs_top_builddir)/docs/html/python-systemd/
4286 $(AM_V_at)echo "Starting python with $(DESTDIR)$(pyexecdir)"
4287 $(AM_V_at)PYTHONPATH=$(DESTDIR)$(pyexecdir) LD_LIBRARY_PATH=$(DESTDIR)$(libdir) $(PYTHON)
4290 dir="$$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
4291 $(MAKE) DESTDIR="$$dir" install && \
4292 $(MAKE) DESTDIR="$$dir" sphinx-html && \
4297 CLEAN_LOCAL_HOOKS += clean-sphinx
4300 -rm -rf docs/html/python-systemd/
4302 # Remove Python stuff, e.g. to force rebuilding for a different Python version.
4304 -rm -rf src/python-systemd/.libs src/python-systemd/*.l[ao]
4305 -rm -f _daemon.la id128.la _journal.la login.la _reader.la
4307 # ------------------------------------------------------------------------------
4309 '|rootlibexecdir=$(rootlibexecdir)|' \
4310 '|rootbindir=$(rootbindir)|' \
4311 '|bindir=$(bindir)|' \
4312 '|SYSTEMCTL=$(rootbindir)/systemctl|' \
4313 '|SYSTEMD_NOTIFY=$(rootbindir)/systemd-notify|' \
4314 '|pkgsysconfdir=$(pkgsysconfdir)|' \
4315 '|SYSTEM_CONFIG_UNIT_PATH=$(pkgsysconfdir)/system|' \
4316 '|USER_CONFIG_UNIT_PATH=$(pkgsysconfdir)/user|' \
4317 '|pkgdatadir=$(pkgdatadir)|' \
4318 '|systemunitdir=$(systemunitdir)|' \
4319 '|userunitdir=$(userunitdir)|' \
4320 '|systempresetdir=$(systempresetdir)|' \
4321 '|userpresetdir=$(userpresetdir)|' \
4322 '|udevhwdbdir=$(udevhwdbdir)|' \
4323 '|udevrulesdir=$(udevrulesdir)|' \
4324 '|catalogdir=$(catalogdir)|' \
4325 '|tmpfilesdir=$(tmpfilesdir)|' \
4326 '|sysctldir=$(sysctldir)|' \
4327 '|systemgeneratordir=$(systemgeneratordir)|' \
4328 '|usergeneratordir=$(usergeneratordir)|' \
4329 '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
4330 '|PACKAGE_NAME=$(PACKAGE_NAME)|' \
4331 '|PACKAGE_URL=$(PACKAGE_URL)|' \
4332 '|RANDOM_SEED=$(localstatedir)/lib/systemd/random-seed|' \
4333 '|prefix=$(prefix)|' \
4334 '|exec_prefix=$(exec_prefix)|' \
4335 '|libdir=$(libdir)|' \
4336 '|includedir=$(includedir)|' \
4337 '|VERSION=$(VERSION)|' \
4338 '|rootprefix=$(rootprefix)|' \
4339 '|udevlibexecdir=$(udevlibexecdir)|' \
4340 '|SUSHELL=$(SUSHELL)|' \
4341 '|DEBUGTTY=$(DEBUGTTY)|' \
4344 '|MKDIR_P=$(MKDIR_P)|' \
4345 '|QUOTAON=$(QUOTAON)|' \
4346 '|QUOTACHECK=$(QUOTACHECK)|' \
4347 '|SYSTEM_SYSVINIT_PATH=$(sysvinitdir)|' \
4348 '|VARLOGDIR=$(varlogdir)|' \
4349 '|RC_LOCAL_SCRIPT_PATH_START=$(RC_LOCAL_SCRIPT_PATH_START)|' \
4350 '|RC_LOCAL_SCRIPT_PATH_STOP=$(RC_LOCAL_SCRIPT_PATH_STOP)|' \
4351 '|PYTHON=$(PYTHON)|' \
4352 '|PYTHON_BINARY=$(PYTHON_BINARY)|'
4355 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
4356 $(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
4359 units/%: units/%.in Makefile
4362 man/%: man/%.in Makefile
4365 sysctl.d/%: sysctl.d/%.in Makefile
4368 %.pc: %.pc.in Makefile
4371 src/core/macros.%: src/core/macros.%.in Makefile
4374 src/%.policy.in: src/%.policy.in.in Makefile
4377 %.rules: %.rules.in Makefile
4380 %.sh: %.sh.in Makefile
4382 $(AM_V_GEN)chmod +x $@
4384 src/%.c: src/%.gperf
4385 $(AM_V_at)$(MKDIR_P) $(dir $@)
4386 $(AM_V_GPERF)$(GPERF) < $< > $@
4389 $(AM_V_at)$(MKDIR_P) $(dir $@)
4390 $(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
4392 units/%: units/%.m4 Makefile
4393 $(AM_V_M4)$(MKDIR_P) $(dir $@)
4394 $(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@
4396 units/user/%: units/%.m4 Makefile
4397 $(AM_V_M4)$(MKDIR_P) $(dir $@)
4398 $(AM_V_M4)$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@
4401 nodist_polkitpolicy_DATA = \
4402 $(polkitpolicy_files) \
4403 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
4407 $(polkitpolicy_in_files) \
4408 $(polkitpolicy_in_in_files)
4411 $(nodist_systemunit_DATA) \
4412 $(nodist_userunit_DATA) \
4413 $(pkgconfigdata_DATA) \
4414 $(pkgconfiglib_DATA) \
4415 $(nodist_polkitpolicy_DATA)
4417 # ------------------------------------------------------------------------------
4419 man/custom-entities.ent: Makefile
4420 $(AM_V_GEN)$(MKDIR_P) $(dir $@)
4421 $(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \
4422 echo '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">,$(substitutions))))') \
4426 man/custom-entities.ent
4430 --stringparam man.output.quietly 1 \
4431 --stringparam funcsynopsis.style ansi \
4432 --stringparam man.authors.section.enabled 0 \
4433 --stringparam man.copyright.section.enabled 0 \
4434 --stringparam systemd.version $(VERSION) \
4435 --path '$(builddir)/man:$(srcdir)/man'
4437 XSLTPROC_PROCESS_MAN = \
4438 $(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $<
4440 XSLTPROC_PROCESS_HTML = \
4441 $(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
4443 man/%.1: man/%.xml man/custom-man.xsl man/custom-entities.ent
4444 $(XSLTPROC_PROCESS_MAN)
4446 man/%.3: man/%.xml man/custom-man.xsl man/custom-entities.ent
4447 $(XSLTPROC_PROCESS_MAN)
4449 man/%.5: man/%.xml man/custom-man.xsl man/custom-entities.ent
4450 $(XSLTPROC_PROCESS_MAN)
4452 man/%.7: man/%.xml man/custom-man.xsl man/custom-entities.ent
4453 $(XSLTPROC_PROCESS_MAN)
4455 man/%.8: man/%.xml man/custom-man.xsl man/custom-entities.ent
4456 $(XSLTPROC_PROCESS_MAN)
4458 man/%.html: man/%.xml man/custom-html.xsl man/custom-entities.ent
4459 $(XSLTPROC_PROCESS_HTML)
4462 $(AM_V_LN)$(LN_S) -f $(notdir $<) $@
4468 man/custom-html.xsl \
4471 # ------------------------------------------------------------------------------
4474 docs/sysvinit/README
4479 docs/sysvinit/README: docs/sysvinit/README.in
4482 docs/var-log/README: docs/var-log/README.in
4486 docs/sysvinit/README \
4491 docs/sysvinit/README.in \
4492 docs/var-log/README.in
4494 SOCKETS_TARGET_WANTS += \
4495 systemd-initctl.socket \
4496 systemd-shutdownd.socket
4499 RUNLEVEL1_TARGET_WANTS += \
4500 systemd-update-utmp-runlevel.service
4501 RUNLEVEL2_TARGET_WANTS += \
4502 systemd-update-utmp-runlevel.service
4503 RUNLEVEL3_TARGET_WANTS += \
4504 systemd-update-utmp-runlevel.service
4505 RUNLEVEL4_TARGET_WANTS += \
4506 systemd-update-utmp-runlevel.service
4507 RUNLEVEL5_TARGET_WANTS += \
4508 systemd-update-utmp-runlevel.service
4510 SYSINIT_TARGET_WANTS += \
4511 systemd-update-utmp.service
4512 LOCAL_FS_TARGET_WANTS += \
4513 systemd-remount-fs.service \
4515 MULTI_USER_TARGET_WANTS += \
4517 systemd-ask-password-wall.path
4518 SYSINIT_TARGET_WANTS += \
4519 dev-hugepages.mount \
4521 sys-kernel-config.mount \
4522 sys-kernel-debug.mount \
4523 sys-fs-fuse-connections.mount \
4524 systemd-sysctl.service \
4525 systemd-ask-password-console.path
4528 SYSTEM_UNIT_ALIASES += \
4529 poweroff.target runlevel0.target \
4530 rescue.target runlevel1.target \
4531 multi-user.target runlevel2.target \
4532 multi-user.target runlevel3.target \
4533 multi-user.target runlevel4.target \
4534 graphical.target runlevel5.target \
4535 reboot.target runlevel6.target
4538 SYSTEM_UNIT_ALIASES += \
4539 graphical.target default.target \
4540 reboot.target ctrl-alt-del.target \
4541 getty@.service autovt@.service
4543 USER_UNIT_ALIASES += \
4544 $(systemunitdir)/shutdown.target shutdown.target \
4545 $(systemunitdir)/sockets.target sockets.target \
4546 $(systemunitdir)/timers.target timers.target \
4547 $(systemunitdir)/paths.target paths.target \
4548 $(systemunitdir)/bluetooth.target bluetooth.target \
4549 $(systemunitdir)/printer.target printer.target \
4550 $(systemunitdir)/sound.target sound.target \
4551 $(systemunitdir)/smartcard.target smartcard.target
4553 GENERAL_ALIASES += \
4554 $(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.target.wants/remote-fs.target \
4555 $(systemunitdir)/getty@.service $(pkgsysconfdir)/system/getty.target.wants/getty@tty1.service \
4556 $(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
4557 ../system-services/org.freedesktop.systemd1.service $(dbussessionservicedir)/org.freedesktop.systemd1.service
4561 $(systemunitdir)/runlevel1.target.wants \
4562 $(systemunitdir)/runlevel2.target.wants \
4563 $(systemunitdir)/runlevel3.target.wants \
4564 $(systemunitdir)/runlevel4.target.wants \
4565 $(systemunitdir)/runlevel5.target.wants
4569 $(prefix)/lib/modules-load.d \
4570 $(sysconfdir)/modules-load.d \
4571 $(prefix)/lib/systemd/network \
4572 $(sysconfdir)/systemd/network \
4573 $(prefix)/lib/sysctl.d \
4574 $(sysconfdir)/sysctl.d \
4575 $(prefix)/lib/kernel/install.d \
4576 $(sysconfdir)/kernel/install.d \
4577 $(systemshutdowndir) \
4579 $(systemgeneratordir) \
4580 $(usergeneratordir) \
4583 $(pkgsysconfdir)/system \
4584 $(pkgsysconfdir)/system/multi-user.target.wants \
4585 $(pkgsysconfdir)/system/getty.target.wants \
4586 $(pkgsysconfdir)/user \
4587 $(dbussessionservicedir) \
4588 $(sysconfdir)/xdg/systemd
4590 install-exec-hook: $(INSTALL_EXEC_HOOKS)
4592 uninstall-hook: $(UNINSTALL_DATA_HOOKS) $(UNINSTALL_EXEC_HOOKS)
4594 install-data-hook: $(INSTALL_DATA_HOOKS)
4596 distclean-local: $(DISTCLEAN_LOCAL_HOOKS)
4598 clean-local: $(CLEAN_LOCAL_HOOKS)
4599 rm -rf $(abs_srcdir)/install-tree
4600 rm -f $(abs_srcdir)/hwdb/usb.ids $(abs_srcdir)/hwdb/pci.ids $(abs_srcdir)/hwdb/oui.txt \
4601 $(abs_srcdir)/hwdb/iab.txt
4603 DISTCHECK_CONFIGURE_FLAGS = \
4604 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
4605 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
4606 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
4607 --with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \
4608 --with-zshcompletiondir=$$dc_install_base/$(zshcompletiondir) \
4609 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
4610 --with-pamconfdir=$$dc_install_base/$(pamconfdir) \
4611 --with-rootprefix=$$dc_install_base \
4615 DISTCHECK_CONFIGURE_FLAGS += \
4616 --with-sysvinit-path=$$dc_install_base/$(sysvinitdir) \
4617 --with-sysvrcnd-path=$$dc_install_base/$(sysvrcnddir)
4619 DISTCHECK_CONFIGURE_FLAGS += \
4620 --with-sysvinit-path= \
4621 --with-sysvrcnd-path=
4625 DISTCHECK_CONFIGURE_FLAGS += \
4630 ( cd $(top_srcdir)/hwdb && \
4631 wget -N http://www.linux-usb.org/usb.ids \
4632 http://pci-ids.ucw.cz/v2.2/pci.ids \
4633 http://standards.ieee.org/develop/regauth/oui/oui.txt \
4634 http://standards.ieee.org/develop/regauth/iab/iab.txt && \
4638 ( cd $(top_srcdir)/src/libsystemd-bus/ && \
4639 wget -N https://d-bus.googlecode.com/git/kdbus.h )
4641 upload: all distcheck
4642 cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
4643 scp systemd-$(VERSION).tar.xz fdo:/srv/www.freedesktop.org/www/software/systemd/
4644 scp man/*.html tango:public/systemd-man/
4646 www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd
4647 doc-sync: all destdir-sphinx
4648 gtkdoc-rebase --html-dir=docs/libudev/html --online
4649 rsync -rlv --delete docs/libudev/html/ --omit-dir-times $(www_target)/libudev/
4650 gtkdoc-rebase --html-dir=docs/gudev/html --online
4651 rsync -rlv --delete docs/gudev/html/ --omit-dir-times $(www_target)/gudev/
4652 rsync -rlv --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ $(www_target)/man/
4653 rsync -rlv --delete --omit-dir-times docs/html/python-systemd/ $(www_target)/python-systemd/
4656 git tag "v$(VERSION)" -m "systemd $(VERSION)"
4659 rm -rf $(abs_srcdir)/install-tree
4660 $(MAKE) install DESTDIR=$(abs_srcdir)/install-tree
4661 tree $(abs_srcdir)/install-tree
4663 # Let's run all tests of the test suite, but under valgrind. Let's
4664 # exclude the one perl script we have in there
4665 valgrind-tests: $(TESTS)
4666 $(AM_V_GEN)for f in $(filter-out %.pl, $^); do \
4667 echo "Running $$f"; \
4668 libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \
4672 $(AM_V_GEN)nm -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
4674 exported: $(addprefix exported-, $(lib_LTLIBRARIES))
4675 $(AM_V_GEN)cat $^ > $@
4677 check-api-docs: exported man
4678 $(AM_V_GEN)for symbol in `cat exported` ; do \
4679 if test -f $(builddir)/man/$$symbol.html ; then \
4680 echo " Symbol $$symbol() is documented." ; \
4682 echo "‣ Symbol $$symbol() lacks documentation." ; \
4686 OBJECT_VARIABLES:=$(filter %_OBJECTS,$(.VARIABLES))
4687 ALL_OBJECTS:=$(foreach v,$(OBJECT_VARIABLES),$($(v)))
4689 undefined defined: $(ALL_OBJECTS)
4690 $(AM_V_GEN)for f in $(ALL_OBJECTS) ; do \
4691 nm -g --$@-only `echo $(builddir)/"$$f" | sed -e 's,\([^/]*\).lo$$,.libs/\1.o,'` ; \
4692 done | cut -c 20- | cut -d @ -f 1 | sort -u > $@
4698 check-api-unused: defined undefined exported
4699 ( cat exported undefined ) | sort -u | diff -u - defined | grep ^+ | grep -v ^+++ | cut -c2-
4701 # Stupid test that everything purported to be exported really is
4703 define generate-sym-test
4704 $(AM_V_at)$(MKDIR_P) $(dir $@)
4705 $(AM_V_at)echo '#include <stdio.h>' > $@
4706 $(AM_V_at)for file in $(notdir $(filter %.h, $^)); do \
4707 echo "#include \"$$file\""; \
4709 $(AM_V_at)echo 'void* functions[] = {' >> $@
4710 $(AM_V_GEN)sed -r -n 's/^( +[a-zA-Z0-9_]+);/\1,/p' $< >> $@
4711 $(AM_V_at)echo '};' >> $@
4712 $(AM_V_at)echo 'int main(void) {' >> $@
4713 $(AM_V_at)echo ' unsigned i; for (i=0;i<sizeof(functions)/sizeof(void*);i++) printf("%p\n", functions[i]);' >> $@
4714 $(AM_V_at)echo 'return 0; }' >> $@
4717 test-libsystemd-bus-sym.c: \
4718 src/libsystemd-bus/libsystemd-bus.sym \
4719 src/systemd/sd-bus.h \
4720 src/systemd/sd-utf8.h \
4722 $(generate-sym-test)
4724 test-libsystemd-daemon-sym.c: \
4725 src/libsystemd-daemon/libsystemd-daemon.sym \
4726 src/systemd/sd-daemon.h \
4728 $(generate-sym-test)
4730 test-libsystemd-id128-sym.c: \
4731 src/libsystemd-id128/libsystemd-id128.sym \
4732 src/systemd/sd-id128.h \
4734 $(generate-sym-test)
4736 test-libsystemd-journal-sym.c: \
4737 src/journal/libsystemd-journal.sym \
4738 src/systemd/sd-journal.h \
4740 $(generate-sym-test)
4742 test-libsystemd-login-sym.c: \
4743 src/login/libsystemd-login.sym \
4744 src/systemd/sd-login.h \
4746 $(generate-sym-test)
4748 test-libudev-sym.c: \
4749 src/libudev/libudev.sym \
4752 $(generate-sym-test)
4754 test_libsystemd_bus_sym_SOURCES = \
4755 test-libsystemd-bus-sym.c
4756 test_libsystemd_bus_sym_LDADD = \
4759 test_libsystemd_daemon_sym_SOURCES = \
4760 test-libsystemd-daemon-sym.c
4761 test_libsystemd_daemon_sym_LDADD = \
4762 libsystemd-daemon.la
4764 test_libsystemd_id128_sym_SOURCES = \
4765 test-libsystemd-id128-sym.c
4766 test_libsystemd_id128_sym_LDADD = \
4769 test_libsystemd_journal_sym_SOURCES = \
4770 test-libsystemd-journal-sym.c
4771 test_libsystemd_journal_sym_LDADD = \
4772 libsystemd-journal.la
4774 test_libsystemd_login_sym_SOURCES = \
4775 test-libsystemd-login-sym.c
4776 test_libsystemd_login_sym_LDADD = \
4779 test_libudev_sym_SOURCES = \
4781 test_libudev_sym_LDADD = \
4785 $(test_libsystemd_bus_sym_SOURCES) \
4786 $(test_libsystemd_daemon_sym_SOURCES) \
4787 $(test_libsystemd_id128_sym_SOURCES) \
4788 $(test_libsystemd_journal_sym_SOURCES) \
4789 $(test_libsystemd_login_sym_SOURCES) \
4790 $(test_libudev_sym_SOURCES)
4793 test-libsystemd-bus-sym \
4794 test-libsystemd-daemon-sym \
4795 test-libsystemd-id128-sym \
4796 test-libsystemd-journal-sym \
4797 test-libsystemd-login-sym \