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 polkitpolicydir=$(datadir)/polkit-1/actions
39 bashcompletiondir=$(sysconfdir)/bash_completion.d
41 # Our own, non-special dirs
42 pkgsysconfdir=$(sysconfdir)/systemd
43 userunitdir=$(prefix)/lib/systemd/user
44 tmpfilesdir=$(prefix)/lib/tmpfiles.d
45 usergeneratordir=$(pkglibexecdir)/user-generators
46 pkgincludedir=$(includedir)/systemd
48 # And these are the special ones for /
50 rootbindir=$(rootdir)/bin
51 rootlibexecdir=$(rootdir)/lib/systemd
52 systemgeneratordir=$(rootlibexecdir)/system-generators
53 systemshutdowndir=$(rootlibexecdir)/system-shutdown
54 systemunitdir=$(rootdir)/lib/systemd/system
57 -include $(top_builddir)/config.h \
58 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
59 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
60 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
61 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
62 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
63 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
64 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
65 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
66 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
67 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
68 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
69 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
70 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
71 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
72 -DRUNTIME_DIR=\"/run\" \
73 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
74 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
75 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
76 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
77 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
82 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
83 -DKBD_SETFONT=\"/usr/bin/setfont\" \
84 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
88 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
89 -DKBD_SETFONT=\"/usr/bin/setfont\" \
90 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
94 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
95 -DKBD_SETFONT=\"/usr/bin/setfont\" \
96 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
100 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
101 -DKBD_SETFONT=\"/bin/setfont\" \
102 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
106 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
107 -DKBD_SETFONT=\"/bin/setfont\" \
108 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
112 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
113 -DKBD_SETFONT=\"/usr/bin/setfont\" \
114 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
117 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
118 -DKBD_SETFONT=\"/bin/setfont\" \
119 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
132 systemd-ask-password \
133 systemd-tty-ask-password-agent \
135 systemd-machine-id-setup
139 systemd-stdio-bridge \
148 systemd-gnome-ask-password-agent
151 rootlibexec_PROGRAMS = \
153 systemd-cgroups-agent \
155 systemd-update-utmp \
156 systemd-random-seed \
159 systemd-modules-load \
160 systemd-remount-api-vfs \
161 systemd-kmsg-syslogd \
162 systemd-vconsole-setup \
163 systemd-reply-password \
164 systemd-readahead-collect \
165 systemd-readahead-replay \
166 systemd-user-sessions \
171 systemd-detect-virt \
180 rootlibexec_PROGRAMS += \
184 systemgenerator_PROGRAMS = \
185 systemd-getty-generator
187 if HAVE_LIBCRYPTSETUP
188 rootlibexec_PROGRAMS += \
191 systemgenerator_PROGRAMS += \
192 systemd-cryptsetup-generator
196 libsystemd-daemon.la \
199 pkginclude_HEADERS = \
217 pamlib_LTLIBRARIES = \
221 dist_pkgsysconf_DATA = \
224 src/systemd-logind.conf
226 dist_dbuspolicy_DATA = \
227 src/org.freedesktop.systemd1.conf \
228 src/org.freedesktop.hostname1.conf \
229 src/org.freedesktop.locale1.conf \
230 src/org.freedesktop.timedate1.conf \
231 src/org.freedesktop.login1.conf
233 dist_dbussystemservice_DATA = \
234 src/org.freedesktop.systemd1.service \
235 src/org.freedesktop.hostname1.service \
236 src/org.freedesktop.locale1.service \
237 src/org.freedesktop.timedate1.service \
238 src/org.freedesktop.login1.service
240 dist_udevrules_DATA = \
241 src/70-uaccess.rules \
245 nodist_udevrules_DATA = \
246 src/73-seat-late.rules
248 dbusinterface_DATA = \
249 org.freedesktop.systemd1.Manager.xml \
250 org.freedesktop.systemd1.Job.xml \
251 org.freedesktop.systemd1.Unit.xml \
252 org.freedesktop.systemd1.Service.xml \
253 org.freedesktop.systemd1.Socket.xml \
254 org.freedesktop.systemd1.Timer.xml \
255 org.freedesktop.systemd1.Target.xml \
256 org.freedesktop.systemd1.Device.xml \
257 org.freedesktop.systemd1.Mount.xml \
258 org.freedesktop.systemd1.Automount.xml \
259 org.freedesktop.systemd1.Snapshot.xml \
260 org.freedesktop.systemd1.Swap.xml \
261 org.freedesktop.systemd1.Path.xml \
262 org.freedesktop.hostname1.xml \
263 org.freedesktop.locale1.xml \
264 org.freedesktop.timedate1.xml
266 dist_bashcompletion_DATA = \
267 src/systemctl-bash-completion.sh
269 dist_tmpfiles_DATA = \
270 tmpfiles.d/systemd.conf \
274 dist_tmpfiles_DATA += \
275 tmpfiles.d/legacy.conf
278 dist_systemunit_DATA = \
279 units/graphical.target \
280 units/multi-user.target \
281 units/emergency.service \
282 units/emergency.target \
283 units/sysinit.target \
288 units/local-fs.target \
289 units/remote-fs.target \
290 units/cryptsetup.target \
291 units/network.target \
292 units/nss-lookup.target \
293 units/mail-transfer-agent.target \
294 units/http-daemon.target \
295 units/poweroff.target \
296 units/reboot.target \
297 units/rescue.target \
298 units/rpcbind.target \
299 units/time-sync.target \
300 units/shutdown.target \
302 units/umount.target \
303 units/sigpwr.target \
304 units/sockets.target \
306 units/systemd-initctl.socket \
307 units/systemd-logger.socket \
308 units/systemd-shutdownd.socket \
309 units/syslog.socket \
310 units/dev-hugepages.automount \
311 units/dev-hugepages.mount \
312 units/dev-mqueue.automount \
313 units/dev-mqueue.mount \
314 units/sys-kernel-debug.automount \
315 units/sys-kernel-debug.mount \
316 units/sys-kernel-security.automount \
317 units/sys-kernel-security.mount \
318 units/var-run.mount \
320 units/remount-rootfs.service \
321 units/printer.target \
323 units/bluetooth.target \
324 units/smartcard.target \
325 units/systemd-readahead-done.timer \
326 units/systemd-tmpfiles-clean.timer \
327 units/quotaon.service \
328 units/systemd-ask-password-wall.path \
329 units/systemd-ask-password-console.path \
333 dist_systemunit_DATA += \
338 dist_systemunit_DATA += \
339 units/proc-sys-fs-binfmt_misc.automount \
340 units/proc-sys-fs-binfmt_misc.mount
343 nodist_systemunit_DATA = \
344 units/getty@.service \
345 units/serial-getty@.service \
346 units/console-shell.service \
347 units/systemd-initctl.service \
348 units/systemd-logger.service \
349 units/systemd-shutdownd.service \
350 units/systemd-hostnamed.service \
351 units/systemd-localed.service \
352 units/systemd-timedated.service \
353 units/systemd-logind.service \
354 units/systemd-kmsg-syslogd.service \
355 units/systemd-modules-load.service \
356 units/systemd-vconsole-setup.service \
357 units/systemd-remount-api-vfs.service \
358 units/systemd-update-utmp-runlevel.service \
359 units/systemd-update-utmp-shutdown.service \
360 units/systemd-random-seed-save.service \
361 units/systemd-random-seed-load.service \
362 units/systemd-readahead-collect.service \
363 units/systemd-readahead-replay.service \
364 units/systemd-readahead-done.service \
365 units/systemd-tmpfiles-setup.service \
366 units/systemd-tmpfiles-clean.service \
367 units/systemd-user-sessions.service \
368 units/systemd-ask-password-wall.service \
369 units/systemd-ask-password-console.service \
370 units/systemd-sysctl.service \
372 units/poweroff.service \
373 units/reboot.service \
374 units/kexec.service \
375 units/fsck@.service \
376 units/fsck-root.service \
377 units/quotacheck.service \
378 units/rescue.service \
382 nodist_systemunit_DATA += \
383 units/systemd-binfmt.service
386 dist_userunit_DATA = \
387 units/user/default.target \
388 units/user/exit.target
390 nodist_userunit_DATA = \
391 units/user/exit.service
394 units/getty@.service.m4 \
395 units/serial-getty@.service.m4 \
396 units/console-shell.service.m4 \
397 units/rescue.service.m4 \
398 units/systemd-initctl.service.in \
399 units/systemd-logger.service.in \
400 units/systemd-shutdownd.service.in \
401 units/systemd-hostnamed.service.in \
402 units/systemd-localed.service.in \
403 units/systemd-timedated.service.in \
404 units/systemd-logind.service.in \
405 units/systemd-kmsg-syslogd.service.in \
406 units/systemd-modules-load.service.in \
407 units/systemd-vconsole-setup.service.in \
408 units/systemd-remount-api-vfs.service.in \
409 units/systemd-update-utmp-runlevel.service.in \
410 units/systemd-update-utmp-shutdown.service.in \
411 units/systemd-random-seed-save.service.in \
412 units/systemd-random-seed-load.service.in \
413 units/systemd-readahead-collect.service.in \
414 units/systemd-readahead-replay.service.in \
415 units/systemd-readahead-done.service.in \
416 units/systemd-tmpfiles-setup.service.in \
417 units/systemd-tmpfiles-clean.service.in \
418 units/systemd-user-sessions.service.in \
419 units/systemd-ask-password-wall.service.in \
420 units/systemd-ask-password-console.service.in \
421 units/systemd-sysctl.service.in \
422 units/halt.service.in \
423 units/poweroff.service.in \
424 units/reboot.service.in \
425 units/kexec.service.in \
426 units/user/exit.service.in \
427 units/fsck@.service.in \
428 units/fsck-root.service.in \
429 units/quotacheck.service.in \
430 units/user@.service.in \
432 libsystemd-daemon.pc.in \
433 libsystemd-login.pc.in \
434 src/libsystemd-daemon.sym \
435 src/libsystemd-login.sym \
437 src/73-seat-late.rules.in
441 units/systemd-binfmt.service.in
445 dist_systemunit_DATA += \
446 units/fedora/prefdm.service \
447 units/fedora/rc-local.service \
448 units/fedora/halt-local.service
452 dist_systemunit_DATA += \
453 units/mandriva/prefdm.service \
454 units/fedora/rc-local.service \
455 units/fedora/halt-local.service
459 dist_systemunit_DATA += \
460 units/frugalware/display-manager.service
464 dist_systemunit_DATA += \
465 units/suse/rc-local.service \
466 units/suse/halt-local.service
470 dist_systemunit_DATA += \
471 units/plymouth-start.service \
472 units/plymouth-read-write.service \
473 units/plymouth-quit.service \
474 units/plymouth-quit-wait.service \
475 units/plymouth-reboot.service \
476 units/plymouth-kexec.service \
477 units/plymouth-poweroff.service \
478 units/plymouth-halt.service \
479 units/systemd-ask-password-plymouth.path
481 nodist_systemunit_DATA += \
482 units/systemd-ask-password-plymouth.service
485 units/systemd-ask-password-plymouth.service.in
497 pkgconfigdata_DATA = \
499 libsystemd-daemon.pc \
502 # Passed through intltool only
503 polkitpolicy_in_files = \
504 src/org.freedesktop.hostname1.policy.in \
505 src/org.freedesktop.locale1.policy.in \
506 src/org.freedesktop.timedate1.policy.in \
507 src/org.freedesktop.login1.policy.in
509 # First passed through sed, followed by intltool
510 polkitpolicy_in_in_files = \
511 src/org.freedesktop.systemd1.policy.in.in
513 nodist_polkitpolicy_DATA = \
514 $(polkitpolicy_in_files:.policy.in=.policy) \
515 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
518 $(polkitpolicy_in_files) \
519 $(polkitpolicy_in_in_files)
521 @INTLTOOL_POLICY_RULE@
523 noinst_LTLIBRARIES = \
524 libsystemd-basic.la \
527 libsystemd_basic_la_SOURCES = \
539 libsystemd_basic_la_CFLAGS = \
543 libsystemd_basic_la_LIBADD = \
546 libsystemd_core_la_SOURCES = \
551 src/load-fragment.c \
574 src/dbus-automount.c \
576 src/dbus-snapshot.c \
582 src/hostname-setup.c \
583 src/selinux-setup.c \
584 src/loopback-setup.c \
587 src/machine-id-setup.c \
599 libsystemd_core_la_CFLAGS = \
607 libsystemd_core_la_LIBADD = \
608 libsystemd-basic.la \
615 # This is needed because automake is buggy in how it generates the
616 # rules for C programs, but not Vala programs. We therefore can't
617 # list the .h files as dependencies if we want make dist to work.
620 ${libsystemd_basic_la_SOURCES:.c=.h} \
621 ${libsystemd_core_la_SOURCES:.c=.h} \
622 ${libsystemd_daemon_la_SOURCES:.c=.h} \
629 src/linux/auto_dev-ioctl.h \
630 src/linux/fanotify.h \
640 src/readahead-common.h \
641 src/ask-password-api.h \
646 src/logind-device.h \
648 src/logind-session.h \
658 man/systemd-nspawn.1 \
659 man/systemd-tmpfiles.8 \
660 man/systemd-notify.1 \
664 man/sd_listen_fds.3 \
667 man/systemd.service.5 \
668 man/systemd.socket.5 \
669 man/systemd.mount.5 \
670 man/systemd.automount.5 \
672 man/systemd.timer.5 \
674 man/systemd.target.5 \
675 man/systemd.device.5 \
676 man/systemd.snapshot.5 \
687 man/systemd-logind.conf.5 \
691 man/vconsole.conf.5 \
695 man/modules-load.d.5 \
697 man/systemd-ask-password.1 \
698 man/systemd-loginctl.1
709 man/sd_is_socket_unix.3 \
710 man/sd_is_socket_inet.3 \
714 man/reboot.8: man/halt.8
715 man/poweroff.8: man/halt.8
716 man/sd_is_socket.3: man/sd_is_fifo.3
717 man/sd_is_socket_unix.3: man/sd_is_fifo.3
718 man/sd_is_socket_inet.3: man/sd_is_fifo.3
719 man/sd_notifyf.3: man/sd_notify.3
720 man/init.1: man/systemd.1
727 man/systemd.special.7
730 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
733 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
736 ${XML_FILES:.xml=.html}
738 nodist_noinst_DATA = \
739 ${XML_IN_FILES:.xml.in=.html}
744 ${nodist_man_MANS:=.in} \
745 ${XML_IN_FILES:.xml.in=.html.in}
758 test_engine_SOURCES = \
761 test_engine_CFLAGS = $(systemd_CFLAGS)
762 test_engine_LDADD = $(systemd_LDADD)
764 test_job_type_SOURCES = \
767 test_job_type_CFLAGS = $(systemd_CFLAGS)
768 test_job_type_LDADD = $(systemd_LDADD)
773 test_ns_CFLAGS = $(systemd_CFLAGS)
774 test_ns_LDADD = $(systemd_LDADD)
776 test_loopback_SOURCES = \
777 src/test-loopback.c \
780 test_loopback_LDADD = \
783 test_hostname_SOURCES = \
784 src/test-hostname.c \
787 test_hostname_LDADD = \
790 test_daemon_SOURCES = \
793 test_daemon_LDADD = \
794 libsystemd-basic.la \
797 test_cgroup_SOURCES = \
801 test_cgroup_CFLAGS = \
804 test_cgroup_LDADD = \
807 test_env_replace_SOURCES = \
808 src/test-env-replace.c
810 test_env_replace_CFLAGS = \
813 test_env_replace_LDADD = \
816 test_strv_SOURCES = \
826 test_login_SOURCES = \
829 test_login_CFLAGS = \
833 libsystemd-basic.la \
836 test_install_SOURCES = \
842 test_install_CFLAGS = \
846 test_install_LDADD = \
849 systemd_logger_SOURCES = \
853 systemd_logger_LDADD = \
854 libsystemd-basic.la \
855 libsystemd-daemon.la \
858 systemd_initctl_SOURCES = \
862 systemd_initctl_CFLAGS = \
866 systemd_initctl_LDADD = \
867 libsystemd-basic.la \
868 libsystemd-daemon.la \
871 systemd_update_utmp_SOURCES = \
876 systemd_update_utmp_CFLAGS = \
881 systemd_update_utmp_LDADD = \
882 libsystemd-basic.la \
886 systemd_random_seed_SOURCES = \
889 systemd_random_seed_CFLAGS = \
892 systemd_random_seed_LDADD = \
895 systemd_shutdownd_SOURCES = \
899 systemd_shutdownd_CFLAGS = \
902 systemd_shutdownd_LDADD = \
903 libsystemd-basic.la \
906 systemd_hostnamed_SOURCES = \
911 systemd_hostnamed_CFLAGS = \
915 systemd_hostnamed_LDADD = \
916 libsystemd-basic.la \
917 libsystemd-daemon.la \
920 systemd_localed_SOURCES = \
925 systemd_localed_CFLAGS = \
929 systemd_localed_LDADD = \
930 libsystemd-basic.la \
931 libsystemd-daemon.la \
934 systemd_timedated_SOURCES = \
939 systemd_timedated_CFLAGS = \
943 systemd_timedated_LDADD = \
944 libsystemd-basic.la \
945 libsystemd-daemon.la \
948 systemd_logind_SOURCES = \
951 src/logind-device.c \
953 src/logind-seat-dbus.c \
954 src/logind-session.c \
955 src/logind-session-dbus.c \
957 src/logind-user-dbus.c \
963 systemd_logind_CFLAGS = \
969 systemd_logind_LDADD = \
970 libsystemd-basic.la \
971 libsystemd-daemon.la \
976 systemd_uaccess_SOURCES = \
980 systemd_logind_SOURCES += \
983 systemd_uaccess_SOURCES += \
987 systemd_uaccess_CFLAGS = \
992 systemd_uaccess_LDADD = \
993 libsystemd-basic.la \
994 libsystemd-daemon.la \
995 libsystemd-login.la \
999 systemd_shutdown_SOURCES = \
1004 systemd_shutdown_CFLAGS = \
1008 systemd_shutdown_LDADD = \
1009 libsystemd-basic.la \
1012 systemd_modules_load_SOURCES = \
1015 systemd_modules_load_CFLAGS = \
1018 systemd_modules_load_LDADD = \
1021 systemd_tmpfiles_SOURCES = \
1024 systemd_tmpfiles_CFLAGS = \
1027 systemd_tmpfiles_LDADD = \
1030 systemd_machine_id_setup_SOURCES = \
1031 src/machine-id-setup.c \
1032 src/machine-id-main.c
1034 systemd_machine_id_setup_CFLAGS = \
1037 systemd_machine_id_setup_LDADD = \
1040 systemd_sysctl_SOURCES = \
1043 systemd_sysctl_CFLAGS = \
1046 systemd_sysctl_LDADD = \
1049 systemd_binfmt_SOURCES = \
1052 systemd_binfmt_CFLAGS = \
1055 systemd_binfmt_LDADD = \
1058 systemd_fsck_SOURCES = \
1062 systemd_fsck_CFLAGS = \
1067 systemd_fsck_LDADD = \
1068 libsystemd-basic.la \
1072 systemd_quotacheck_SOURCES = \
1075 systemd_quotacheck_CFLAGS = \
1078 systemd_quotacheck_LDADD = \
1081 systemd_timestamp_SOURCES = \
1084 systemd_timestamp_CFLAGS = \
1087 systemd_timestamp_LDADD = \
1090 systemd_ac_power_SOURCES = \
1093 systemd_ac_power_CFLAGS = \
1097 systemd_ac_power_LDADD = \
1098 libsystemd-basic.la \
1101 systemd_detect_virt_SOURCES = \
1104 systemd_detect_virt_CFLAGS = \
1107 systemd_detect_virt_LDADD = \
1110 systemd_cryptsetup_SOURCES = \
1112 src/ask-password-api.c
1114 systemd_cryptsetup_CFLAGS = \
1115 $(LIBCRYPTSETUP_CFLAGS) \
1119 systemd_cryptsetup_LDADD = \
1120 $(LIBCRYPTSETUP_LIBS) \
1124 systemd_cryptsetup_generator_SOURCES = \
1125 src/cryptsetup-generator.c \
1128 systemd_cryptsetup_generator_CFLAGS = \
1131 systemd_cryptsetup_generator_LDADD = \
1134 systemd_getty_generator_SOURCES = \
1135 src/getty-generator.c \
1138 systemd_getty_generator_CFLAGS = \
1141 systemd_getty_generator_LDADD = \
1144 systemd_user_sessions_SOURCES = \
1145 src/user-sessions.c \
1148 systemd_user_sessions_CFLAGS = \
1151 systemd_user_sessions_LDADD = \
1154 systemd_vconsole_setup_SOURCES = \
1155 src/vconsole-setup.c
1157 systemd_vconsole_setup_CFLAGS = \
1160 systemd_vconsole_setup_LDADD = \
1163 systemd_remount_api_vfs_SOURCES = \
1164 src/remount-api-vfs.c \
1168 systemd_remount_api_vfs_CFLAGS = \
1171 systemd_remount_api_vfs_LDADD = \
1174 systemd_cgroups_agent_SOURCES = \
1175 src/cgroups-agent.c \
1178 systemd_cgroups_agent_CFLAGS = \
1182 systemd_cgroups_agent_LDADD = \
1183 libsystemd-basic.la \
1186 systemd_kmsg_syslogd_SOURCES = \
1187 src/kmsg-syslogd.c \
1190 systemd_kmsg_syslogd_CFLAGS = \
1193 systemd_kmsg_syslogd_LDADD = \
1194 libsystemd-basic.la \
1195 libsystemd-daemon.la
1197 systemctl_SOURCES = \
1210 systemctl_CFLAGS = \
1215 libsystemd-basic.la \
1216 libsystemd-daemon.la \
1219 systemd_loginctl_SOURCES = \
1227 systemd_loginctl_CFLAGS = \
1232 systemd_loginctl_LDADD = \
1233 libsystemd-basic.la \
1237 systemd_notify_SOURCES = \
1241 systemd_notify_LDADD = \
1242 libsystemd-basic.la \
1243 libsystemd-daemon.la
1245 systemd_ask_password_SOURCES = \
1246 src/ask-password.c \
1247 src/ask-password-api.c
1249 systemd_ask_password_LDADD = \
1252 systemd_reply_password_SOURCES = \
1253 src/reply-password.c
1255 systemd_reply_password_LDADD = \
1258 systemd_readahead_collect_SOURCES = \
1259 src/readahead-collect.c \
1260 src/readahead-common.c
1262 systemd_readahead_collect_CFLAGS = \
1265 systemd_readahead_collect_LDADD = \
1266 libsystemd-basic.la \
1267 libsystemd-daemon.la \
1270 systemd_readahead_replay_SOURCES = \
1271 src/readahead-replay.c \
1272 src/readahead-common.c
1274 systemd_readahead_replay_CFLAGS = \
1277 systemd_readahead_replay_LDADD = \
1278 libsystemd-basic.la \
1279 libsystemd-daemon.la \
1282 systemd_cgls_SOURCES = \
1288 systemd_cgls_CFLAGS = \
1291 systemd_cgls_LDADD = \
1294 systemd_nspawn_SOURCES = \
1298 systemd_nspawn_CFLAGS = \
1301 systemd_nspawn_LDADD = \
1302 libsystemd-basic.la \
1303 libsystemd-daemon.la
1305 systemd_stdio_bridge_SOURCES = \
1308 systemd_stdio_bridge_LDADD = \
1311 systemadm_SOURCES = \
1312 src/systemadm.vala \
1313 src/systemd-interfaces.vala
1315 systemadm_CFLAGS = \
1318 -Wno-unused-variable \
1319 -Wno-unused-function \
1321 -Wno-format-nonliteral
1323 systemadm_VALAFLAGS = \
1331 systemd_gnome_ask_password_agent_SOURCES = \
1332 src/gnome-ask-password-agent.vala
1334 systemd_gnome_ask_password_agent_CFLAGS = \
1336 $(LIBNOTIFY_CFLAGS) \
1338 -Wno-unused-variable \
1339 -Wno-unused-function \
1341 -Wno-format-nonliteral
1343 systemd_gnome_ask_password_agent_VALAFLAGS = \
1347 --pkg=gio-unix-2.0 \
1350 systemd_gnome_ask_password_agent_VALAFLAGS += \
1353 systemd_gnome_ask_password_agent_VALAFLAGS += \
1356 systemd_gnome_ask_password_agent_LDADD = \
1360 systemd_tty_ask_password_agent_SOURCES = \
1361 src/tty-ask-password-agent.c \
1362 src/ask-password-api.c \
1365 systemd_tty_ask_password_agent_LDADD = \
1368 pam_systemd_la_SOURCES = \
1372 pam_systemd_la_CFLAGS = \
1378 pam_systemd_la_LDFLAGS = \
1383 -export-symbols-regex '^pam_sm_.*'
1385 pam_systemd_la_LIBADD = \
1386 libsystemd-basic.la \
1387 libsystemd-daemon.la \
1391 libsystemd_daemon_la_SOURCES = \
1394 libsystemd_daemon_la_CFLAGS = \
1396 -fvisibility=hidden \
1399 libsystemd_daemon_la_LDFLAGS = \
1401 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1402 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1404 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1405 libsystemd-daemon-install-hook:
1406 if test "$(libdir)" != "$(rootlibdir)"; then \
1407 mkdir -p $(DESTDIR)$(rootlibdir) && \
1408 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1409 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1410 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1411 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1414 libsystemd-daemon-uninstall-hook:
1415 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1417 libsystemd_login_la_SOURCES = \
1421 libsystemd_login_la_CFLAGS = \
1425 libsystemd_login_la_LDFLAGS = \
1427 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1428 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1430 libsystemd_login_la_LIBADD = \
1434 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1435 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1436 -e 's,@rootbindir\@,$(rootbindir),g' \
1437 -e 's,@bindir\@,$(bindir),g' \
1438 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1439 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1440 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1441 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1442 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1443 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1444 -e 's,@userunitdir\@,$(userunitdir),g' \
1445 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1446 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1447 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1448 -e 's,@prefix\@,$(prefix),g' \
1449 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1450 -e 's,@libdir\@,$(libdir),g' \
1451 -e 's,@includedir\@,$(includedir),g' \
1454 units/%: units/%.in Makefile
1457 man/%: man/%.in Makefile
1460 %.pc: %.pc.in Makefile
1463 src/%.policy.in: src/%.policy.in.in Makefile
1466 src/%.rules: src/%.rules.in Makefile
1469 M4_PROCESS_SYSTEM = \
1470 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1471 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1474 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1475 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1477 units/%: units/%.m4 Makefile
1478 $(M4_PROCESS_SYSTEM)
1480 units/user/%: units/%.m4 Makefile
1484 $(nodist_systemunit_DATA) \
1485 $(nodist_userunit_DATA) \
1486 $(nodist_man_MANS) \
1487 ${XML_IN_FILES:.xml.in=.html} \
1488 $(pkgconfigdata_DATA) \
1489 $(nodist_polkitpolicy_DATA) \
1490 src/73-seat-late.rules
1494 ${systemadm_SOURCES:.vala=.c}
1500 --param funcsynopsis.style "'ansi'"
1502 XSLTPROC_PROCESS_MAN = \
1503 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1504 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1506 XSLTPROC_PROCESS_MAN_IN = \
1507 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1508 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1511 XSLTPROC_PROCESS_HTML = \
1512 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1513 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1515 XSLTPROC_PROCESS_HTML_IN = \
1516 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1517 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1521 $(XSLTPROC_PROCESS_MAN)
1523 man/%.1.in: man/%.xml.in
1524 $(XSLTPROC_PROCESS_MAN)
1527 $(XSLTPROC_PROCESS_MAN)
1529 man/%.3.in: man/%.xml.in
1530 $(XSLTPROC_PROCESS_MAN)
1533 $(XSLTPROC_PROCESS_MAN)
1535 man/%.5.in: man/%.xml.in
1536 $(XSLTPROC_PROCESS_MAN)
1539 $(XSLTPROC_PROCESS_MAN)
1541 man/%.7.in: man/%.xml.in
1542 $(XSLTPROC_PROCESS_MAN_IN)
1545 $(XSLTPROC_PROCESS_MAN)
1547 man/%.8.in: man/%.xml.in
1548 $(XSLTPROC_PROCESS_MAN_IN)
1550 man/%.html: man/%.xml
1551 $(XSLTPROC_PROCESS_HTML)
1553 man/%.html.in: man/%.xml.in
1554 $(XSLTPROC_PROCESS_HTML_IN)
1558 ${nodist_man_MANS:=.in} \
1559 ${XML_FILES:.xml=.html} \
1560 ${XML_IN_FILES:.xml.in=.html.in}
1563 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1565 org.freedesktop.systemd1.%.xml: systemd
1566 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1567 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1568 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1570 org.freedesktop.hostname1.xml: systemd-hostnamed
1571 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1572 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1573 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1575 org.freedesktop.locale1.xml: systemd-localed
1576 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1577 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1578 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1580 org.freedesktop.timedate1.xml: systemd-timedated
1581 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1582 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1583 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1586 $(dbusinterface_DATA)
1589 $(MKDIR_P) -m 0755 \
1590 $(DESTDIR)$(tmpfilesdir) \
1591 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1592 $(DESTDIR)$(prefix)/lib/modules-load.d \
1593 $(DESTDIR)$(sysconfdir)/modules-load.d \
1594 $(DESTDIR)$(prefix)/lib/sysctl.d \
1595 $(DESTDIR)$(sysconfdir)/sysctl.d \
1596 $(DESTDIR)$(systemshutdowndir) \
1597 $(DESTDIR)$(systemgeneratordir) \
1598 $(DESTDIR)$(usergeneratordir)
1600 $(MKDIR_P) -m 0755 \
1601 $(DESTDIR)$(prefix)/lib/binfmt.d \
1602 $(DESTDIR)$(sysconfdir)/binfmt.d
1604 $(MKDIR_P) -m 0755 \
1605 $(DESTDIR)$(systemunitdir) \
1606 $(DESTDIR)$(userunitdir) \
1607 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1608 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1609 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1610 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1611 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1612 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1613 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1614 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1615 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1616 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1617 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1618 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1619 $(DESTDIR)$(pkgsysconfdir)/system \
1620 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1621 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1622 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1623 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1624 $(DESTDIR)$(pkgsysconfdir)/user \
1625 $(DESTDIR)$(dbussessionservicedir) \
1626 $(DESTDIR)$(sysconfdir)/xdg/systemd
1627 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1629 $(LN_S) $(pkgsysconfdir)/user user )
1630 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1631 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1632 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1633 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1634 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1635 $(LN_S) ../syslog.socket syslog.socket )
1636 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1637 rm -f systemd-update-utmp-runlevel.service && \
1638 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1639 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1640 rm -f systemd-update-utmp-runlevel.service && \
1641 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1642 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1643 rm -f systemd-update-utmp-runlevel.service && \
1644 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1645 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1646 rm -f systemd-update-utmp-runlevel.service && \
1647 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1648 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1649 rm -f systemd-update-utmp-runlevel.service && \
1650 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1651 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1652 rm -f systemd-update-utmp-shutdown.service \
1653 systemd-random-seed-save.service && \
1654 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1655 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1656 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1657 rm -f systemd-remount-api-vfs.service \
1659 remount-rootfs.service \
1662 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1663 $(LN_S) ../fsck-root.service fsck-root.service && \
1664 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1665 $(LN_S) ../var-run.mount var-run.mount && \
1666 $(LN_S) ../media.mount media.mount )
1667 ( cd $(DESTDIR)$(userunitdir) && \
1668 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1669 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1670 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1671 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1672 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1673 $(LN_S) $(systemunitdir)/sound.target sound.target )
1674 ( cd $(DESTDIR)$(systemunitdir) && \
1675 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1676 $(LN_S) poweroff.target runlevel0.target && \
1677 $(LN_S) rescue.target runlevel1.target && \
1678 $(LN_S) multi-user.target runlevel2.target && \
1679 $(LN_S) multi-user.target runlevel3.target && \
1680 $(LN_S) multi-user.target runlevel4.target && \
1681 $(LN_S) graphical.target runlevel5.target && \
1682 $(LN_S) reboot.target runlevel6.target )
1683 ( cd $(DESTDIR)$(systemunitdir) && \
1684 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 && \
1685 $(LN_S) graphical.target default.target && \
1686 $(LN_S) reboot.target ctrl-alt-del.target && \
1687 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1688 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1689 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1690 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1691 $(LN_S) getty@.service autovt@.service )
1692 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1693 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1694 $(LN_S) ../getty.target getty.target && \
1695 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1696 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1697 $(LN_S) ../systemd-logind.service systemd-logind.service )
1698 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1699 rm -f getty@tty1.service && \
1700 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1701 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1702 rm -f remote-fs.target && \
1703 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1704 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1705 rm -f dev-hugepages.automount \
1706 dev-mqueue.automount \
1707 sys-kernel-debug.automount \
1708 sys-kernel-security.automount \
1709 systemd-vconsole-setup.service \
1710 systemd-modules-load.service \
1711 systemd-random-seed-load.service \
1712 systemd-tmpfiles-setup.service \
1713 systemd-sysctl.service \
1714 systemd-ask-password-console.path \
1715 systemd-kmsg-syslogd.service \
1716 cryptsetup.target && \
1717 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1718 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1719 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1720 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1721 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1722 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1723 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1724 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1725 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1726 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1727 $(LN_S) ../systemd-kmsg-syslogd.service && \
1728 $(LN_S) ../cryptsetup.target cryptsetup.target )
1730 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1731 rm -f systemd-binfmt.service \
1732 proc-sys-fs-binfmt_misc.automount && \
1733 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1734 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1736 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1737 rm -f systemd-tmpfiles-clean.timer && \
1738 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1739 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1740 rm -f org.freedesktop.systemd1.service && \
1741 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1743 $(MKDIR_P) -m 0755 \
1744 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1745 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1746 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1747 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1748 $(DESTDIR)$(systemunitdir)/halt.target.wants
1749 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1750 rm -f plymouth-start.service plymouth-read-write.service && \
1751 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1752 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1753 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1754 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1755 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1756 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1757 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1758 rm -f plymouth-reboot.service && \
1759 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1760 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1761 rm -f plymouth-kexec.service && \
1762 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1763 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1764 rm -f plymouth-poweroff.service && \
1765 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1766 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1767 rm -f plymouth-halt.service && \
1768 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1771 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1772 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1773 rm -f network.target && \
1774 $(LN_S) $(systemunitdir)/network.target network.target )
1775 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1777 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1779 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1781 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1786 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1787 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1788 rm -f rc-local.service && \
1789 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1790 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1791 rm -f halt-local.service && \
1792 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1793 ( cd $(DESTDIR)$(systemunitdir) && \
1794 rm -f display-manager.service single.service && \
1795 $(LN_S) prefdm.service display-manager.service && \
1796 $(LN_S) rescue.service single.service )
1797 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1798 rm -f display-manager.service && \
1799 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1803 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1804 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1805 rm -f rc-local.service && \
1806 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1807 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1808 rm -f halt-local.service && \
1809 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1810 ( cd $(DESTDIR)$(systemunitdir) && \
1811 rm -f display-manager.service dm.service single.service && \
1812 $(LN_S) prefdm.service display-manager.service && \
1813 $(LN_S) prefdm.service dm.service && \
1814 $(LN_S) rescue.service single.service )
1815 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1816 rm -f display-manager.service && \
1817 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1820 if TARGET_DEBIAN_OR_UBUNTU
1821 ( cd $(DESTDIR)$(systemunitdir) && \
1822 rm -f runlevel5.target && \
1823 $(LN_S) multi-user.target runlevel5.target )
1827 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1828 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1829 rm -f rc-local.service && \
1830 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1831 ( cd $(DESTDIR)$(systemunitdir) && \
1832 rm -f local.service && \
1833 $(LN_S) rc-local.service local.service )
1834 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1835 rm -f halt-local.service && \
1836 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1840 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1841 rm -f var-lock.mount && \
1842 $(LN_S) ../var-lock.mount var-lock.mount )
1845 install-exec-hook: libsystemd-daemon-install-hook
1847 uninstall-hook: libsystemd-daemon-uninstall-hook
1849 DISTCHECK_CONFIGURE_FLAGS = \
1850 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1851 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1852 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1853 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1854 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1855 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1856 --with-rootdir=$$dc_install_base/$(rootdir)
1858 upload: all distcheck
1859 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1860 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1861 scp man/*.html tango:public/systemd-man/
1864 git tag "v$(VERSION)" -m "systemd $(VERSION)"