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 \
598 libsystemd_core_la_CFLAGS = \
606 libsystemd_core_la_LIBADD = \
607 libsystemd-basic.la \
614 # This is needed because automake is buggy in how it generates the
615 # rules for C programs, but not Vala programs. We therefore can't
616 # list the .h files as dependencies if we want make dist to work.
619 ${libsystemd_basic_la_SOURCES:.c=.h} \
620 ${libsystemd_core_la_SOURCES:.c=.h} \
621 ${libsystemd_daemon_la_SOURCES:.c=.h} \
628 src/linux/auto_dev-ioctl.h \
629 src/linux/fanotify.h \
639 src/readahead-common.h \
640 src/ask-password-api.h \
645 src/logind-device.h \
647 src/logind-session.h \
657 man/systemd-nspawn.1 \
658 man/systemd-tmpfiles.8 \
659 man/systemd-notify.1 \
663 man/sd_listen_fds.3 \
666 man/systemd.service.5 \
667 man/systemd.socket.5 \
668 man/systemd.mount.5 \
669 man/systemd.automount.5 \
671 man/systemd.timer.5 \
673 man/systemd.target.5 \
674 man/systemd.device.5 \
675 man/systemd.snapshot.5 \
686 man/systemd-logind.conf.5 \
690 man/vconsole.conf.5 \
694 man/modules-load.d.5 \
696 man/systemd-ask-password.1 \
697 man/systemd-loginctl.1
708 man/sd_is_socket_unix.3 \
709 man/sd_is_socket_inet.3 \
713 man/reboot.8: man/halt.8
714 man/poweroff.8: man/halt.8
715 man/sd_is_socket.3: man/sd_is_fifo.3
716 man/sd_is_socket_unix.3: man/sd_is_fifo.3
717 man/sd_is_socket_inet.3: man/sd_is_fifo.3
718 man/sd_notifyf.3: man/sd_notify.3
719 man/init.1: man/systemd.1
726 man/systemd.special.7
729 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
732 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
735 ${XML_FILES:.xml=.html}
737 nodist_noinst_DATA = \
738 ${XML_IN_FILES:.xml.in=.html}
743 ${nodist_man_MANS:=.in} \
744 ${XML_IN_FILES:.xml.in=.html.in}
757 test_engine_SOURCES = \
760 test_engine_CFLAGS = $(systemd_CFLAGS)
761 test_engine_LDADD = $(systemd_LDADD)
763 test_job_type_SOURCES = \
766 test_job_type_CFLAGS = $(systemd_CFLAGS)
767 test_job_type_LDADD = $(systemd_LDADD)
772 test_ns_CFLAGS = $(systemd_CFLAGS)
773 test_ns_LDADD = $(systemd_LDADD)
775 test_loopback_SOURCES = \
776 src/test-loopback.c \
779 test_loopback_LDADD = \
782 test_hostname_SOURCES = \
783 src/test-hostname.c \
786 test_hostname_LDADD = \
789 test_daemon_SOURCES = \
792 test_daemon_LDADD = \
793 libsystemd-basic.la \
796 test_cgroup_SOURCES = \
800 test_cgroup_CFLAGS = \
803 test_cgroup_LDADD = \
806 test_env_replace_SOURCES = \
807 src/test-env-replace.c
809 test_env_replace_CFLAGS = \
812 test_env_replace_LDADD = \
815 test_strv_SOURCES = \
825 test_login_SOURCES = \
828 test_login_CFLAGS = \
832 libsystemd-basic.la \
835 test_install_SOURCES = \
841 test_install_CFLAGS = \
845 test_install_LDADD = \
848 systemd_logger_SOURCES = \
852 systemd_logger_LDADD = \
853 libsystemd-basic.la \
854 libsystemd-daemon.la \
857 systemd_initctl_SOURCES = \
861 systemd_initctl_CFLAGS = \
865 systemd_initctl_LDADD = \
866 libsystemd-basic.la \
867 libsystemd-daemon.la \
870 systemd_update_utmp_SOURCES = \
875 systemd_update_utmp_CFLAGS = \
880 systemd_update_utmp_LDADD = \
881 libsystemd-basic.la \
885 systemd_random_seed_SOURCES = \
888 systemd_random_seed_CFLAGS = \
891 systemd_random_seed_LDADD = \
894 systemd_shutdownd_SOURCES = \
898 systemd_shutdownd_CFLAGS = \
901 systemd_shutdownd_LDADD = \
902 libsystemd-basic.la \
905 systemd_hostnamed_SOURCES = \
910 systemd_hostnamed_CFLAGS = \
914 systemd_hostnamed_LDADD = \
915 libsystemd-basic.la \
916 libsystemd-daemon.la \
919 systemd_localed_SOURCES = \
924 systemd_localed_CFLAGS = \
928 systemd_localed_LDADD = \
929 libsystemd-basic.la \
930 libsystemd-daemon.la \
933 systemd_timedated_SOURCES = \
938 systemd_timedated_CFLAGS = \
942 systemd_timedated_LDADD = \
943 libsystemd-basic.la \
944 libsystemd-daemon.la \
947 systemd_logind_SOURCES = \
950 src/logind-device.c \
952 src/logind-seat-dbus.c \
953 src/logind-session.c \
954 src/logind-session-dbus.c \
956 src/logind-user-dbus.c \
962 systemd_logind_CFLAGS = \
968 systemd_logind_LDADD = \
969 libsystemd-basic.la \
970 libsystemd-daemon.la \
975 systemd_uaccess_SOURCES = \
979 systemd_logind_SOURCES += \
982 systemd_uaccess_SOURCES += \
986 systemd_uaccess_CFLAGS = \
991 systemd_uaccess_LDADD = \
992 libsystemd-basic.la \
993 libsystemd-daemon.la \
997 systemd_shutdown_SOURCES = \
1002 systemd_shutdown_CFLAGS = \
1006 systemd_shutdown_LDADD = \
1007 libsystemd-basic.la \
1010 systemd_modules_load_SOURCES = \
1013 systemd_modules_load_CFLAGS = \
1016 systemd_modules_load_LDADD = \
1019 systemd_tmpfiles_SOURCES = \
1022 systemd_tmpfiles_CFLAGS = \
1025 systemd_tmpfiles_LDADD = \
1028 systemd_machine_id_setup_SOURCES = \
1029 src/machine-id-setup.c \
1030 src/machine-id-main.c
1032 systemd_machine_id_setup_CFLAGS = \
1035 systemd_machine_id_setup_LDADD = \
1038 systemd_sysctl_SOURCES = \
1041 systemd_sysctl_CFLAGS = \
1044 systemd_sysctl_LDADD = \
1047 systemd_binfmt_SOURCES = \
1050 systemd_binfmt_CFLAGS = \
1053 systemd_binfmt_LDADD = \
1056 systemd_fsck_SOURCES = \
1060 systemd_fsck_CFLAGS = \
1065 systemd_fsck_LDADD = \
1066 libsystemd-basic.la \
1070 systemd_quotacheck_SOURCES = \
1073 systemd_quotacheck_CFLAGS = \
1076 systemd_quotacheck_LDADD = \
1079 systemd_timestamp_SOURCES = \
1082 systemd_timestamp_CFLAGS = \
1085 systemd_timestamp_LDADD = \
1088 systemd_ac_power_SOURCES = \
1091 systemd_ac_power_CFLAGS = \
1095 systemd_ac_power_LDADD = \
1096 libsystemd-basic.la \
1099 systemd_detect_virt_SOURCES = \
1102 systemd_detect_virt_CFLAGS = \
1105 systemd_detect_virt_LDADD = \
1108 systemd_cryptsetup_SOURCES = \
1110 src/ask-password-api.c
1112 systemd_cryptsetup_CFLAGS = \
1113 $(LIBCRYPTSETUP_CFLAGS) \
1117 systemd_cryptsetup_LDADD = \
1118 $(LIBCRYPTSETUP_LIBS) \
1122 systemd_cryptsetup_generator_SOURCES = \
1123 src/cryptsetup-generator.c \
1126 systemd_cryptsetup_generator_CFLAGS = \
1129 systemd_cryptsetup_generator_LDADD = \
1132 systemd_getty_generator_SOURCES = \
1133 src/getty-generator.c \
1136 systemd_getty_generator_CFLAGS = \
1139 systemd_getty_generator_LDADD = \
1142 systemd_user_sessions_SOURCES = \
1143 src/user-sessions.c \
1146 systemd_user_sessions_CFLAGS = \
1149 systemd_user_sessions_LDADD = \
1152 systemd_vconsole_setup_SOURCES = \
1153 src/vconsole-setup.c
1155 systemd_vconsole_setup_CFLAGS = \
1158 systemd_vconsole_setup_LDADD = \
1161 systemd_remount_api_vfs_SOURCES = \
1162 src/remount-api-vfs.c \
1166 systemd_remount_api_vfs_CFLAGS = \
1169 systemd_remount_api_vfs_LDADD = \
1172 systemd_cgroups_agent_SOURCES = \
1173 src/cgroups-agent.c \
1176 systemd_cgroups_agent_CFLAGS = \
1180 systemd_cgroups_agent_LDADD = \
1181 libsystemd-basic.la \
1184 systemd_kmsg_syslogd_SOURCES = \
1185 src/kmsg-syslogd.c \
1188 systemd_kmsg_syslogd_CFLAGS = \
1191 systemd_kmsg_syslogd_LDADD = \
1192 libsystemd-basic.la \
1193 libsystemd-daemon.la
1195 systemctl_SOURCES = \
1206 systemctl_CFLAGS = \
1211 libsystemd-basic.la \
1212 libsystemd-daemon.la \
1215 systemd_loginctl_SOURCES = \
1223 systemd_loginctl_CFLAGS = \
1228 systemd_loginctl_LDADD = \
1229 libsystemd-basic.la \
1233 systemd_notify_SOURCES = \
1237 systemd_notify_LDADD = \
1238 libsystemd-basic.la \
1239 libsystemd-daemon.la
1241 systemd_ask_password_SOURCES = \
1242 src/ask-password.c \
1243 src/ask-password-api.c
1245 systemd_ask_password_LDADD = \
1248 systemd_reply_password_SOURCES = \
1249 src/reply-password.c
1251 systemd_reply_password_LDADD = \
1254 systemd_readahead_collect_SOURCES = \
1255 src/readahead-collect.c \
1256 src/readahead-common.c
1258 systemd_readahead_collect_CFLAGS = \
1261 systemd_readahead_collect_LDADD = \
1262 libsystemd-basic.la \
1263 libsystemd-daemon.la \
1266 systemd_readahead_replay_SOURCES = \
1267 src/readahead-replay.c \
1268 src/readahead-common.c
1270 systemd_readahead_replay_CFLAGS = \
1273 systemd_readahead_replay_LDADD = \
1274 libsystemd-basic.la \
1275 libsystemd-daemon.la \
1278 systemd_cgls_SOURCES = \
1284 systemd_cgls_CFLAGS = \
1287 systemd_cgls_LDADD = \
1290 systemd_nspawn_SOURCES = \
1294 systemd_nspawn_CFLAGS = \
1297 systemd_nspawn_LDADD = \
1298 libsystemd-basic.la \
1299 libsystemd-daemon.la
1301 systemd_stdio_bridge_SOURCES = \
1304 systemd_stdio_bridge_LDADD = \
1307 systemadm_SOURCES = \
1308 src/systemadm.vala \
1309 src/systemd-interfaces.vala
1311 systemadm_CFLAGS = \
1314 -Wno-unused-variable \
1315 -Wno-unused-function \
1317 -Wno-format-nonliteral
1319 systemadm_VALAFLAGS = \
1327 systemd_gnome_ask_password_agent_SOURCES = \
1328 src/gnome-ask-password-agent.vala
1330 systemd_gnome_ask_password_agent_CFLAGS = \
1332 $(LIBNOTIFY_CFLAGS) \
1334 -Wno-unused-variable \
1335 -Wno-unused-function \
1337 -Wno-format-nonliteral
1339 systemd_gnome_ask_password_agent_VALAFLAGS = \
1343 --pkg=gio-unix-2.0 \
1346 systemd_gnome_ask_password_agent_VALAFLAGS += \
1349 systemd_gnome_ask_password_agent_VALAFLAGS += \
1352 systemd_gnome_ask_password_agent_LDADD = \
1356 systemd_tty_ask_password_agent_SOURCES = \
1357 src/tty-ask-password-agent.c \
1358 src/ask-password-api.c \
1361 systemd_tty_ask_password_agent_LDADD = \
1364 pam_systemd_la_SOURCES = \
1368 pam_systemd_la_CFLAGS = \
1374 pam_systemd_la_LDFLAGS = \
1379 -export-symbols-regex '^pam_sm_.*'
1381 pam_systemd_la_LIBADD = \
1382 libsystemd-basic.la \
1383 libsystemd-daemon.la \
1387 libsystemd_daemon_la_SOURCES = \
1390 libsystemd_daemon_la_CFLAGS = \
1392 -fvisibility=hidden \
1395 libsystemd_daemon_la_LDFLAGS = \
1397 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1398 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1400 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1401 libsystemd-daemon-install-hook:
1402 if test "$(libdir)" != "$(rootlibdir)"; then \
1403 mkdir -p $(DESTDIR)$(rootlibdir) && \
1404 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1405 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1406 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1407 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1410 libsystemd-daemon-uninstall-hook:
1411 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1413 libsystemd_login_la_SOURCES = \
1417 libsystemd_login_la_CFLAGS = \
1421 libsystemd_login_la_LDFLAGS = \
1423 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1424 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1426 libsystemd_login_la_LIBADD = \
1430 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1431 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1432 -e 's,@rootbindir\@,$(rootbindir),g' \
1433 -e 's,@bindir\@,$(bindir),g' \
1434 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1435 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1436 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1437 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1438 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1439 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1440 -e 's,@userunitdir\@,$(userunitdir),g' \
1441 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1442 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1443 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1444 -e 's,@prefix\@,$(prefix),g' \
1445 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1446 -e 's,@libdir\@,$(libdir),g' \
1447 -e 's,@includedir\@,$(includedir),g' \
1450 units/%: units/%.in Makefile
1453 man/%: man/%.in Makefile
1456 %.pc: %.pc.in Makefile
1459 src/%.policy.in: src/%.policy.in.in Makefile
1462 src/%.rules: src/%.rules.in Makefile
1465 M4_PROCESS_SYSTEM = \
1466 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1467 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1470 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1471 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1473 units/%: units/%.m4 Makefile
1474 $(M4_PROCESS_SYSTEM)
1476 units/user/%: units/%.m4 Makefile
1480 $(nodist_systemunit_DATA) \
1481 $(nodist_userunit_DATA) \
1482 $(nodist_man_MANS) \
1483 ${XML_IN_FILES:.xml.in=.html} \
1484 $(pkgconfigdata_DATA) \
1485 $(nodist_polkitpolicy_DATA) \
1486 src/73-seat-late.rules
1490 ${systemadm_SOURCES:.vala=.c}
1496 --param funcsynopsis.style "'ansi'"
1498 XSLTPROC_PROCESS_MAN = \
1499 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1500 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1502 XSLTPROC_PROCESS_MAN_IN = \
1503 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1504 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1507 XSLTPROC_PROCESS_HTML = \
1508 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1509 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1511 XSLTPROC_PROCESS_HTML_IN = \
1512 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1513 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1517 $(XSLTPROC_PROCESS_MAN)
1519 man/%.1.in: man/%.xml.in
1520 $(XSLTPROC_PROCESS_MAN)
1523 $(XSLTPROC_PROCESS_MAN)
1525 man/%.3.in: man/%.xml.in
1526 $(XSLTPROC_PROCESS_MAN)
1529 $(XSLTPROC_PROCESS_MAN)
1531 man/%.5.in: man/%.xml.in
1532 $(XSLTPROC_PROCESS_MAN)
1535 $(XSLTPROC_PROCESS_MAN)
1537 man/%.7.in: man/%.xml.in
1538 $(XSLTPROC_PROCESS_MAN_IN)
1541 $(XSLTPROC_PROCESS_MAN)
1543 man/%.8.in: man/%.xml.in
1544 $(XSLTPROC_PROCESS_MAN_IN)
1546 man/%.html: man/%.xml
1547 $(XSLTPROC_PROCESS_HTML)
1549 man/%.html.in: man/%.xml.in
1550 $(XSLTPROC_PROCESS_HTML_IN)
1554 ${nodist_man_MANS:=.in} \
1555 ${XML_FILES:.xml=.html} \
1556 ${XML_IN_FILES:.xml.in=.html.in}
1559 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1561 org.freedesktop.systemd1.%.xml: systemd
1562 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1563 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1564 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1566 org.freedesktop.hostname1.xml: systemd-hostnamed
1567 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1568 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1569 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1571 org.freedesktop.locale1.xml: systemd-localed
1572 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1573 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1574 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1576 org.freedesktop.timedate1.xml: systemd-timedated
1577 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1578 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1579 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1582 $(dbusinterface_DATA)
1585 $(MKDIR_P) -m 0755 \
1586 $(DESTDIR)$(tmpfilesdir) \
1587 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1588 $(DESTDIR)$(prefix)/lib/modules-load.d \
1589 $(DESTDIR)$(sysconfdir)/modules-load.d \
1590 $(DESTDIR)$(prefix)/lib/sysctl.d \
1591 $(DESTDIR)$(sysconfdir)/sysctl.d \
1592 $(DESTDIR)$(systemshutdowndir) \
1593 $(DESTDIR)$(systemgeneratordir) \
1594 $(DESTDIR)$(usergeneratordir)
1596 $(MKDIR_P) -m 0755 \
1597 $(DESTDIR)$(prefix)/lib/binfmt.d \
1598 $(DESTDIR)$(sysconfdir)/binfmt.d
1600 $(MKDIR_P) -m 0755 \
1601 $(DESTDIR)$(systemunitdir) \
1602 $(DESTDIR)$(userunitdir) \
1603 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1604 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1605 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1606 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1607 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1608 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1609 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1610 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1611 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1612 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1613 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1614 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1615 $(DESTDIR)$(pkgsysconfdir)/system \
1616 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1617 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1618 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1619 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1620 $(DESTDIR)$(pkgsysconfdir)/user \
1621 $(DESTDIR)$(dbussessionservicedir) \
1622 $(DESTDIR)$(sysconfdir)/xdg/systemd
1623 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1625 $(LN_S) $(pkgsysconfdir)/user user )
1626 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1627 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1628 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1629 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1630 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1631 $(LN_S) ../syslog.socket syslog.socket )
1632 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1633 rm -f systemd-update-utmp-runlevel.service && \
1634 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1635 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1636 rm -f systemd-update-utmp-runlevel.service && \
1637 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1638 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1639 rm -f systemd-update-utmp-runlevel.service && \
1640 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1641 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1642 rm -f systemd-update-utmp-runlevel.service && \
1643 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1644 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1645 rm -f systemd-update-utmp-runlevel.service && \
1646 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1647 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1648 rm -f systemd-update-utmp-shutdown.service \
1649 systemd-random-seed-save.service && \
1650 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1651 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1652 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1653 rm -f systemd-remount-api-vfs.service \
1655 remount-rootfs.service \
1658 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1659 $(LN_S) ../fsck-root.service fsck-root.service && \
1660 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1661 $(LN_S) ../var-run.mount var-run.mount && \
1662 $(LN_S) ../media.mount media.mount )
1663 ( cd $(DESTDIR)$(userunitdir) && \
1664 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1665 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1666 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1667 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1668 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1669 $(LN_S) $(systemunitdir)/sound.target sound.target )
1670 ( cd $(DESTDIR)$(systemunitdir) && \
1671 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1672 $(LN_S) poweroff.target runlevel0.target && \
1673 $(LN_S) rescue.target runlevel1.target && \
1674 $(LN_S) multi-user.target runlevel2.target && \
1675 $(LN_S) multi-user.target runlevel3.target && \
1676 $(LN_S) multi-user.target runlevel4.target && \
1677 $(LN_S) graphical.target runlevel5.target && \
1678 $(LN_S) reboot.target runlevel6.target )
1679 ( cd $(DESTDIR)$(systemunitdir) && \
1680 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 && \
1681 $(LN_S) graphical.target default.target && \
1682 $(LN_S) reboot.target ctrl-alt-del.target && \
1683 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1684 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1685 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1686 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1687 $(LN_S) getty@.service autovt@.service )
1688 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1689 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1690 $(LN_S) ../getty.target getty.target && \
1691 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1692 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1693 $(LN_S) ../systemd-logind.service systemd-logind.service )
1694 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1695 rm -f getty@tty1.service && \
1696 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1697 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1698 rm -f remote-fs.target && \
1699 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1700 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1701 rm -f dev-hugepages.automount \
1702 dev-mqueue.automount \
1703 sys-kernel-debug.automount \
1704 sys-kernel-security.automount \
1705 systemd-vconsole-setup.service \
1706 systemd-modules-load.service \
1707 systemd-random-seed-load.service \
1708 systemd-tmpfiles-setup.service \
1709 systemd-sysctl.service \
1710 systemd-ask-password-console.path \
1711 systemd-kmsg-syslogd.service \
1712 cryptsetup.target && \
1713 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1714 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1715 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1716 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1717 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1718 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1719 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1720 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1721 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1722 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1723 $(LN_S) ../systemd-kmsg-syslogd.service && \
1724 $(LN_S) ../cryptsetup.target cryptsetup.target )
1726 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1727 rm -f systemd-binfmt.service \
1728 proc-sys-fs-binfmt_misc.automount && \
1729 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1730 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1732 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1733 rm -f systemd-tmpfiles-clean.timer && \
1734 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1735 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1736 rm -f org.freedesktop.systemd1.service && \
1737 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1739 $(MKDIR_P) -m 0755 \
1740 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1741 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1742 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1743 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1744 $(DESTDIR)$(systemunitdir)/halt.target.wants
1745 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1746 rm -f plymouth-start.service plymouth-read-write.service && \
1747 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1748 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1749 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1750 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1751 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1752 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1753 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1754 rm -f plymouth-reboot.service && \
1755 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1756 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1757 rm -f plymouth-kexec.service && \
1758 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1759 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1760 rm -f plymouth-poweroff.service && \
1761 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1762 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1763 rm -f plymouth-halt.service && \
1764 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1767 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1768 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1769 rm -f network.target && \
1770 $(LN_S) $(systemunitdir)/network.target network.target )
1771 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1773 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1775 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1777 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1782 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1783 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1784 rm -f rc-local.service && \
1785 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1786 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1787 rm -f halt-local.service && \
1788 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1789 ( cd $(DESTDIR)$(systemunitdir) && \
1790 rm -f display-manager.service single.service && \
1791 $(LN_S) prefdm.service display-manager.service && \
1792 $(LN_S) rescue.service single.service )
1793 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1794 rm -f display-manager.service && \
1795 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1799 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1800 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1801 rm -f rc-local.service && \
1802 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1803 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1804 rm -f halt-local.service && \
1805 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1806 ( cd $(DESTDIR)$(systemunitdir) && \
1807 rm -f display-manager.service dm.service single.service && \
1808 $(LN_S) prefdm.service display-manager.service && \
1809 $(LN_S) prefdm.service dm.service && \
1810 $(LN_S) rescue.service single.service )
1811 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1812 rm -f display-manager.service && \
1813 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1816 if TARGET_DEBIAN_OR_UBUNTU
1817 ( cd $(DESTDIR)$(systemunitdir) && \
1818 rm -f runlevel5.target && \
1819 $(LN_S) multi-user.target runlevel5.target )
1823 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1824 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1825 rm -f rc-local.service && \
1826 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1827 ( cd $(DESTDIR)$(systemunitdir) && \
1828 rm -f local.service && \
1829 $(LN_S) rc-local.service local.service )
1830 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1831 rm -f halt-local.service && \
1832 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1836 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1837 rm -f var-lock.mount && \
1838 $(LN_S) ../var-lock.mount var-lock.mount )
1841 install-exec-hook: libsystemd-daemon-install-hook
1843 uninstall-hook: libsystemd-daemon-uninstall-hook
1845 DISTCHECK_CONFIGURE_FLAGS = \
1846 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1847 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1848 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1849 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1850 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1851 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1852 --with-rootdir=$$dc_install_base/$(rootdir)
1854 upload: all distcheck
1855 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1856 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1857 scp man/*.html tango:public/systemd-man/
1860 git tag "v$(VERSION)" -m "systemd $(VERSION)"