1 # This file is part of systemd.
3 # Copyright 2010 Lennart Poettering
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # systemd is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
18 ACLOCAL_AMFLAGS = -I m4
22 LIBSYSTEMD_LOGIN_CURRENT=0
23 LIBSYSTEMD_LOGIN_REVISION=4
24 LIBSYSTEMD_LOGIN_AGE=0
26 LIBSYSTEMD_DAEMON_CURRENT=0
27 LIBSYSTEMD_DAEMON_REVISION=0
28 LIBSYSTEMD_DAEMON_AGE=0
30 # Dirs of external packages
31 dbuspolicydir=@dbuspolicydir@
32 dbussessionservicedir=@dbussessionservicedir@
33 dbussystemservicedir=@dbussystemservicedir@
34 dbusinterfacedir=@dbusinterfacedir@
35 udevrulesdir=@udevrulesdir@
37 pkgconfigdatadir=$(datadir)/pkgconfig
38 pkgconfiglibdir=$(libdir)/pkgconfig
39 polkitpolicydir=$(datadir)/polkit-1/actions
40 bashcompletiondir=$(sysconfdir)/bash_completion.d
42 # Our own, non-special dirs
43 pkgsysconfdir=$(sysconfdir)/systemd
44 userunitdir=$(prefix)/lib/systemd/user
45 tmpfilesdir=$(prefix)/lib/tmpfiles.d
46 usergeneratordir=$(pkglibexecdir)/user-generators
47 pkgincludedir=$(includedir)/systemd
49 # And these are the special ones for /
51 rootbindir=$(rootdir)/bin
52 rootlibexecdir=$(rootdir)/lib/systemd
53 systemgeneratordir=$(rootlibexecdir)/system-generators
54 systemshutdowndir=$(rootlibexecdir)/system-shutdown
55 systemunitdir=$(rootdir)/lib/systemd/system
58 -include $(top_builddir)/config.h \
59 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
60 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
61 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
62 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
63 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
64 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
65 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
66 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
67 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
68 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
69 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
70 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
71 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
72 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
73 -DRUNTIME_DIR=\"/run\" \
74 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
75 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
76 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
77 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
78 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
83 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
84 -DKBD_SETFONT=\"/usr/bin/setfont\" \
85 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
89 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
90 -DKBD_SETFONT=\"/usr/bin/setfont\" \
91 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
95 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
96 -DKBD_SETFONT=\"/usr/bin/setfont\" \
97 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
101 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
102 -DKBD_SETFONT=\"/bin/setfont\" \
103 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
107 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
108 -DKBD_SETFONT=\"/bin/setfont\" \
109 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
113 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
114 -DKBD_SETFONT=\"/usr/bin/setfont\" \
115 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
118 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
119 -DKBD_SETFONT=\"/bin/setfont\" \
120 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
133 systemd-ask-password \
134 systemd-tty-ask-password-agent \
136 systemd-machine-id-setup
140 systemd-stdio-bridge \
149 systemd-gnome-ask-password-agent
152 rootlibexec_PROGRAMS = \
153 systemd-stdout-syslog-bridge \
154 systemd-cgroups-agent \
156 systemd-update-utmp \
157 systemd-random-seed \
160 systemd-modules-load \
161 systemd-remount-api-vfs \
162 systemd-kmsg-syslogd \
163 systemd-vconsole-setup \
164 systemd-reply-password \
165 systemd-readahead-collect \
166 systemd-readahead-replay \
167 systemd-user-sessions \
172 systemd-detect-virt \
178 rootlibexec_PROGRAMS += \
183 rootlibexec_PROGRAMS += \
188 rootlibexec_PROGRAMS += \
193 rootlibexec_PROGRAMS += \
197 systemgenerator_PROGRAMS = \
198 systemd-getty-generator
200 if HAVE_LIBCRYPTSETUP
201 rootlibexec_PROGRAMS += \
204 systemgenerator_PROGRAMS += \
205 systemd-cryptsetup-generator
209 libsystemd-daemon.la \
212 pkginclude_HEADERS = \
230 pamlib_LTLIBRARIES = \
234 dist_pkgsysconf_DATA = \
237 src/systemd-logind.conf
239 dist_dbuspolicy_DATA = \
240 src/org.freedesktop.systemd1.conf \
241 src/org.freedesktop.login1.conf
244 dist_dbuspolicy_DATA += \
245 src/org.freedesktop.hostname1.conf
249 dist_dbuspolicy_DATA += \
250 src/org.freedesktop.timedate1.conf
254 dist_dbuspolicy_DATA += \
255 src/org.freedesktop.locale1.conf
258 dist_dbussystemservice_DATA = \
259 src/org.freedesktop.systemd1.service \
260 src/org.freedesktop.login1.service
263 dist_dbussystemservice_DATA += \
264 src/org.freedesktop.hostname1.service
268 dist_dbussystemservice_DATA += \
269 src/org.freedesktop.timedate1.service
273 dist_dbussystemservice_DATA += \
274 src/org.freedesktop.locale1.service
277 dist_udevrules_DATA = \
278 src/70-uaccess.rules \
281 nodist_udevrules_DATA = \
282 src/73-seat-late.rules \
285 dbusinterface_DATA = \
286 org.freedesktop.systemd1.Manager.xml \
287 org.freedesktop.systemd1.Job.xml \
288 org.freedesktop.systemd1.Unit.xml \
289 org.freedesktop.systemd1.Service.xml \
290 org.freedesktop.systemd1.Socket.xml \
291 org.freedesktop.systemd1.Timer.xml \
292 org.freedesktop.systemd1.Target.xml \
293 org.freedesktop.systemd1.Device.xml \
294 org.freedesktop.systemd1.Mount.xml \
295 org.freedesktop.systemd1.Automount.xml \
296 org.freedesktop.systemd1.Snapshot.xml \
297 org.freedesktop.systemd1.Swap.xml \
298 org.freedesktop.systemd1.Path.xml
301 dbusinterface_DATA += \
302 org.freedesktop.hostname1.xml
306 dbusinterface_DATA += \
307 org.freedesktop.timedate1.xml
311 dbusinterface_DATA += \
312 org.freedesktop.locale1.xml
315 dist_bashcompletion_DATA = \
316 src/systemctl-bash-completion.sh
318 dist_tmpfiles_DATA = \
319 tmpfiles.d/systemd.conf \
320 tmpfiles.d/tmp.conf \
324 dist_tmpfiles_DATA += \
325 tmpfiles.d/legacy.conf
328 dist_systemunit_DATA = \
329 units/graphical.target \
330 units/multi-user.target \
331 units/emergency.service \
332 units/emergency.target \
333 units/sysinit.target \
338 units/local-fs.target \
339 units/remote-fs.target \
340 units/cryptsetup.target \
341 units/network.target \
342 units/nss-lookup.target \
343 units/mail-transfer-agent.target \
344 units/http-daemon.target \
345 units/poweroff.target \
346 units/reboot.target \
347 units/rescue.target \
348 units/rpcbind.target \
349 units/time-sync.target \
350 units/shutdown.target \
352 units/umount.target \
353 units/sigpwr.target \
354 units/sockets.target \
356 units/systemd-initctl.socket \
357 units/systemd-stdout-syslog-bridge.socket \
358 units/systemd-shutdownd.socket \
359 units/syslog.socket \
360 units/dev-hugepages.automount \
361 units/dev-hugepages.mount \
362 units/dev-mqueue.automount \
363 units/dev-mqueue.mount \
364 units/sys-kernel-config.automount \
365 units/sys-kernel-config.mount \
366 units/sys-kernel-debug.automount \
367 units/sys-kernel-debug.mount \
368 units/sys-kernel-security.automount \
369 units/sys-kernel-security.mount \
370 units/var-run.mount \
372 units/remount-rootfs.service \
373 units/printer.target \
375 units/bluetooth.target \
376 units/smartcard.target \
377 units/systemd-readahead-done.timer \
378 units/systemd-tmpfiles-clean.timer \
379 units/quotaon.service \
380 units/systemd-ask-password-wall.path \
381 units/systemd-ask-password-console.path \
385 dist_systemunit_DATA += \
390 dist_systemunit_DATA += \
391 units/proc-sys-fs-binfmt_misc.automount \
392 units/proc-sys-fs-binfmt_misc.mount
395 nodist_systemunit_DATA = \
396 units/getty@.service \
397 units/serial-getty@.service \
398 units/console-shell.service \
399 units/systemd-initctl.service \
400 units/systemd-stdout-syslog-bridge.service \
401 units/systemd-shutdownd.service \
402 units/systemd-logind.service \
403 units/systemd-kmsg-syslogd.service \
404 units/systemd-modules-load.service \
405 units/systemd-vconsole-setup.service \
406 units/systemd-remount-api-vfs.service \
407 units/systemd-update-utmp-runlevel.service \
408 units/systemd-update-utmp-shutdown.service \
409 units/systemd-random-seed-save.service \
410 units/systemd-random-seed-load.service \
411 units/systemd-readahead-collect.service \
412 units/systemd-readahead-replay.service \
413 units/systemd-readahead-done.service \
414 units/systemd-tmpfiles-setup.service \
415 units/systemd-tmpfiles-clean.service \
416 units/systemd-user-sessions.service \
417 units/systemd-ask-password-wall.service \
418 units/systemd-ask-password-console.service \
419 units/systemd-sysctl.service \
421 units/poweroff.service \
422 units/reboot.service \
423 units/kexec.service \
424 units/fsck@.service \
425 units/fsck-root.service \
426 units/quotacheck.service \
427 units/rescue.service \
431 nodist_systemunit_DATA += \
432 units/systemd-binfmt.service
436 nodist_systemunit_DATA += \
437 units/systemd-hostnamed.service
441 nodist_systemunit_DATA += \
442 units/systemd-timedated.service
446 nodist_systemunit_DATA += \
447 units/systemd-localed.service
450 dist_userunit_DATA = \
451 units/user/default.target \
452 units/user/exit.target
454 nodist_userunit_DATA = \
455 units/user/exit.service
458 units/getty@.service.m4 \
459 units/serial-getty@.service.m4 \
460 units/console-shell.service.m4 \
461 units/rescue.service.m4 \
462 units/systemd-initctl.service.in \
463 units/systemd-stdout-syslog-bridge.service.in \
464 units/systemd-shutdownd.service.in \
465 units/systemd-logind.service.in \
466 units/systemd-kmsg-syslogd.service.in \
467 units/systemd-modules-load.service.in \
468 units/systemd-vconsole-setup.service.in \
469 units/systemd-remount-api-vfs.service.in \
470 units/systemd-update-utmp-runlevel.service.in \
471 units/systemd-update-utmp-shutdown.service.in \
472 units/systemd-random-seed-save.service.in \
473 units/systemd-random-seed-load.service.in \
474 units/systemd-readahead-collect.service.in \
475 units/systemd-readahead-replay.service.in \
476 units/systemd-readahead-done.service.in \
477 units/systemd-tmpfiles-setup.service.in \
478 units/systemd-tmpfiles-clean.service.in \
479 units/systemd-user-sessions.service.in \
480 units/systemd-ask-password-wall.service.in \
481 units/systemd-ask-password-console.service.in \
482 units/systemd-sysctl.service.in \
483 units/halt.service.in \
484 units/poweroff.service.in \
485 units/reboot.service.in \
486 units/kexec.service.in \
487 units/user/exit.service.in \
488 units/fsck@.service.in \
489 units/fsck-root.service.in \
490 units/quotacheck.service.in \
491 units/user@.service.in \
493 libsystemd-daemon.pc.in \
494 libsystemd-login.pc.in \
495 src/libsystemd-daemon.sym \
496 src/libsystemd-login.sym \
498 src/73-seat-late.rules.in \
499 src/99-systemd.rules.in
503 units/systemd-binfmt.service.in
508 units/systemd-hostnamed.service.in
513 units/systemd-timedated.service.in
518 units/systemd-localed.service.in
522 dist_systemunit_DATA += \
523 units/fedora/prefdm.service \
524 units/fedora/rc-local.service \
525 units/fedora/halt-local.service
529 dist_systemunit_DATA += \
530 units/mandriva/prefdm.service \
531 units/fedora/rc-local.service \
532 units/fedora/halt-local.service
536 dist_systemunit_DATA += \
537 units/frugalware/display-manager.service
541 dist_systemunit_DATA += \
542 units/suse/rc-local.service \
543 units/suse/halt-local.service
547 dist_systemunit_DATA += \
548 units/plymouth-start.service \
549 units/plymouth-read-write.service \
550 units/plymouth-quit.service \
551 units/plymouth-quit-wait.service \
552 units/plymouth-reboot.service \
553 units/plymouth-kexec.service \
554 units/plymouth-poweroff.service \
555 units/plymouth-halt.service \
556 units/systemd-ask-password-plymouth.path
558 nodist_systemunit_DATA += \
559 units/systemd-ask-password-plymouth.service
562 units/systemd-ask-password-plymouth.service.in
574 pkgconfigdata_DATA = \
577 pkgconfiglib_DATA = \
578 libsystemd-daemon.pc \
581 # Passed through intltool only
582 polkitpolicy_in_files = \
583 src/org.freedesktop.login1.policy.in
586 polkitpolicy_in_files += \
587 src/org.freedesktop.hostname1.policy.in
591 polkitpolicy_in_files += \
592 src/org.freedesktop.timedate1.policy.in
596 polkitpolicy_in_files += \
597 src/org.freedesktop.locale1.policy.in
600 # First passed through sed, followed by intltool
601 polkitpolicy_in_in_files = \
602 src/org.freedesktop.systemd1.policy.in.in
604 nodist_polkitpolicy_DATA = \
605 $(polkitpolicy_in_files:.policy.in=.policy) \
606 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
609 $(polkitpolicy_in_files) \
610 $(polkitpolicy_in_in_files)
612 @INTLTOOL_POLICY_RULE@
614 noinst_LTLIBRARIES = \
615 libsystemd-basic.la \
618 libsystemd_basic_la_SOURCES = \
630 libsystemd_basic_la_CFLAGS = \
634 libsystemd_basic_la_LIBADD = \
638 libsystemd_core_la_SOURCES = \
643 src/load-fragment.c \
666 src/dbus-automount.c \
668 src/dbus-snapshot.c \
674 src/hostname-setup.c \
675 src/selinux-setup.c \
676 src/loopback-setup.c \
679 src/machine-id-setup.c \
692 nodist_libsystemd_core_la_SOURCES = \
693 src/load-fragment-gperf.c \
694 src/load-fragment-gperf-nulstr.c
697 src/load-fragment-gperf.gperf.m4
699 libsystemd_core_la_CFLAGS = \
707 libsystemd_core_la_LIBADD = \
708 libsystemd-basic.la \
716 # This is needed because automake is buggy in how it generates the
717 # rules for C programs, but not Vala programs. We therefore can't
718 # list the .h files as dependencies if we want make dist to work.
721 ${libsystemd_basic_la_SOURCES:.c=.h} \
722 ${libsystemd_core_la_SOURCES:.c=.h} \
723 ${libsystemd_daemon_la_SOURCES:.c=.h} \
730 src/linux/auto_dev-ioctl.h \
731 src/linux/fanotify.h \
741 src/readahead-common.h \
742 src/ask-password-api.h \
747 src/logind-device.h \
749 src/logind-session.h \
760 man/systemd-nspawn.1 \
761 man/systemd-tmpfiles.8 \
762 man/systemd-notify.1 \
766 man/sd_listen_fds.3 \
769 man/systemd.service.5 \
770 man/systemd.socket.5 \
771 man/systemd.mount.5 \
772 man/systemd.automount.5 \
774 man/systemd.timer.5 \
776 man/systemd.target.5 \
777 man/systemd.device.5 \
778 man/systemd.snapshot.5 \
789 man/systemd-logind.conf.5 \
794 man/vconsole.conf.5 \
798 man/modules-load.d.5 \
800 man/systemd-ask-password.1 \
801 man/systemd-loginctl.1
812 man/sd_is_socket_unix.3 \
813 man/sd_is_socket_inet.3 \
817 man/reboot.8: man/halt.8
818 man/poweroff.8: man/halt.8
819 man/sd_is_socket.3: man/sd_is_fifo.3
820 man/sd_is_socket_unix.3: man/sd_is_fifo.3
821 man/sd_is_socket_inet.3: man/sd_is_fifo.3
822 man/sd_notifyf.3: man/sd_notify.3
823 man/init.1: man/systemd.1
830 man/systemd.special.7
833 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
836 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
839 ${XML_FILES:.xml=.html}
841 nodist_noinst_DATA = \
842 ${XML_IN_FILES:.xml.in=.html}
847 ${nodist_man_MANS:=.in} \
848 ${XML_IN_FILES:.xml.in=.html.in}
861 test_engine_SOURCES = \
864 test_engine_CFLAGS = $(systemd_CFLAGS)
865 test_engine_LDADD = $(systemd_LDADD)
867 test_job_type_SOURCES = \
870 test_job_type_CFLAGS = $(systemd_CFLAGS)
871 test_job_type_LDADD = $(systemd_LDADD)
876 test_ns_CFLAGS = $(systemd_CFLAGS)
877 test_ns_LDADD = $(systemd_LDADD)
879 test_loopback_SOURCES = \
880 src/test-loopback.c \
883 test_loopback_LDADD = \
886 test_hostname_SOURCES = \
887 src/test-hostname.c \
890 test_hostname_LDADD = \
893 test_daemon_SOURCES = \
896 test_daemon_LDADD = \
897 libsystemd-basic.la \
900 test_cgroup_SOURCES = \
904 test_cgroup_CFLAGS = \
907 test_cgroup_LDADD = \
910 test_env_replace_SOURCES = \
911 src/test-env-replace.c
913 test_env_replace_CFLAGS = \
916 test_env_replace_LDADD = \
919 test_strv_SOURCES = \
929 test_login_SOURCES = \
932 test_login_CFLAGS = \
936 libsystemd-basic.la \
939 test_install_SOURCES = \
945 test_install_CFLAGS = \
949 test_install_LDADD = \
952 systemd_stdout_syslog_bridge_SOURCES = \
953 src/stdout-syslog-bridge.c \
956 systemd_stdout_syslog_bridge_LDADD = \
957 libsystemd-basic.la \
958 libsystemd-daemon.la \
961 systemd_initctl_SOURCES = \
965 systemd_initctl_CFLAGS = \
969 systemd_initctl_LDADD = \
970 libsystemd-basic.la \
971 libsystemd-daemon.la \
974 systemd_update_utmp_SOURCES = \
979 systemd_update_utmp_CFLAGS = \
984 systemd_update_utmp_LDADD = \
985 libsystemd-basic.la \
989 systemd_random_seed_SOURCES = \
992 systemd_random_seed_CFLAGS = \
995 systemd_random_seed_LDADD = \
998 systemd_shutdownd_SOURCES = \
1002 systemd_shutdownd_CFLAGS = \
1005 systemd_shutdownd_LDADD = \
1006 libsystemd-basic.la \
1007 libsystemd-daemon.la
1009 systemd_hostnamed_SOURCES = \
1014 systemd_hostnamed_CFLAGS = \
1018 systemd_hostnamed_LDADD = \
1019 libsystemd-basic.la \
1020 libsystemd-daemon.la \
1023 systemd_localed_SOURCES = \
1028 systemd_localed_CFLAGS = \
1032 systemd_localed_LDADD = \
1033 libsystemd-basic.la \
1034 libsystemd-daemon.la \
1037 systemd_timedated_SOURCES = \
1042 systemd_timedated_CFLAGS = \
1046 systemd_timedated_LDADD = \
1047 libsystemd-basic.la \
1048 libsystemd-daemon.la \
1051 systemd_logind_SOURCES = \
1054 src/logind-device.c \
1056 src/logind-seat-dbus.c \
1057 src/logind-session.c \
1058 src/logind-session-dbus.c \
1060 src/logind-user-dbus.c \
1066 nodist_systemd_logind_SOURCES = \
1070 src/logind-gperf.gperf
1072 systemd_logind_CFLAGS = \
1078 systemd_logind_LDADD = \
1079 libsystemd-basic.la \
1080 libsystemd-daemon.la \
1085 systemd_uaccess_SOURCES = \
1089 systemd_logind_SOURCES += \
1092 systemd_uaccess_SOURCES += \
1096 systemd_uaccess_CFLAGS = \
1101 systemd_uaccess_LDADD = \
1102 libsystemd-basic.la \
1103 libsystemd-daemon.la \
1104 libsystemd-login.la \
1108 systemd_shutdown_SOURCES = \
1113 systemd_shutdown_CFLAGS = \
1117 systemd_shutdown_LDADD = \
1118 libsystemd-basic.la \
1121 systemd_modules_load_SOURCES = \
1124 systemd_modules_load_CFLAGS = \
1127 systemd_modules_load_LDADD = \
1130 systemd_tmpfiles_SOURCES = \
1133 systemd_tmpfiles_CFLAGS = \
1136 systemd_tmpfiles_LDADD = \
1139 systemd_machine_id_setup_SOURCES = \
1140 src/machine-id-setup.c \
1141 src/machine-id-main.c
1143 systemd_machine_id_setup_CFLAGS = \
1146 systemd_machine_id_setup_LDADD = \
1149 systemd_sysctl_SOURCES = \
1152 systemd_sysctl_CFLAGS = \
1155 systemd_sysctl_LDADD = \
1158 systemd_binfmt_SOURCES = \
1161 systemd_binfmt_CFLAGS = \
1164 systemd_binfmt_LDADD = \
1167 systemd_fsck_SOURCES = \
1171 systemd_fsck_CFLAGS = \
1176 systemd_fsck_LDADD = \
1177 libsystemd-basic.la \
1181 systemd_quotacheck_SOURCES = \
1184 systemd_quotacheck_CFLAGS = \
1187 systemd_quotacheck_LDADD = \
1190 systemd_timestamp_SOURCES = \
1193 systemd_timestamp_CFLAGS = \
1196 systemd_timestamp_LDADD = \
1199 systemd_ac_power_SOURCES = \
1202 systemd_ac_power_CFLAGS = \
1206 systemd_ac_power_LDADD = \
1207 libsystemd-basic.la \
1210 systemd_detect_virt_SOURCES = \
1213 systemd_detect_virt_CFLAGS = \
1216 systemd_detect_virt_LDADD = \
1219 systemd_cryptsetup_SOURCES = \
1221 src/ask-password-api.c
1223 systemd_cryptsetup_CFLAGS = \
1224 $(LIBCRYPTSETUP_CFLAGS) \
1228 systemd_cryptsetup_LDADD = \
1229 $(LIBCRYPTSETUP_LIBS) \
1233 systemd_cryptsetup_generator_SOURCES = \
1234 src/cryptsetup-generator.c \
1237 systemd_cryptsetup_generator_CFLAGS = \
1240 systemd_cryptsetup_generator_LDADD = \
1243 systemd_getty_generator_SOURCES = \
1244 src/getty-generator.c \
1247 systemd_getty_generator_CFLAGS = \
1250 systemd_getty_generator_LDADD = \
1253 systemd_user_sessions_SOURCES = \
1254 src/user-sessions.c \
1257 systemd_user_sessions_CFLAGS = \
1260 systemd_user_sessions_LDADD = \
1263 systemd_vconsole_setup_SOURCES = \
1264 src/vconsole-setup.c
1266 systemd_vconsole_setup_CFLAGS = \
1269 systemd_vconsole_setup_LDADD = \
1272 systemd_remount_api_vfs_SOURCES = \
1273 src/remount-api-vfs.c \
1277 systemd_remount_api_vfs_CFLAGS = \
1280 systemd_remount_api_vfs_LDADD = \
1283 systemd_cgroups_agent_SOURCES = \
1284 src/cgroups-agent.c \
1287 systemd_cgroups_agent_CFLAGS = \
1291 systemd_cgroups_agent_LDADD = \
1292 libsystemd-basic.la \
1295 systemd_kmsg_syslogd_SOURCES = \
1296 src/kmsg-syslogd.c \
1299 systemd_kmsg_syslogd_CFLAGS = \
1302 systemd_kmsg_syslogd_LDADD = \
1303 libsystemd-basic.la \
1304 libsystemd-daemon.la
1306 systemctl_SOURCES = \
1319 systemctl_CFLAGS = \
1324 libsystemd-basic.la \
1325 libsystemd-daemon.la \
1328 systemd_loginctl_SOURCES = \
1336 systemd_loginctl_CFLAGS = \
1341 systemd_loginctl_LDADD = \
1342 libsystemd-basic.la \
1346 systemd_notify_SOURCES = \
1350 systemd_notify_LDADD = \
1351 libsystemd-basic.la \
1352 libsystemd-daemon.la
1354 systemd_ask_password_SOURCES = \
1355 src/ask-password.c \
1356 src/ask-password-api.c
1358 systemd_ask_password_LDADD = \
1361 systemd_reply_password_SOURCES = \
1362 src/reply-password.c
1364 systemd_reply_password_LDADD = \
1367 systemd_readahead_collect_SOURCES = \
1368 src/readahead-collect.c \
1369 src/readahead-common.c
1371 systemd_readahead_collect_CFLAGS = \
1374 systemd_readahead_collect_LDADD = \
1375 libsystemd-basic.la \
1376 libsystemd-daemon.la \
1379 systemd_readahead_replay_SOURCES = \
1380 src/readahead-replay.c \
1381 src/readahead-common.c
1383 systemd_readahead_replay_CFLAGS = \
1386 systemd_readahead_replay_LDADD = \
1387 libsystemd-basic.la \
1388 libsystemd-daemon.la \
1391 systemd_cgls_SOURCES = \
1397 systemd_cgls_CFLAGS = \
1400 systemd_cgls_LDADD = \
1403 systemd_nspawn_SOURCES = \
1406 src/loopback-setup.c
1408 systemd_nspawn_CFLAGS = \
1411 systemd_nspawn_LDADD = \
1412 libsystemd-basic.la \
1413 libsystemd-daemon.la
1415 systemd_stdio_bridge_SOURCES = \
1418 systemd_stdio_bridge_LDADD = \
1421 systemadm_SOURCES = \
1422 src/systemadm.vala \
1423 src/systemd-interfaces.vala
1425 systemadm_CFLAGS = \
1428 -Wno-unused-variable \
1429 -Wno-unused-function \
1431 -Wno-format-nonliteral
1433 systemadm_VALAFLAGS = \
1441 systemd_gnome_ask_password_agent_SOURCES = \
1442 src/gnome-ask-password-agent.vala
1444 systemd_gnome_ask_password_agent_CFLAGS = \
1446 $(LIBNOTIFY_CFLAGS) \
1448 -Wno-unused-variable \
1449 -Wno-unused-function \
1451 -Wno-format-nonliteral
1453 systemd_gnome_ask_password_agent_VALAFLAGS = \
1457 --pkg=gio-unix-2.0 \
1460 systemd_gnome_ask_password_agent_VALAFLAGS += \
1463 systemd_gnome_ask_password_agent_VALAFLAGS += \
1466 systemd_gnome_ask_password_agent_LDADD = \
1470 systemd_tty_ask_password_agent_SOURCES = \
1471 src/tty-ask-password-agent.c \
1472 src/ask-password-api.c \
1475 systemd_tty_ask_password_agent_LDADD = \
1478 pam_systemd_la_SOURCES = \
1482 pam_systemd_la_CFLAGS = \
1488 pam_systemd_la_LDFLAGS = \
1493 -export-symbols-regex '^pam_sm_.*'
1495 pam_systemd_la_LIBADD = \
1496 libsystemd-basic.la \
1497 libsystemd-daemon.la \
1501 libsystemd_daemon_la_SOURCES = \
1504 libsystemd_daemon_la_CFLAGS = \
1506 -fvisibility=hidden \
1509 libsystemd_daemon_la_LDFLAGS = \
1511 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1512 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1514 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1515 libsystemd-daemon-install-hook:
1516 if test "$(libdir)" != "$(rootlibdir)"; then \
1517 mkdir -p $(DESTDIR)$(rootlibdir) && \
1518 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1519 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1520 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1521 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1524 libsystemd-daemon-uninstall-hook:
1525 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1527 libsystemd_login_la_SOURCES = \
1531 libsystemd_login_la_CFLAGS = \
1535 libsystemd_login_la_LDFLAGS = \
1537 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1538 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1540 libsystemd_login_la_LIBADD = \
1543 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1544 libsystemd-login-install-hook:
1545 if test "$(libdir)" != "$(rootlibdir)"; then \
1546 mkdir -p $(DESTDIR)$(rootlibdir) && \
1547 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1548 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1549 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1550 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1553 libsystemd-login-uninstall-hook:
1554 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1557 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1558 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1559 -e 's,@rootbindir\@,$(rootbindir),g' \
1560 -e 's,@bindir\@,$(bindir),g' \
1561 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1562 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1563 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1564 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1565 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1566 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1567 -e 's,@userunitdir\@,$(userunitdir),g' \
1568 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1569 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1570 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1571 -e 's,@prefix\@,$(prefix),g' \
1572 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1573 -e 's,@libdir\@,$(libdir),g' \
1574 -e 's,@includedir\@,$(includedir),g' \
1577 units/%: units/%.in Makefile
1580 man/%: man/%.in Makefile
1583 %.pc: %.pc.in Makefile
1586 src/%.policy.in: src/%.policy.in.in Makefile
1589 src/%.rules: src/%.rules.in Makefile
1592 src/%.c: src/%.gperf
1593 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1597 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1598 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1600 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1601 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1602 $(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 ";" }' < $< > $@ || rm $@
1604 M4_PROCESS_SYSTEM = \
1605 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1606 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1609 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1610 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1612 units/%: units/%.m4 Makefile
1613 $(M4_PROCESS_SYSTEM)
1615 units/user/%: units/%.m4 Makefile
1619 $(nodist_systemunit_DATA) \
1620 $(nodist_userunit_DATA) \
1621 $(nodist_man_MANS) \
1622 ${XML_IN_FILES:.xml.in=.html} \
1623 $(pkgconfigdata_DATA) \
1624 $(pkgconfiglib_DATA) \
1625 $(nodist_polkitpolicy_DATA) \
1626 src/73-seat-late.rules \
1627 src/99-systemd.rules \
1628 src/load-fragment-gperf.gperf \
1629 src/load-fragment-gperf.c \
1630 src/load-fragment-gperf-nulstr.c \
1635 ${systemadm_SOURCES:.vala=.c}
1641 --param funcsynopsis.style "'ansi'"
1643 XSLTPROC_PROCESS_MAN = \
1644 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1645 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1647 XSLTPROC_PROCESS_MAN_IN = \
1648 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1649 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1652 XSLTPROC_PROCESS_HTML = \
1653 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1654 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1656 XSLTPROC_PROCESS_HTML_IN = \
1657 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1658 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1662 $(XSLTPROC_PROCESS_MAN)
1664 man/%.1.in: man/%.xml.in
1665 $(XSLTPROC_PROCESS_MAN)
1668 $(XSLTPROC_PROCESS_MAN)
1670 man/%.3.in: man/%.xml.in
1671 $(XSLTPROC_PROCESS_MAN)
1674 $(XSLTPROC_PROCESS_MAN)
1676 man/%.5.in: man/%.xml.in
1677 $(XSLTPROC_PROCESS_MAN)
1680 $(XSLTPROC_PROCESS_MAN)
1682 man/%.7.in: man/%.xml.in
1683 $(XSLTPROC_PROCESS_MAN_IN)
1686 $(XSLTPROC_PROCESS_MAN)
1688 man/%.8.in: man/%.xml.in
1689 $(XSLTPROC_PROCESS_MAN_IN)
1691 man/%.html: man/%.xml
1692 $(XSLTPROC_PROCESS_HTML)
1694 man/%.html.in: man/%.xml.in
1695 $(XSLTPROC_PROCESS_HTML_IN)
1699 ${nodist_man_MANS:=.in} \
1700 ${XML_FILES:.xml=.html} \
1701 ${XML_IN_FILES:.xml.in=.html.in}
1704 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1706 org.freedesktop.systemd1.%.xml: systemd
1707 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1708 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1709 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1711 org.freedesktop.hostname1.xml: systemd-hostnamed
1712 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1713 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1714 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1716 org.freedesktop.locale1.xml: systemd-localed
1717 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1718 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1719 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1721 org.freedesktop.timedate1.xml: systemd-timedated
1722 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1723 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1724 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1727 $(dbusinterface_DATA)
1730 $(MKDIR_P) -m 0755 \
1731 $(DESTDIR)$(tmpfilesdir) \
1732 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1733 $(DESTDIR)$(prefix)/lib/modules-load.d \
1734 $(DESTDIR)$(sysconfdir)/modules-load.d \
1735 $(DESTDIR)$(prefix)/lib/sysctl.d \
1736 $(DESTDIR)$(sysconfdir)/sysctl.d \
1737 $(DESTDIR)$(systemshutdowndir) \
1738 $(DESTDIR)$(systemgeneratordir) \
1739 $(DESTDIR)$(usergeneratordir)
1741 $(MKDIR_P) -m 0755 \
1742 $(DESTDIR)$(prefix)/lib/binfmt.d \
1743 $(DESTDIR)$(sysconfdir)/binfmt.d
1745 $(MKDIR_P) -m 0755 \
1746 $(DESTDIR)$(systemunitdir) \
1747 $(DESTDIR)$(userunitdir) \
1748 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1749 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1750 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1751 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1752 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1753 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1754 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1755 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1756 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1757 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1758 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1759 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1760 $(DESTDIR)$(pkgsysconfdir)/system \
1761 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1762 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1763 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1764 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1765 $(DESTDIR)$(pkgsysconfdir)/user \
1766 $(DESTDIR)$(dbussessionservicedir) \
1767 $(DESTDIR)$(sysconfdir)/xdg/systemd
1768 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1770 $(LN_S) $(pkgsysconfdir)/user user )
1771 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1772 rm -f systemd-initctl.socket systemd-stdout-syslog-bridge.socket systemd-shutdownd.socket syslog.socket && \
1773 $(LN_S) ../systemd-stdout-syslog-bridge.socket systemd-stdout-syslog-bridge.socket && \
1774 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1775 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1776 $(LN_S) ../syslog.socket syslog.socket )
1777 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1778 rm -f systemd-update-utmp-runlevel.service && \
1779 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1780 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1781 rm -f systemd-update-utmp-runlevel.service && \
1782 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1783 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1784 rm -f systemd-update-utmp-runlevel.service && \
1785 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1786 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1787 rm -f systemd-update-utmp-runlevel.service && \
1788 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1789 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1790 rm -f systemd-update-utmp-runlevel.service && \
1791 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1792 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1793 rm -f systemd-update-utmp-shutdown.service \
1794 systemd-random-seed-save.service && \
1795 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1796 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1797 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1798 rm -f systemd-remount-api-vfs.service \
1800 remount-rootfs.service \
1803 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1804 $(LN_S) ../fsck-root.service fsck-root.service && \
1805 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1806 $(LN_S) ../var-run.mount var-run.mount && \
1807 $(LN_S) ../media.mount media.mount )
1808 ( cd $(DESTDIR)$(userunitdir) && \
1809 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1810 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1811 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1812 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1813 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1814 $(LN_S) $(systemunitdir)/sound.target sound.target )
1815 ( cd $(DESTDIR)$(systemunitdir) && \
1816 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1817 $(LN_S) poweroff.target runlevel0.target && \
1818 $(LN_S) rescue.target runlevel1.target && \
1819 $(LN_S) multi-user.target runlevel2.target && \
1820 $(LN_S) multi-user.target runlevel3.target && \
1821 $(LN_S) multi-user.target runlevel4.target && \
1822 $(LN_S) graphical.target runlevel5.target && \
1823 $(LN_S) reboot.target runlevel6.target )
1824 ( cd $(DESTDIR)$(systemunitdir) && \
1825 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.login1.service autovt@.service && \
1826 $(LN_S) graphical.target default.target && \
1827 $(LN_S) reboot.target ctrl-alt-del.target && \
1828 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1829 $(LN_S) getty@.service autovt@.service )
1830 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1831 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1832 $(LN_S) ../getty.target getty.target && \
1833 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1834 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1835 $(LN_S) ../systemd-logind.service systemd-logind.service )
1836 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1837 rm -f getty@tty1.service && \
1838 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1839 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1840 rm -f remote-fs.target && \
1841 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1842 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1843 rm -f dev-hugepages.automount \
1844 dev-mqueue.automount \
1845 sys-kernel-config.automount \
1846 sys-kernel-debug.automount \
1847 sys-kernel-security.automount \
1848 systemd-vconsole-setup.service \
1849 systemd-modules-load.service \
1850 systemd-random-seed-load.service \
1851 systemd-tmpfiles-setup.service \
1852 systemd-sysctl.service \
1853 systemd-ask-password-console.path \
1854 systemd-kmsg-syslogd.service \
1855 cryptsetup.target && \
1856 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1857 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1858 $(LN_S) ../sys-kernel-config.automount sys-kernel-config.automount && \
1859 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1860 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1861 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1862 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1863 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1864 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1865 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1866 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1867 $(LN_S) ../systemd-kmsg-syslogd.service && \
1868 $(LN_S) ../cryptsetup.target cryptsetup.target )
1870 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1871 rm -f systemd-binfmt.service \
1872 proc-sys-fs-binfmt_misc.automount && \
1873 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1874 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1877 ( cd $(DESTDIR)$(systemunitdir) && \
1878 rm -f dbus-org.freedesktop.hostname1.service && \
1879 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1882 ( cd $(DESTDIR)$(systemunitdir) && \
1883 rm -f dbus-org.freedesktop.timedate1.service && \
1884 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1887 ( cd $(DESTDIR)$(systemunitdir) && \
1888 rm -f dbus-org.freedesktop.locale1.service && \
1889 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1891 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1892 rm -f systemd-tmpfiles-clean.timer && \
1893 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1894 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1895 rm -f org.freedesktop.systemd1.service && \
1896 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1898 $(MKDIR_P) -m 0755 \
1899 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1900 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1901 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1902 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1903 $(DESTDIR)$(systemunitdir)/halt.target.wants
1904 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1905 rm -f plymouth-start.service plymouth-read-write.service && \
1906 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1907 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1908 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1909 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1910 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1911 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1912 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1913 rm -f plymouth-reboot.service && \
1914 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1915 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1916 rm -f plymouth-kexec.service && \
1917 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1918 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1919 rm -f plymouth-poweroff.service && \
1920 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1921 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1922 rm -f plymouth-halt.service && \
1923 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1926 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1927 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1928 rm -f network.target && \
1929 $(LN_S) $(systemunitdir)/network.target network.target )
1930 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1932 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1934 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1936 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1941 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1942 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1943 rm -f rc-local.service && \
1944 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1945 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1946 rm -f halt-local.service && \
1947 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1948 ( cd $(DESTDIR)$(systemunitdir) && \
1949 rm -f display-manager.service single.service && \
1950 $(LN_S) prefdm.service display-manager.service && \
1951 $(LN_S) rescue.service single.service )
1952 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1953 rm -f display-manager.service && \
1954 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1958 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1959 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1960 rm -f rc-local.service && \
1961 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1962 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1963 rm -f halt-local.service && \
1964 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1965 ( cd $(DESTDIR)$(systemunitdir) && \
1966 rm -f display-manager.service dm.service single.service && \
1967 $(LN_S) prefdm.service display-manager.service && \
1968 $(LN_S) prefdm.service dm.service && \
1969 $(LN_S) rescue.service single.service )
1970 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1971 rm -f display-manager.service && \
1972 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1975 if TARGET_DEBIAN_OR_UBUNTU
1976 ( cd $(DESTDIR)$(systemunitdir) && \
1977 rm -f runlevel5.target && \
1978 $(LN_S) multi-user.target runlevel5.target )
1982 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1983 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1984 rm -f rc-local.service && \
1985 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1986 ( cd $(DESTDIR)$(systemunitdir) && \
1987 rm -f local.service && \
1988 $(LN_S) rc-local.service local.service )
1989 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1990 rm -f halt-local.service && \
1991 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1995 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1996 rm -f var-lock.mount && \
1997 $(LN_S) ../var-lock.mount var-lock.mount )
2000 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
2002 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
2004 DISTCHECK_CONFIGURE_FLAGS = \
2005 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2006 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2007 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2008 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2009 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2010 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2011 --with-rootdir=$$dc_install_base/$(rootdir)
2013 upload: all distcheck
2014 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
2015 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
2016 scp man/*.html tango:public/systemd-man/
2019 git tag "v$(VERSION)" -m "systemd $(VERSION)"