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 \
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 \
633 nodist_libsystemd_core_la_SOURCES = \
634 src/load-fragment-gperf.c \
635 src/load-fragment-gperf-nulstr.c
638 src/load-fragment-gperf.gperf.m4
640 libsystemd_core_la_CFLAGS = \
648 libsystemd_core_la_LIBADD = \
649 libsystemd-basic.la \
657 # This is needed because automake is buggy in how it generates the
658 # rules for C programs, but not Vala programs. We therefore can't
659 # list the .h files as dependencies if we want make dist to work.
662 ${libsystemd_basic_la_SOURCES:.c=.h} \
663 ${libsystemd_core_la_SOURCES:.c=.h} \
664 ${libsystemd_daemon_la_SOURCES:.c=.h} \
671 src/linux/auto_dev-ioctl.h \
672 src/linux/fanotify.h \
682 src/readahead-common.h \
683 src/ask-password-api.h \
688 src/logind-device.h \
690 src/logind-session.h \
701 man/systemd-nspawn.1 \
702 man/systemd-tmpfiles.8 \
703 man/systemd-notify.1 \
707 man/sd_listen_fds.3 \
710 man/systemd.service.5 \
711 man/systemd.socket.5 \
712 man/systemd.mount.5 \
713 man/systemd.automount.5 \
715 man/systemd.timer.5 \
717 man/systemd.target.5 \
718 man/systemd.device.5 \
719 man/systemd.snapshot.5 \
730 man/systemd-logind.conf.5 \
734 man/vconsole.conf.5 \
738 man/modules-load.d.5 \
740 man/systemd-ask-password.1 \
741 man/systemd-loginctl.1
752 man/sd_is_socket_unix.3 \
753 man/sd_is_socket_inet.3 \
757 man/reboot.8: man/halt.8
758 man/poweroff.8: man/halt.8
759 man/sd_is_socket.3: man/sd_is_fifo.3
760 man/sd_is_socket_unix.3: man/sd_is_fifo.3
761 man/sd_is_socket_inet.3: man/sd_is_fifo.3
762 man/sd_notifyf.3: man/sd_notify.3
763 man/init.1: man/systemd.1
770 man/systemd.special.7
773 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
776 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
779 ${XML_FILES:.xml=.html}
781 nodist_noinst_DATA = \
782 ${XML_IN_FILES:.xml.in=.html}
787 ${nodist_man_MANS:=.in} \
788 ${XML_IN_FILES:.xml.in=.html.in}
801 test_engine_SOURCES = \
804 test_engine_CFLAGS = $(systemd_CFLAGS)
805 test_engine_LDADD = $(systemd_LDADD)
807 test_job_type_SOURCES = \
810 test_job_type_CFLAGS = $(systemd_CFLAGS)
811 test_job_type_LDADD = $(systemd_LDADD)
816 test_ns_CFLAGS = $(systemd_CFLAGS)
817 test_ns_LDADD = $(systemd_LDADD)
819 test_loopback_SOURCES = \
820 src/test-loopback.c \
823 test_loopback_LDADD = \
826 test_hostname_SOURCES = \
827 src/test-hostname.c \
830 test_hostname_LDADD = \
833 test_daemon_SOURCES = \
836 test_daemon_LDADD = \
837 libsystemd-basic.la \
840 test_cgroup_SOURCES = \
844 test_cgroup_CFLAGS = \
847 test_cgroup_LDADD = \
850 test_env_replace_SOURCES = \
851 src/test-env-replace.c
853 test_env_replace_CFLAGS = \
856 test_env_replace_LDADD = \
859 test_strv_SOURCES = \
869 test_login_SOURCES = \
872 test_login_CFLAGS = \
876 libsystemd-basic.la \
879 test_install_SOURCES = \
885 test_install_CFLAGS = \
889 test_install_LDADD = \
892 systemd_logger_SOURCES = \
896 systemd_logger_LDADD = \
897 libsystemd-basic.la \
898 libsystemd-daemon.la \
901 systemd_initctl_SOURCES = \
905 systemd_initctl_CFLAGS = \
909 systemd_initctl_LDADD = \
910 libsystemd-basic.la \
911 libsystemd-daemon.la \
914 systemd_update_utmp_SOURCES = \
919 systemd_update_utmp_CFLAGS = \
924 systemd_update_utmp_LDADD = \
925 libsystemd-basic.la \
929 systemd_random_seed_SOURCES = \
932 systemd_random_seed_CFLAGS = \
935 systemd_random_seed_LDADD = \
938 systemd_shutdownd_SOURCES = \
942 systemd_shutdownd_CFLAGS = \
945 systemd_shutdownd_LDADD = \
946 libsystemd-basic.la \
949 systemd_hostnamed_SOURCES = \
954 systemd_hostnamed_CFLAGS = \
958 systemd_hostnamed_LDADD = \
959 libsystemd-basic.la \
960 libsystemd-daemon.la \
963 systemd_localed_SOURCES = \
968 systemd_localed_CFLAGS = \
972 systemd_localed_LDADD = \
973 libsystemd-basic.la \
974 libsystemd-daemon.la \
977 systemd_timedated_SOURCES = \
982 systemd_timedated_CFLAGS = \
986 systemd_timedated_LDADD = \
987 libsystemd-basic.la \
988 libsystemd-daemon.la \
991 systemd_logind_SOURCES = \
994 src/logind-device.c \
996 src/logind-seat-dbus.c \
997 src/logind-session.c \
998 src/logind-session-dbus.c \
1000 src/logind-user-dbus.c \
1006 nodist_systemd_logind_SOURCES = \
1010 src/logind-gperf.gperf
1012 systemd_logind_CFLAGS = \
1018 systemd_logind_LDADD = \
1019 libsystemd-basic.la \
1020 libsystemd-daemon.la \
1025 systemd_uaccess_SOURCES = \
1029 systemd_logind_SOURCES += \
1032 systemd_uaccess_SOURCES += \
1036 systemd_uaccess_CFLAGS = \
1041 systemd_uaccess_LDADD = \
1042 libsystemd-basic.la \
1043 libsystemd-daemon.la \
1044 libsystemd-login.la \
1048 systemd_shutdown_SOURCES = \
1053 systemd_shutdown_CFLAGS = \
1057 systemd_shutdown_LDADD = \
1058 libsystemd-basic.la \
1061 systemd_modules_load_SOURCES = \
1064 systemd_modules_load_CFLAGS = \
1067 systemd_modules_load_LDADD = \
1070 systemd_tmpfiles_SOURCES = \
1073 systemd_tmpfiles_CFLAGS = \
1076 systemd_tmpfiles_LDADD = \
1079 systemd_machine_id_setup_SOURCES = \
1080 src/machine-id-setup.c \
1081 src/machine-id-main.c
1083 systemd_machine_id_setup_CFLAGS = \
1086 systemd_machine_id_setup_LDADD = \
1089 systemd_sysctl_SOURCES = \
1092 systemd_sysctl_CFLAGS = \
1095 systemd_sysctl_LDADD = \
1098 systemd_binfmt_SOURCES = \
1101 systemd_binfmt_CFLAGS = \
1104 systemd_binfmt_LDADD = \
1107 systemd_fsck_SOURCES = \
1111 systemd_fsck_CFLAGS = \
1116 systemd_fsck_LDADD = \
1117 libsystemd-basic.la \
1121 systemd_quotacheck_SOURCES = \
1124 systemd_quotacheck_CFLAGS = \
1127 systemd_quotacheck_LDADD = \
1130 systemd_timestamp_SOURCES = \
1133 systemd_timestamp_CFLAGS = \
1136 systemd_timestamp_LDADD = \
1139 systemd_ac_power_SOURCES = \
1142 systemd_ac_power_CFLAGS = \
1146 systemd_ac_power_LDADD = \
1147 libsystemd-basic.la \
1150 systemd_detect_virt_SOURCES = \
1153 systemd_detect_virt_CFLAGS = \
1156 systemd_detect_virt_LDADD = \
1159 systemd_cryptsetup_SOURCES = \
1161 src/ask-password-api.c
1163 systemd_cryptsetup_CFLAGS = \
1164 $(LIBCRYPTSETUP_CFLAGS) \
1168 systemd_cryptsetup_LDADD = \
1169 $(LIBCRYPTSETUP_LIBS) \
1173 systemd_cryptsetup_generator_SOURCES = \
1174 src/cryptsetup-generator.c \
1177 systemd_cryptsetup_generator_CFLAGS = \
1180 systemd_cryptsetup_generator_LDADD = \
1183 systemd_getty_generator_SOURCES = \
1184 src/getty-generator.c \
1187 systemd_getty_generator_CFLAGS = \
1190 systemd_getty_generator_LDADD = \
1193 systemd_user_sessions_SOURCES = \
1194 src/user-sessions.c \
1197 systemd_user_sessions_CFLAGS = \
1200 systemd_user_sessions_LDADD = \
1203 systemd_vconsole_setup_SOURCES = \
1204 src/vconsole-setup.c
1206 systemd_vconsole_setup_CFLAGS = \
1209 systemd_vconsole_setup_LDADD = \
1212 systemd_remount_api_vfs_SOURCES = \
1213 src/remount-api-vfs.c \
1217 systemd_remount_api_vfs_CFLAGS = \
1220 systemd_remount_api_vfs_LDADD = \
1223 systemd_cgroups_agent_SOURCES = \
1224 src/cgroups-agent.c \
1227 systemd_cgroups_agent_CFLAGS = \
1231 systemd_cgroups_agent_LDADD = \
1232 libsystemd-basic.la \
1235 systemd_kmsg_syslogd_SOURCES = \
1236 src/kmsg-syslogd.c \
1239 systemd_kmsg_syslogd_CFLAGS = \
1242 systemd_kmsg_syslogd_LDADD = \
1243 libsystemd-basic.la \
1244 libsystemd-daemon.la
1246 systemctl_SOURCES = \
1259 systemctl_CFLAGS = \
1264 libsystemd-basic.la \
1265 libsystemd-daemon.la \
1268 systemd_loginctl_SOURCES = \
1276 systemd_loginctl_CFLAGS = \
1281 systemd_loginctl_LDADD = \
1282 libsystemd-basic.la \
1286 systemd_notify_SOURCES = \
1290 systemd_notify_LDADD = \
1291 libsystemd-basic.la \
1292 libsystemd-daemon.la
1294 systemd_ask_password_SOURCES = \
1295 src/ask-password.c \
1296 src/ask-password-api.c
1298 systemd_ask_password_LDADD = \
1301 systemd_reply_password_SOURCES = \
1302 src/reply-password.c
1304 systemd_reply_password_LDADD = \
1307 systemd_readahead_collect_SOURCES = \
1308 src/readahead-collect.c \
1309 src/readahead-common.c
1311 systemd_readahead_collect_CFLAGS = \
1314 systemd_readahead_collect_LDADD = \
1315 libsystemd-basic.la \
1316 libsystemd-daemon.la \
1319 systemd_readahead_replay_SOURCES = \
1320 src/readahead-replay.c \
1321 src/readahead-common.c
1323 systemd_readahead_replay_CFLAGS = \
1326 systemd_readahead_replay_LDADD = \
1327 libsystemd-basic.la \
1328 libsystemd-daemon.la \
1331 systemd_cgls_SOURCES = \
1337 systemd_cgls_CFLAGS = \
1340 systemd_cgls_LDADD = \
1343 systemd_nspawn_SOURCES = \
1346 src/loopback-setup.c
1348 systemd_nspawn_CFLAGS = \
1351 systemd_nspawn_LDADD = \
1352 libsystemd-basic.la \
1353 libsystemd-daemon.la
1355 systemd_stdio_bridge_SOURCES = \
1358 systemd_stdio_bridge_LDADD = \
1361 systemadm_SOURCES = \
1362 src/systemadm.vala \
1363 src/systemd-interfaces.vala
1365 systemadm_CFLAGS = \
1368 -Wno-unused-variable \
1369 -Wno-unused-function \
1371 -Wno-format-nonliteral
1373 systemadm_VALAFLAGS = \
1381 systemd_gnome_ask_password_agent_SOURCES = \
1382 src/gnome-ask-password-agent.vala
1384 systemd_gnome_ask_password_agent_CFLAGS = \
1386 $(LIBNOTIFY_CFLAGS) \
1388 -Wno-unused-variable \
1389 -Wno-unused-function \
1391 -Wno-format-nonliteral
1393 systemd_gnome_ask_password_agent_VALAFLAGS = \
1397 --pkg=gio-unix-2.0 \
1400 systemd_gnome_ask_password_agent_VALAFLAGS += \
1403 systemd_gnome_ask_password_agent_VALAFLAGS += \
1406 systemd_gnome_ask_password_agent_LDADD = \
1410 systemd_tty_ask_password_agent_SOURCES = \
1411 src/tty-ask-password-agent.c \
1412 src/ask-password-api.c \
1415 systemd_tty_ask_password_agent_LDADD = \
1418 pam_systemd_la_SOURCES = \
1422 pam_systemd_la_CFLAGS = \
1428 pam_systemd_la_LDFLAGS = \
1433 -export-symbols-regex '^pam_sm_.*'
1435 pam_systemd_la_LIBADD = \
1436 libsystemd-basic.la \
1437 libsystemd-daemon.la \
1441 libsystemd_daemon_la_SOURCES = \
1444 libsystemd_daemon_la_CFLAGS = \
1446 -fvisibility=hidden \
1449 libsystemd_daemon_la_LDFLAGS = \
1451 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1452 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1454 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1455 libsystemd-daemon-install-hook:
1456 if test "$(libdir)" != "$(rootlibdir)"; then \
1457 mkdir -p $(DESTDIR)$(rootlibdir) && \
1458 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1459 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1460 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1461 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1464 libsystemd-daemon-uninstall-hook:
1465 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1467 libsystemd_login_la_SOURCES = \
1471 libsystemd_login_la_CFLAGS = \
1475 libsystemd_login_la_LDFLAGS = \
1477 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1478 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1480 libsystemd_login_la_LIBADD = \
1483 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1484 libsystemd-login-install-hook:
1485 if test "$(libdir)" != "$(rootlibdir)"; then \
1486 mkdir -p $(DESTDIR)$(rootlibdir) && \
1487 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1488 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1489 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1490 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1493 libsystemd-login-uninstall-hook:
1494 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1497 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1498 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1499 -e 's,@rootbindir\@,$(rootbindir),g' \
1500 -e 's,@bindir\@,$(bindir),g' \
1501 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1502 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1503 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1504 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1505 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1506 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1507 -e 's,@userunitdir\@,$(userunitdir),g' \
1508 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1509 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1510 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1511 -e 's,@prefix\@,$(prefix),g' \
1512 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1513 -e 's,@libdir\@,$(libdir),g' \
1514 -e 's,@includedir\@,$(includedir),g' \
1517 units/%: units/%.in Makefile
1520 man/%: man/%.in Makefile
1523 %.pc: %.pc.in Makefile
1526 src/%.policy.in: src/%.policy.in.in Makefile
1529 src/%.rules: src/%.rules.in Makefile
1532 src/%.c: src/%.gperf
1533 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1537 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1538 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1540 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1541 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1542 $(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 $@
1544 M4_PROCESS_SYSTEM = \
1545 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1546 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1549 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1550 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1552 units/%: units/%.m4 Makefile
1553 $(M4_PROCESS_SYSTEM)
1555 units/user/%: units/%.m4 Makefile
1559 $(nodist_systemunit_DATA) \
1560 $(nodist_userunit_DATA) \
1561 $(nodist_man_MANS) \
1562 ${XML_IN_FILES:.xml.in=.html} \
1563 $(pkgconfigdata_DATA) \
1564 $(pkgconfiglib_DATA) \
1565 $(nodist_polkitpolicy_DATA) \
1566 src/73-seat-late.rules \
1567 src/99-systemd.rules \
1568 src/load-fragment-gperf.gperf \
1569 src/load-fragment-gperf.c \
1570 src/load-fragment-gperf-nulstr.c \
1575 ${systemadm_SOURCES:.vala=.c}
1581 --param funcsynopsis.style "'ansi'"
1583 XSLTPROC_PROCESS_MAN = \
1584 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1585 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1587 XSLTPROC_PROCESS_MAN_IN = \
1588 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1589 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1592 XSLTPROC_PROCESS_HTML = \
1593 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1594 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1596 XSLTPROC_PROCESS_HTML_IN = \
1597 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1598 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1602 $(XSLTPROC_PROCESS_MAN)
1604 man/%.1.in: man/%.xml.in
1605 $(XSLTPROC_PROCESS_MAN)
1608 $(XSLTPROC_PROCESS_MAN)
1610 man/%.3.in: man/%.xml.in
1611 $(XSLTPROC_PROCESS_MAN)
1614 $(XSLTPROC_PROCESS_MAN)
1616 man/%.5.in: man/%.xml.in
1617 $(XSLTPROC_PROCESS_MAN)
1620 $(XSLTPROC_PROCESS_MAN)
1622 man/%.7.in: man/%.xml.in
1623 $(XSLTPROC_PROCESS_MAN_IN)
1626 $(XSLTPROC_PROCESS_MAN)
1628 man/%.8.in: man/%.xml.in
1629 $(XSLTPROC_PROCESS_MAN_IN)
1631 man/%.html: man/%.xml
1632 $(XSLTPROC_PROCESS_HTML)
1634 man/%.html.in: man/%.xml.in
1635 $(XSLTPROC_PROCESS_HTML_IN)
1639 ${nodist_man_MANS:=.in} \
1640 ${XML_FILES:.xml=.html} \
1641 ${XML_IN_FILES:.xml.in=.html.in}
1644 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1646 org.freedesktop.systemd1.%.xml: systemd
1647 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1648 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1649 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1651 org.freedesktop.hostname1.xml: systemd-hostnamed
1652 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1653 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1654 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1656 org.freedesktop.locale1.xml: systemd-localed
1657 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1658 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1659 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1661 org.freedesktop.timedate1.xml: systemd-timedated
1662 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1663 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1664 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1667 $(dbusinterface_DATA)
1670 $(MKDIR_P) -m 0755 \
1671 $(DESTDIR)$(tmpfilesdir) \
1672 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1673 $(DESTDIR)$(prefix)/lib/modules-load.d \
1674 $(DESTDIR)$(sysconfdir)/modules-load.d \
1675 $(DESTDIR)$(prefix)/lib/sysctl.d \
1676 $(DESTDIR)$(sysconfdir)/sysctl.d \
1677 $(DESTDIR)$(systemshutdowndir) \
1678 $(DESTDIR)$(systemgeneratordir) \
1679 $(DESTDIR)$(usergeneratordir)
1681 $(MKDIR_P) -m 0755 \
1682 $(DESTDIR)$(prefix)/lib/binfmt.d \
1683 $(DESTDIR)$(sysconfdir)/binfmt.d
1685 $(MKDIR_P) -m 0755 \
1686 $(DESTDIR)$(systemunitdir) \
1687 $(DESTDIR)$(userunitdir) \
1688 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1689 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1690 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1691 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1692 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1693 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1694 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1695 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1696 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1697 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1698 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1699 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1700 $(DESTDIR)$(pkgsysconfdir)/system \
1701 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1702 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1703 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1704 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1705 $(DESTDIR)$(pkgsysconfdir)/user \
1706 $(DESTDIR)$(dbussessionservicedir) \
1707 $(DESTDIR)$(sysconfdir)/xdg/systemd
1708 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1710 $(LN_S) $(pkgsysconfdir)/user user )
1711 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1712 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1713 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1714 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1715 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1716 $(LN_S) ../syslog.socket syslog.socket )
1717 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1718 rm -f systemd-update-utmp-runlevel.service && \
1719 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1720 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1721 rm -f systemd-update-utmp-runlevel.service && \
1722 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1723 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1724 rm -f systemd-update-utmp-runlevel.service && \
1725 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1726 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1727 rm -f systemd-update-utmp-runlevel.service && \
1728 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1729 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1730 rm -f systemd-update-utmp-runlevel.service && \
1731 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1732 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1733 rm -f systemd-update-utmp-shutdown.service \
1734 systemd-random-seed-save.service && \
1735 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1736 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1737 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1738 rm -f systemd-remount-api-vfs.service \
1740 remount-rootfs.service \
1743 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1744 $(LN_S) ../fsck-root.service fsck-root.service && \
1745 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1746 $(LN_S) ../var-run.mount var-run.mount && \
1747 $(LN_S) ../media.mount media.mount )
1748 ( cd $(DESTDIR)$(userunitdir) && \
1749 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1750 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1751 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1752 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1753 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1754 $(LN_S) $(systemunitdir)/sound.target sound.target )
1755 ( cd $(DESTDIR)$(systemunitdir) && \
1756 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1757 $(LN_S) poweroff.target runlevel0.target && \
1758 $(LN_S) rescue.target runlevel1.target && \
1759 $(LN_S) multi-user.target runlevel2.target && \
1760 $(LN_S) multi-user.target runlevel3.target && \
1761 $(LN_S) multi-user.target runlevel4.target && \
1762 $(LN_S) graphical.target runlevel5.target && \
1763 $(LN_S) reboot.target runlevel6.target )
1764 ( cd $(DESTDIR)$(systemunitdir) && \
1765 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 && \
1766 $(LN_S) graphical.target default.target && \
1767 $(LN_S) reboot.target ctrl-alt-del.target && \
1768 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1769 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1770 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1771 $(LN_S) getty@.service autovt@.service )
1772 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1773 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1774 $(LN_S) ../getty.target getty.target && \
1775 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1776 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1777 $(LN_S) ../systemd-logind.service systemd-logind.service )
1778 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1779 rm -f getty@tty1.service && \
1780 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1781 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1782 rm -f remote-fs.target && \
1783 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1784 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1785 rm -f dev-hugepages.automount \
1786 dev-mqueue.automount \
1787 sys-kernel-debug.automount \
1788 sys-kernel-security.automount \
1789 systemd-vconsole-setup.service \
1790 systemd-modules-load.service \
1791 systemd-random-seed-load.service \
1792 systemd-tmpfiles-setup.service \
1793 systemd-sysctl.service \
1794 systemd-ask-password-console.path \
1795 systemd-kmsg-syslogd.service \
1796 cryptsetup.target && \
1797 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1798 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1799 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1800 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1801 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1802 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1803 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1804 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1805 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1806 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1807 $(LN_S) ../systemd-kmsg-syslogd.service && \
1808 $(LN_S) ../cryptsetup.target cryptsetup.target )
1810 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1811 rm -f systemd-binfmt.service \
1812 proc-sys-fs-binfmt_misc.automount && \
1813 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1814 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1817 ( cd $(DESTDIR)$(systemunitdir) && \
1818 rm -f dbus-org.freedesktop.hostname1.service && \
1819 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1821 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1822 rm -f systemd-tmpfiles-clean.timer && \
1823 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1824 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1825 rm -f org.freedesktop.systemd1.service && \
1826 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1828 $(MKDIR_P) -m 0755 \
1829 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1830 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1831 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1832 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1833 $(DESTDIR)$(systemunitdir)/halt.target.wants
1834 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1835 rm -f plymouth-start.service plymouth-read-write.service && \
1836 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1837 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1838 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1839 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1840 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1841 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1842 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1843 rm -f plymouth-reboot.service && \
1844 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1845 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1846 rm -f plymouth-kexec.service && \
1847 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1848 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1849 rm -f plymouth-poweroff.service && \
1850 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1851 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1852 rm -f plymouth-halt.service && \
1853 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1856 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1857 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1858 rm -f network.target && \
1859 $(LN_S) $(systemunitdir)/network.target network.target )
1860 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1862 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1864 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1866 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1871 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1872 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1873 rm -f rc-local.service && \
1874 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1875 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1876 rm -f halt-local.service && \
1877 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1878 ( cd $(DESTDIR)$(systemunitdir) && \
1879 rm -f display-manager.service single.service && \
1880 $(LN_S) prefdm.service display-manager.service && \
1881 $(LN_S) rescue.service single.service )
1882 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1883 rm -f display-manager.service && \
1884 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1888 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1889 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1890 rm -f rc-local.service && \
1891 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1892 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1893 rm -f halt-local.service && \
1894 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1895 ( cd $(DESTDIR)$(systemunitdir) && \
1896 rm -f display-manager.service dm.service single.service && \
1897 $(LN_S) prefdm.service display-manager.service && \
1898 $(LN_S) prefdm.service dm.service && \
1899 $(LN_S) rescue.service single.service )
1900 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1901 rm -f display-manager.service && \
1902 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1905 if TARGET_DEBIAN_OR_UBUNTU
1906 ( cd $(DESTDIR)$(systemunitdir) && \
1907 rm -f runlevel5.target && \
1908 $(LN_S) multi-user.target runlevel5.target )
1912 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1913 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1914 rm -f rc-local.service && \
1915 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1916 ( cd $(DESTDIR)$(systemunitdir) && \
1917 rm -f local.service && \
1918 $(LN_S) rc-local.service local.service )
1919 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1920 rm -f halt-local.service && \
1921 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1925 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1926 rm -f var-lock.mount && \
1927 $(LN_S) ../var-lock.mount var-lock.mount )
1930 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1932 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1934 DISTCHECK_CONFIGURE_FLAGS = \
1935 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1936 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1937 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1938 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1939 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1940 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1941 --with-rootdir=$$dc_install_base/$(rootdir)
1943 upload: all distcheck
1944 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1945 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1946 scp man/*.html tango:public/systemd-man/
1949 git tag "v$(VERSION)" -m "systemd $(VERSION)"