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 \
304 tmpfiles.d/tmp.conf \
308 dist_tmpfiles_DATA += \
309 tmpfiles.d/legacy.conf
312 dist_systemunit_DATA = \
313 units/graphical.target \
314 units/multi-user.target \
315 units/emergency.service \
316 units/emergency.target \
317 units/sysinit.target \
322 units/local-fs.target \
323 units/remote-fs.target \
324 units/cryptsetup.target \
325 units/network.target \
326 units/nss-lookup.target \
327 units/mail-transfer-agent.target \
328 units/http-daemon.target \
329 units/poweroff.target \
330 units/reboot.target \
331 units/rescue.target \
332 units/rpcbind.target \
333 units/time-sync.target \
334 units/shutdown.target \
336 units/umount.target \
337 units/sigpwr.target \
338 units/sockets.target \
340 units/systemd-initctl.socket \
341 units/systemd-logger.socket \
342 units/systemd-shutdownd.socket \
343 units/syslog.socket \
344 units/dev-hugepages.automount \
345 units/dev-hugepages.mount \
346 units/dev-mqueue.automount \
347 units/dev-mqueue.mount \
348 units/sys-kernel-debug.automount \
349 units/sys-kernel-debug.mount \
350 units/sys-kernel-security.automount \
351 units/sys-kernel-security.mount \
352 units/var-run.mount \
354 units/remount-rootfs.service \
355 units/printer.target \
357 units/bluetooth.target \
358 units/smartcard.target \
359 units/systemd-readahead-done.timer \
360 units/systemd-tmpfiles-clean.timer \
361 units/quotaon.service \
362 units/systemd-ask-password-wall.path \
363 units/systemd-ask-password-console.path \
367 dist_systemunit_DATA += \
372 dist_systemunit_DATA += \
373 units/proc-sys-fs-binfmt_misc.automount \
374 units/proc-sys-fs-binfmt_misc.mount
377 nodist_systemunit_DATA = \
378 units/getty@.service \
379 units/serial-getty@.service \
380 units/console-shell.service \
381 units/systemd-initctl.service \
382 units/systemd-logger.service \
383 units/systemd-shutdownd.service \
384 units/systemd-localed.service \
385 units/systemd-logind.service \
386 units/systemd-kmsg-syslogd.service \
387 units/systemd-modules-load.service \
388 units/systemd-vconsole-setup.service \
389 units/systemd-remount-api-vfs.service \
390 units/systemd-update-utmp-runlevel.service \
391 units/systemd-update-utmp-shutdown.service \
392 units/systemd-random-seed-save.service \
393 units/systemd-random-seed-load.service \
394 units/systemd-readahead-collect.service \
395 units/systemd-readahead-replay.service \
396 units/systemd-readahead-done.service \
397 units/systemd-tmpfiles-setup.service \
398 units/systemd-tmpfiles-clean.service \
399 units/systemd-user-sessions.service \
400 units/systemd-ask-password-wall.service \
401 units/systemd-ask-password-console.service \
402 units/systemd-sysctl.service \
404 units/poweroff.service \
405 units/reboot.service \
406 units/kexec.service \
407 units/fsck@.service \
408 units/fsck-root.service \
409 units/quotacheck.service \
410 units/rescue.service \
414 nodist_systemunit_DATA += \
415 units/systemd-binfmt.service
419 nodist_systemunit_DATA += \
420 units/systemd-hostnamed.service
424 nodist_systemunit_DATA += \
425 units/systemd-timedated.service
428 dist_userunit_DATA = \
429 units/user/default.target \
430 units/user/exit.target
432 nodist_userunit_DATA = \
433 units/user/exit.service
436 units/getty@.service.m4 \
437 units/serial-getty@.service.m4 \
438 units/console-shell.service.m4 \
439 units/rescue.service.m4 \
440 units/systemd-initctl.service.in \
441 units/systemd-logger.service.in \
442 units/systemd-shutdownd.service.in \
443 units/systemd-localed.service.in \
444 units/systemd-logind.service.in \
445 units/systemd-kmsg-syslogd.service.in \
446 units/systemd-modules-load.service.in \
447 units/systemd-vconsole-setup.service.in \
448 units/systemd-remount-api-vfs.service.in \
449 units/systemd-update-utmp-runlevel.service.in \
450 units/systemd-update-utmp-shutdown.service.in \
451 units/systemd-random-seed-save.service.in \
452 units/systemd-random-seed-load.service.in \
453 units/systemd-readahead-collect.service.in \
454 units/systemd-readahead-replay.service.in \
455 units/systemd-readahead-done.service.in \
456 units/systemd-tmpfiles-setup.service.in \
457 units/systemd-tmpfiles-clean.service.in \
458 units/systemd-user-sessions.service.in \
459 units/systemd-ask-password-wall.service.in \
460 units/systemd-ask-password-console.service.in \
461 units/systemd-sysctl.service.in \
462 units/halt.service.in \
463 units/poweroff.service.in \
464 units/reboot.service.in \
465 units/kexec.service.in \
466 units/user/exit.service.in \
467 units/fsck@.service.in \
468 units/fsck-root.service.in \
469 units/quotacheck.service.in \
470 units/user@.service.in \
472 libsystemd-daemon.pc.in \
473 libsystemd-login.pc.in \
474 src/libsystemd-daemon.sym \
475 src/libsystemd-login.sym \
477 src/73-seat-late.rules.in \
478 src/99-systemd.rules.in
482 units/systemd-binfmt.service.in
487 units/systemd-hostnamed.service.in
492 units/systemd-timedated.service.in
496 dist_systemunit_DATA += \
497 units/fedora/prefdm.service \
498 units/fedora/rc-local.service \
499 units/fedora/halt-local.service
503 dist_systemunit_DATA += \
504 units/mandriva/prefdm.service \
505 units/fedora/rc-local.service \
506 units/fedora/halt-local.service
510 dist_systemunit_DATA += \
511 units/frugalware/display-manager.service
515 dist_systemunit_DATA += \
516 units/suse/rc-local.service \
517 units/suse/halt-local.service
521 dist_systemunit_DATA += \
522 units/plymouth-start.service \
523 units/plymouth-read-write.service \
524 units/plymouth-quit.service \
525 units/plymouth-quit-wait.service \
526 units/plymouth-reboot.service \
527 units/plymouth-kexec.service \
528 units/plymouth-poweroff.service \
529 units/plymouth-halt.service \
530 units/systemd-ask-password-plymouth.path
532 nodist_systemunit_DATA += \
533 units/systemd-ask-password-plymouth.service
536 units/systemd-ask-password-plymouth.service.in
548 pkgconfigdata_DATA = \
551 pkgconfiglib_DATA = \
552 libsystemd-daemon.pc \
555 # Passed through intltool only
556 polkitpolicy_in_files = \
557 src/org.freedesktop.locale1.policy.in \
558 src/org.freedesktop.login1.policy.in
561 polkitpolicy_in_files += \
562 src/org.freedesktop.hostname1.policy.in
566 polkitpolicy_in_files += \
567 src/org.freedesktop.timedate1.policy.in
570 # First passed through sed, followed by intltool
571 polkitpolicy_in_in_files = \
572 src/org.freedesktop.systemd1.policy.in.in
574 nodist_polkitpolicy_DATA = \
575 $(polkitpolicy_in_files:.policy.in=.policy) \
576 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
579 $(polkitpolicy_in_files) \
580 $(polkitpolicy_in_in_files)
582 @INTLTOOL_POLICY_RULE@
584 noinst_LTLIBRARIES = \
585 libsystemd-basic.la \
588 libsystemd_basic_la_SOURCES = \
600 libsystemd_basic_la_CFLAGS = \
604 libsystemd_basic_la_LIBADD = \
608 libsystemd_core_la_SOURCES = \
613 src/load-fragment.c \
636 src/dbus-automount.c \
638 src/dbus-snapshot.c \
644 src/hostname-setup.c \
645 src/selinux-setup.c \
646 src/loopback-setup.c \
649 src/machine-id-setup.c \
662 nodist_libsystemd_core_la_SOURCES = \
663 src/load-fragment-gperf.c \
664 src/load-fragment-gperf-nulstr.c
667 src/load-fragment-gperf.gperf.m4
669 libsystemd_core_la_CFLAGS = \
677 libsystemd_core_la_LIBADD = \
678 libsystemd-basic.la \
686 # This is needed because automake is buggy in how it generates the
687 # rules for C programs, but not Vala programs. We therefore can't
688 # list the .h files as dependencies if we want make dist to work.
691 ${libsystemd_basic_la_SOURCES:.c=.h} \
692 ${libsystemd_core_la_SOURCES:.c=.h} \
693 ${libsystemd_daemon_la_SOURCES:.c=.h} \
700 src/linux/auto_dev-ioctl.h \
701 src/linux/fanotify.h \
711 src/readahead-common.h \
712 src/ask-password-api.h \
717 src/logind-device.h \
719 src/logind-session.h \
730 man/systemd-nspawn.1 \
731 man/systemd-tmpfiles.8 \
732 man/systemd-notify.1 \
736 man/sd_listen_fds.3 \
739 man/systemd.service.5 \
740 man/systemd.socket.5 \
741 man/systemd.mount.5 \
742 man/systemd.automount.5 \
744 man/systemd.timer.5 \
746 man/systemd.target.5 \
747 man/systemd.device.5 \
748 man/systemd.snapshot.5 \
759 man/systemd-logind.conf.5 \
763 man/vconsole.conf.5 \
767 man/modules-load.d.5 \
769 man/systemd-ask-password.1 \
770 man/systemd-loginctl.1
781 man/sd_is_socket_unix.3 \
782 man/sd_is_socket_inet.3 \
786 man/reboot.8: man/halt.8
787 man/poweroff.8: man/halt.8
788 man/sd_is_socket.3: man/sd_is_fifo.3
789 man/sd_is_socket_unix.3: man/sd_is_fifo.3
790 man/sd_is_socket_inet.3: man/sd_is_fifo.3
791 man/sd_notifyf.3: man/sd_notify.3
792 man/init.1: man/systemd.1
799 man/systemd.special.7
802 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
805 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
808 ${XML_FILES:.xml=.html}
810 nodist_noinst_DATA = \
811 ${XML_IN_FILES:.xml.in=.html}
816 ${nodist_man_MANS:=.in} \
817 ${XML_IN_FILES:.xml.in=.html.in}
830 test_engine_SOURCES = \
833 test_engine_CFLAGS = $(systemd_CFLAGS)
834 test_engine_LDADD = $(systemd_LDADD)
836 test_job_type_SOURCES = \
839 test_job_type_CFLAGS = $(systemd_CFLAGS)
840 test_job_type_LDADD = $(systemd_LDADD)
845 test_ns_CFLAGS = $(systemd_CFLAGS)
846 test_ns_LDADD = $(systemd_LDADD)
848 test_loopback_SOURCES = \
849 src/test-loopback.c \
852 test_loopback_LDADD = \
855 test_hostname_SOURCES = \
856 src/test-hostname.c \
859 test_hostname_LDADD = \
862 test_daemon_SOURCES = \
865 test_daemon_LDADD = \
866 libsystemd-basic.la \
869 test_cgroup_SOURCES = \
873 test_cgroup_CFLAGS = \
876 test_cgroup_LDADD = \
879 test_env_replace_SOURCES = \
880 src/test-env-replace.c
882 test_env_replace_CFLAGS = \
885 test_env_replace_LDADD = \
888 test_strv_SOURCES = \
898 test_login_SOURCES = \
901 test_login_CFLAGS = \
905 libsystemd-basic.la \
908 test_install_SOURCES = \
914 test_install_CFLAGS = \
918 test_install_LDADD = \
921 systemd_logger_SOURCES = \
925 systemd_logger_LDADD = \
926 libsystemd-basic.la \
927 libsystemd-daemon.la \
930 systemd_initctl_SOURCES = \
934 systemd_initctl_CFLAGS = \
938 systemd_initctl_LDADD = \
939 libsystemd-basic.la \
940 libsystemd-daemon.la \
943 systemd_update_utmp_SOURCES = \
948 systemd_update_utmp_CFLAGS = \
953 systemd_update_utmp_LDADD = \
954 libsystemd-basic.la \
958 systemd_random_seed_SOURCES = \
961 systemd_random_seed_CFLAGS = \
964 systemd_random_seed_LDADD = \
967 systemd_shutdownd_SOURCES = \
971 systemd_shutdownd_CFLAGS = \
974 systemd_shutdownd_LDADD = \
975 libsystemd-basic.la \
978 systemd_hostnamed_SOURCES = \
983 systemd_hostnamed_CFLAGS = \
987 systemd_hostnamed_LDADD = \
988 libsystemd-basic.la \
989 libsystemd-daemon.la \
992 systemd_localed_SOURCES = \
997 systemd_localed_CFLAGS = \
1001 systemd_localed_LDADD = \
1002 libsystemd-basic.la \
1003 libsystemd-daemon.la \
1006 systemd_timedated_SOURCES = \
1011 systemd_timedated_CFLAGS = \
1015 systemd_timedated_LDADD = \
1016 libsystemd-basic.la \
1017 libsystemd-daemon.la \
1020 systemd_logind_SOURCES = \
1023 src/logind-device.c \
1025 src/logind-seat-dbus.c \
1026 src/logind-session.c \
1027 src/logind-session-dbus.c \
1029 src/logind-user-dbus.c \
1035 nodist_systemd_logind_SOURCES = \
1039 src/logind-gperf.gperf
1041 systemd_logind_CFLAGS = \
1047 systemd_logind_LDADD = \
1048 libsystemd-basic.la \
1049 libsystemd-daemon.la \
1054 systemd_uaccess_SOURCES = \
1058 systemd_logind_SOURCES += \
1061 systemd_uaccess_SOURCES += \
1065 systemd_uaccess_CFLAGS = \
1070 systemd_uaccess_LDADD = \
1071 libsystemd-basic.la \
1072 libsystemd-daemon.la \
1073 libsystemd-login.la \
1077 systemd_shutdown_SOURCES = \
1082 systemd_shutdown_CFLAGS = \
1086 systemd_shutdown_LDADD = \
1087 libsystemd-basic.la \
1090 systemd_modules_load_SOURCES = \
1093 systemd_modules_load_CFLAGS = \
1096 systemd_modules_load_LDADD = \
1099 systemd_tmpfiles_SOURCES = \
1102 systemd_tmpfiles_CFLAGS = \
1105 systemd_tmpfiles_LDADD = \
1108 systemd_machine_id_setup_SOURCES = \
1109 src/machine-id-setup.c \
1110 src/machine-id-main.c
1112 systemd_machine_id_setup_CFLAGS = \
1115 systemd_machine_id_setup_LDADD = \
1118 systemd_sysctl_SOURCES = \
1121 systemd_sysctl_CFLAGS = \
1124 systemd_sysctl_LDADD = \
1127 systemd_binfmt_SOURCES = \
1130 systemd_binfmt_CFLAGS = \
1133 systemd_binfmt_LDADD = \
1136 systemd_fsck_SOURCES = \
1140 systemd_fsck_CFLAGS = \
1145 systemd_fsck_LDADD = \
1146 libsystemd-basic.la \
1150 systemd_quotacheck_SOURCES = \
1153 systemd_quotacheck_CFLAGS = \
1156 systemd_quotacheck_LDADD = \
1159 systemd_timestamp_SOURCES = \
1162 systemd_timestamp_CFLAGS = \
1165 systemd_timestamp_LDADD = \
1168 systemd_ac_power_SOURCES = \
1171 systemd_ac_power_CFLAGS = \
1175 systemd_ac_power_LDADD = \
1176 libsystemd-basic.la \
1179 systemd_detect_virt_SOURCES = \
1182 systemd_detect_virt_CFLAGS = \
1185 systemd_detect_virt_LDADD = \
1188 systemd_cryptsetup_SOURCES = \
1190 src/ask-password-api.c
1192 systemd_cryptsetup_CFLAGS = \
1193 $(LIBCRYPTSETUP_CFLAGS) \
1197 systemd_cryptsetup_LDADD = \
1198 $(LIBCRYPTSETUP_LIBS) \
1202 systemd_cryptsetup_generator_SOURCES = \
1203 src/cryptsetup-generator.c \
1206 systemd_cryptsetup_generator_CFLAGS = \
1209 systemd_cryptsetup_generator_LDADD = \
1212 systemd_getty_generator_SOURCES = \
1213 src/getty-generator.c \
1216 systemd_getty_generator_CFLAGS = \
1219 systemd_getty_generator_LDADD = \
1222 systemd_user_sessions_SOURCES = \
1223 src/user-sessions.c \
1226 systemd_user_sessions_CFLAGS = \
1229 systemd_user_sessions_LDADD = \
1232 systemd_vconsole_setup_SOURCES = \
1233 src/vconsole-setup.c
1235 systemd_vconsole_setup_CFLAGS = \
1238 systemd_vconsole_setup_LDADD = \
1241 systemd_remount_api_vfs_SOURCES = \
1242 src/remount-api-vfs.c \
1246 systemd_remount_api_vfs_CFLAGS = \
1249 systemd_remount_api_vfs_LDADD = \
1252 systemd_cgroups_agent_SOURCES = \
1253 src/cgroups-agent.c \
1256 systemd_cgroups_agent_CFLAGS = \
1260 systemd_cgroups_agent_LDADD = \
1261 libsystemd-basic.la \
1264 systemd_kmsg_syslogd_SOURCES = \
1265 src/kmsg-syslogd.c \
1268 systemd_kmsg_syslogd_CFLAGS = \
1271 systemd_kmsg_syslogd_LDADD = \
1272 libsystemd-basic.la \
1273 libsystemd-daemon.la
1275 systemctl_SOURCES = \
1288 systemctl_CFLAGS = \
1293 libsystemd-basic.la \
1294 libsystemd-daemon.la \
1297 systemd_loginctl_SOURCES = \
1305 systemd_loginctl_CFLAGS = \
1310 systemd_loginctl_LDADD = \
1311 libsystemd-basic.la \
1315 systemd_notify_SOURCES = \
1319 systemd_notify_LDADD = \
1320 libsystemd-basic.la \
1321 libsystemd-daemon.la
1323 systemd_ask_password_SOURCES = \
1324 src/ask-password.c \
1325 src/ask-password-api.c
1327 systemd_ask_password_LDADD = \
1330 systemd_reply_password_SOURCES = \
1331 src/reply-password.c
1333 systemd_reply_password_LDADD = \
1336 systemd_readahead_collect_SOURCES = \
1337 src/readahead-collect.c \
1338 src/readahead-common.c
1340 systemd_readahead_collect_CFLAGS = \
1343 systemd_readahead_collect_LDADD = \
1344 libsystemd-basic.la \
1345 libsystemd-daemon.la \
1348 systemd_readahead_replay_SOURCES = \
1349 src/readahead-replay.c \
1350 src/readahead-common.c
1352 systemd_readahead_replay_CFLAGS = \
1355 systemd_readahead_replay_LDADD = \
1356 libsystemd-basic.la \
1357 libsystemd-daemon.la \
1360 systemd_cgls_SOURCES = \
1366 systemd_cgls_CFLAGS = \
1369 systemd_cgls_LDADD = \
1372 systemd_nspawn_SOURCES = \
1375 src/loopback-setup.c
1377 systemd_nspawn_CFLAGS = \
1380 systemd_nspawn_LDADD = \
1381 libsystemd-basic.la \
1382 libsystemd-daemon.la
1384 systemd_stdio_bridge_SOURCES = \
1387 systemd_stdio_bridge_LDADD = \
1390 systemadm_SOURCES = \
1391 src/systemadm.vala \
1392 src/systemd-interfaces.vala
1394 systemadm_CFLAGS = \
1397 -Wno-unused-variable \
1398 -Wno-unused-function \
1400 -Wno-format-nonliteral
1402 systemadm_VALAFLAGS = \
1410 systemd_gnome_ask_password_agent_SOURCES = \
1411 src/gnome-ask-password-agent.vala
1413 systemd_gnome_ask_password_agent_CFLAGS = \
1415 $(LIBNOTIFY_CFLAGS) \
1417 -Wno-unused-variable \
1418 -Wno-unused-function \
1420 -Wno-format-nonliteral
1422 systemd_gnome_ask_password_agent_VALAFLAGS = \
1426 --pkg=gio-unix-2.0 \
1429 systemd_gnome_ask_password_agent_VALAFLAGS += \
1432 systemd_gnome_ask_password_agent_VALAFLAGS += \
1435 systemd_gnome_ask_password_agent_LDADD = \
1439 systemd_tty_ask_password_agent_SOURCES = \
1440 src/tty-ask-password-agent.c \
1441 src/ask-password-api.c \
1444 systemd_tty_ask_password_agent_LDADD = \
1447 pam_systemd_la_SOURCES = \
1451 pam_systemd_la_CFLAGS = \
1457 pam_systemd_la_LDFLAGS = \
1462 -export-symbols-regex '^pam_sm_.*'
1464 pam_systemd_la_LIBADD = \
1465 libsystemd-basic.la \
1466 libsystemd-daemon.la \
1470 libsystemd_daemon_la_SOURCES = \
1473 libsystemd_daemon_la_CFLAGS = \
1475 -fvisibility=hidden \
1478 libsystemd_daemon_la_LDFLAGS = \
1480 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1481 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1483 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1484 libsystemd-daemon-install-hook:
1485 if test "$(libdir)" != "$(rootlibdir)"; then \
1486 mkdir -p $(DESTDIR)$(rootlibdir) && \
1487 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.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-daemon.so && \
1490 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1493 libsystemd-daemon-uninstall-hook:
1494 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1496 libsystemd_login_la_SOURCES = \
1500 libsystemd_login_la_CFLAGS = \
1504 libsystemd_login_la_LDFLAGS = \
1506 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1507 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1509 libsystemd_login_la_LIBADD = \
1512 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1513 libsystemd-login-install-hook:
1514 if test "$(libdir)" != "$(rootlibdir)"; then \
1515 mkdir -p $(DESTDIR)$(rootlibdir) && \
1516 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1517 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1518 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1519 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1522 libsystemd-login-uninstall-hook:
1523 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1526 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1527 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1528 -e 's,@rootbindir\@,$(rootbindir),g' \
1529 -e 's,@bindir\@,$(bindir),g' \
1530 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1531 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1532 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1533 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1534 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1535 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1536 -e 's,@userunitdir\@,$(userunitdir),g' \
1537 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1538 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1539 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1540 -e 's,@prefix\@,$(prefix),g' \
1541 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1542 -e 's,@libdir\@,$(libdir),g' \
1543 -e 's,@includedir\@,$(includedir),g' \
1546 units/%: units/%.in Makefile
1549 man/%: man/%.in Makefile
1552 %.pc: %.pc.in Makefile
1555 src/%.policy.in: src/%.policy.in.in Makefile
1558 src/%.rules: src/%.rules.in Makefile
1561 src/%.c: src/%.gperf
1562 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1566 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1567 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1569 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1570 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1571 $(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 $@
1573 M4_PROCESS_SYSTEM = \
1574 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1575 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1578 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1579 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1581 units/%: units/%.m4 Makefile
1582 $(M4_PROCESS_SYSTEM)
1584 units/user/%: units/%.m4 Makefile
1588 $(nodist_systemunit_DATA) \
1589 $(nodist_userunit_DATA) \
1590 $(nodist_man_MANS) \
1591 ${XML_IN_FILES:.xml.in=.html} \
1592 $(pkgconfigdata_DATA) \
1593 $(pkgconfiglib_DATA) \
1594 $(nodist_polkitpolicy_DATA) \
1595 src/73-seat-late.rules \
1596 src/99-systemd.rules \
1597 src/load-fragment-gperf.gperf \
1598 src/load-fragment-gperf.c \
1599 src/load-fragment-gperf-nulstr.c \
1604 ${systemadm_SOURCES:.vala=.c}
1610 --param funcsynopsis.style "'ansi'"
1612 XSLTPROC_PROCESS_MAN = \
1613 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1614 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1616 XSLTPROC_PROCESS_MAN_IN = \
1617 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1618 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1621 XSLTPROC_PROCESS_HTML = \
1622 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1623 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1625 XSLTPROC_PROCESS_HTML_IN = \
1626 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1627 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1631 $(XSLTPROC_PROCESS_MAN)
1633 man/%.1.in: man/%.xml.in
1634 $(XSLTPROC_PROCESS_MAN)
1637 $(XSLTPROC_PROCESS_MAN)
1639 man/%.3.in: man/%.xml.in
1640 $(XSLTPROC_PROCESS_MAN)
1643 $(XSLTPROC_PROCESS_MAN)
1645 man/%.5.in: man/%.xml.in
1646 $(XSLTPROC_PROCESS_MAN)
1649 $(XSLTPROC_PROCESS_MAN)
1651 man/%.7.in: man/%.xml.in
1652 $(XSLTPROC_PROCESS_MAN_IN)
1655 $(XSLTPROC_PROCESS_MAN)
1657 man/%.8.in: man/%.xml.in
1658 $(XSLTPROC_PROCESS_MAN_IN)
1660 man/%.html: man/%.xml
1661 $(XSLTPROC_PROCESS_HTML)
1663 man/%.html.in: man/%.xml.in
1664 $(XSLTPROC_PROCESS_HTML_IN)
1668 ${nodist_man_MANS:=.in} \
1669 ${XML_FILES:.xml=.html} \
1670 ${XML_IN_FILES:.xml.in=.html.in}
1673 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1675 org.freedesktop.systemd1.%.xml: systemd
1676 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1677 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1678 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1680 org.freedesktop.hostname1.xml: systemd-hostnamed
1681 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1682 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1683 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1685 org.freedesktop.locale1.xml: systemd-localed
1686 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1687 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1688 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1690 org.freedesktop.timedate1.xml: systemd-timedated
1691 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1692 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1693 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1696 $(dbusinterface_DATA)
1699 $(MKDIR_P) -m 0755 \
1700 $(DESTDIR)$(tmpfilesdir) \
1701 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1702 $(DESTDIR)$(prefix)/lib/modules-load.d \
1703 $(DESTDIR)$(sysconfdir)/modules-load.d \
1704 $(DESTDIR)$(prefix)/lib/sysctl.d \
1705 $(DESTDIR)$(sysconfdir)/sysctl.d \
1706 $(DESTDIR)$(systemshutdowndir) \
1707 $(DESTDIR)$(systemgeneratordir) \
1708 $(DESTDIR)$(usergeneratordir)
1710 $(MKDIR_P) -m 0755 \
1711 $(DESTDIR)$(prefix)/lib/binfmt.d \
1712 $(DESTDIR)$(sysconfdir)/binfmt.d
1714 $(MKDIR_P) -m 0755 \
1715 $(DESTDIR)$(systemunitdir) \
1716 $(DESTDIR)$(userunitdir) \
1717 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1718 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1719 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1720 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1721 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1722 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1723 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1724 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1725 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1726 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1727 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1728 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1729 $(DESTDIR)$(pkgsysconfdir)/system \
1730 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1731 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1732 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1733 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1734 $(DESTDIR)$(pkgsysconfdir)/user \
1735 $(DESTDIR)$(dbussessionservicedir) \
1736 $(DESTDIR)$(sysconfdir)/xdg/systemd
1737 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1739 $(LN_S) $(pkgsysconfdir)/user user )
1740 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1741 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1742 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1743 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1744 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1745 $(LN_S) ../syslog.socket syslog.socket )
1746 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1747 rm -f systemd-update-utmp-runlevel.service && \
1748 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1749 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1750 rm -f systemd-update-utmp-runlevel.service && \
1751 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1752 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1753 rm -f systemd-update-utmp-runlevel.service && \
1754 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1755 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1756 rm -f systemd-update-utmp-runlevel.service && \
1757 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1758 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1759 rm -f systemd-update-utmp-runlevel.service && \
1760 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1761 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1762 rm -f systemd-update-utmp-shutdown.service \
1763 systemd-random-seed-save.service && \
1764 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1765 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1766 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1767 rm -f systemd-remount-api-vfs.service \
1769 remount-rootfs.service \
1772 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1773 $(LN_S) ../fsck-root.service fsck-root.service && \
1774 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1775 $(LN_S) ../var-run.mount var-run.mount && \
1776 $(LN_S) ../media.mount media.mount )
1777 ( cd $(DESTDIR)$(userunitdir) && \
1778 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1779 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1780 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1781 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1782 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1783 $(LN_S) $(systemunitdir)/sound.target sound.target )
1784 ( cd $(DESTDIR)$(systemunitdir) && \
1785 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1786 $(LN_S) poweroff.target runlevel0.target && \
1787 $(LN_S) rescue.target runlevel1.target && \
1788 $(LN_S) multi-user.target runlevel2.target && \
1789 $(LN_S) multi-user.target runlevel3.target && \
1790 $(LN_S) multi-user.target runlevel4.target && \
1791 $(LN_S) graphical.target runlevel5.target && \
1792 $(LN_S) reboot.target runlevel6.target )
1793 ( cd $(DESTDIR)$(systemunitdir) && \
1794 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.login1.service autovt@.service && \
1795 $(LN_S) graphical.target default.target && \
1796 $(LN_S) reboot.target ctrl-alt-del.target && \
1797 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1798 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1799 $(LN_S) getty@.service autovt@.service )
1800 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1801 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1802 $(LN_S) ../getty.target getty.target && \
1803 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1804 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1805 $(LN_S) ../systemd-logind.service systemd-logind.service )
1806 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1807 rm -f getty@tty1.service && \
1808 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1809 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1810 rm -f remote-fs.target && \
1811 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1812 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1813 rm -f dev-hugepages.automount \
1814 dev-mqueue.automount \
1815 sys-kernel-debug.automount \
1816 sys-kernel-security.automount \
1817 systemd-vconsole-setup.service \
1818 systemd-modules-load.service \
1819 systemd-random-seed-load.service \
1820 systemd-tmpfiles-setup.service \
1821 systemd-sysctl.service \
1822 systemd-ask-password-console.path \
1823 systemd-kmsg-syslogd.service \
1824 cryptsetup.target && \
1825 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1826 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1827 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1828 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1829 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1830 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1831 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1832 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1833 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1834 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1835 $(LN_S) ../systemd-kmsg-syslogd.service && \
1836 $(LN_S) ../cryptsetup.target cryptsetup.target )
1838 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1839 rm -f systemd-binfmt.service \
1840 proc-sys-fs-binfmt_misc.automount && \
1841 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1842 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1845 ( cd $(DESTDIR)$(systemunitdir) && \
1846 rm -f dbus-org.freedesktop.hostname1.service && \
1847 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1850 ( cd $(DESTDIR)$(systemunitdir) && \
1851 rm -f dbus-org.freedesktop.timedate1.service && \
1852 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1854 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1855 rm -f systemd-tmpfiles-clean.timer && \
1856 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1857 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1858 rm -f org.freedesktop.systemd1.service && \
1859 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1861 $(MKDIR_P) -m 0755 \
1862 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1863 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1864 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1865 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1866 $(DESTDIR)$(systemunitdir)/halt.target.wants
1867 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1868 rm -f plymouth-start.service plymouth-read-write.service && \
1869 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1870 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1871 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1872 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1873 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1874 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1875 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1876 rm -f plymouth-reboot.service && \
1877 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1878 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1879 rm -f plymouth-kexec.service && \
1880 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1881 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1882 rm -f plymouth-poweroff.service && \
1883 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1884 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1885 rm -f plymouth-halt.service && \
1886 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1889 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1890 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1891 rm -f network.target && \
1892 $(LN_S) $(systemunitdir)/network.target network.target )
1893 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1895 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1897 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1899 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1904 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1905 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1906 rm -f rc-local.service && \
1907 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1908 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1909 rm -f halt-local.service && \
1910 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1911 ( cd $(DESTDIR)$(systemunitdir) && \
1912 rm -f display-manager.service single.service && \
1913 $(LN_S) prefdm.service display-manager.service && \
1914 $(LN_S) rescue.service single.service )
1915 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1916 rm -f display-manager.service && \
1917 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1921 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1922 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1923 rm -f rc-local.service && \
1924 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1925 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1926 rm -f halt-local.service && \
1927 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1928 ( cd $(DESTDIR)$(systemunitdir) && \
1929 rm -f display-manager.service dm.service single.service && \
1930 $(LN_S) prefdm.service display-manager.service && \
1931 $(LN_S) prefdm.service dm.service && \
1932 $(LN_S) rescue.service single.service )
1933 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1934 rm -f display-manager.service && \
1935 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1938 if TARGET_DEBIAN_OR_UBUNTU
1939 ( cd $(DESTDIR)$(systemunitdir) && \
1940 rm -f runlevel5.target && \
1941 $(LN_S) multi-user.target runlevel5.target )
1945 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1946 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1947 rm -f rc-local.service && \
1948 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1949 ( cd $(DESTDIR)$(systemunitdir) && \
1950 rm -f local.service && \
1951 $(LN_S) rc-local.service local.service )
1952 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1953 rm -f halt-local.service && \
1954 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1958 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1959 rm -f var-lock.mount && \
1960 $(LN_S) ../var-lock.mount var-lock.mount )
1963 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1965 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1967 DISTCHECK_CONFIGURE_FLAGS = \
1968 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1969 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1970 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1971 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1972 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1973 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1974 --with-rootdir=$$dc_install_base/$(rootdir)
1976 upload: all distcheck
1977 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1978 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1979 scp man/*.html tango:public/systemd-man/
1982 git tag "v$(VERSION)" -m "systemd $(VERSION)"