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=1
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 \
180 rootlibexec_PROGRAMS += \
185 rootlibexec_PROGRAMS += \
189 systemgenerator_PROGRAMS = \
190 systemd-getty-generator
192 if HAVE_LIBCRYPTSETUP
193 rootlibexec_PROGRAMS += \
196 systemgenerator_PROGRAMS += \
197 systemd-cryptsetup-generator
201 libsystemd-daemon.la \
204 pkginclude_HEADERS = \
222 pamlib_LTLIBRARIES = \
226 dist_pkgsysconf_DATA = \
229 src/systemd-logind.conf
231 dist_dbuspolicy_DATA = \
232 src/org.freedesktop.systemd1.conf \
233 src/org.freedesktop.locale1.conf \
234 src/org.freedesktop.timedate1.conf \
235 src/org.freedesktop.login1.conf
238 dist_dbuspolicy_DATA += \
239 src/org.freedesktop.hostname1.conf
242 dist_dbussystemservice_DATA = \
243 src/org.freedesktop.systemd1.service \
244 src/org.freedesktop.locale1.service \
245 src/org.freedesktop.timedate1.service \
246 src/org.freedesktop.login1.service
249 dist_dbussystemservice_DATA += \
250 src/org.freedesktop.hostname1.service
253 dist_udevrules_DATA = \
254 src/70-uaccess.rules \
257 nodist_udevrules_DATA = \
258 src/73-seat-late.rules \
261 dbusinterface_DATA = \
262 org.freedesktop.systemd1.Manager.xml \
263 org.freedesktop.systemd1.Job.xml \
264 org.freedesktop.systemd1.Unit.xml \
265 org.freedesktop.systemd1.Service.xml \
266 org.freedesktop.systemd1.Socket.xml \
267 org.freedesktop.systemd1.Timer.xml \
268 org.freedesktop.systemd1.Target.xml \
269 org.freedesktop.systemd1.Device.xml \
270 org.freedesktop.systemd1.Mount.xml \
271 org.freedesktop.systemd1.Automount.xml \
272 org.freedesktop.systemd1.Snapshot.xml \
273 org.freedesktop.systemd1.Swap.xml \
274 org.freedesktop.systemd1.Path.xml \
275 org.freedesktop.locale1.xml \
276 org.freedesktop.timedate1.xml
279 dbusinterface_DATA += \
280 org.freedesktop.hostname1.xml
283 dist_bashcompletion_DATA = \
284 src/systemctl-bash-completion.sh
286 dist_tmpfiles_DATA = \
287 tmpfiles.d/systemd.conf \
291 dist_tmpfiles_DATA += \
292 tmpfiles.d/legacy.conf
295 dist_systemunit_DATA = \
296 units/graphical.target \
297 units/multi-user.target \
298 units/emergency.service \
299 units/emergency.target \
300 units/sysinit.target \
305 units/local-fs.target \
306 units/remote-fs.target \
307 units/cryptsetup.target \
308 units/network.target \
309 units/nss-lookup.target \
310 units/mail-transfer-agent.target \
311 units/http-daemon.target \
312 units/poweroff.target \
313 units/reboot.target \
314 units/rescue.target \
315 units/rpcbind.target \
316 units/time-sync.target \
317 units/shutdown.target \
319 units/umount.target \
320 units/sigpwr.target \
321 units/sockets.target \
323 units/systemd-initctl.socket \
324 units/systemd-logger.socket \
325 units/systemd-shutdownd.socket \
326 units/syslog.socket \
327 units/dev-hugepages.automount \
328 units/dev-hugepages.mount \
329 units/dev-mqueue.automount \
330 units/dev-mqueue.mount \
331 units/sys-kernel-debug.automount \
332 units/sys-kernel-debug.mount \
333 units/sys-kernel-security.automount \
334 units/sys-kernel-security.mount \
335 units/var-run.mount \
337 units/remount-rootfs.service \
338 units/printer.target \
340 units/bluetooth.target \
341 units/smartcard.target \
342 units/systemd-readahead-done.timer \
343 units/systemd-tmpfiles-clean.timer \
344 units/quotaon.service \
345 units/systemd-ask-password-wall.path \
346 units/systemd-ask-password-console.path \
350 dist_systemunit_DATA += \
355 dist_systemunit_DATA += \
356 units/proc-sys-fs-binfmt_misc.automount \
357 units/proc-sys-fs-binfmt_misc.mount
360 nodist_systemunit_DATA = \
361 units/getty@.service \
362 units/serial-getty@.service \
363 units/console-shell.service \
364 units/systemd-initctl.service \
365 units/systemd-logger.service \
366 units/systemd-shutdownd.service \
367 units/systemd-localed.service \
368 units/systemd-timedated.service \
369 units/systemd-logind.service \
370 units/systemd-kmsg-syslogd.service \
371 units/systemd-modules-load.service \
372 units/systemd-vconsole-setup.service \
373 units/systemd-remount-api-vfs.service \
374 units/systemd-update-utmp-runlevel.service \
375 units/systemd-update-utmp-shutdown.service \
376 units/systemd-random-seed-save.service \
377 units/systemd-random-seed-load.service \
378 units/systemd-readahead-collect.service \
379 units/systemd-readahead-replay.service \
380 units/systemd-readahead-done.service \
381 units/systemd-tmpfiles-setup.service \
382 units/systemd-tmpfiles-clean.service \
383 units/systemd-user-sessions.service \
384 units/systemd-ask-password-wall.service \
385 units/systemd-ask-password-console.service \
386 units/systemd-sysctl.service \
388 units/poweroff.service \
389 units/reboot.service \
390 units/kexec.service \
391 units/fsck@.service \
392 units/fsck-root.service \
393 units/quotacheck.service \
394 units/rescue.service \
398 nodist_systemunit_DATA += \
399 units/systemd-binfmt.service
403 nodist_systemunit_DATA += \
404 units/systemd-hostnamed.service
407 dist_userunit_DATA = \
408 units/user/default.target \
409 units/user/exit.target
411 nodist_userunit_DATA = \
412 units/user/exit.service
415 units/getty@.service.m4 \
416 units/serial-getty@.service.m4 \
417 units/console-shell.service.m4 \
418 units/rescue.service.m4 \
419 units/systemd-initctl.service.in \
420 units/systemd-logger.service.in \
421 units/systemd-shutdownd.service.in \
422 units/systemd-localed.service.in \
423 units/systemd-timedated.service.in \
424 units/systemd-logind.service.in \
425 units/systemd-kmsg-syslogd.service.in \
426 units/systemd-modules-load.service.in \
427 units/systemd-vconsole-setup.service.in \
428 units/systemd-remount-api-vfs.service.in \
429 units/systemd-update-utmp-runlevel.service.in \
430 units/systemd-update-utmp-shutdown.service.in \
431 units/systemd-random-seed-save.service.in \
432 units/systemd-random-seed-load.service.in \
433 units/systemd-readahead-collect.service.in \
434 units/systemd-readahead-replay.service.in \
435 units/systemd-readahead-done.service.in \
436 units/systemd-tmpfiles-setup.service.in \
437 units/systemd-tmpfiles-clean.service.in \
438 units/systemd-user-sessions.service.in \
439 units/systemd-ask-password-wall.service.in \
440 units/systemd-ask-password-console.service.in \
441 units/systemd-sysctl.service.in \
442 units/halt.service.in \
443 units/poweroff.service.in \
444 units/reboot.service.in \
445 units/kexec.service.in \
446 units/user/exit.service.in \
447 units/fsck@.service.in \
448 units/fsck-root.service.in \
449 units/quotacheck.service.in \
450 units/user@.service.in \
452 libsystemd-daemon.pc.in \
453 libsystemd-login.pc.in \
454 src/libsystemd-daemon.sym \
455 src/libsystemd-login.sym \
457 src/73-seat-late.rules.in \
458 src/99-systemd.rules.in
462 units/systemd-binfmt.service.in
467 units/systemd-hostnamed.service.in
471 dist_systemunit_DATA += \
472 units/fedora/prefdm.service \
473 units/fedora/rc-local.service \
474 units/fedora/halt-local.service
478 dist_systemunit_DATA += \
479 units/mandriva/prefdm.service \
480 units/fedora/rc-local.service \
481 units/fedora/halt-local.service
485 dist_systemunit_DATA += \
486 units/frugalware/display-manager.service
490 dist_systemunit_DATA += \
491 units/suse/rc-local.service \
492 units/suse/halt-local.service
496 dist_systemunit_DATA += \
497 units/plymouth-start.service \
498 units/plymouth-read-write.service \
499 units/plymouth-quit.service \
500 units/plymouth-quit-wait.service \
501 units/plymouth-reboot.service \
502 units/plymouth-kexec.service \
503 units/plymouth-poweroff.service \
504 units/plymouth-halt.service \
505 units/systemd-ask-password-plymouth.path
507 nodist_systemunit_DATA += \
508 units/systemd-ask-password-plymouth.service
511 units/systemd-ask-password-plymouth.service.in
523 pkgconfigdata_DATA = \
526 pkgconfiglib_DATA = \
527 libsystemd-daemon.pc \
530 # Passed through intltool only
531 polkitpolicy_in_files = \
532 src/org.freedesktop.locale1.policy.in \
533 src/org.freedesktop.timedate1.policy.in \
534 src/org.freedesktop.login1.policy.in
537 polkitpolicy_in_files += \
538 src/org.freedesktop.hostname1.policy.in
541 # First passed through sed, followed by intltool
542 polkitpolicy_in_in_files = \
543 src/org.freedesktop.systemd1.policy.in.in
545 nodist_polkitpolicy_DATA = \
546 $(polkitpolicy_in_files:.policy.in=.policy) \
547 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
550 $(polkitpolicy_in_files) \
551 $(polkitpolicy_in_in_files)
553 @INTLTOOL_POLICY_RULE@
555 noinst_LTLIBRARIES = \
556 libsystemd-basic.la \
559 libsystemd_basic_la_SOURCES = \
571 libsystemd_basic_la_CFLAGS = \
575 libsystemd_basic_la_LIBADD = \
579 libsystemd_core_la_SOURCES = \
584 src/load-fragment.c \
607 src/dbus-automount.c \
609 src/dbus-snapshot.c \
615 src/hostname-setup.c \
616 src/selinux-setup.c \
617 src/loopback-setup.c \
620 src/machine-id-setup.c \
632 nodist_libsystemd_core_la_SOURCES = \
633 src/load-fragment-gperf.c \
634 src/load-fragment-gperf-nulstr.c
637 src/load-fragment-gperf.gperf.m4
639 libsystemd_core_la_CFLAGS = \
647 libsystemd_core_la_LIBADD = \
648 libsystemd-basic.la \
656 # This is needed because automake is buggy in how it generates the
657 # rules for C programs, but not Vala programs. We therefore can't
658 # list the .h files as dependencies if we want make dist to work.
661 ${libsystemd_basic_la_SOURCES:.c=.h} \
662 ${libsystemd_core_la_SOURCES:.c=.h} \
663 ${libsystemd_daemon_la_SOURCES:.c=.h} \
670 src/linux/auto_dev-ioctl.h \
671 src/linux/fanotify.h \
681 src/readahead-common.h \
682 src/ask-password-api.h \
687 src/logind-device.h \
689 src/logind-session.h \
700 man/systemd-nspawn.1 \
701 man/systemd-tmpfiles.8 \
702 man/systemd-notify.1 \
706 man/sd_listen_fds.3 \
709 man/systemd.service.5 \
710 man/systemd.socket.5 \
711 man/systemd.mount.5 \
712 man/systemd.automount.5 \
714 man/systemd.timer.5 \
716 man/systemd.target.5 \
717 man/systemd.device.5 \
718 man/systemd.snapshot.5 \
729 man/systemd-logind.conf.5 \
733 man/vconsole.conf.5 \
737 man/modules-load.d.5 \
739 man/systemd-ask-password.1 \
740 man/systemd-loginctl.1
751 man/sd_is_socket_unix.3 \
752 man/sd_is_socket_inet.3 \
756 man/reboot.8: man/halt.8
757 man/poweroff.8: man/halt.8
758 man/sd_is_socket.3: man/sd_is_fifo.3
759 man/sd_is_socket_unix.3: man/sd_is_fifo.3
760 man/sd_is_socket_inet.3: man/sd_is_fifo.3
761 man/sd_notifyf.3: man/sd_notify.3
762 man/init.1: man/systemd.1
769 man/systemd.special.7
772 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
775 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
778 ${XML_FILES:.xml=.html}
780 nodist_noinst_DATA = \
781 ${XML_IN_FILES:.xml.in=.html}
786 ${nodist_man_MANS:=.in} \
787 ${XML_IN_FILES:.xml.in=.html.in}
800 test_engine_SOURCES = \
803 test_engine_CFLAGS = $(systemd_CFLAGS)
804 test_engine_LDADD = $(systemd_LDADD)
806 test_job_type_SOURCES = \
809 test_job_type_CFLAGS = $(systemd_CFLAGS)
810 test_job_type_LDADD = $(systemd_LDADD)
815 test_ns_CFLAGS = $(systemd_CFLAGS)
816 test_ns_LDADD = $(systemd_LDADD)
818 test_loopback_SOURCES = \
819 src/test-loopback.c \
822 test_loopback_LDADD = \
825 test_hostname_SOURCES = \
826 src/test-hostname.c \
829 test_hostname_LDADD = \
832 test_daemon_SOURCES = \
835 test_daemon_LDADD = \
836 libsystemd-basic.la \
839 test_cgroup_SOURCES = \
843 test_cgroup_CFLAGS = \
846 test_cgroup_LDADD = \
849 test_env_replace_SOURCES = \
850 src/test-env-replace.c
852 test_env_replace_CFLAGS = \
855 test_env_replace_LDADD = \
858 test_strv_SOURCES = \
868 test_login_SOURCES = \
871 test_login_CFLAGS = \
875 libsystemd-basic.la \
878 test_install_SOURCES = \
884 test_install_CFLAGS = \
888 test_install_LDADD = \
891 systemd_logger_SOURCES = \
895 systemd_logger_LDADD = \
896 libsystemd-basic.la \
897 libsystemd-daemon.la \
900 systemd_initctl_SOURCES = \
904 systemd_initctl_CFLAGS = \
908 systemd_initctl_LDADD = \
909 libsystemd-basic.la \
910 libsystemd-daemon.la \
913 systemd_update_utmp_SOURCES = \
918 systemd_update_utmp_CFLAGS = \
923 systemd_update_utmp_LDADD = \
924 libsystemd-basic.la \
928 systemd_random_seed_SOURCES = \
931 systemd_random_seed_CFLAGS = \
934 systemd_random_seed_LDADD = \
937 systemd_shutdownd_SOURCES = \
941 systemd_shutdownd_CFLAGS = \
944 systemd_shutdownd_LDADD = \
945 libsystemd-basic.la \
948 systemd_hostnamed_SOURCES = \
953 systemd_hostnamed_CFLAGS = \
957 systemd_hostnamed_LDADD = \
958 libsystemd-basic.la \
959 libsystemd-daemon.la \
962 systemd_localed_SOURCES = \
967 systemd_localed_CFLAGS = \
971 systemd_localed_LDADD = \
972 libsystemd-basic.la \
973 libsystemd-daemon.la \
976 systemd_timedated_SOURCES = \
981 systemd_timedated_CFLAGS = \
985 systemd_timedated_LDADD = \
986 libsystemd-basic.la \
987 libsystemd-daemon.la \
990 systemd_logind_SOURCES = \
993 src/logind-device.c \
995 src/logind-seat-dbus.c \
996 src/logind-session.c \
997 src/logind-session-dbus.c \
999 src/logind-user-dbus.c \
1005 nodist_systemd_logind_SOURCES = \
1009 src/logind-gperf.gperf
1011 systemd_logind_CFLAGS = \
1017 systemd_logind_LDADD = \
1018 libsystemd-basic.la \
1019 libsystemd-daemon.la \
1024 systemd_uaccess_SOURCES = \
1028 systemd_logind_SOURCES += \
1031 systemd_uaccess_SOURCES += \
1035 systemd_uaccess_CFLAGS = \
1040 systemd_uaccess_LDADD = \
1041 libsystemd-basic.la \
1042 libsystemd-daemon.la \
1043 libsystemd-login.la \
1047 systemd_shutdown_SOURCES = \
1052 systemd_shutdown_CFLAGS = \
1056 systemd_shutdown_LDADD = \
1057 libsystemd-basic.la \
1060 systemd_modules_load_SOURCES = \
1063 systemd_modules_load_CFLAGS = \
1066 systemd_modules_load_LDADD = \
1069 systemd_tmpfiles_SOURCES = \
1072 systemd_tmpfiles_CFLAGS = \
1075 systemd_tmpfiles_LDADD = \
1078 systemd_machine_id_setup_SOURCES = \
1079 src/machine-id-setup.c \
1080 src/machine-id-main.c
1082 systemd_machine_id_setup_CFLAGS = \
1085 systemd_machine_id_setup_LDADD = \
1088 systemd_sysctl_SOURCES = \
1091 systemd_sysctl_CFLAGS = \
1094 systemd_sysctl_LDADD = \
1097 systemd_binfmt_SOURCES = \
1100 systemd_binfmt_CFLAGS = \
1103 systemd_binfmt_LDADD = \
1106 systemd_fsck_SOURCES = \
1110 systemd_fsck_CFLAGS = \
1115 systemd_fsck_LDADD = \
1116 libsystemd-basic.la \
1120 systemd_quotacheck_SOURCES = \
1123 systemd_quotacheck_CFLAGS = \
1126 systemd_quotacheck_LDADD = \
1129 systemd_timestamp_SOURCES = \
1132 systemd_timestamp_CFLAGS = \
1135 systemd_timestamp_LDADD = \
1138 systemd_ac_power_SOURCES = \
1141 systemd_ac_power_CFLAGS = \
1145 systemd_ac_power_LDADD = \
1146 libsystemd-basic.la \
1149 systemd_detect_virt_SOURCES = \
1152 systemd_detect_virt_CFLAGS = \
1155 systemd_detect_virt_LDADD = \
1158 systemd_cryptsetup_SOURCES = \
1160 src/ask-password-api.c
1162 systemd_cryptsetup_CFLAGS = \
1163 $(LIBCRYPTSETUP_CFLAGS) \
1167 systemd_cryptsetup_LDADD = \
1168 $(LIBCRYPTSETUP_LIBS) \
1172 systemd_cryptsetup_generator_SOURCES = \
1173 src/cryptsetup-generator.c \
1176 systemd_cryptsetup_generator_CFLAGS = \
1179 systemd_cryptsetup_generator_LDADD = \
1182 systemd_getty_generator_SOURCES = \
1183 src/getty-generator.c \
1186 systemd_getty_generator_CFLAGS = \
1189 systemd_getty_generator_LDADD = \
1192 systemd_user_sessions_SOURCES = \
1193 src/user-sessions.c \
1196 systemd_user_sessions_CFLAGS = \
1199 systemd_user_sessions_LDADD = \
1202 systemd_vconsole_setup_SOURCES = \
1203 src/vconsole-setup.c
1205 systemd_vconsole_setup_CFLAGS = \
1208 systemd_vconsole_setup_LDADD = \
1211 systemd_remount_api_vfs_SOURCES = \
1212 src/remount-api-vfs.c \
1216 systemd_remount_api_vfs_CFLAGS = \
1219 systemd_remount_api_vfs_LDADD = \
1222 systemd_cgroups_agent_SOURCES = \
1223 src/cgroups-agent.c \
1226 systemd_cgroups_agent_CFLAGS = \
1230 systemd_cgroups_agent_LDADD = \
1231 libsystemd-basic.la \
1234 systemd_kmsg_syslogd_SOURCES = \
1235 src/kmsg-syslogd.c \
1238 systemd_kmsg_syslogd_CFLAGS = \
1241 systemd_kmsg_syslogd_LDADD = \
1242 libsystemd-basic.la \
1243 libsystemd-daemon.la
1245 systemctl_SOURCES = \
1258 systemctl_CFLAGS = \
1263 libsystemd-basic.la \
1264 libsystemd-daemon.la \
1267 systemd_loginctl_SOURCES = \
1275 systemd_loginctl_CFLAGS = \
1280 systemd_loginctl_LDADD = \
1281 libsystemd-basic.la \
1285 systemd_notify_SOURCES = \
1289 systemd_notify_LDADD = \
1290 libsystemd-basic.la \
1291 libsystemd-daemon.la
1293 systemd_ask_password_SOURCES = \
1294 src/ask-password.c \
1295 src/ask-password-api.c
1297 systemd_ask_password_LDADD = \
1300 systemd_reply_password_SOURCES = \
1301 src/reply-password.c
1303 systemd_reply_password_LDADD = \
1306 systemd_readahead_collect_SOURCES = \
1307 src/readahead-collect.c \
1308 src/readahead-common.c
1310 systemd_readahead_collect_CFLAGS = \
1313 systemd_readahead_collect_LDADD = \
1314 libsystemd-basic.la \
1315 libsystemd-daemon.la \
1318 systemd_readahead_replay_SOURCES = \
1319 src/readahead-replay.c \
1320 src/readahead-common.c
1322 systemd_readahead_replay_CFLAGS = \
1325 systemd_readahead_replay_LDADD = \
1326 libsystemd-basic.la \
1327 libsystemd-daemon.la \
1330 systemd_cgls_SOURCES = \
1336 systemd_cgls_CFLAGS = \
1339 systemd_cgls_LDADD = \
1342 systemd_nspawn_SOURCES = \
1346 systemd_nspawn_CFLAGS = \
1349 systemd_nspawn_LDADD = \
1350 libsystemd-basic.la \
1351 libsystemd-daemon.la
1353 systemd_stdio_bridge_SOURCES = \
1356 systemd_stdio_bridge_LDADD = \
1359 systemadm_SOURCES = \
1360 src/systemadm.vala \
1361 src/systemd-interfaces.vala
1363 systemadm_CFLAGS = \
1366 -Wno-unused-variable \
1367 -Wno-unused-function \
1369 -Wno-format-nonliteral
1371 systemadm_VALAFLAGS = \
1379 systemd_gnome_ask_password_agent_SOURCES = \
1380 src/gnome-ask-password-agent.vala
1382 systemd_gnome_ask_password_agent_CFLAGS = \
1384 $(LIBNOTIFY_CFLAGS) \
1386 -Wno-unused-variable \
1387 -Wno-unused-function \
1389 -Wno-format-nonliteral
1391 systemd_gnome_ask_password_agent_VALAFLAGS = \
1395 --pkg=gio-unix-2.0 \
1398 systemd_gnome_ask_password_agent_VALAFLAGS += \
1401 systemd_gnome_ask_password_agent_VALAFLAGS += \
1404 systemd_gnome_ask_password_agent_LDADD = \
1408 systemd_tty_ask_password_agent_SOURCES = \
1409 src/tty-ask-password-agent.c \
1410 src/ask-password-api.c \
1413 systemd_tty_ask_password_agent_LDADD = \
1416 pam_systemd_la_SOURCES = \
1420 pam_systemd_la_CFLAGS = \
1426 pam_systemd_la_LDFLAGS = \
1431 -export-symbols-regex '^pam_sm_.*'
1433 pam_systemd_la_LIBADD = \
1434 libsystemd-basic.la \
1435 libsystemd-daemon.la \
1439 libsystemd_daemon_la_SOURCES = \
1442 libsystemd_daemon_la_CFLAGS = \
1444 -fvisibility=hidden \
1447 libsystemd_daemon_la_LDFLAGS = \
1449 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1450 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1452 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1453 libsystemd-daemon-install-hook:
1454 if test "$(libdir)" != "$(rootlibdir)"; then \
1455 mkdir -p $(DESTDIR)$(rootlibdir) && \
1456 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1457 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1458 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1459 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1462 libsystemd-daemon-uninstall-hook:
1463 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1465 libsystemd_login_la_SOURCES = \
1469 libsystemd_login_la_CFLAGS = \
1473 libsystemd_login_la_LDFLAGS = \
1475 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1476 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1478 libsystemd_login_la_LIBADD = \
1481 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1482 libsystemd-login-install-hook:
1483 if test "$(libdir)" != "$(rootlibdir)"; then \
1484 mkdir -p $(DESTDIR)$(rootlibdir) && \
1485 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1486 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1487 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1488 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1491 libsystemd-login-uninstall-hook:
1492 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1495 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1496 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1497 -e 's,@rootbindir\@,$(rootbindir),g' \
1498 -e 's,@bindir\@,$(bindir),g' \
1499 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1500 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1501 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1502 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1503 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1504 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1505 -e 's,@userunitdir\@,$(userunitdir),g' \
1506 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1507 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1508 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1509 -e 's,@prefix\@,$(prefix),g' \
1510 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1511 -e 's,@libdir\@,$(libdir),g' \
1512 -e 's,@includedir\@,$(includedir),g' \
1515 units/%: units/%.in Makefile
1518 man/%: man/%.in Makefile
1521 %.pc: %.pc.in Makefile
1524 src/%.policy.in: src/%.policy.in.in Makefile
1527 src/%.rules: src/%.rules.in Makefile
1530 src/%.c: src/%.gperf
1531 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1535 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1536 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1538 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1539 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1540 $(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 $@
1542 M4_PROCESS_SYSTEM = \
1543 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1544 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1547 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1548 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1550 units/%: units/%.m4 Makefile
1551 $(M4_PROCESS_SYSTEM)
1553 units/user/%: units/%.m4 Makefile
1557 $(nodist_systemunit_DATA) \
1558 $(nodist_userunit_DATA) \
1559 $(nodist_man_MANS) \
1560 ${XML_IN_FILES:.xml.in=.html} \
1561 $(pkgconfigdata_DATA) \
1562 $(pkgconfiglib_DATA) \
1563 $(nodist_polkitpolicy_DATA) \
1564 src/73-seat-late.rules \
1565 src/99-systemd.rules \
1566 src/load-fragment-gperf.gperf \
1567 src/load-fragment-gperf.c \
1568 src/load-fragment-gperf-nulstr.c \
1573 ${systemadm_SOURCES:.vala=.c}
1579 --param funcsynopsis.style "'ansi'"
1581 XSLTPROC_PROCESS_MAN = \
1582 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1583 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1585 XSLTPROC_PROCESS_MAN_IN = \
1586 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1587 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1590 XSLTPROC_PROCESS_HTML = \
1591 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1592 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1594 XSLTPROC_PROCESS_HTML_IN = \
1595 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1596 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1600 $(XSLTPROC_PROCESS_MAN)
1602 man/%.1.in: man/%.xml.in
1603 $(XSLTPROC_PROCESS_MAN)
1606 $(XSLTPROC_PROCESS_MAN)
1608 man/%.3.in: man/%.xml.in
1609 $(XSLTPROC_PROCESS_MAN)
1612 $(XSLTPROC_PROCESS_MAN)
1614 man/%.5.in: man/%.xml.in
1615 $(XSLTPROC_PROCESS_MAN)
1618 $(XSLTPROC_PROCESS_MAN)
1620 man/%.7.in: man/%.xml.in
1621 $(XSLTPROC_PROCESS_MAN_IN)
1624 $(XSLTPROC_PROCESS_MAN)
1626 man/%.8.in: man/%.xml.in
1627 $(XSLTPROC_PROCESS_MAN_IN)
1629 man/%.html: man/%.xml
1630 $(XSLTPROC_PROCESS_HTML)
1632 man/%.html.in: man/%.xml.in
1633 $(XSLTPROC_PROCESS_HTML_IN)
1637 ${nodist_man_MANS:=.in} \
1638 ${XML_FILES:.xml=.html} \
1639 ${XML_IN_FILES:.xml.in=.html.in}
1642 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1644 org.freedesktop.systemd1.%.xml: systemd
1645 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1646 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1647 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1649 org.freedesktop.hostname1.xml: systemd-hostnamed
1650 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1651 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1652 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1654 org.freedesktop.locale1.xml: systemd-localed
1655 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1656 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1657 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1659 org.freedesktop.timedate1.xml: systemd-timedated
1660 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1661 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1662 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1665 $(dbusinterface_DATA)
1668 $(MKDIR_P) -m 0755 \
1669 $(DESTDIR)$(tmpfilesdir) \
1670 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1671 $(DESTDIR)$(prefix)/lib/modules-load.d \
1672 $(DESTDIR)$(sysconfdir)/modules-load.d \
1673 $(DESTDIR)$(prefix)/lib/sysctl.d \
1674 $(DESTDIR)$(sysconfdir)/sysctl.d \
1675 $(DESTDIR)$(systemshutdowndir) \
1676 $(DESTDIR)$(systemgeneratordir) \
1677 $(DESTDIR)$(usergeneratordir)
1679 $(MKDIR_P) -m 0755 \
1680 $(DESTDIR)$(prefix)/lib/binfmt.d \
1681 $(DESTDIR)$(sysconfdir)/binfmt.d
1683 $(MKDIR_P) -m 0755 \
1684 $(DESTDIR)$(systemunitdir) \
1685 $(DESTDIR)$(userunitdir) \
1686 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1687 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1688 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1689 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1690 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1691 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1692 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1693 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1694 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1695 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1696 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1697 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1698 $(DESTDIR)$(pkgsysconfdir)/system \
1699 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1700 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1701 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1702 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1703 $(DESTDIR)$(pkgsysconfdir)/user \
1704 $(DESTDIR)$(dbussessionservicedir) \
1705 $(DESTDIR)$(sysconfdir)/xdg/systemd
1706 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1708 $(LN_S) $(pkgsysconfdir)/user user )
1709 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1710 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1711 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1712 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1713 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1714 $(LN_S) ../syslog.socket syslog.socket )
1715 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1716 rm -f systemd-update-utmp-runlevel.service && \
1717 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1718 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1719 rm -f systemd-update-utmp-runlevel.service && \
1720 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1721 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1722 rm -f systemd-update-utmp-runlevel.service && \
1723 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1724 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1725 rm -f systemd-update-utmp-runlevel.service && \
1726 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1727 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1728 rm -f systemd-update-utmp-runlevel.service && \
1729 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1730 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1731 rm -f systemd-update-utmp-shutdown.service \
1732 systemd-random-seed-save.service && \
1733 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1734 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1735 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1736 rm -f systemd-remount-api-vfs.service \
1738 remount-rootfs.service \
1741 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1742 $(LN_S) ../fsck-root.service fsck-root.service && \
1743 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1744 $(LN_S) ../var-run.mount var-run.mount && \
1745 $(LN_S) ../media.mount media.mount )
1746 ( cd $(DESTDIR)$(userunitdir) && \
1747 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1748 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1749 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1750 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1751 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1752 $(LN_S) $(systemunitdir)/sound.target sound.target )
1753 ( cd $(DESTDIR)$(systemunitdir) && \
1754 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1755 $(LN_S) poweroff.target runlevel0.target && \
1756 $(LN_S) rescue.target runlevel1.target && \
1757 $(LN_S) multi-user.target runlevel2.target && \
1758 $(LN_S) multi-user.target runlevel3.target && \
1759 $(LN_S) multi-user.target runlevel4.target && \
1760 $(LN_S) graphical.target runlevel5.target && \
1761 $(LN_S) reboot.target runlevel6.target )
1762 ( cd $(DESTDIR)$(systemunitdir) && \
1763 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.timedate1.service dbus-org.freedesktop.login1.service autovt@.service && \
1764 $(LN_S) graphical.target default.target && \
1765 $(LN_S) reboot.target ctrl-alt-del.target && \
1766 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1767 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1768 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1769 $(LN_S) getty@.service autovt@.service )
1770 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1771 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1772 $(LN_S) ../getty.target getty.target && \
1773 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1774 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1775 $(LN_S) ../systemd-logind.service systemd-logind.service )
1776 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1777 rm -f getty@tty1.service && \
1778 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1779 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1780 rm -f remote-fs.target && \
1781 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1782 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1783 rm -f dev-hugepages.automount \
1784 dev-mqueue.automount \
1785 sys-kernel-debug.automount \
1786 sys-kernel-security.automount \
1787 systemd-vconsole-setup.service \
1788 systemd-modules-load.service \
1789 systemd-random-seed-load.service \
1790 systemd-tmpfiles-setup.service \
1791 systemd-sysctl.service \
1792 systemd-ask-password-console.path \
1793 systemd-kmsg-syslogd.service \
1794 cryptsetup.target && \
1795 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1796 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1797 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1798 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1799 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1800 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1801 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1802 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1803 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1804 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1805 $(LN_S) ../systemd-kmsg-syslogd.service && \
1806 $(LN_S) ../cryptsetup.target cryptsetup.target )
1808 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1809 rm -f systemd-binfmt.service \
1810 proc-sys-fs-binfmt_misc.automount && \
1811 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1812 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1815 ( cd $(DESTDIR)$(systemunitdir) && \
1816 rm -f dbus-org.freedesktop.hostname1.service && \
1817 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1819 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1820 rm -f systemd-tmpfiles-clean.timer && \
1821 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1822 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1823 rm -f org.freedesktop.systemd1.service && \
1824 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1826 $(MKDIR_P) -m 0755 \
1827 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1828 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1829 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1830 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1831 $(DESTDIR)$(systemunitdir)/halt.target.wants
1832 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1833 rm -f plymouth-start.service plymouth-read-write.service && \
1834 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1835 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1836 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1837 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1838 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1839 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1840 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1841 rm -f plymouth-reboot.service && \
1842 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1843 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1844 rm -f plymouth-kexec.service && \
1845 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1846 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1847 rm -f plymouth-poweroff.service && \
1848 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1849 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1850 rm -f plymouth-halt.service && \
1851 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1854 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1855 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1856 rm -f network.target && \
1857 $(LN_S) $(systemunitdir)/network.target network.target )
1858 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1860 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1862 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1864 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1869 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1870 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1871 rm -f rc-local.service && \
1872 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1873 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1874 rm -f halt-local.service && \
1875 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1876 ( cd $(DESTDIR)$(systemunitdir) && \
1877 rm -f display-manager.service single.service && \
1878 $(LN_S) prefdm.service display-manager.service && \
1879 $(LN_S) rescue.service single.service )
1880 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1881 rm -f display-manager.service && \
1882 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1886 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1887 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1888 rm -f rc-local.service && \
1889 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1890 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1891 rm -f halt-local.service && \
1892 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1893 ( cd $(DESTDIR)$(systemunitdir) && \
1894 rm -f display-manager.service dm.service single.service && \
1895 $(LN_S) prefdm.service display-manager.service && \
1896 $(LN_S) prefdm.service dm.service && \
1897 $(LN_S) rescue.service single.service )
1898 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1899 rm -f display-manager.service && \
1900 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1903 if TARGET_DEBIAN_OR_UBUNTU
1904 ( cd $(DESTDIR)$(systemunitdir) && \
1905 rm -f runlevel5.target && \
1906 $(LN_S) multi-user.target runlevel5.target )
1910 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1911 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1912 rm -f rc-local.service && \
1913 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1914 ( cd $(DESTDIR)$(systemunitdir) && \
1915 rm -f local.service && \
1916 $(LN_S) rc-local.service local.service )
1917 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1918 rm -f halt-local.service && \
1919 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1923 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1924 rm -f var-lock.mount && \
1925 $(LN_S) ../var-lock.mount var-lock.mount )
1928 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1930 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1932 DISTCHECK_CONFIGURE_FLAGS = \
1933 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1934 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1935 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1936 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1937 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1938 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1939 --with-rootdir=$$dc_install_base/$(rootdir)
1941 upload: all distcheck
1942 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1943 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1944 scp man/*.html tango:public/systemd-man/
1947 git tag "v$(VERSION)" -m "systemd $(VERSION)"