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=0
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 \
181 rootlibexec_PROGRAMS += \
185 systemgenerator_PROGRAMS = \
186 systemd-getty-generator
188 if HAVE_LIBCRYPTSETUP
189 rootlibexec_PROGRAMS += \
192 systemgenerator_PROGRAMS += \
193 systemd-cryptsetup-generator
197 libsystemd-daemon.la \
200 pkginclude_HEADERS = \
218 pamlib_LTLIBRARIES = \
222 dist_pkgsysconf_DATA = \
225 src/systemd-logind.conf
227 dist_dbuspolicy_DATA = \
228 src/org.freedesktop.systemd1.conf \
229 src/org.freedesktop.hostname1.conf \
230 src/org.freedesktop.locale1.conf \
231 src/org.freedesktop.timedate1.conf \
232 src/org.freedesktop.login1.conf
234 dist_dbussystemservice_DATA = \
235 src/org.freedesktop.systemd1.service \
236 src/org.freedesktop.hostname1.service \
237 src/org.freedesktop.locale1.service \
238 src/org.freedesktop.timedate1.service \
239 src/org.freedesktop.login1.service
241 dist_udevrules_DATA = \
242 src/70-uaccess.rules \
245 nodist_udevrules_DATA = \
246 src/73-seat-late.rules \
249 dbusinterface_DATA = \
250 org.freedesktop.systemd1.Manager.xml \
251 org.freedesktop.systemd1.Job.xml \
252 org.freedesktop.systemd1.Unit.xml \
253 org.freedesktop.systemd1.Service.xml \
254 org.freedesktop.systemd1.Socket.xml \
255 org.freedesktop.systemd1.Timer.xml \
256 org.freedesktop.systemd1.Target.xml \
257 org.freedesktop.systemd1.Device.xml \
258 org.freedesktop.systemd1.Mount.xml \
259 org.freedesktop.systemd1.Automount.xml \
260 org.freedesktop.systemd1.Snapshot.xml \
261 org.freedesktop.systemd1.Swap.xml \
262 org.freedesktop.systemd1.Path.xml \
263 org.freedesktop.hostname1.xml \
264 org.freedesktop.locale1.xml \
265 org.freedesktop.timedate1.xml
267 dist_bashcompletion_DATA = \
268 src/systemctl-bash-completion.sh
270 dist_tmpfiles_DATA = \
271 tmpfiles.d/systemd.conf \
275 dist_tmpfiles_DATA += \
276 tmpfiles.d/legacy.conf
279 dist_systemunit_DATA = \
280 units/graphical.target \
281 units/multi-user.target \
282 units/emergency.service \
283 units/emergency.target \
284 units/sysinit.target \
289 units/local-fs.target \
290 units/remote-fs.target \
291 units/cryptsetup.target \
292 units/network.target \
293 units/nss-lookup.target \
294 units/mail-transfer-agent.target \
295 units/http-daemon.target \
296 units/poweroff.target \
297 units/reboot.target \
298 units/rescue.target \
299 units/rpcbind.target \
300 units/time-sync.target \
301 units/shutdown.target \
303 units/umount.target \
304 units/sigpwr.target \
305 units/sockets.target \
307 units/systemd-initctl.socket \
308 units/systemd-logger.socket \
309 units/systemd-shutdownd.socket \
310 units/syslog.socket \
311 units/dev-hugepages.automount \
312 units/dev-hugepages.mount \
313 units/dev-mqueue.automount \
314 units/dev-mqueue.mount \
315 units/sys-kernel-debug.automount \
316 units/sys-kernel-debug.mount \
317 units/sys-kernel-security.automount \
318 units/sys-kernel-security.mount \
319 units/var-run.mount \
321 units/remount-rootfs.service \
322 units/printer.target \
324 units/bluetooth.target \
325 units/smartcard.target \
326 units/systemd-readahead-done.timer \
327 units/systemd-tmpfiles-clean.timer \
328 units/quotaon.service \
329 units/systemd-ask-password-wall.path \
330 units/systemd-ask-password-console.path \
334 dist_systemunit_DATA += \
339 dist_systemunit_DATA += \
340 units/proc-sys-fs-binfmt_misc.automount \
341 units/proc-sys-fs-binfmt_misc.mount
344 nodist_systemunit_DATA = \
345 units/getty@.service \
346 units/serial-getty@.service \
347 units/console-shell.service \
348 units/systemd-initctl.service \
349 units/systemd-logger.service \
350 units/systemd-shutdownd.service \
351 units/systemd-hostnamed.service \
352 units/systemd-localed.service \
353 units/systemd-timedated.service \
354 units/systemd-logind.service \
355 units/systemd-kmsg-syslogd.service \
356 units/systemd-modules-load.service \
357 units/systemd-vconsole-setup.service \
358 units/systemd-remount-api-vfs.service \
359 units/systemd-update-utmp-runlevel.service \
360 units/systemd-update-utmp-shutdown.service \
361 units/systemd-random-seed-save.service \
362 units/systemd-random-seed-load.service \
363 units/systemd-readahead-collect.service \
364 units/systemd-readahead-replay.service \
365 units/systemd-readahead-done.service \
366 units/systemd-tmpfiles-setup.service \
367 units/systemd-tmpfiles-clean.service \
368 units/systemd-user-sessions.service \
369 units/systemd-ask-password-wall.service \
370 units/systemd-ask-password-console.service \
371 units/systemd-sysctl.service \
373 units/poweroff.service \
374 units/reboot.service \
375 units/kexec.service \
376 units/fsck@.service \
377 units/fsck-root.service \
378 units/quotacheck.service \
379 units/rescue.service \
383 nodist_systemunit_DATA += \
384 units/systemd-binfmt.service
387 dist_userunit_DATA = \
388 units/user/default.target \
389 units/user/exit.target
391 nodist_userunit_DATA = \
392 units/user/exit.service
395 units/getty@.service.m4 \
396 units/serial-getty@.service.m4 \
397 units/console-shell.service.m4 \
398 units/rescue.service.m4 \
399 units/systemd-initctl.service.in \
400 units/systemd-logger.service.in \
401 units/systemd-shutdownd.service.in \
402 units/systemd-hostnamed.service.in \
403 units/systemd-localed.service.in \
404 units/systemd-timedated.service.in \
405 units/systemd-logind.service.in \
406 units/systemd-kmsg-syslogd.service.in \
407 units/systemd-modules-load.service.in \
408 units/systemd-vconsole-setup.service.in \
409 units/systemd-remount-api-vfs.service.in \
410 units/systemd-update-utmp-runlevel.service.in \
411 units/systemd-update-utmp-shutdown.service.in \
412 units/systemd-random-seed-save.service.in \
413 units/systemd-random-seed-load.service.in \
414 units/systemd-readahead-collect.service.in \
415 units/systemd-readahead-replay.service.in \
416 units/systemd-readahead-done.service.in \
417 units/systemd-tmpfiles-setup.service.in \
418 units/systemd-tmpfiles-clean.service.in \
419 units/systemd-user-sessions.service.in \
420 units/systemd-ask-password-wall.service.in \
421 units/systemd-ask-password-console.service.in \
422 units/systemd-sysctl.service.in \
423 units/halt.service.in \
424 units/poweroff.service.in \
425 units/reboot.service.in \
426 units/kexec.service.in \
427 units/user/exit.service.in \
428 units/fsck@.service.in \
429 units/fsck-root.service.in \
430 units/quotacheck.service.in \
431 units/user@.service.in \
433 libsystemd-daemon.pc.in \
434 libsystemd-login.pc.in \
435 src/libsystemd-daemon.sym \
436 src/libsystemd-login.sym \
438 src/73-seat-late.rules.in \
439 src/99-systemd.rules.in
443 units/systemd-binfmt.service.in
447 dist_systemunit_DATA += \
448 units/fedora/prefdm.service \
449 units/fedora/rc-local.service \
450 units/fedora/halt-local.service
454 dist_systemunit_DATA += \
455 units/mandriva/prefdm.service \
456 units/fedora/rc-local.service \
457 units/fedora/halt-local.service
461 dist_systemunit_DATA += \
462 units/frugalware/display-manager.service
466 dist_systemunit_DATA += \
467 units/suse/rc-local.service \
468 units/suse/halt-local.service
472 dist_systemunit_DATA += \
473 units/plymouth-start.service \
474 units/plymouth-read-write.service \
475 units/plymouth-quit.service \
476 units/plymouth-quit-wait.service \
477 units/plymouth-reboot.service \
478 units/plymouth-kexec.service \
479 units/plymouth-poweroff.service \
480 units/plymouth-halt.service \
481 units/systemd-ask-password-plymouth.path
483 nodist_systemunit_DATA += \
484 units/systemd-ask-password-plymouth.service
487 units/systemd-ask-password-plymouth.service.in
499 pkgconfigdata_DATA = \
502 pkgconfiglib_DATA = \
503 libsystemd-daemon.pc \
506 # Passed through intltool only
507 polkitpolicy_in_files = \
508 src/org.freedesktop.hostname1.policy.in \
509 src/org.freedesktop.locale1.policy.in \
510 src/org.freedesktop.timedate1.policy.in \
511 src/org.freedesktop.login1.policy.in
513 # First passed through sed, followed by intltool
514 polkitpolicy_in_in_files = \
515 src/org.freedesktop.systemd1.policy.in.in
517 nodist_polkitpolicy_DATA = \
518 $(polkitpolicy_in_files:.policy.in=.policy) \
519 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
522 $(polkitpolicy_in_files) \
523 $(polkitpolicy_in_in_files)
525 @INTLTOOL_POLICY_RULE@
527 noinst_LTLIBRARIES = \
528 libsystemd-basic.la \
531 libsystemd_basic_la_SOURCES = \
543 libsystemd_basic_la_CFLAGS = \
547 libsystemd_basic_la_LIBADD = \
551 libsystemd_core_la_SOURCES = \
556 src/load-fragment.c \
579 src/dbus-automount.c \
581 src/dbus-snapshot.c \
587 src/hostname-setup.c \
588 src/selinux-setup.c \
589 src/loopback-setup.c \
592 src/machine-id-setup.c \
604 libsystemd_core_la_CFLAGS = \
612 libsystemd_core_la_LIBADD = \
613 libsystemd-basic.la \
621 # This is needed because automake is buggy in how it generates the
622 # rules for C programs, but not Vala programs. We therefore can't
623 # list the .h files as dependencies if we want make dist to work.
626 ${libsystemd_basic_la_SOURCES:.c=.h} \
627 ${libsystemd_core_la_SOURCES:.c=.h} \
628 ${libsystemd_daemon_la_SOURCES:.c=.h} \
635 src/linux/auto_dev-ioctl.h \
636 src/linux/fanotify.h \
646 src/readahead-common.h \
647 src/ask-password-api.h \
652 src/logind-device.h \
654 src/logind-session.h \
665 man/systemd-nspawn.1 \
666 man/systemd-tmpfiles.8 \
667 man/systemd-notify.1 \
671 man/sd_listen_fds.3 \
674 man/systemd.service.5 \
675 man/systemd.socket.5 \
676 man/systemd.mount.5 \
677 man/systemd.automount.5 \
679 man/systemd.timer.5 \
681 man/systemd.target.5 \
682 man/systemd.device.5 \
683 man/systemd.snapshot.5 \
694 man/systemd-logind.conf.5 \
698 man/vconsole.conf.5 \
702 man/modules-load.d.5 \
704 man/systemd-ask-password.1 \
705 man/systemd-loginctl.1
716 man/sd_is_socket_unix.3 \
717 man/sd_is_socket_inet.3 \
721 man/reboot.8: man/halt.8
722 man/poweroff.8: man/halt.8
723 man/sd_is_socket.3: man/sd_is_fifo.3
724 man/sd_is_socket_unix.3: man/sd_is_fifo.3
725 man/sd_is_socket_inet.3: man/sd_is_fifo.3
726 man/sd_notifyf.3: man/sd_notify.3
727 man/init.1: man/systemd.1
734 man/systemd.special.7
737 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
740 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
743 ${XML_FILES:.xml=.html}
745 nodist_noinst_DATA = \
746 ${XML_IN_FILES:.xml.in=.html}
751 ${nodist_man_MANS:=.in} \
752 ${XML_IN_FILES:.xml.in=.html.in}
765 test_engine_SOURCES = \
768 test_engine_CFLAGS = $(systemd_CFLAGS)
769 test_engine_LDADD = $(systemd_LDADD)
771 test_job_type_SOURCES = \
774 test_job_type_CFLAGS = $(systemd_CFLAGS)
775 test_job_type_LDADD = $(systemd_LDADD)
780 test_ns_CFLAGS = $(systemd_CFLAGS)
781 test_ns_LDADD = $(systemd_LDADD)
783 test_loopback_SOURCES = \
784 src/test-loopback.c \
787 test_loopback_LDADD = \
790 test_hostname_SOURCES = \
791 src/test-hostname.c \
794 test_hostname_LDADD = \
797 test_daemon_SOURCES = \
800 test_daemon_LDADD = \
801 libsystemd-basic.la \
804 test_cgroup_SOURCES = \
808 test_cgroup_CFLAGS = \
811 test_cgroup_LDADD = \
814 test_env_replace_SOURCES = \
815 src/test-env-replace.c
817 test_env_replace_CFLAGS = \
820 test_env_replace_LDADD = \
823 test_strv_SOURCES = \
833 test_login_SOURCES = \
836 test_login_CFLAGS = \
840 libsystemd-basic.la \
843 test_install_SOURCES = \
849 test_install_CFLAGS = \
853 test_install_LDADD = \
856 systemd_logger_SOURCES = \
860 systemd_logger_LDADD = \
861 libsystemd-basic.la \
862 libsystemd-daemon.la \
865 systemd_initctl_SOURCES = \
869 systemd_initctl_CFLAGS = \
873 systemd_initctl_LDADD = \
874 libsystemd-basic.la \
875 libsystemd-daemon.la \
878 systemd_update_utmp_SOURCES = \
883 systemd_update_utmp_CFLAGS = \
888 systemd_update_utmp_LDADD = \
889 libsystemd-basic.la \
893 systemd_random_seed_SOURCES = \
896 systemd_random_seed_CFLAGS = \
899 systemd_random_seed_LDADD = \
902 systemd_shutdownd_SOURCES = \
906 systemd_shutdownd_CFLAGS = \
909 systemd_shutdownd_LDADD = \
910 libsystemd-basic.la \
913 systemd_hostnamed_SOURCES = \
918 systemd_hostnamed_CFLAGS = \
922 systemd_hostnamed_LDADD = \
923 libsystemd-basic.la \
924 libsystemd-daemon.la \
927 systemd_localed_SOURCES = \
932 systemd_localed_CFLAGS = \
936 systemd_localed_LDADD = \
937 libsystemd-basic.la \
938 libsystemd-daemon.la \
941 systemd_timedated_SOURCES = \
946 systemd_timedated_CFLAGS = \
950 systemd_timedated_LDADD = \
951 libsystemd-basic.la \
952 libsystemd-daemon.la \
955 systemd_logind_SOURCES = \
958 src/logind-device.c \
960 src/logind-seat-dbus.c \
961 src/logind-session.c \
962 src/logind-session-dbus.c \
964 src/logind-user-dbus.c \
970 systemd_logind_CFLAGS = \
976 systemd_logind_LDADD = \
977 libsystemd-basic.la \
978 libsystemd-daemon.la \
983 systemd_uaccess_SOURCES = \
987 systemd_logind_SOURCES += \
990 systemd_uaccess_SOURCES += \
994 systemd_uaccess_CFLAGS = \
999 systemd_uaccess_LDADD = \
1000 libsystemd-basic.la \
1001 libsystemd-daemon.la \
1002 libsystemd-login.la \
1006 systemd_shutdown_SOURCES = \
1011 systemd_shutdown_CFLAGS = \
1015 systemd_shutdown_LDADD = \
1016 libsystemd-basic.la \
1019 systemd_modules_load_SOURCES = \
1022 systemd_modules_load_CFLAGS = \
1025 systemd_modules_load_LDADD = \
1028 systemd_tmpfiles_SOURCES = \
1031 systemd_tmpfiles_CFLAGS = \
1034 systemd_tmpfiles_LDADD = \
1037 systemd_machine_id_setup_SOURCES = \
1038 src/machine-id-setup.c \
1039 src/machine-id-main.c
1041 systemd_machine_id_setup_CFLAGS = \
1044 systemd_machine_id_setup_LDADD = \
1047 systemd_sysctl_SOURCES = \
1050 systemd_sysctl_CFLAGS = \
1053 systemd_sysctl_LDADD = \
1056 systemd_binfmt_SOURCES = \
1059 systemd_binfmt_CFLAGS = \
1062 systemd_binfmt_LDADD = \
1065 systemd_fsck_SOURCES = \
1069 systemd_fsck_CFLAGS = \
1074 systemd_fsck_LDADD = \
1075 libsystemd-basic.la \
1079 systemd_quotacheck_SOURCES = \
1082 systemd_quotacheck_CFLAGS = \
1085 systemd_quotacheck_LDADD = \
1088 systemd_timestamp_SOURCES = \
1091 systemd_timestamp_CFLAGS = \
1094 systemd_timestamp_LDADD = \
1097 systemd_ac_power_SOURCES = \
1100 systemd_ac_power_CFLAGS = \
1104 systemd_ac_power_LDADD = \
1105 libsystemd-basic.la \
1108 systemd_detect_virt_SOURCES = \
1111 systemd_detect_virt_CFLAGS = \
1114 systemd_detect_virt_LDADD = \
1117 systemd_cryptsetup_SOURCES = \
1119 src/ask-password-api.c
1121 systemd_cryptsetup_CFLAGS = \
1122 $(LIBCRYPTSETUP_CFLAGS) \
1126 systemd_cryptsetup_LDADD = \
1127 $(LIBCRYPTSETUP_LIBS) \
1131 systemd_cryptsetup_generator_SOURCES = \
1132 src/cryptsetup-generator.c \
1135 systemd_cryptsetup_generator_CFLAGS = \
1138 systemd_cryptsetup_generator_LDADD = \
1141 systemd_getty_generator_SOURCES = \
1142 src/getty-generator.c \
1145 systemd_getty_generator_CFLAGS = \
1148 systemd_getty_generator_LDADD = \
1151 systemd_user_sessions_SOURCES = \
1152 src/user-sessions.c \
1155 systemd_user_sessions_CFLAGS = \
1158 systemd_user_sessions_LDADD = \
1161 systemd_vconsole_setup_SOURCES = \
1162 src/vconsole-setup.c
1164 systemd_vconsole_setup_CFLAGS = \
1167 systemd_vconsole_setup_LDADD = \
1170 systemd_remount_api_vfs_SOURCES = \
1171 src/remount-api-vfs.c \
1175 systemd_remount_api_vfs_CFLAGS = \
1178 systemd_remount_api_vfs_LDADD = \
1181 systemd_cgroups_agent_SOURCES = \
1182 src/cgroups-agent.c \
1185 systemd_cgroups_agent_CFLAGS = \
1189 systemd_cgroups_agent_LDADD = \
1190 libsystemd-basic.la \
1193 systemd_kmsg_syslogd_SOURCES = \
1194 src/kmsg-syslogd.c \
1197 systemd_kmsg_syslogd_CFLAGS = \
1200 systemd_kmsg_syslogd_LDADD = \
1201 libsystemd-basic.la \
1202 libsystemd-daemon.la
1204 systemctl_SOURCES = \
1217 systemctl_CFLAGS = \
1222 libsystemd-basic.la \
1223 libsystemd-daemon.la \
1226 systemd_loginctl_SOURCES = \
1234 systemd_loginctl_CFLAGS = \
1239 systemd_loginctl_LDADD = \
1240 libsystemd-basic.la \
1244 systemd_notify_SOURCES = \
1248 systemd_notify_LDADD = \
1249 libsystemd-basic.la \
1250 libsystemd-daemon.la
1252 systemd_ask_password_SOURCES = \
1253 src/ask-password.c \
1254 src/ask-password-api.c
1256 systemd_ask_password_LDADD = \
1259 systemd_reply_password_SOURCES = \
1260 src/reply-password.c
1262 systemd_reply_password_LDADD = \
1265 systemd_readahead_collect_SOURCES = \
1266 src/readahead-collect.c \
1267 src/readahead-common.c
1269 systemd_readahead_collect_CFLAGS = \
1272 systemd_readahead_collect_LDADD = \
1273 libsystemd-basic.la \
1274 libsystemd-daemon.la \
1277 systemd_readahead_replay_SOURCES = \
1278 src/readahead-replay.c \
1279 src/readahead-common.c
1281 systemd_readahead_replay_CFLAGS = \
1284 systemd_readahead_replay_LDADD = \
1285 libsystemd-basic.la \
1286 libsystemd-daemon.la \
1289 systemd_cgls_SOURCES = \
1295 systemd_cgls_CFLAGS = \
1298 systemd_cgls_LDADD = \
1301 systemd_nspawn_SOURCES = \
1305 systemd_nspawn_CFLAGS = \
1308 systemd_nspawn_LDADD = \
1309 libsystemd-basic.la \
1310 libsystemd-daemon.la
1312 systemd_stdio_bridge_SOURCES = \
1315 systemd_stdio_bridge_LDADD = \
1318 systemadm_SOURCES = \
1319 src/systemadm.vala \
1320 src/systemd-interfaces.vala
1322 systemadm_CFLAGS = \
1325 -Wno-unused-variable \
1326 -Wno-unused-function \
1328 -Wno-format-nonliteral
1330 systemadm_VALAFLAGS = \
1338 systemd_gnome_ask_password_agent_SOURCES = \
1339 src/gnome-ask-password-agent.vala
1341 systemd_gnome_ask_password_agent_CFLAGS = \
1343 $(LIBNOTIFY_CFLAGS) \
1345 -Wno-unused-variable \
1346 -Wno-unused-function \
1348 -Wno-format-nonliteral
1350 systemd_gnome_ask_password_agent_VALAFLAGS = \
1354 --pkg=gio-unix-2.0 \
1357 systemd_gnome_ask_password_agent_VALAFLAGS += \
1360 systemd_gnome_ask_password_agent_VALAFLAGS += \
1363 systemd_gnome_ask_password_agent_LDADD = \
1367 systemd_tty_ask_password_agent_SOURCES = \
1368 src/tty-ask-password-agent.c \
1369 src/ask-password-api.c \
1372 systemd_tty_ask_password_agent_LDADD = \
1375 pam_systemd_la_SOURCES = \
1379 pam_systemd_la_CFLAGS = \
1385 pam_systemd_la_LDFLAGS = \
1390 -export-symbols-regex '^pam_sm_.*'
1392 pam_systemd_la_LIBADD = \
1393 libsystemd-basic.la \
1394 libsystemd-daemon.la \
1398 libsystemd_daemon_la_SOURCES = \
1401 libsystemd_daemon_la_CFLAGS = \
1403 -fvisibility=hidden \
1406 libsystemd_daemon_la_LDFLAGS = \
1408 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1409 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1411 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1412 libsystemd-daemon-install-hook:
1413 if test "$(libdir)" != "$(rootlibdir)"; then \
1414 mkdir -p $(DESTDIR)$(rootlibdir) && \
1415 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1416 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1417 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1418 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1421 libsystemd-daemon-uninstall-hook:
1422 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1424 libsystemd_login_la_SOURCES = \
1428 libsystemd_login_la_CFLAGS = \
1432 libsystemd_login_la_LDFLAGS = \
1434 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1435 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1437 libsystemd_login_la_LIBADD = \
1440 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1441 libsystemd-login-install-hook:
1442 if test "$(libdir)" != "$(rootlibdir)"; then \
1443 mkdir -p $(DESTDIR)$(rootlibdir) && \
1444 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1445 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1446 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1447 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1450 libsystemd-login-uninstall-hook:
1451 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1454 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1455 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1456 -e 's,@rootbindir\@,$(rootbindir),g' \
1457 -e 's,@bindir\@,$(bindir),g' \
1458 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1459 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1460 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1461 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1462 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1463 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1464 -e 's,@userunitdir\@,$(userunitdir),g' \
1465 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1466 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1467 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1468 -e 's,@prefix\@,$(prefix),g' \
1469 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1470 -e 's,@libdir\@,$(libdir),g' \
1471 -e 's,@includedir\@,$(includedir),g' \
1474 units/%: units/%.in Makefile
1477 man/%: man/%.in Makefile
1480 %.pc: %.pc.in Makefile
1483 src/%.policy.in: src/%.policy.in.in Makefile
1486 src/%.rules: src/%.rules.in Makefile
1489 M4_PROCESS_SYSTEM = \
1490 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1491 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1494 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1495 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1497 units/%: units/%.m4 Makefile
1498 $(M4_PROCESS_SYSTEM)
1500 units/user/%: units/%.m4 Makefile
1504 $(nodist_systemunit_DATA) \
1505 $(nodist_userunit_DATA) \
1506 $(nodist_man_MANS) \
1507 ${XML_IN_FILES:.xml.in=.html} \
1508 $(pkgconfigdata_DATA) \
1509 $(pkgconfiglib_DATA) \
1510 $(nodist_polkitpolicy_DATA) \
1511 src/73-seat-late.rules \
1512 src/99-systemd.rules
1516 ${systemadm_SOURCES:.vala=.c}
1522 --param funcsynopsis.style "'ansi'"
1524 XSLTPROC_PROCESS_MAN = \
1525 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1526 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1528 XSLTPROC_PROCESS_MAN_IN = \
1529 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1530 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1533 XSLTPROC_PROCESS_HTML = \
1534 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1535 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1537 XSLTPROC_PROCESS_HTML_IN = \
1538 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1539 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1543 $(XSLTPROC_PROCESS_MAN)
1545 man/%.1.in: man/%.xml.in
1546 $(XSLTPROC_PROCESS_MAN)
1549 $(XSLTPROC_PROCESS_MAN)
1551 man/%.3.in: man/%.xml.in
1552 $(XSLTPROC_PROCESS_MAN)
1555 $(XSLTPROC_PROCESS_MAN)
1557 man/%.5.in: man/%.xml.in
1558 $(XSLTPROC_PROCESS_MAN)
1561 $(XSLTPROC_PROCESS_MAN)
1563 man/%.7.in: man/%.xml.in
1564 $(XSLTPROC_PROCESS_MAN_IN)
1567 $(XSLTPROC_PROCESS_MAN)
1569 man/%.8.in: man/%.xml.in
1570 $(XSLTPROC_PROCESS_MAN_IN)
1572 man/%.html: man/%.xml
1573 $(XSLTPROC_PROCESS_HTML)
1575 man/%.html.in: man/%.xml.in
1576 $(XSLTPROC_PROCESS_HTML_IN)
1580 ${nodist_man_MANS:=.in} \
1581 ${XML_FILES:.xml=.html} \
1582 ${XML_IN_FILES:.xml.in=.html.in}
1585 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1587 org.freedesktop.systemd1.%.xml: systemd
1588 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1589 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1590 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1592 org.freedesktop.hostname1.xml: systemd-hostnamed
1593 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1594 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1595 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1597 org.freedesktop.locale1.xml: systemd-localed
1598 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1599 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1600 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1602 org.freedesktop.timedate1.xml: systemd-timedated
1603 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1604 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1605 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1608 $(dbusinterface_DATA)
1611 $(MKDIR_P) -m 0755 \
1612 $(DESTDIR)$(tmpfilesdir) \
1613 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1614 $(DESTDIR)$(prefix)/lib/modules-load.d \
1615 $(DESTDIR)$(sysconfdir)/modules-load.d \
1616 $(DESTDIR)$(prefix)/lib/sysctl.d \
1617 $(DESTDIR)$(sysconfdir)/sysctl.d \
1618 $(DESTDIR)$(systemshutdowndir) \
1619 $(DESTDIR)$(systemgeneratordir) \
1620 $(DESTDIR)$(usergeneratordir)
1622 $(MKDIR_P) -m 0755 \
1623 $(DESTDIR)$(prefix)/lib/binfmt.d \
1624 $(DESTDIR)$(sysconfdir)/binfmt.d
1626 $(MKDIR_P) -m 0755 \
1627 $(DESTDIR)$(systemunitdir) \
1628 $(DESTDIR)$(userunitdir) \
1629 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1630 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1631 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1632 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1633 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1634 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1635 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1636 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1637 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1638 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1639 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1640 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1641 $(DESTDIR)$(pkgsysconfdir)/system \
1642 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1643 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1644 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1645 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1646 $(DESTDIR)$(pkgsysconfdir)/user \
1647 $(DESTDIR)$(dbussessionservicedir) \
1648 $(DESTDIR)$(sysconfdir)/xdg/systemd
1649 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1651 $(LN_S) $(pkgsysconfdir)/user user )
1652 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1653 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1654 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1655 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1656 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1657 $(LN_S) ../syslog.socket syslog.socket )
1658 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1659 rm -f systemd-update-utmp-runlevel.service && \
1660 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1661 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1662 rm -f systemd-update-utmp-runlevel.service && \
1663 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1664 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1665 rm -f systemd-update-utmp-runlevel.service && \
1666 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1667 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1668 rm -f systemd-update-utmp-runlevel.service && \
1669 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1670 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1671 rm -f systemd-update-utmp-runlevel.service && \
1672 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1673 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1674 rm -f systemd-update-utmp-shutdown.service \
1675 systemd-random-seed-save.service && \
1676 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1677 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1678 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1679 rm -f systemd-remount-api-vfs.service \
1681 remount-rootfs.service \
1684 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1685 $(LN_S) ../fsck-root.service fsck-root.service && \
1686 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1687 $(LN_S) ../var-run.mount var-run.mount && \
1688 $(LN_S) ../media.mount media.mount )
1689 ( cd $(DESTDIR)$(userunitdir) && \
1690 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1691 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1692 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1693 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1694 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1695 $(LN_S) $(systemunitdir)/sound.target sound.target )
1696 ( cd $(DESTDIR)$(systemunitdir) && \
1697 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1698 $(LN_S) poweroff.target runlevel0.target && \
1699 $(LN_S) rescue.target runlevel1.target && \
1700 $(LN_S) multi-user.target runlevel2.target && \
1701 $(LN_S) multi-user.target runlevel3.target && \
1702 $(LN_S) multi-user.target runlevel4.target && \
1703 $(LN_S) graphical.target runlevel5.target && \
1704 $(LN_S) reboot.target runlevel6.target )
1705 ( cd $(DESTDIR)$(systemunitdir) && \
1706 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.hostname1.service dbus-org.freedesktop.locale1.service dbus-org.freedesktop.timedate1.service dbus-org.freedesktop.login1.service autovt@.service && \
1707 $(LN_S) graphical.target default.target && \
1708 $(LN_S) reboot.target ctrl-alt-del.target && \
1709 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1710 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1711 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1712 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1713 $(LN_S) getty@.service autovt@.service )
1714 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1715 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1716 $(LN_S) ../getty.target getty.target && \
1717 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1718 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1719 $(LN_S) ../systemd-logind.service systemd-logind.service )
1720 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1721 rm -f getty@tty1.service && \
1722 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1723 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1724 rm -f remote-fs.target && \
1725 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1726 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1727 rm -f dev-hugepages.automount \
1728 dev-mqueue.automount \
1729 sys-kernel-debug.automount \
1730 sys-kernel-security.automount \
1731 systemd-vconsole-setup.service \
1732 systemd-modules-load.service \
1733 systemd-random-seed-load.service \
1734 systemd-tmpfiles-setup.service \
1735 systemd-sysctl.service \
1736 systemd-ask-password-console.path \
1737 systemd-kmsg-syslogd.service \
1738 cryptsetup.target && \
1739 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1740 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1741 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1742 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1743 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1744 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1745 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1746 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1747 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1748 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1749 $(LN_S) ../systemd-kmsg-syslogd.service && \
1750 $(LN_S) ../cryptsetup.target cryptsetup.target )
1752 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1753 rm -f systemd-binfmt.service \
1754 proc-sys-fs-binfmt_misc.automount && \
1755 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1756 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1758 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1759 rm -f systemd-tmpfiles-clean.timer && \
1760 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1761 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1762 rm -f org.freedesktop.systemd1.service && \
1763 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1765 $(MKDIR_P) -m 0755 \
1766 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1767 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1768 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1769 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1770 $(DESTDIR)$(systemunitdir)/halt.target.wants
1771 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1772 rm -f plymouth-start.service plymouth-read-write.service && \
1773 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1774 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1775 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1776 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1777 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1778 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1779 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1780 rm -f plymouth-reboot.service && \
1781 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1782 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1783 rm -f plymouth-kexec.service && \
1784 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1785 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1786 rm -f plymouth-poweroff.service && \
1787 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1788 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1789 rm -f plymouth-halt.service && \
1790 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1793 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1794 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1795 rm -f network.target && \
1796 $(LN_S) $(systemunitdir)/network.target network.target )
1797 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1799 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1801 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1803 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1808 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1809 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1810 rm -f rc-local.service && \
1811 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1812 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1813 rm -f halt-local.service && \
1814 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1815 ( cd $(DESTDIR)$(systemunitdir) && \
1816 rm -f display-manager.service single.service && \
1817 $(LN_S) prefdm.service display-manager.service && \
1818 $(LN_S) rescue.service single.service )
1819 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1820 rm -f display-manager.service && \
1821 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1825 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1826 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1827 rm -f rc-local.service && \
1828 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1829 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1830 rm -f halt-local.service && \
1831 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1832 ( cd $(DESTDIR)$(systemunitdir) && \
1833 rm -f display-manager.service dm.service single.service && \
1834 $(LN_S) prefdm.service display-manager.service && \
1835 $(LN_S) prefdm.service dm.service && \
1836 $(LN_S) rescue.service single.service )
1837 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1838 rm -f display-manager.service && \
1839 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1842 if TARGET_DEBIAN_OR_UBUNTU
1843 ( cd $(DESTDIR)$(systemunitdir) && \
1844 rm -f runlevel5.target && \
1845 $(LN_S) multi-user.target runlevel5.target )
1849 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1850 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1851 rm -f rc-local.service && \
1852 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1853 ( cd $(DESTDIR)$(systemunitdir) && \
1854 rm -f local.service && \
1855 $(LN_S) rc-local.service local.service )
1856 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1857 rm -f halt-local.service && \
1858 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1862 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1863 rm -f var-lock.mount && \
1864 $(LN_S) ../var-lock.mount var-lock.mount )
1867 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1869 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1871 DISTCHECK_CONFIGURE_FLAGS = \
1872 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1873 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1874 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1875 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1876 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1877 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1878 --with-rootdir=$$dc_install_base/$(rootdir)
1880 upload: all distcheck
1881 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1882 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1883 scp man/*.html tango:public/systemd-man/
1886 git tag "v$(VERSION)" -m "systemd $(VERSION)"