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 \
179 rootlibexec_PROGRAMS += \
184 rootlibexec_PROGRAMS += \
189 rootlibexec_PROGRAMS += \
193 systemgenerator_PROGRAMS = \
194 systemd-getty-generator
196 if HAVE_LIBCRYPTSETUP
197 rootlibexec_PROGRAMS += \
200 systemgenerator_PROGRAMS += \
201 systemd-cryptsetup-generator
205 libsystemd-daemon.la \
208 pkginclude_HEADERS = \
226 pamlib_LTLIBRARIES = \
230 dist_pkgsysconf_DATA = \
233 src/systemd-logind.conf
235 dist_dbuspolicy_DATA = \
236 src/org.freedesktop.systemd1.conf \
237 src/org.freedesktop.locale1.conf \
238 src/org.freedesktop.login1.conf
241 dist_dbuspolicy_DATA += \
242 src/org.freedesktop.hostname1.conf
246 dist_dbuspolicy_DATA += \
247 src/org.freedesktop.timedate1.conf
250 dist_dbussystemservice_DATA = \
251 src/org.freedesktop.systemd1.service \
252 src/org.freedesktop.locale1.service \
253 src/org.freedesktop.login1.service
256 dist_dbussystemservice_DATA += \
257 src/org.freedesktop.hostname1.service
261 dist_dbussystemservice_DATA += \
262 src/org.freedesktop.timedate1.service
265 dist_udevrules_DATA = \
266 src/70-uaccess.rules \
269 nodist_udevrules_DATA = \
270 src/73-seat-late.rules \
273 dbusinterface_DATA = \
274 org.freedesktop.systemd1.Manager.xml \
275 org.freedesktop.systemd1.Job.xml \
276 org.freedesktop.systemd1.Unit.xml \
277 org.freedesktop.systemd1.Service.xml \
278 org.freedesktop.systemd1.Socket.xml \
279 org.freedesktop.systemd1.Timer.xml \
280 org.freedesktop.systemd1.Target.xml \
281 org.freedesktop.systemd1.Device.xml \
282 org.freedesktop.systemd1.Mount.xml \
283 org.freedesktop.systemd1.Automount.xml \
284 org.freedesktop.systemd1.Snapshot.xml \
285 org.freedesktop.systemd1.Swap.xml \
286 org.freedesktop.systemd1.Path.xml \
287 org.freedesktop.locale1.xml
290 dbusinterface_DATA += \
291 org.freedesktop.hostname1.xml
295 dbusinterface_DATA += \
296 org.freedesktop.timedate1.xml
299 dist_bashcompletion_DATA = \
300 src/systemctl-bash-completion.sh
302 dist_tmpfiles_DATA = \
303 tmpfiles.d/systemd.conf \
307 dist_tmpfiles_DATA += \
308 tmpfiles.d/legacy.conf
311 dist_systemunit_DATA = \
312 units/graphical.target \
313 units/multi-user.target \
314 units/emergency.service \
315 units/emergency.target \
316 units/sysinit.target \
321 units/local-fs.target \
322 units/remote-fs.target \
323 units/cryptsetup.target \
324 units/network.target \
325 units/nss-lookup.target \
326 units/mail-transfer-agent.target \
327 units/http-daemon.target \
328 units/poweroff.target \
329 units/reboot.target \
330 units/rescue.target \
331 units/rpcbind.target \
332 units/time-sync.target \
333 units/shutdown.target \
335 units/umount.target \
336 units/sigpwr.target \
337 units/sockets.target \
339 units/systemd-initctl.socket \
340 units/systemd-logger.socket \
341 units/systemd-shutdownd.socket \
342 units/syslog.socket \
343 units/dev-hugepages.automount \
344 units/dev-hugepages.mount \
345 units/dev-mqueue.automount \
346 units/dev-mqueue.mount \
347 units/sys-kernel-debug.automount \
348 units/sys-kernel-debug.mount \
349 units/sys-kernel-security.automount \
350 units/sys-kernel-security.mount \
351 units/var-run.mount \
353 units/remount-rootfs.service \
354 units/printer.target \
356 units/bluetooth.target \
357 units/smartcard.target \
358 units/systemd-readahead-done.timer \
359 units/systemd-tmpfiles-clean.timer \
360 units/quotaon.service \
361 units/systemd-ask-password-wall.path \
362 units/systemd-ask-password-console.path \
366 dist_systemunit_DATA += \
371 dist_systemunit_DATA += \
372 units/proc-sys-fs-binfmt_misc.automount \
373 units/proc-sys-fs-binfmt_misc.mount
376 nodist_systemunit_DATA = \
377 units/getty@.service \
378 units/serial-getty@.service \
379 units/console-shell.service \
380 units/systemd-initctl.service \
381 units/systemd-logger.service \
382 units/systemd-shutdownd.service \
383 units/systemd-localed.service \
384 units/systemd-logind.service \
385 units/systemd-kmsg-syslogd.service \
386 units/systemd-modules-load.service \
387 units/systemd-vconsole-setup.service \
388 units/systemd-remount-api-vfs.service \
389 units/systemd-update-utmp-runlevel.service \
390 units/systemd-update-utmp-shutdown.service \
391 units/systemd-random-seed-save.service \
392 units/systemd-random-seed-load.service \
393 units/systemd-readahead-collect.service \
394 units/systemd-readahead-replay.service \
395 units/systemd-readahead-done.service \
396 units/systemd-tmpfiles-setup.service \
397 units/systemd-tmpfiles-clean.service \
398 units/systemd-user-sessions.service \
399 units/systemd-ask-password-wall.service \
400 units/systemd-ask-password-console.service \
401 units/systemd-sysctl.service \
403 units/poweroff.service \
404 units/reboot.service \
405 units/kexec.service \
406 units/fsck@.service \
407 units/fsck-root.service \
408 units/quotacheck.service \
409 units/rescue.service \
413 nodist_systemunit_DATA += \
414 units/systemd-binfmt.service
418 nodist_systemunit_DATA += \
419 units/systemd-hostnamed.service
423 nodist_systemunit_DATA += \
424 units/systemd-timedated.service
427 dist_userunit_DATA = \
428 units/user/default.target \
429 units/user/exit.target
431 nodist_userunit_DATA = \
432 units/user/exit.service
435 units/getty@.service.m4 \
436 units/serial-getty@.service.m4 \
437 units/console-shell.service.m4 \
438 units/rescue.service.m4 \
439 units/systemd-initctl.service.in \
440 units/systemd-logger.service.in \
441 units/systemd-shutdownd.service.in \
442 units/systemd-localed.service.in \
443 units/systemd-logind.service.in \
444 units/systemd-kmsg-syslogd.service.in \
445 units/systemd-modules-load.service.in \
446 units/systemd-vconsole-setup.service.in \
447 units/systemd-remount-api-vfs.service.in \
448 units/systemd-update-utmp-runlevel.service.in \
449 units/systemd-update-utmp-shutdown.service.in \
450 units/systemd-random-seed-save.service.in \
451 units/systemd-random-seed-load.service.in \
452 units/systemd-readahead-collect.service.in \
453 units/systemd-readahead-replay.service.in \
454 units/systemd-readahead-done.service.in \
455 units/systemd-tmpfiles-setup.service.in \
456 units/systemd-tmpfiles-clean.service.in \
457 units/systemd-user-sessions.service.in \
458 units/systemd-ask-password-wall.service.in \
459 units/systemd-ask-password-console.service.in \
460 units/systemd-sysctl.service.in \
461 units/halt.service.in \
462 units/poweroff.service.in \
463 units/reboot.service.in \
464 units/kexec.service.in \
465 units/user/exit.service.in \
466 units/fsck@.service.in \
467 units/fsck-root.service.in \
468 units/quotacheck.service.in \
469 units/user@.service.in \
471 libsystemd-daemon.pc.in \
472 libsystemd-login.pc.in \
473 src/libsystemd-daemon.sym \
474 src/libsystemd-login.sym \
476 src/73-seat-late.rules.in \
477 src/99-systemd.rules.in
481 units/systemd-binfmt.service.in
486 units/systemd-hostnamed.service.in
491 units/systemd-timedated.service.in
495 dist_systemunit_DATA += \
496 units/fedora/prefdm.service \
497 units/fedora/rc-local.service \
498 units/fedora/halt-local.service
502 dist_systemunit_DATA += \
503 units/mandriva/prefdm.service \
504 units/fedora/rc-local.service \
505 units/fedora/halt-local.service
509 dist_systemunit_DATA += \
510 units/frugalware/display-manager.service
514 dist_systemunit_DATA += \
515 units/suse/rc-local.service \
516 units/suse/halt-local.service
520 dist_systemunit_DATA += \
521 units/plymouth-start.service \
522 units/plymouth-read-write.service \
523 units/plymouth-quit.service \
524 units/plymouth-quit-wait.service \
525 units/plymouth-reboot.service \
526 units/plymouth-kexec.service \
527 units/plymouth-poweroff.service \
528 units/plymouth-halt.service \
529 units/systemd-ask-password-plymouth.path
531 nodist_systemunit_DATA += \
532 units/systemd-ask-password-plymouth.service
535 units/systemd-ask-password-plymouth.service.in
547 pkgconfigdata_DATA = \
550 pkgconfiglib_DATA = \
551 libsystemd-daemon.pc \
554 # Passed through intltool only
555 polkitpolicy_in_files = \
556 src/org.freedesktop.locale1.policy.in \
557 src/org.freedesktop.login1.policy.in
560 polkitpolicy_in_files += \
561 src/org.freedesktop.hostname1.policy.in
565 polkitpolicy_in_files += \
566 src/org.freedesktop.timedate1.policy.in
569 # First passed through sed, followed by intltool
570 polkitpolicy_in_in_files = \
571 src/org.freedesktop.systemd1.policy.in.in
573 nodist_polkitpolicy_DATA = \
574 $(polkitpolicy_in_files:.policy.in=.policy) \
575 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
578 $(polkitpolicy_in_files) \
579 $(polkitpolicy_in_in_files)
581 @INTLTOOL_POLICY_RULE@
583 noinst_LTLIBRARIES = \
584 libsystemd-basic.la \
587 libsystemd_basic_la_SOURCES = \
599 libsystemd_basic_la_CFLAGS = \
603 libsystemd_basic_la_LIBADD = \
607 libsystemd_core_la_SOURCES = \
612 src/load-fragment.c \
635 src/dbus-automount.c \
637 src/dbus-snapshot.c \
643 src/hostname-setup.c \
644 src/selinux-setup.c \
645 src/loopback-setup.c \
648 src/machine-id-setup.c \
661 nodist_libsystemd_core_la_SOURCES = \
662 src/load-fragment-gperf.c \
663 src/load-fragment-gperf-nulstr.c
666 src/load-fragment-gperf.gperf.m4
668 libsystemd_core_la_CFLAGS = \
676 libsystemd_core_la_LIBADD = \
677 libsystemd-basic.la \
685 # This is needed because automake is buggy in how it generates the
686 # rules for C programs, but not Vala programs. We therefore can't
687 # list the .h files as dependencies if we want make dist to work.
690 ${libsystemd_basic_la_SOURCES:.c=.h} \
691 ${libsystemd_core_la_SOURCES:.c=.h} \
692 ${libsystemd_daemon_la_SOURCES:.c=.h} \
699 src/linux/auto_dev-ioctl.h \
700 src/linux/fanotify.h \
710 src/readahead-common.h \
711 src/ask-password-api.h \
716 src/logind-device.h \
718 src/logind-session.h \
729 man/systemd-nspawn.1 \
730 man/systemd-tmpfiles.8 \
731 man/systemd-notify.1 \
735 man/sd_listen_fds.3 \
738 man/systemd.service.5 \
739 man/systemd.socket.5 \
740 man/systemd.mount.5 \
741 man/systemd.automount.5 \
743 man/systemd.timer.5 \
745 man/systemd.target.5 \
746 man/systemd.device.5 \
747 man/systemd.snapshot.5 \
758 man/systemd-logind.conf.5 \
762 man/vconsole.conf.5 \
766 man/modules-load.d.5 \
768 man/systemd-ask-password.1 \
769 man/systemd-loginctl.1
780 man/sd_is_socket_unix.3 \
781 man/sd_is_socket_inet.3 \
785 man/reboot.8: man/halt.8
786 man/poweroff.8: man/halt.8
787 man/sd_is_socket.3: man/sd_is_fifo.3
788 man/sd_is_socket_unix.3: man/sd_is_fifo.3
789 man/sd_is_socket_inet.3: man/sd_is_fifo.3
790 man/sd_notifyf.3: man/sd_notify.3
791 man/init.1: man/systemd.1
798 man/systemd.special.7
801 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
804 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
807 ${XML_FILES:.xml=.html}
809 nodist_noinst_DATA = \
810 ${XML_IN_FILES:.xml.in=.html}
815 ${nodist_man_MANS:=.in} \
816 ${XML_IN_FILES:.xml.in=.html.in}
829 test_engine_SOURCES = \
832 test_engine_CFLAGS = $(systemd_CFLAGS)
833 test_engine_LDADD = $(systemd_LDADD)
835 test_job_type_SOURCES = \
838 test_job_type_CFLAGS = $(systemd_CFLAGS)
839 test_job_type_LDADD = $(systemd_LDADD)
844 test_ns_CFLAGS = $(systemd_CFLAGS)
845 test_ns_LDADD = $(systemd_LDADD)
847 test_loopback_SOURCES = \
848 src/test-loopback.c \
851 test_loopback_LDADD = \
854 test_hostname_SOURCES = \
855 src/test-hostname.c \
858 test_hostname_LDADD = \
861 test_daemon_SOURCES = \
864 test_daemon_LDADD = \
865 libsystemd-basic.la \
868 test_cgroup_SOURCES = \
872 test_cgroup_CFLAGS = \
875 test_cgroup_LDADD = \
878 test_env_replace_SOURCES = \
879 src/test-env-replace.c
881 test_env_replace_CFLAGS = \
884 test_env_replace_LDADD = \
887 test_strv_SOURCES = \
897 test_login_SOURCES = \
900 test_login_CFLAGS = \
904 libsystemd-basic.la \
907 test_install_SOURCES = \
913 test_install_CFLAGS = \
917 test_install_LDADD = \
920 systemd_logger_SOURCES = \
924 systemd_logger_LDADD = \
925 libsystemd-basic.la \
926 libsystemd-daemon.la \
929 systemd_initctl_SOURCES = \
933 systemd_initctl_CFLAGS = \
937 systemd_initctl_LDADD = \
938 libsystemd-basic.la \
939 libsystemd-daemon.la \
942 systemd_update_utmp_SOURCES = \
947 systemd_update_utmp_CFLAGS = \
952 systemd_update_utmp_LDADD = \
953 libsystemd-basic.la \
957 systemd_random_seed_SOURCES = \
960 systemd_random_seed_CFLAGS = \
963 systemd_random_seed_LDADD = \
966 systemd_shutdownd_SOURCES = \
970 systemd_shutdownd_CFLAGS = \
973 systemd_shutdownd_LDADD = \
974 libsystemd-basic.la \
977 systemd_hostnamed_SOURCES = \
982 systemd_hostnamed_CFLAGS = \
986 systemd_hostnamed_LDADD = \
987 libsystemd-basic.la \
988 libsystemd-daemon.la \
991 systemd_localed_SOURCES = \
996 systemd_localed_CFLAGS = \
1000 systemd_localed_LDADD = \
1001 libsystemd-basic.la \
1002 libsystemd-daemon.la \
1005 systemd_timedated_SOURCES = \
1010 systemd_timedated_CFLAGS = \
1014 systemd_timedated_LDADD = \
1015 libsystemd-basic.la \
1016 libsystemd-daemon.la \
1019 systemd_logind_SOURCES = \
1022 src/logind-device.c \
1024 src/logind-seat-dbus.c \
1025 src/logind-session.c \
1026 src/logind-session-dbus.c \
1028 src/logind-user-dbus.c \
1034 nodist_systemd_logind_SOURCES = \
1038 src/logind-gperf.gperf
1040 systemd_logind_CFLAGS = \
1046 systemd_logind_LDADD = \
1047 libsystemd-basic.la \
1048 libsystemd-daemon.la \
1053 systemd_uaccess_SOURCES = \
1057 systemd_logind_SOURCES += \
1060 systemd_uaccess_SOURCES += \
1064 systemd_uaccess_CFLAGS = \
1069 systemd_uaccess_LDADD = \
1070 libsystemd-basic.la \
1071 libsystemd-daemon.la \
1072 libsystemd-login.la \
1076 systemd_shutdown_SOURCES = \
1081 systemd_shutdown_CFLAGS = \
1085 systemd_shutdown_LDADD = \
1086 libsystemd-basic.la \
1089 systemd_modules_load_SOURCES = \
1092 systemd_modules_load_CFLAGS = \
1095 systemd_modules_load_LDADD = \
1098 systemd_tmpfiles_SOURCES = \
1101 systemd_tmpfiles_CFLAGS = \
1104 systemd_tmpfiles_LDADD = \
1107 systemd_machine_id_setup_SOURCES = \
1108 src/machine-id-setup.c \
1109 src/machine-id-main.c
1111 systemd_machine_id_setup_CFLAGS = \
1114 systemd_machine_id_setup_LDADD = \
1117 systemd_sysctl_SOURCES = \
1120 systemd_sysctl_CFLAGS = \
1123 systemd_sysctl_LDADD = \
1126 systemd_binfmt_SOURCES = \
1129 systemd_binfmt_CFLAGS = \
1132 systemd_binfmt_LDADD = \
1135 systemd_fsck_SOURCES = \
1139 systemd_fsck_CFLAGS = \
1144 systemd_fsck_LDADD = \
1145 libsystemd-basic.la \
1149 systemd_quotacheck_SOURCES = \
1152 systemd_quotacheck_CFLAGS = \
1155 systemd_quotacheck_LDADD = \
1158 systemd_timestamp_SOURCES = \
1161 systemd_timestamp_CFLAGS = \
1164 systemd_timestamp_LDADD = \
1167 systemd_ac_power_SOURCES = \
1170 systemd_ac_power_CFLAGS = \
1174 systemd_ac_power_LDADD = \
1175 libsystemd-basic.la \
1178 systemd_detect_virt_SOURCES = \
1181 systemd_detect_virt_CFLAGS = \
1184 systemd_detect_virt_LDADD = \
1187 systemd_cryptsetup_SOURCES = \
1189 src/ask-password-api.c
1191 systemd_cryptsetup_CFLAGS = \
1192 $(LIBCRYPTSETUP_CFLAGS) \
1196 systemd_cryptsetup_LDADD = \
1197 $(LIBCRYPTSETUP_LIBS) \
1201 systemd_cryptsetup_generator_SOURCES = \
1202 src/cryptsetup-generator.c \
1205 systemd_cryptsetup_generator_CFLAGS = \
1208 systemd_cryptsetup_generator_LDADD = \
1211 systemd_getty_generator_SOURCES = \
1212 src/getty-generator.c \
1215 systemd_getty_generator_CFLAGS = \
1218 systemd_getty_generator_LDADD = \
1221 systemd_user_sessions_SOURCES = \
1222 src/user-sessions.c \
1225 systemd_user_sessions_CFLAGS = \
1228 systemd_user_sessions_LDADD = \
1231 systemd_vconsole_setup_SOURCES = \
1232 src/vconsole-setup.c
1234 systemd_vconsole_setup_CFLAGS = \
1237 systemd_vconsole_setup_LDADD = \
1240 systemd_remount_api_vfs_SOURCES = \
1241 src/remount-api-vfs.c \
1245 systemd_remount_api_vfs_CFLAGS = \
1248 systemd_remount_api_vfs_LDADD = \
1251 systemd_cgroups_agent_SOURCES = \
1252 src/cgroups-agent.c \
1255 systemd_cgroups_agent_CFLAGS = \
1259 systemd_cgroups_agent_LDADD = \
1260 libsystemd-basic.la \
1263 systemd_kmsg_syslogd_SOURCES = \
1264 src/kmsg-syslogd.c \
1267 systemd_kmsg_syslogd_CFLAGS = \
1270 systemd_kmsg_syslogd_LDADD = \
1271 libsystemd-basic.la \
1272 libsystemd-daemon.la
1274 systemctl_SOURCES = \
1287 systemctl_CFLAGS = \
1292 libsystemd-basic.la \
1293 libsystemd-daemon.la \
1296 systemd_loginctl_SOURCES = \
1304 systemd_loginctl_CFLAGS = \
1309 systemd_loginctl_LDADD = \
1310 libsystemd-basic.la \
1314 systemd_notify_SOURCES = \
1318 systemd_notify_LDADD = \
1319 libsystemd-basic.la \
1320 libsystemd-daemon.la
1322 systemd_ask_password_SOURCES = \
1323 src/ask-password.c \
1324 src/ask-password-api.c
1326 systemd_ask_password_LDADD = \
1329 systemd_reply_password_SOURCES = \
1330 src/reply-password.c
1332 systemd_reply_password_LDADD = \
1335 systemd_readahead_collect_SOURCES = \
1336 src/readahead-collect.c \
1337 src/readahead-common.c
1339 systemd_readahead_collect_CFLAGS = \
1342 systemd_readahead_collect_LDADD = \
1343 libsystemd-basic.la \
1344 libsystemd-daemon.la \
1347 systemd_readahead_replay_SOURCES = \
1348 src/readahead-replay.c \
1349 src/readahead-common.c
1351 systemd_readahead_replay_CFLAGS = \
1354 systemd_readahead_replay_LDADD = \
1355 libsystemd-basic.la \
1356 libsystemd-daemon.la \
1359 systemd_cgls_SOURCES = \
1365 systemd_cgls_CFLAGS = \
1368 systemd_cgls_LDADD = \
1371 systemd_nspawn_SOURCES = \
1374 src/loopback-setup.c
1376 systemd_nspawn_CFLAGS = \
1379 systemd_nspawn_LDADD = \
1380 libsystemd-basic.la \
1381 libsystemd-daemon.la
1383 systemd_stdio_bridge_SOURCES = \
1386 systemd_stdio_bridge_LDADD = \
1389 systemadm_SOURCES = \
1390 src/systemadm.vala \
1391 src/systemd-interfaces.vala
1393 systemadm_CFLAGS = \
1396 -Wno-unused-variable \
1397 -Wno-unused-function \
1399 -Wno-format-nonliteral
1401 systemadm_VALAFLAGS = \
1409 systemd_gnome_ask_password_agent_SOURCES = \
1410 src/gnome-ask-password-agent.vala
1412 systemd_gnome_ask_password_agent_CFLAGS = \
1414 $(LIBNOTIFY_CFLAGS) \
1416 -Wno-unused-variable \
1417 -Wno-unused-function \
1419 -Wno-format-nonliteral
1421 systemd_gnome_ask_password_agent_VALAFLAGS = \
1425 --pkg=gio-unix-2.0 \
1428 systemd_gnome_ask_password_agent_VALAFLAGS += \
1431 systemd_gnome_ask_password_agent_VALAFLAGS += \
1434 systemd_gnome_ask_password_agent_LDADD = \
1438 systemd_tty_ask_password_agent_SOURCES = \
1439 src/tty-ask-password-agent.c \
1440 src/ask-password-api.c \
1443 systemd_tty_ask_password_agent_LDADD = \
1446 pam_systemd_la_SOURCES = \
1450 pam_systemd_la_CFLAGS = \
1456 pam_systemd_la_LDFLAGS = \
1461 -export-symbols-regex '^pam_sm_.*'
1463 pam_systemd_la_LIBADD = \
1464 libsystemd-basic.la \
1465 libsystemd-daemon.la \
1469 libsystemd_daemon_la_SOURCES = \
1472 libsystemd_daemon_la_CFLAGS = \
1474 -fvisibility=hidden \
1477 libsystemd_daemon_la_LDFLAGS = \
1479 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1480 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1482 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1483 libsystemd-daemon-install-hook:
1484 if test "$(libdir)" != "$(rootlibdir)"; then \
1485 mkdir -p $(DESTDIR)$(rootlibdir) && \
1486 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1487 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1488 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1489 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1492 libsystemd-daemon-uninstall-hook:
1493 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1495 libsystemd_login_la_SOURCES = \
1499 libsystemd_login_la_CFLAGS = \
1503 libsystemd_login_la_LDFLAGS = \
1505 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1506 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1508 libsystemd_login_la_LIBADD = \
1511 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1512 libsystemd-login-install-hook:
1513 if test "$(libdir)" != "$(rootlibdir)"; then \
1514 mkdir -p $(DESTDIR)$(rootlibdir) && \
1515 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.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-login.so && \
1518 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1521 libsystemd-login-uninstall-hook:
1522 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1525 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1526 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1527 -e 's,@rootbindir\@,$(rootbindir),g' \
1528 -e 's,@bindir\@,$(bindir),g' \
1529 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1530 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1531 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1532 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1533 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1534 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1535 -e 's,@userunitdir\@,$(userunitdir),g' \
1536 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1537 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1538 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1539 -e 's,@prefix\@,$(prefix),g' \
1540 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1541 -e 's,@libdir\@,$(libdir),g' \
1542 -e 's,@includedir\@,$(includedir),g' \
1545 units/%: units/%.in Makefile
1548 man/%: man/%.in Makefile
1551 %.pc: %.pc.in Makefile
1554 src/%.policy.in: src/%.policy.in.in Makefile
1557 src/%.rules: src/%.rules.in Makefile
1560 src/%.c: src/%.gperf
1561 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1565 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1566 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1568 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1569 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1570 $(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 $@
1572 M4_PROCESS_SYSTEM = \
1573 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1574 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1577 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1578 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1580 units/%: units/%.m4 Makefile
1581 $(M4_PROCESS_SYSTEM)
1583 units/user/%: units/%.m4 Makefile
1587 $(nodist_systemunit_DATA) \
1588 $(nodist_userunit_DATA) \
1589 $(nodist_man_MANS) \
1590 ${XML_IN_FILES:.xml.in=.html} \
1591 $(pkgconfigdata_DATA) \
1592 $(pkgconfiglib_DATA) \
1593 $(nodist_polkitpolicy_DATA) \
1594 src/73-seat-late.rules \
1595 src/99-systemd.rules \
1596 src/load-fragment-gperf.gperf \
1597 src/load-fragment-gperf.c \
1598 src/load-fragment-gperf-nulstr.c \
1603 ${systemadm_SOURCES:.vala=.c}
1609 --param funcsynopsis.style "'ansi'"
1611 XSLTPROC_PROCESS_MAN = \
1612 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1613 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1615 XSLTPROC_PROCESS_MAN_IN = \
1616 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1617 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1620 XSLTPROC_PROCESS_HTML = \
1621 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1622 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1624 XSLTPROC_PROCESS_HTML_IN = \
1625 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1626 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1630 $(XSLTPROC_PROCESS_MAN)
1632 man/%.1.in: man/%.xml.in
1633 $(XSLTPROC_PROCESS_MAN)
1636 $(XSLTPROC_PROCESS_MAN)
1638 man/%.3.in: man/%.xml.in
1639 $(XSLTPROC_PROCESS_MAN)
1642 $(XSLTPROC_PROCESS_MAN)
1644 man/%.5.in: man/%.xml.in
1645 $(XSLTPROC_PROCESS_MAN)
1648 $(XSLTPROC_PROCESS_MAN)
1650 man/%.7.in: man/%.xml.in
1651 $(XSLTPROC_PROCESS_MAN_IN)
1654 $(XSLTPROC_PROCESS_MAN)
1656 man/%.8.in: man/%.xml.in
1657 $(XSLTPROC_PROCESS_MAN_IN)
1659 man/%.html: man/%.xml
1660 $(XSLTPROC_PROCESS_HTML)
1662 man/%.html.in: man/%.xml.in
1663 $(XSLTPROC_PROCESS_HTML_IN)
1667 ${nodist_man_MANS:=.in} \
1668 ${XML_FILES:.xml=.html} \
1669 ${XML_IN_FILES:.xml.in=.html.in}
1672 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1674 org.freedesktop.systemd1.%.xml: systemd
1675 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1676 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1677 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1679 org.freedesktop.hostname1.xml: systemd-hostnamed
1680 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1681 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1682 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1684 org.freedesktop.locale1.xml: systemd-localed
1685 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1686 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1687 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1689 org.freedesktop.timedate1.xml: systemd-timedated
1690 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1691 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1692 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1695 $(dbusinterface_DATA)
1698 $(MKDIR_P) -m 0755 \
1699 $(DESTDIR)$(tmpfilesdir) \
1700 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1701 $(DESTDIR)$(prefix)/lib/modules-load.d \
1702 $(DESTDIR)$(sysconfdir)/modules-load.d \
1703 $(DESTDIR)$(prefix)/lib/sysctl.d \
1704 $(DESTDIR)$(sysconfdir)/sysctl.d \
1705 $(DESTDIR)$(systemshutdowndir) \
1706 $(DESTDIR)$(systemgeneratordir) \
1707 $(DESTDIR)$(usergeneratordir)
1709 $(MKDIR_P) -m 0755 \
1710 $(DESTDIR)$(prefix)/lib/binfmt.d \
1711 $(DESTDIR)$(sysconfdir)/binfmt.d
1713 $(MKDIR_P) -m 0755 \
1714 $(DESTDIR)$(systemunitdir) \
1715 $(DESTDIR)$(userunitdir) \
1716 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1717 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1718 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1719 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1720 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1721 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1722 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1723 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1724 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1725 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1726 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1727 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1728 $(DESTDIR)$(pkgsysconfdir)/system \
1729 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1730 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1731 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1732 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1733 $(DESTDIR)$(pkgsysconfdir)/user \
1734 $(DESTDIR)$(dbussessionservicedir) \
1735 $(DESTDIR)$(sysconfdir)/xdg/systemd
1736 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1738 $(LN_S) $(pkgsysconfdir)/user user )
1739 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1740 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1741 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1742 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1743 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1744 $(LN_S) ../syslog.socket syslog.socket )
1745 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1746 rm -f systemd-update-utmp-runlevel.service && \
1747 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1748 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1749 rm -f systemd-update-utmp-runlevel.service && \
1750 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1751 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1752 rm -f systemd-update-utmp-runlevel.service && \
1753 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1754 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1755 rm -f systemd-update-utmp-runlevel.service && \
1756 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1757 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1758 rm -f systemd-update-utmp-runlevel.service && \
1759 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1760 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1761 rm -f systemd-update-utmp-shutdown.service \
1762 systemd-random-seed-save.service && \
1763 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1764 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1765 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1766 rm -f systemd-remount-api-vfs.service \
1768 remount-rootfs.service \
1771 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1772 $(LN_S) ../fsck-root.service fsck-root.service && \
1773 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1774 $(LN_S) ../var-run.mount var-run.mount && \
1775 $(LN_S) ../media.mount media.mount )
1776 ( cd $(DESTDIR)$(userunitdir) && \
1777 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1778 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1779 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1780 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1781 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1782 $(LN_S) $(systemunitdir)/sound.target sound.target )
1783 ( cd $(DESTDIR)$(systemunitdir) && \
1784 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1785 $(LN_S) poweroff.target runlevel0.target && \
1786 $(LN_S) rescue.target runlevel1.target && \
1787 $(LN_S) multi-user.target runlevel2.target && \
1788 $(LN_S) multi-user.target runlevel3.target && \
1789 $(LN_S) multi-user.target runlevel4.target && \
1790 $(LN_S) graphical.target runlevel5.target && \
1791 $(LN_S) reboot.target runlevel6.target )
1792 ( cd $(DESTDIR)$(systemunitdir) && \
1793 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.login1.service autovt@.service && \
1794 $(LN_S) graphical.target default.target && \
1795 $(LN_S) reboot.target ctrl-alt-del.target && \
1796 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1797 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1798 $(LN_S) getty@.service autovt@.service )
1799 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1800 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1801 $(LN_S) ../getty.target getty.target && \
1802 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1803 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1804 $(LN_S) ../systemd-logind.service systemd-logind.service )
1805 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1806 rm -f getty@tty1.service && \
1807 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1808 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1809 rm -f remote-fs.target && \
1810 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1811 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1812 rm -f dev-hugepages.automount \
1813 dev-mqueue.automount \
1814 sys-kernel-debug.automount \
1815 sys-kernel-security.automount \
1816 systemd-vconsole-setup.service \
1817 systemd-modules-load.service \
1818 systemd-random-seed-load.service \
1819 systemd-tmpfiles-setup.service \
1820 systemd-sysctl.service \
1821 systemd-ask-password-console.path \
1822 systemd-kmsg-syslogd.service \
1823 cryptsetup.target && \
1824 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1825 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1826 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1827 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1828 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1829 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1830 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1831 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1832 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1833 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1834 $(LN_S) ../systemd-kmsg-syslogd.service && \
1835 $(LN_S) ../cryptsetup.target cryptsetup.target )
1837 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1838 rm -f systemd-binfmt.service \
1839 proc-sys-fs-binfmt_misc.automount && \
1840 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1841 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1844 ( cd $(DESTDIR)$(systemunitdir) && \
1845 rm -f dbus-org.freedesktop.hostname1.service && \
1846 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1849 ( cd $(DESTDIR)$(systemunitdir) && \
1850 rm -f dbus-org.freedesktop.timedate1.service && \
1851 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1853 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1854 rm -f systemd-tmpfiles-clean.timer && \
1855 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1856 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1857 rm -f org.freedesktop.systemd1.service && \
1858 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1860 $(MKDIR_P) -m 0755 \
1861 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1862 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1863 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1864 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1865 $(DESTDIR)$(systemunitdir)/halt.target.wants
1866 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1867 rm -f plymouth-start.service plymouth-read-write.service && \
1868 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1869 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1870 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1871 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1872 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1873 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1874 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1875 rm -f plymouth-reboot.service && \
1876 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1877 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1878 rm -f plymouth-kexec.service && \
1879 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1880 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1881 rm -f plymouth-poweroff.service && \
1882 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1883 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1884 rm -f plymouth-halt.service && \
1885 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1888 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1889 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1890 rm -f network.target && \
1891 $(LN_S) $(systemunitdir)/network.target network.target )
1892 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1894 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1896 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1898 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1903 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1904 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1905 rm -f rc-local.service && \
1906 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1907 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1908 rm -f halt-local.service && \
1909 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1910 ( cd $(DESTDIR)$(systemunitdir) && \
1911 rm -f display-manager.service single.service && \
1912 $(LN_S) prefdm.service display-manager.service && \
1913 $(LN_S) rescue.service single.service )
1914 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1915 rm -f display-manager.service && \
1916 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1920 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1921 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1922 rm -f rc-local.service && \
1923 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1924 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1925 rm -f halt-local.service && \
1926 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1927 ( cd $(DESTDIR)$(systemunitdir) && \
1928 rm -f display-manager.service dm.service single.service && \
1929 $(LN_S) prefdm.service display-manager.service && \
1930 $(LN_S) prefdm.service dm.service && \
1931 $(LN_S) rescue.service single.service )
1932 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1933 rm -f display-manager.service && \
1934 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1937 if TARGET_DEBIAN_OR_UBUNTU
1938 ( cd $(DESTDIR)$(systemunitdir) && \
1939 rm -f runlevel5.target && \
1940 $(LN_S) multi-user.target runlevel5.target )
1944 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1945 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1946 rm -f rc-local.service && \
1947 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1948 ( cd $(DESTDIR)$(systemunitdir) && \
1949 rm -f local.service && \
1950 $(LN_S) rc-local.service local.service )
1951 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1952 rm -f halt-local.service && \
1953 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1957 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1958 rm -f var-lock.mount && \
1959 $(LN_S) ../var-lock.mount var-lock.mount )
1962 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1964 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1966 DISTCHECK_CONFIGURE_FLAGS = \
1967 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1968 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1969 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1970 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1971 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1972 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1973 --with-rootdir=$$dc_install_base/$(rootdir)
1975 upload: all distcheck
1976 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1977 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1978 scp man/*.html tango:public/systemd-man/
1981 git tag "v$(VERSION)" -m "systemd $(VERSION)"