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=2
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 = \
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-logger.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-debug.automount \
365 units/sys-kernel-debug.mount \
366 units/sys-kernel-security.automount \
367 units/sys-kernel-security.mount \
368 units/var-run.mount \
370 units/remount-rootfs.service \
371 units/printer.target \
373 units/bluetooth.target \
374 units/smartcard.target \
375 units/systemd-readahead-done.timer \
376 units/systemd-tmpfiles-clean.timer \
377 units/quotaon.service \
378 units/systemd-ask-password-wall.path \
379 units/systemd-ask-password-console.path \
383 dist_systemunit_DATA += \
388 dist_systemunit_DATA += \
389 units/proc-sys-fs-binfmt_misc.automount \
390 units/proc-sys-fs-binfmt_misc.mount
393 nodist_systemunit_DATA = \
394 units/getty@.service \
395 units/serial-getty@.service \
396 units/console-shell.service \
397 units/systemd-initctl.service \
398 units/systemd-logger.service \
399 units/systemd-shutdownd.service \
400 units/systemd-logind.service \
401 units/systemd-kmsg-syslogd.service \
402 units/systemd-modules-load.service \
403 units/systemd-vconsole-setup.service \
404 units/systemd-remount-api-vfs.service \
405 units/systemd-update-utmp-runlevel.service \
406 units/systemd-update-utmp-shutdown.service \
407 units/systemd-random-seed-save.service \
408 units/systemd-random-seed-load.service \
409 units/systemd-readahead-collect.service \
410 units/systemd-readahead-replay.service \
411 units/systemd-readahead-done.service \
412 units/systemd-tmpfiles-setup.service \
413 units/systemd-tmpfiles-clean.service \
414 units/systemd-user-sessions.service \
415 units/systemd-ask-password-wall.service \
416 units/systemd-ask-password-console.service \
417 units/systemd-sysctl.service \
419 units/poweroff.service \
420 units/reboot.service \
421 units/kexec.service \
422 units/fsck@.service \
423 units/fsck-root.service \
424 units/quotacheck.service \
425 units/rescue.service \
429 nodist_systemunit_DATA += \
430 units/systemd-binfmt.service
434 nodist_systemunit_DATA += \
435 units/systemd-hostnamed.service
439 nodist_systemunit_DATA += \
440 units/systemd-timedated.service
444 nodist_systemunit_DATA += \
445 units/systemd-localed.service
448 dist_userunit_DATA = \
449 units/user/default.target \
450 units/user/exit.target
452 nodist_userunit_DATA = \
453 units/user/exit.service
456 units/getty@.service.m4 \
457 units/serial-getty@.service.m4 \
458 units/console-shell.service.m4 \
459 units/rescue.service.m4 \
460 units/systemd-initctl.service.in \
461 units/systemd-logger.service.in \
462 units/systemd-shutdownd.service.in \
463 units/systemd-logind.service.in \
464 units/systemd-kmsg-syslogd.service.in \
465 units/systemd-modules-load.service.in \
466 units/systemd-vconsole-setup.service.in \
467 units/systemd-remount-api-vfs.service.in \
468 units/systemd-update-utmp-runlevel.service.in \
469 units/systemd-update-utmp-shutdown.service.in \
470 units/systemd-random-seed-save.service.in \
471 units/systemd-random-seed-load.service.in \
472 units/systemd-readahead-collect.service.in \
473 units/systemd-readahead-replay.service.in \
474 units/systemd-readahead-done.service.in \
475 units/systemd-tmpfiles-setup.service.in \
476 units/systemd-tmpfiles-clean.service.in \
477 units/systemd-user-sessions.service.in \
478 units/systemd-ask-password-wall.service.in \
479 units/systemd-ask-password-console.service.in \
480 units/systemd-sysctl.service.in \
481 units/halt.service.in \
482 units/poweroff.service.in \
483 units/reboot.service.in \
484 units/kexec.service.in \
485 units/user/exit.service.in \
486 units/fsck@.service.in \
487 units/fsck-root.service.in \
488 units/quotacheck.service.in \
489 units/user@.service.in \
491 libsystemd-daemon.pc.in \
492 libsystemd-login.pc.in \
493 src/libsystemd-daemon.sym \
494 src/libsystemd-login.sym \
496 src/73-seat-late.rules.in \
497 src/99-systemd.rules.in
501 units/systemd-binfmt.service.in
506 units/systemd-hostnamed.service.in
511 units/systemd-timedated.service.in
516 units/systemd-localed.service.in
520 dist_systemunit_DATA += \
521 units/fedora/prefdm.service \
522 units/fedora/rc-local.service \
523 units/fedora/halt-local.service
527 dist_systemunit_DATA += \
528 units/mandriva/prefdm.service \
529 units/fedora/rc-local.service \
530 units/fedora/halt-local.service
534 dist_systemunit_DATA += \
535 units/frugalware/display-manager.service
539 dist_systemunit_DATA += \
540 units/suse/rc-local.service \
541 units/suse/halt-local.service
545 dist_systemunit_DATA += \
546 units/plymouth-start.service \
547 units/plymouth-read-write.service \
548 units/plymouth-quit.service \
549 units/plymouth-quit-wait.service \
550 units/plymouth-reboot.service \
551 units/plymouth-kexec.service \
552 units/plymouth-poweroff.service \
553 units/plymouth-halt.service \
554 units/systemd-ask-password-plymouth.path
556 nodist_systemunit_DATA += \
557 units/systemd-ask-password-plymouth.service
560 units/systemd-ask-password-plymouth.service.in
572 pkgconfigdata_DATA = \
575 pkgconfiglib_DATA = \
576 libsystemd-daemon.pc \
579 # Passed through intltool only
580 polkitpolicy_in_files = \
581 src/org.freedesktop.login1.policy.in
584 polkitpolicy_in_files += \
585 src/org.freedesktop.hostname1.policy.in
589 polkitpolicy_in_files += \
590 src/org.freedesktop.timedate1.policy.in
594 polkitpolicy_in_files += \
595 src/org.freedesktop.locale1.policy.in
598 # First passed through sed, followed by intltool
599 polkitpolicy_in_in_files = \
600 src/org.freedesktop.systemd1.policy.in.in
602 nodist_polkitpolicy_DATA = \
603 $(polkitpolicy_in_files:.policy.in=.policy) \
604 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
607 $(polkitpolicy_in_files) \
608 $(polkitpolicy_in_in_files)
610 @INTLTOOL_POLICY_RULE@
612 noinst_LTLIBRARIES = \
613 libsystemd-basic.la \
616 libsystemd_basic_la_SOURCES = \
628 libsystemd_basic_la_CFLAGS = \
632 libsystemd_basic_la_LIBADD = \
636 libsystemd_core_la_SOURCES = \
641 src/load-fragment.c \
664 src/dbus-automount.c \
666 src/dbus-snapshot.c \
672 src/hostname-setup.c \
673 src/selinux-setup.c \
674 src/loopback-setup.c \
677 src/machine-id-setup.c \
690 nodist_libsystemd_core_la_SOURCES = \
691 src/load-fragment-gperf.c \
692 src/load-fragment-gperf-nulstr.c
695 src/load-fragment-gperf.gperf.m4
697 libsystemd_core_la_CFLAGS = \
705 libsystemd_core_la_LIBADD = \
706 libsystemd-basic.la \
714 # This is needed because automake is buggy in how it generates the
715 # rules for C programs, but not Vala programs. We therefore can't
716 # list the .h files as dependencies if we want make dist to work.
719 ${libsystemd_basic_la_SOURCES:.c=.h} \
720 ${libsystemd_core_la_SOURCES:.c=.h} \
721 ${libsystemd_daemon_la_SOURCES:.c=.h} \
728 src/linux/auto_dev-ioctl.h \
729 src/linux/fanotify.h \
739 src/readahead-common.h \
740 src/ask-password-api.h \
745 src/logind-device.h \
747 src/logind-session.h \
758 man/systemd-nspawn.1 \
759 man/systemd-tmpfiles.8 \
760 man/systemd-notify.1 \
764 man/sd_listen_fds.3 \
767 man/systemd.service.5 \
768 man/systemd.socket.5 \
769 man/systemd.mount.5 \
770 man/systemd.automount.5 \
772 man/systemd.timer.5 \
774 man/systemd.target.5 \
775 man/systemd.device.5 \
776 man/systemd.snapshot.5 \
787 man/systemd-logind.conf.5 \
791 man/vconsole.conf.5 \
795 man/modules-load.d.5 \
797 man/systemd-ask-password.1 \
798 man/systemd-loginctl.1
809 man/sd_is_socket_unix.3 \
810 man/sd_is_socket_inet.3 \
814 man/reboot.8: man/halt.8
815 man/poweroff.8: man/halt.8
816 man/sd_is_socket.3: man/sd_is_fifo.3
817 man/sd_is_socket_unix.3: man/sd_is_fifo.3
818 man/sd_is_socket_inet.3: man/sd_is_fifo.3
819 man/sd_notifyf.3: man/sd_notify.3
820 man/init.1: man/systemd.1
827 man/systemd.special.7
830 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
833 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
836 ${XML_FILES:.xml=.html}
838 nodist_noinst_DATA = \
839 ${XML_IN_FILES:.xml.in=.html}
844 ${nodist_man_MANS:=.in} \
845 ${XML_IN_FILES:.xml.in=.html.in}
858 test_engine_SOURCES = \
861 test_engine_CFLAGS = $(systemd_CFLAGS)
862 test_engine_LDADD = $(systemd_LDADD)
864 test_job_type_SOURCES = \
867 test_job_type_CFLAGS = $(systemd_CFLAGS)
868 test_job_type_LDADD = $(systemd_LDADD)
873 test_ns_CFLAGS = $(systemd_CFLAGS)
874 test_ns_LDADD = $(systemd_LDADD)
876 test_loopback_SOURCES = \
877 src/test-loopback.c \
880 test_loopback_LDADD = \
883 test_hostname_SOURCES = \
884 src/test-hostname.c \
887 test_hostname_LDADD = \
890 test_daemon_SOURCES = \
893 test_daemon_LDADD = \
894 libsystemd-basic.la \
897 test_cgroup_SOURCES = \
901 test_cgroup_CFLAGS = \
904 test_cgroup_LDADD = \
907 test_env_replace_SOURCES = \
908 src/test-env-replace.c
910 test_env_replace_CFLAGS = \
913 test_env_replace_LDADD = \
916 test_strv_SOURCES = \
926 test_login_SOURCES = \
929 test_login_CFLAGS = \
933 libsystemd-basic.la \
936 test_install_SOURCES = \
942 test_install_CFLAGS = \
946 test_install_LDADD = \
949 systemd_logger_SOURCES = \
953 systemd_logger_LDADD = \
954 libsystemd-basic.la \
955 libsystemd-daemon.la \
958 systemd_initctl_SOURCES = \
962 systemd_initctl_CFLAGS = \
966 systemd_initctl_LDADD = \
967 libsystemd-basic.la \
968 libsystemd-daemon.la \
971 systemd_update_utmp_SOURCES = \
976 systemd_update_utmp_CFLAGS = \
981 systemd_update_utmp_LDADD = \
982 libsystemd-basic.la \
986 systemd_random_seed_SOURCES = \
989 systemd_random_seed_CFLAGS = \
992 systemd_random_seed_LDADD = \
995 systemd_shutdownd_SOURCES = \
999 systemd_shutdownd_CFLAGS = \
1002 systemd_shutdownd_LDADD = \
1003 libsystemd-basic.la \
1004 libsystemd-daemon.la
1006 systemd_hostnamed_SOURCES = \
1011 systemd_hostnamed_CFLAGS = \
1015 systemd_hostnamed_LDADD = \
1016 libsystemd-basic.la \
1017 libsystemd-daemon.la \
1020 systemd_localed_SOURCES = \
1025 systemd_localed_CFLAGS = \
1029 systemd_localed_LDADD = \
1030 libsystemd-basic.la \
1031 libsystemd-daemon.la \
1034 systemd_timedated_SOURCES = \
1039 systemd_timedated_CFLAGS = \
1043 systemd_timedated_LDADD = \
1044 libsystemd-basic.la \
1045 libsystemd-daemon.la \
1048 systemd_logind_SOURCES = \
1051 src/logind-device.c \
1053 src/logind-seat-dbus.c \
1054 src/logind-session.c \
1055 src/logind-session-dbus.c \
1057 src/logind-user-dbus.c \
1063 nodist_systemd_logind_SOURCES = \
1067 src/logind-gperf.gperf
1069 systemd_logind_CFLAGS = \
1075 systemd_logind_LDADD = \
1076 libsystemd-basic.la \
1077 libsystemd-daemon.la \
1082 systemd_uaccess_SOURCES = \
1086 systemd_logind_SOURCES += \
1089 systemd_uaccess_SOURCES += \
1093 systemd_uaccess_CFLAGS = \
1098 systemd_uaccess_LDADD = \
1099 libsystemd-basic.la \
1100 libsystemd-daemon.la \
1101 libsystemd-login.la \
1105 systemd_shutdown_SOURCES = \
1110 systemd_shutdown_CFLAGS = \
1114 systemd_shutdown_LDADD = \
1115 libsystemd-basic.la \
1118 systemd_modules_load_SOURCES = \
1121 systemd_modules_load_CFLAGS = \
1124 systemd_modules_load_LDADD = \
1127 systemd_tmpfiles_SOURCES = \
1130 systemd_tmpfiles_CFLAGS = \
1133 systemd_tmpfiles_LDADD = \
1136 systemd_machine_id_setup_SOURCES = \
1137 src/machine-id-setup.c \
1138 src/machine-id-main.c
1140 systemd_machine_id_setup_CFLAGS = \
1143 systemd_machine_id_setup_LDADD = \
1146 systemd_sysctl_SOURCES = \
1149 systemd_sysctl_CFLAGS = \
1152 systemd_sysctl_LDADD = \
1155 systemd_binfmt_SOURCES = \
1158 systemd_binfmt_CFLAGS = \
1161 systemd_binfmt_LDADD = \
1164 systemd_fsck_SOURCES = \
1168 systemd_fsck_CFLAGS = \
1173 systemd_fsck_LDADD = \
1174 libsystemd-basic.la \
1178 systemd_quotacheck_SOURCES = \
1181 systemd_quotacheck_CFLAGS = \
1184 systemd_quotacheck_LDADD = \
1187 systemd_timestamp_SOURCES = \
1190 systemd_timestamp_CFLAGS = \
1193 systemd_timestamp_LDADD = \
1196 systemd_ac_power_SOURCES = \
1199 systemd_ac_power_CFLAGS = \
1203 systemd_ac_power_LDADD = \
1204 libsystemd-basic.la \
1207 systemd_detect_virt_SOURCES = \
1210 systemd_detect_virt_CFLAGS = \
1213 systemd_detect_virt_LDADD = \
1216 systemd_cryptsetup_SOURCES = \
1218 src/ask-password-api.c
1220 systemd_cryptsetup_CFLAGS = \
1221 $(LIBCRYPTSETUP_CFLAGS) \
1225 systemd_cryptsetup_LDADD = \
1226 $(LIBCRYPTSETUP_LIBS) \
1230 systemd_cryptsetup_generator_SOURCES = \
1231 src/cryptsetup-generator.c \
1234 systemd_cryptsetup_generator_CFLAGS = \
1237 systemd_cryptsetup_generator_LDADD = \
1240 systemd_getty_generator_SOURCES = \
1241 src/getty-generator.c \
1244 systemd_getty_generator_CFLAGS = \
1247 systemd_getty_generator_LDADD = \
1250 systemd_user_sessions_SOURCES = \
1251 src/user-sessions.c \
1254 systemd_user_sessions_CFLAGS = \
1257 systemd_user_sessions_LDADD = \
1260 systemd_vconsole_setup_SOURCES = \
1261 src/vconsole-setup.c
1263 systemd_vconsole_setup_CFLAGS = \
1266 systemd_vconsole_setup_LDADD = \
1269 systemd_remount_api_vfs_SOURCES = \
1270 src/remount-api-vfs.c \
1274 systemd_remount_api_vfs_CFLAGS = \
1277 systemd_remount_api_vfs_LDADD = \
1280 systemd_cgroups_agent_SOURCES = \
1281 src/cgroups-agent.c \
1284 systemd_cgroups_agent_CFLAGS = \
1288 systemd_cgroups_agent_LDADD = \
1289 libsystemd-basic.la \
1292 systemd_kmsg_syslogd_SOURCES = \
1293 src/kmsg-syslogd.c \
1296 systemd_kmsg_syslogd_CFLAGS = \
1299 systemd_kmsg_syslogd_LDADD = \
1300 libsystemd-basic.la \
1301 libsystemd-daemon.la
1303 systemctl_SOURCES = \
1316 systemctl_CFLAGS = \
1321 libsystemd-basic.la \
1322 libsystemd-daemon.la \
1325 systemd_loginctl_SOURCES = \
1333 systemd_loginctl_CFLAGS = \
1338 systemd_loginctl_LDADD = \
1339 libsystemd-basic.la \
1343 systemd_notify_SOURCES = \
1347 systemd_notify_LDADD = \
1348 libsystemd-basic.la \
1349 libsystemd-daemon.la
1351 systemd_ask_password_SOURCES = \
1352 src/ask-password.c \
1353 src/ask-password-api.c
1355 systemd_ask_password_LDADD = \
1358 systemd_reply_password_SOURCES = \
1359 src/reply-password.c
1361 systemd_reply_password_LDADD = \
1364 systemd_readahead_collect_SOURCES = \
1365 src/readahead-collect.c \
1366 src/readahead-common.c
1368 systemd_readahead_collect_CFLAGS = \
1371 systemd_readahead_collect_LDADD = \
1372 libsystemd-basic.la \
1373 libsystemd-daemon.la \
1376 systemd_readahead_replay_SOURCES = \
1377 src/readahead-replay.c \
1378 src/readahead-common.c
1380 systemd_readahead_replay_CFLAGS = \
1383 systemd_readahead_replay_LDADD = \
1384 libsystemd-basic.la \
1385 libsystemd-daemon.la \
1388 systemd_cgls_SOURCES = \
1394 systemd_cgls_CFLAGS = \
1397 systemd_cgls_LDADD = \
1400 systemd_nspawn_SOURCES = \
1403 src/loopback-setup.c
1405 systemd_nspawn_CFLAGS = \
1408 systemd_nspawn_LDADD = \
1409 libsystemd-basic.la \
1410 libsystemd-daemon.la
1412 systemd_stdio_bridge_SOURCES = \
1415 systemd_stdio_bridge_LDADD = \
1418 systemadm_SOURCES = \
1419 src/systemadm.vala \
1420 src/systemd-interfaces.vala
1422 systemadm_CFLAGS = \
1425 -Wno-unused-variable \
1426 -Wno-unused-function \
1428 -Wno-format-nonliteral
1430 systemadm_VALAFLAGS = \
1438 systemd_gnome_ask_password_agent_SOURCES = \
1439 src/gnome-ask-password-agent.vala
1441 systemd_gnome_ask_password_agent_CFLAGS = \
1443 $(LIBNOTIFY_CFLAGS) \
1445 -Wno-unused-variable \
1446 -Wno-unused-function \
1448 -Wno-format-nonliteral
1450 systemd_gnome_ask_password_agent_VALAFLAGS = \
1454 --pkg=gio-unix-2.0 \
1457 systemd_gnome_ask_password_agent_VALAFLAGS += \
1460 systemd_gnome_ask_password_agent_VALAFLAGS += \
1463 systemd_gnome_ask_password_agent_LDADD = \
1467 systemd_tty_ask_password_agent_SOURCES = \
1468 src/tty-ask-password-agent.c \
1469 src/ask-password-api.c \
1472 systemd_tty_ask_password_agent_LDADD = \
1475 pam_systemd_la_SOURCES = \
1479 pam_systemd_la_CFLAGS = \
1485 pam_systemd_la_LDFLAGS = \
1490 -export-symbols-regex '^pam_sm_.*'
1492 pam_systemd_la_LIBADD = \
1493 libsystemd-basic.la \
1494 libsystemd-daemon.la \
1498 libsystemd_daemon_la_SOURCES = \
1501 libsystemd_daemon_la_CFLAGS = \
1503 -fvisibility=hidden \
1506 libsystemd_daemon_la_LDFLAGS = \
1508 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1509 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1511 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1512 libsystemd-daemon-install-hook:
1513 if test "$(libdir)" != "$(rootlibdir)"; then \
1514 mkdir -p $(DESTDIR)$(rootlibdir) && \
1515 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1516 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1517 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1518 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1521 libsystemd-daemon-uninstall-hook:
1522 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1524 libsystemd_login_la_SOURCES = \
1528 libsystemd_login_la_CFLAGS = \
1532 libsystemd_login_la_LDFLAGS = \
1534 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1535 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1537 libsystemd_login_la_LIBADD = \
1540 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1541 libsystemd-login-install-hook:
1542 if test "$(libdir)" != "$(rootlibdir)"; then \
1543 mkdir -p $(DESTDIR)$(rootlibdir) && \
1544 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1545 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1546 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1547 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1550 libsystemd-login-uninstall-hook:
1551 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1554 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1555 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1556 -e 's,@rootbindir\@,$(rootbindir),g' \
1557 -e 's,@bindir\@,$(bindir),g' \
1558 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1559 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1560 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1561 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1562 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1563 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1564 -e 's,@userunitdir\@,$(userunitdir),g' \
1565 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1566 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1567 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1568 -e 's,@prefix\@,$(prefix),g' \
1569 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1570 -e 's,@libdir\@,$(libdir),g' \
1571 -e 's,@includedir\@,$(includedir),g' \
1574 units/%: units/%.in Makefile
1577 man/%: man/%.in Makefile
1580 %.pc: %.pc.in Makefile
1583 src/%.policy.in: src/%.policy.in.in Makefile
1586 src/%.rules: src/%.rules.in Makefile
1589 src/%.c: src/%.gperf
1590 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1594 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1595 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1597 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1598 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1599 $(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 $@
1601 M4_PROCESS_SYSTEM = \
1602 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1603 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1606 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1607 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1609 units/%: units/%.m4 Makefile
1610 $(M4_PROCESS_SYSTEM)
1612 units/user/%: units/%.m4 Makefile
1616 $(nodist_systemunit_DATA) \
1617 $(nodist_userunit_DATA) \
1618 $(nodist_man_MANS) \
1619 ${XML_IN_FILES:.xml.in=.html} \
1620 $(pkgconfigdata_DATA) \
1621 $(pkgconfiglib_DATA) \
1622 $(nodist_polkitpolicy_DATA) \
1623 src/73-seat-late.rules \
1624 src/99-systemd.rules \
1625 src/load-fragment-gperf.gperf \
1626 src/load-fragment-gperf.c \
1627 src/load-fragment-gperf-nulstr.c \
1632 ${systemadm_SOURCES:.vala=.c}
1638 --param funcsynopsis.style "'ansi'"
1640 XSLTPROC_PROCESS_MAN = \
1641 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1642 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1644 XSLTPROC_PROCESS_MAN_IN = \
1645 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1646 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1649 XSLTPROC_PROCESS_HTML = \
1650 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1651 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1653 XSLTPROC_PROCESS_HTML_IN = \
1654 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1655 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1659 $(XSLTPROC_PROCESS_MAN)
1661 man/%.1.in: man/%.xml.in
1662 $(XSLTPROC_PROCESS_MAN)
1665 $(XSLTPROC_PROCESS_MAN)
1667 man/%.3.in: man/%.xml.in
1668 $(XSLTPROC_PROCESS_MAN)
1671 $(XSLTPROC_PROCESS_MAN)
1673 man/%.5.in: man/%.xml.in
1674 $(XSLTPROC_PROCESS_MAN)
1677 $(XSLTPROC_PROCESS_MAN)
1679 man/%.7.in: man/%.xml.in
1680 $(XSLTPROC_PROCESS_MAN_IN)
1683 $(XSLTPROC_PROCESS_MAN)
1685 man/%.8.in: man/%.xml.in
1686 $(XSLTPROC_PROCESS_MAN_IN)
1688 man/%.html: man/%.xml
1689 $(XSLTPROC_PROCESS_HTML)
1691 man/%.html.in: man/%.xml.in
1692 $(XSLTPROC_PROCESS_HTML_IN)
1696 ${nodist_man_MANS:=.in} \
1697 ${XML_FILES:.xml=.html} \
1698 ${XML_IN_FILES:.xml.in=.html.in}
1701 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1703 org.freedesktop.systemd1.%.xml: systemd
1704 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1705 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1706 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1708 org.freedesktop.hostname1.xml: systemd-hostnamed
1709 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1710 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1711 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1713 org.freedesktop.locale1.xml: systemd-localed
1714 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1715 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1716 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1718 org.freedesktop.timedate1.xml: systemd-timedated
1719 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1720 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1721 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1724 $(dbusinterface_DATA)
1727 $(MKDIR_P) -m 0755 \
1728 $(DESTDIR)$(tmpfilesdir) \
1729 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1730 $(DESTDIR)$(prefix)/lib/modules-load.d \
1731 $(DESTDIR)$(sysconfdir)/modules-load.d \
1732 $(DESTDIR)$(prefix)/lib/sysctl.d \
1733 $(DESTDIR)$(sysconfdir)/sysctl.d \
1734 $(DESTDIR)$(systemshutdowndir) \
1735 $(DESTDIR)$(systemgeneratordir) \
1736 $(DESTDIR)$(usergeneratordir)
1738 $(MKDIR_P) -m 0755 \
1739 $(DESTDIR)$(prefix)/lib/binfmt.d \
1740 $(DESTDIR)$(sysconfdir)/binfmt.d
1742 $(MKDIR_P) -m 0755 \
1743 $(DESTDIR)$(systemunitdir) \
1744 $(DESTDIR)$(userunitdir) \
1745 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1746 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1747 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1748 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1749 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1750 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1751 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1752 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1753 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1754 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1755 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1756 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1757 $(DESTDIR)$(pkgsysconfdir)/system \
1758 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1759 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1760 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1761 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1762 $(DESTDIR)$(pkgsysconfdir)/user \
1763 $(DESTDIR)$(dbussessionservicedir) \
1764 $(DESTDIR)$(sysconfdir)/xdg/systemd
1765 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1767 $(LN_S) $(pkgsysconfdir)/user user )
1768 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1769 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1770 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1771 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1772 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1773 $(LN_S) ../syslog.socket syslog.socket )
1774 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1775 rm -f systemd-update-utmp-runlevel.service && \
1776 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1777 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.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)/runlevel3.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)/runlevel4.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)/runlevel5.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)/shutdown.target.wants && \
1790 rm -f systemd-update-utmp-shutdown.service \
1791 systemd-random-seed-save.service && \
1792 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1793 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1794 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1795 rm -f systemd-remount-api-vfs.service \
1797 remount-rootfs.service \
1800 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1801 $(LN_S) ../fsck-root.service fsck-root.service && \
1802 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1803 $(LN_S) ../var-run.mount var-run.mount && \
1804 $(LN_S) ../media.mount media.mount )
1805 ( cd $(DESTDIR)$(userunitdir) && \
1806 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1807 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1808 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1809 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1810 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1811 $(LN_S) $(systemunitdir)/sound.target sound.target )
1812 ( cd $(DESTDIR)$(systemunitdir) && \
1813 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1814 $(LN_S) poweroff.target runlevel0.target && \
1815 $(LN_S) rescue.target runlevel1.target && \
1816 $(LN_S) multi-user.target runlevel2.target && \
1817 $(LN_S) multi-user.target runlevel3.target && \
1818 $(LN_S) multi-user.target runlevel4.target && \
1819 $(LN_S) graphical.target runlevel5.target && \
1820 $(LN_S) reboot.target runlevel6.target )
1821 ( cd $(DESTDIR)$(systemunitdir) && \
1822 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.login1.service autovt@.service && \
1823 $(LN_S) graphical.target default.target && \
1824 $(LN_S) reboot.target ctrl-alt-del.target && \
1825 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1826 $(LN_S) getty@.service autovt@.service )
1827 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1828 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1829 $(LN_S) ../getty.target getty.target && \
1830 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1831 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1832 $(LN_S) ../systemd-logind.service systemd-logind.service )
1833 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1834 rm -f getty@tty1.service && \
1835 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1836 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1837 rm -f remote-fs.target && \
1838 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1839 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1840 rm -f dev-hugepages.automount \
1841 dev-mqueue.automount \
1842 sys-kernel-debug.automount \
1843 sys-kernel-security.automount \
1844 systemd-vconsole-setup.service \
1845 systemd-modules-load.service \
1846 systemd-random-seed-load.service \
1847 systemd-tmpfiles-setup.service \
1848 systemd-sysctl.service \
1849 systemd-ask-password-console.path \
1850 systemd-kmsg-syslogd.service \
1851 cryptsetup.target && \
1852 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1853 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1854 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1855 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1856 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1857 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1858 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1859 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1860 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1861 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1862 $(LN_S) ../systemd-kmsg-syslogd.service && \
1863 $(LN_S) ../cryptsetup.target cryptsetup.target )
1865 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1866 rm -f systemd-binfmt.service \
1867 proc-sys-fs-binfmt_misc.automount && \
1868 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1869 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1872 ( cd $(DESTDIR)$(systemunitdir) && \
1873 rm -f dbus-org.freedesktop.hostname1.service && \
1874 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1877 ( cd $(DESTDIR)$(systemunitdir) && \
1878 rm -f dbus-org.freedesktop.timedate1.service && \
1879 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1882 ( cd $(DESTDIR)$(systemunitdir) && \
1883 rm -f dbus-org.freedesktop.locale1.service && \
1884 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1886 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1887 rm -f systemd-tmpfiles-clean.timer && \
1888 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1889 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1890 rm -f org.freedesktop.systemd1.service && \
1891 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1893 $(MKDIR_P) -m 0755 \
1894 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1895 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1896 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1897 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1898 $(DESTDIR)$(systemunitdir)/halt.target.wants
1899 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1900 rm -f plymouth-start.service plymouth-read-write.service && \
1901 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1902 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1903 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1904 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1905 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1906 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1907 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1908 rm -f plymouth-reboot.service && \
1909 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1910 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1911 rm -f plymouth-kexec.service && \
1912 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1913 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1914 rm -f plymouth-poweroff.service && \
1915 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1916 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1917 rm -f plymouth-halt.service && \
1918 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1921 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1922 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1923 rm -f network.target && \
1924 $(LN_S) $(systemunitdir)/network.target network.target )
1925 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1927 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1929 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1931 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1936 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1937 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1938 rm -f rc-local.service && \
1939 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1940 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1941 rm -f halt-local.service && \
1942 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1943 ( cd $(DESTDIR)$(systemunitdir) && \
1944 rm -f display-manager.service single.service && \
1945 $(LN_S) prefdm.service display-manager.service && \
1946 $(LN_S) rescue.service single.service )
1947 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1948 rm -f display-manager.service && \
1949 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1953 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1954 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1955 rm -f rc-local.service && \
1956 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1957 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1958 rm -f halt-local.service && \
1959 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1960 ( cd $(DESTDIR)$(systemunitdir) && \
1961 rm -f display-manager.service dm.service single.service && \
1962 $(LN_S) prefdm.service display-manager.service && \
1963 $(LN_S) prefdm.service dm.service && \
1964 $(LN_S) rescue.service single.service )
1965 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1966 rm -f display-manager.service && \
1967 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1970 if TARGET_DEBIAN_OR_UBUNTU
1971 ( cd $(DESTDIR)$(systemunitdir) && \
1972 rm -f runlevel5.target && \
1973 $(LN_S) multi-user.target runlevel5.target )
1977 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1978 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1979 rm -f rc-local.service && \
1980 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1981 ( cd $(DESTDIR)$(systemunitdir) && \
1982 rm -f local.service && \
1983 $(LN_S) rc-local.service local.service )
1984 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1985 rm -f halt-local.service && \
1986 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1990 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1991 rm -f var-lock.mount && \
1992 $(LN_S) ../var-lock.mount var-lock.mount )
1995 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1997 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1999 DISTCHECK_CONFIGURE_FLAGS = \
2000 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2001 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2002 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2003 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2004 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2005 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2006 --with-rootdir=$$dc_install_base/$(rootdir)
2008 upload: all distcheck
2009 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
2010 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
2011 scp man/*.html tango:public/systemd-man/
2014 git tag "v$(VERSION)" -m "systemd $(VERSION)"