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 \
244 nodist_udevrules_DATA = \
245 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 \
438 src/99-systemd.rules.in
442 units/systemd-binfmt.service.in
446 dist_systemunit_DATA += \
447 units/fedora/prefdm.service \
448 units/fedora/rc-local.service \
449 units/fedora/halt-local.service
453 dist_systemunit_DATA += \
454 units/mandriva/prefdm.service \
455 units/fedora/rc-local.service \
456 units/fedora/halt-local.service
460 dist_systemunit_DATA += \
461 units/frugalware/display-manager.service
465 dist_systemunit_DATA += \
466 units/suse/rc-local.service \
467 units/suse/halt-local.service
471 dist_systemunit_DATA += \
472 units/plymouth-start.service \
473 units/plymouth-read-write.service \
474 units/plymouth-quit.service \
475 units/plymouth-quit-wait.service \
476 units/plymouth-reboot.service \
477 units/plymouth-kexec.service \
478 units/plymouth-poweroff.service \
479 units/plymouth-halt.service \
480 units/systemd-ask-password-plymouth.path
482 nodist_systemunit_DATA += \
483 units/systemd-ask-password-plymouth.service
486 units/systemd-ask-password-plymouth.service.in
498 pkgconfigdata_DATA = \
500 libsystemd-daemon.pc \
503 # Passed through intltool only
504 polkitpolicy_in_files = \
505 src/org.freedesktop.hostname1.policy.in \
506 src/org.freedesktop.locale1.policy.in \
507 src/org.freedesktop.timedate1.policy.in \
508 src/org.freedesktop.login1.policy.in
510 # First passed through sed, followed by intltool
511 polkitpolicy_in_in_files = \
512 src/org.freedesktop.systemd1.policy.in.in
514 nodist_polkitpolicy_DATA = \
515 $(polkitpolicy_in_files:.policy.in=.policy) \
516 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
519 $(polkitpolicy_in_files) \
520 $(polkitpolicy_in_in_files)
522 @INTLTOOL_POLICY_RULE@
524 noinst_LTLIBRARIES = \
525 libsystemd-basic.la \
528 libsystemd_basic_la_SOURCES = \
540 libsystemd_basic_la_CFLAGS = \
544 libsystemd_basic_la_LIBADD = \
547 libsystemd_core_la_SOURCES = \
552 src/load-fragment.c \
575 src/dbus-automount.c \
577 src/dbus-snapshot.c \
583 src/hostname-setup.c \
584 src/selinux-setup.c \
585 src/loopback-setup.c \
588 src/machine-id-setup.c \
600 libsystemd_core_la_CFLAGS = \
608 libsystemd_core_la_LIBADD = \
609 libsystemd-basic.la \
616 # This is needed because automake is buggy in how it generates the
617 # rules for C programs, but not Vala programs. We therefore can't
618 # list the .h files as dependencies if we want make dist to work.
621 ${libsystemd_basic_la_SOURCES:.c=.h} \
622 ${libsystemd_core_la_SOURCES:.c=.h} \
623 ${libsystemd_daemon_la_SOURCES:.c=.h} \
630 src/linux/auto_dev-ioctl.h \
631 src/linux/fanotify.h \
641 src/readahead-common.h \
642 src/ask-password-api.h \
647 src/logind-device.h \
649 src/logind-session.h \
659 man/systemd-nspawn.1 \
660 man/systemd-tmpfiles.8 \
661 man/systemd-notify.1 \
665 man/sd_listen_fds.3 \
668 man/systemd.service.5 \
669 man/systemd.socket.5 \
670 man/systemd.mount.5 \
671 man/systemd.automount.5 \
673 man/systemd.timer.5 \
675 man/systemd.target.5 \
676 man/systemd.device.5 \
677 man/systemd.snapshot.5 \
688 man/systemd-logind.conf.5 \
692 man/vconsole.conf.5 \
696 man/modules-load.d.5 \
698 man/systemd-ask-password.1 \
699 man/systemd-loginctl.1
710 man/sd_is_socket_unix.3 \
711 man/sd_is_socket_inet.3 \
715 man/reboot.8: man/halt.8
716 man/poweroff.8: man/halt.8
717 man/sd_is_socket.3: man/sd_is_fifo.3
718 man/sd_is_socket_unix.3: man/sd_is_fifo.3
719 man/sd_is_socket_inet.3: man/sd_is_fifo.3
720 man/sd_notifyf.3: man/sd_notify.3
721 man/init.1: man/systemd.1
728 man/systemd.special.7
731 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
734 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
737 ${XML_FILES:.xml=.html}
739 nodist_noinst_DATA = \
740 ${XML_IN_FILES:.xml.in=.html}
745 ${nodist_man_MANS:=.in} \
746 ${XML_IN_FILES:.xml.in=.html.in}
759 test_engine_SOURCES = \
762 test_engine_CFLAGS = $(systemd_CFLAGS)
763 test_engine_LDADD = $(systemd_LDADD)
765 test_job_type_SOURCES = \
768 test_job_type_CFLAGS = $(systemd_CFLAGS)
769 test_job_type_LDADD = $(systemd_LDADD)
774 test_ns_CFLAGS = $(systemd_CFLAGS)
775 test_ns_LDADD = $(systemd_LDADD)
777 test_loopback_SOURCES = \
778 src/test-loopback.c \
781 test_loopback_LDADD = \
784 test_hostname_SOURCES = \
785 src/test-hostname.c \
788 test_hostname_LDADD = \
791 test_daemon_SOURCES = \
794 test_daemon_LDADD = \
795 libsystemd-basic.la \
798 test_cgroup_SOURCES = \
802 test_cgroup_CFLAGS = \
805 test_cgroup_LDADD = \
808 test_env_replace_SOURCES = \
809 src/test-env-replace.c
811 test_env_replace_CFLAGS = \
814 test_env_replace_LDADD = \
817 test_strv_SOURCES = \
827 test_login_SOURCES = \
830 test_login_CFLAGS = \
834 libsystemd-basic.la \
837 test_install_SOURCES = \
843 test_install_CFLAGS = \
847 test_install_LDADD = \
850 systemd_logger_SOURCES = \
854 systemd_logger_LDADD = \
855 libsystemd-basic.la \
856 libsystemd-daemon.la \
859 systemd_initctl_SOURCES = \
863 systemd_initctl_CFLAGS = \
867 systemd_initctl_LDADD = \
868 libsystemd-basic.la \
869 libsystemd-daemon.la \
872 systemd_update_utmp_SOURCES = \
877 systemd_update_utmp_CFLAGS = \
882 systemd_update_utmp_LDADD = \
883 libsystemd-basic.la \
887 systemd_random_seed_SOURCES = \
890 systemd_random_seed_CFLAGS = \
893 systemd_random_seed_LDADD = \
896 systemd_shutdownd_SOURCES = \
900 systemd_shutdownd_CFLAGS = \
903 systemd_shutdownd_LDADD = \
904 libsystemd-basic.la \
907 systemd_hostnamed_SOURCES = \
912 systemd_hostnamed_CFLAGS = \
916 systemd_hostnamed_LDADD = \
917 libsystemd-basic.la \
918 libsystemd-daemon.la \
921 systemd_localed_SOURCES = \
926 systemd_localed_CFLAGS = \
930 systemd_localed_LDADD = \
931 libsystemd-basic.la \
932 libsystemd-daemon.la \
935 systemd_timedated_SOURCES = \
940 systemd_timedated_CFLAGS = \
944 systemd_timedated_LDADD = \
945 libsystemd-basic.la \
946 libsystemd-daemon.la \
949 systemd_logind_SOURCES = \
952 src/logind-device.c \
954 src/logind-seat-dbus.c \
955 src/logind-session.c \
956 src/logind-session-dbus.c \
958 src/logind-user-dbus.c \
964 systemd_logind_CFLAGS = \
970 systemd_logind_LDADD = \
971 libsystemd-basic.la \
972 libsystemd-daemon.la \
977 systemd_uaccess_SOURCES = \
981 systemd_logind_SOURCES += \
984 systemd_uaccess_SOURCES += \
988 systemd_uaccess_CFLAGS = \
993 systemd_uaccess_LDADD = \
994 libsystemd-basic.la \
995 libsystemd-daemon.la \
996 libsystemd-login.la \
1000 systemd_shutdown_SOURCES = \
1005 systemd_shutdown_CFLAGS = \
1009 systemd_shutdown_LDADD = \
1010 libsystemd-basic.la \
1013 systemd_modules_load_SOURCES = \
1016 systemd_modules_load_CFLAGS = \
1019 systemd_modules_load_LDADD = \
1022 systemd_tmpfiles_SOURCES = \
1025 systemd_tmpfiles_CFLAGS = \
1028 systemd_tmpfiles_LDADD = \
1031 systemd_machine_id_setup_SOURCES = \
1032 src/machine-id-setup.c \
1033 src/machine-id-main.c
1035 systemd_machine_id_setup_CFLAGS = \
1038 systemd_machine_id_setup_LDADD = \
1041 systemd_sysctl_SOURCES = \
1044 systemd_sysctl_CFLAGS = \
1047 systemd_sysctl_LDADD = \
1050 systemd_binfmt_SOURCES = \
1053 systemd_binfmt_CFLAGS = \
1056 systemd_binfmt_LDADD = \
1059 systemd_fsck_SOURCES = \
1063 systemd_fsck_CFLAGS = \
1068 systemd_fsck_LDADD = \
1069 libsystemd-basic.la \
1073 systemd_quotacheck_SOURCES = \
1076 systemd_quotacheck_CFLAGS = \
1079 systemd_quotacheck_LDADD = \
1082 systemd_timestamp_SOURCES = \
1085 systemd_timestamp_CFLAGS = \
1088 systemd_timestamp_LDADD = \
1091 systemd_ac_power_SOURCES = \
1094 systemd_ac_power_CFLAGS = \
1098 systemd_ac_power_LDADD = \
1099 libsystemd-basic.la \
1102 systemd_detect_virt_SOURCES = \
1105 systemd_detect_virt_CFLAGS = \
1108 systemd_detect_virt_LDADD = \
1111 systemd_cryptsetup_SOURCES = \
1113 src/ask-password-api.c
1115 systemd_cryptsetup_CFLAGS = \
1116 $(LIBCRYPTSETUP_CFLAGS) \
1120 systemd_cryptsetup_LDADD = \
1121 $(LIBCRYPTSETUP_LIBS) \
1125 systemd_cryptsetup_generator_SOURCES = \
1126 src/cryptsetup-generator.c \
1129 systemd_cryptsetup_generator_CFLAGS = \
1132 systemd_cryptsetup_generator_LDADD = \
1135 systemd_getty_generator_SOURCES = \
1136 src/getty-generator.c \
1139 systemd_getty_generator_CFLAGS = \
1142 systemd_getty_generator_LDADD = \
1145 systemd_user_sessions_SOURCES = \
1146 src/user-sessions.c \
1149 systemd_user_sessions_CFLAGS = \
1152 systemd_user_sessions_LDADD = \
1155 systemd_vconsole_setup_SOURCES = \
1156 src/vconsole-setup.c
1158 systemd_vconsole_setup_CFLAGS = \
1161 systemd_vconsole_setup_LDADD = \
1164 systemd_remount_api_vfs_SOURCES = \
1165 src/remount-api-vfs.c \
1169 systemd_remount_api_vfs_CFLAGS = \
1172 systemd_remount_api_vfs_LDADD = \
1175 systemd_cgroups_agent_SOURCES = \
1176 src/cgroups-agent.c \
1179 systemd_cgroups_agent_CFLAGS = \
1183 systemd_cgroups_agent_LDADD = \
1184 libsystemd-basic.la \
1187 systemd_kmsg_syslogd_SOURCES = \
1188 src/kmsg-syslogd.c \
1191 systemd_kmsg_syslogd_CFLAGS = \
1194 systemd_kmsg_syslogd_LDADD = \
1195 libsystemd-basic.la \
1196 libsystemd-daemon.la
1198 systemctl_SOURCES = \
1211 systemctl_CFLAGS = \
1216 libsystemd-basic.la \
1217 libsystemd-daemon.la \
1220 systemd_loginctl_SOURCES = \
1228 systemd_loginctl_CFLAGS = \
1233 systemd_loginctl_LDADD = \
1234 libsystemd-basic.la \
1238 systemd_notify_SOURCES = \
1242 systemd_notify_LDADD = \
1243 libsystemd-basic.la \
1244 libsystemd-daemon.la
1246 systemd_ask_password_SOURCES = \
1247 src/ask-password.c \
1248 src/ask-password-api.c
1250 systemd_ask_password_LDADD = \
1253 systemd_reply_password_SOURCES = \
1254 src/reply-password.c
1256 systemd_reply_password_LDADD = \
1259 systemd_readahead_collect_SOURCES = \
1260 src/readahead-collect.c \
1261 src/readahead-common.c
1263 systemd_readahead_collect_CFLAGS = \
1266 systemd_readahead_collect_LDADD = \
1267 libsystemd-basic.la \
1268 libsystemd-daemon.la \
1271 systemd_readahead_replay_SOURCES = \
1272 src/readahead-replay.c \
1273 src/readahead-common.c
1275 systemd_readahead_replay_CFLAGS = \
1278 systemd_readahead_replay_LDADD = \
1279 libsystemd-basic.la \
1280 libsystemd-daemon.la \
1283 systemd_cgls_SOURCES = \
1289 systemd_cgls_CFLAGS = \
1292 systemd_cgls_LDADD = \
1295 systemd_nspawn_SOURCES = \
1299 systemd_nspawn_CFLAGS = \
1302 systemd_nspawn_LDADD = \
1303 libsystemd-basic.la \
1304 libsystemd-daemon.la
1306 systemd_stdio_bridge_SOURCES = \
1309 systemd_stdio_bridge_LDADD = \
1312 systemadm_SOURCES = \
1313 src/systemadm.vala \
1314 src/systemd-interfaces.vala
1316 systemadm_CFLAGS = \
1319 -Wno-unused-variable \
1320 -Wno-unused-function \
1322 -Wno-format-nonliteral
1324 systemadm_VALAFLAGS = \
1332 systemd_gnome_ask_password_agent_SOURCES = \
1333 src/gnome-ask-password-agent.vala
1335 systemd_gnome_ask_password_agent_CFLAGS = \
1337 $(LIBNOTIFY_CFLAGS) \
1339 -Wno-unused-variable \
1340 -Wno-unused-function \
1342 -Wno-format-nonliteral
1344 systemd_gnome_ask_password_agent_VALAFLAGS = \
1348 --pkg=gio-unix-2.0 \
1351 systemd_gnome_ask_password_agent_VALAFLAGS += \
1354 systemd_gnome_ask_password_agent_VALAFLAGS += \
1357 systemd_gnome_ask_password_agent_LDADD = \
1361 systemd_tty_ask_password_agent_SOURCES = \
1362 src/tty-ask-password-agent.c \
1363 src/ask-password-api.c \
1366 systemd_tty_ask_password_agent_LDADD = \
1369 pam_systemd_la_SOURCES = \
1373 pam_systemd_la_CFLAGS = \
1379 pam_systemd_la_LDFLAGS = \
1384 -export-symbols-regex '^pam_sm_.*'
1386 pam_systemd_la_LIBADD = \
1387 libsystemd-basic.la \
1388 libsystemd-daemon.la \
1392 libsystemd_daemon_la_SOURCES = \
1395 libsystemd_daemon_la_CFLAGS = \
1397 -fvisibility=hidden \
1400 libsystemd_daemon_la_LDFLAGS = \
1402 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1403 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1405 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1406 libsystemd-daemon-install-hook:
1407 if test "$(libdir)" != "$(rootlibdir)"; then \
1408 mkdir -p $(DESTDIR)$(rootlibdir) && \
1409 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1410 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1411 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1412 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1415 libsystemd-daemon-uninstall-hook:
1416 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1418 libsystemd_login_la_SOURCES = \
1422 libsystemd_login_la_CFLAGS = \
1426 libsystemd_login_la_LDFLAGS = \
1428 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1429 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1431 libsystemd_login_la_LIBADD = \
1435 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1436 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1437 -e 's,@rootbindir\@,$(rootbindir),g' \
1438 -e 's,@bindir\@,$(bindir),g' \
1439 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1440 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1441 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1442 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1443 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1444 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1445 -e 's,@userunitdir\@,$(userunitdir),g' \
1446 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1447 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1448 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1449 -e 's,@prefix\@,$(prefix),g' \
1450 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1451 -e 's,@libdir\@,$(libdir),g' \
1452 -e 's,@includedir\@,$(includedir),g' \
1455 units/%: units/%.in Makefile
1458 man/%: man/%.in Makefile
1461 %.pc: %.pc.in Makefile
1464 src/%.policy.in: src/%.policy.in.in Makefile
1467 src/%.rules: src/%.rules.in Makefile
1470 M4_PROCESS_SYSTEM = \
1471 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1472 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1475 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1476 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1478 units/%: units/%.m4 Makefile
1479 $(M4_PROCESS_SYSTEM)
1481 units/user/%: units/%.m4 Makefile
1485 $(nodist_systemunit_DATA) \
1486 $(nodist_userunit_DATA) \
1487 $(nodist_man_MANS) \
1488 ${XML_IN_FILES:.xml.in=.html} \
1489 $(pkgconfigdata_DATA) \
1490 $(nodist_polkitpolicy_DATA) \
1491 src/73-seat-late.rules \
1492 src/99-systemd.rules
1496 ${systemadm_SOURCES:.vala=.c}
1502 --param funcsynopsis.style "'ansi'"
1504 XSLTPROC_PROCESS_MAN = \
1505 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1506 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1508 XSLTPROC_PROCESS_MAN_IN = \
1509 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1510 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1513 XSLTPROC_PROCESS_HTML = \
1514 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1515 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1517 XSLTPROC_PROCESS_HTML_IN = \
1518 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1519 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1523 $(XSLTPROC_PROCESS_MAN)
1525 man/%.1.in: man/%.xml.in
1526 $(XSLTPROC_PROCESS_MAN)
1529 $(XSLTPROC_PROCESS_MAN)
1531 man/%.3.in: man/%.xml.in
1532 $(XSLTPROC_PROCESS_MAN)
1535 $(XSLTPROC_PROCESS_MAN)
1537 man/%.5.in: man/%.xml.in
1538 $(XSLTPROC_PROCESS_MAN)
1541 $(XSLTPROC_PROCESS_MAN)
1543 man/%.7.in: man/%.xml.in
1544 $(XSLTPROC_PROCESS_MAN_IN)
1547 $(XSLTPROC_PROCESS_MAN)
1549 man/%.8.in: man/%.xml.in
1550 $(XSLTPROC_PROCESS_MAN_IN)
1552 man/%.html: man/%.xml
1553 $(XSLTPROC_PROCESS_HTML)
1555 man/%.html.in: man/%.xml.in
1556 $(XSLTPROC_PROCESS_HTML_IN)
1560 ${nodist_man_MANS:=.in} \
1561 ${XML_FILES:.xml=.html} \
1562 ${XML_IN_FILES:.xml.in=.html.in}
1565 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1567 org.freedesktop.systemd1.%.xml: systemd
1568 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1569 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1570 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1572 org.freedesktop.hostname1.xml: systemd-hostnamed
1573 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1574 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1575 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1577 org.freedesktop.locale1.xml: systemd-localed
1578 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1579 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1580 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1582 org.freedesktop.timedate1.xml: systemd-timedated
1583 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1584 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1585 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1588 $(dbusinterface_DATA)
1591 $(MKDIR_P) -m 0755 \
1592 $(DESTDIR)$(tmpfilesdir) \
1593 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1594 $(DESTDIR)$(prefix)/lib/modules-load.d \
1595 $(DESTDIR)$(sysconfdir)/modules-load.d \
1596 $(DESTDIR)$(prefix)/lib/sysctl.d \
1597 $(DESTDIR)$(sysconfdir)/sysctl.d \
1598 $(DESTDIR)$(systemshutdowndir) \
1599 $(DESTDIR)$(systemgeneratordir) \
1600 $(DESTDIR)$(usergeneratordir)
1602 $(MKDIR_P) -m 0755 \
1603 $(DESTDIR)$(prefix)/lib/binfmt.d \
1604 $(DESTDIR)$(sysconfdir)/binfmt.d
1606 $(MKDIR_P) -m 0755 \
1607 $(DESTDIR)$(systemunitdir) \
1608 $(DESTDIR)$(userunitdir) \
1609 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1610 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1611 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1612 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1613 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1614 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1615 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1616 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1617 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1618 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1619 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1620 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1621 $(DESTDIR)$(pkgsysconfdir)/system \
1622 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1623 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1624 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1625 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1626 $(DESTDIR)$(pkgsysconfdir)/user \
1627 $(DESTDIR)$(dbussessionservicedir) \
1628 $(DESTDIR)$(sysconfdir)/xdg/systemd
1629 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1631 $(LN_S) $(pkgsysconfdir)/user user )
1632 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1633 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1634 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1635 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1636 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1637 $(LN_S) ../syslog.socket syslog.socket )
1638 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.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)/runlevel2.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)/runlevel3.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)/runlevel4.target.wants && \
1648 rm -f systemd-update-utmp-runlevel.service && \
1649 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1650 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1651 rm -f systemd-update-utmp-runlevel.service && \
1652 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1653 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1654 rm -f systemd-update-utmp-shutdown.service \
1655 systemd-random-seed-save.service && \
1656 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1657 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1658 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1659 rm -f systemd-remount-api-vfs.service \
1661 remount-rootfs.service \
1664 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1665 $(LN_S) ../fsck-root.service fsck-root.service && \
1666 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1667 $(LN_S) ../var-run.mount var-run.mount && \
1668 $(LN_S) ../media.mount media.mount )
1669 ( cd $(DESTDIR)$(userunitdir) && \
1670 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1671 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1672 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1673 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1674 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1675 $(LN_S) $(systemunitdir)/sound.target sound.target )
1676 ( cd $(DESTDIR)$(systemunitdir) && \
1677 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1678 $(LN_S) poweroff.target runlevel0.target && \
1679 $(LN_S) rescue.target runlevel1.target && \
1680 $(LN_S) multi-user.target runlevel2.target && \
1681 $(LN_S) multi-user.target runlevel3.target && \
1682 $(LN_S) multi-user.target runlevel4.target && \
1683 $(LN_S) graphical.target runlevel5.target && \
1684 $(LN_S) reboot.target runlevel6.target )
1685 ( cd $(DESTDIR)$(systemunitdir) && \
1686 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 && \
1687 $(LN_S) graphical.target default.target && \
1688 $(LN_S) reboot.target ctrl-alt-del.target && \
1689 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1690 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1691 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1692 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1693 $(LN_S) getty@.service autovt@.service )
1694 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1695 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1696 $(LN_S) ../getty.target getty.target && \
1697 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1698 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1699 $(LN_S) ../systemd-logind.service systemd-logind.service )
1700 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1701 rm -f getty@tty1.service && \
1702 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1703 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1704 rm -f remote-fs.target && \
1705 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1706 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1707 rm -f dev-hugepages.automount \
1708 dev-mqueue.automount \
1709 sys-kernel-debug.automount \
1710 sys-kernel-security.automount \
1711 systemd-vconsole-setup.service \
1712 systemd-modules-load.service \
1713 systemd-random-seed-load.service \
1714 systemd-tmpfiles-setup.service \
1715 systemd-sysctl.service \
1716 systemd-ask-password-console.path \
1717 systemd-kmsg-syslogd.service \
1718 cryptsetup.target && \
1719 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1720 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1721 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1722 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1723 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1724 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1725 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1726 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1727 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1728 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1729 $(LN_S) ../systemd-kmsg-syslogd.service && \
1730 $(LN_S) ../cryptsetup.target cryptsetup.target )
1732 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1733 rm -f systemd-binfmt.service \
1734 proc-sys-fs-binfmt_misc.automount && \
1735 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1736 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1738 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1739 rm -f systemd-tmpfiles-clean.timer && \
1740 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1741 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1742 rm -f org.freedesktop.systemd1.service && \
1743 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1745 $(MKDIR_P) -m 0755 \
1746 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1747 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1748 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1749 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1750 $(DESTDIR)$(systemunitdir)/halt.target.wants
1751 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1752 rm -f plymouth-start.service plymouth-read-write.service && \
1753 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1754 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1755 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1756 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1757 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1758 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1759 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1760 rm -f plymouth-reboot.service && \
1761 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1762 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1763 rm -f plymouth-kexec.service && \
1764 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1765 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1766 rm -f plymouth-poweroff.service && \
1767 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1768 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1769 rm -f plymouth-halt.service && \
1770 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1773 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1774 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1775 rm -f network.target && \
1776 $(LN_S) $(systemunitdir)/network.target network.target )
1777 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1779 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1781 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1783 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1788 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1789 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1790 rm -f rc-local.service && \
1791 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1792 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1793 rm -f halt-local.service && \
1794 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1795 ( cd $(DESTDIR)$(systemunitdir) && \
1796 rm -f display-manager.service single.service && \
1797 $(LN_S) prefdm.service display-manager.service && \
1798 $(LN_S) rescue.service single.service )
1799 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1800 rm -f display-manager.service && \
1801 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1805 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1806 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1807 rm -f rc-local.service && \
1808 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1809 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1810 rm -f halt-local.service && \
1811 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1812 ( cd $(DESTDIR)$(systemunitdir) && \
1813 rm -f display-manager.service dm.service single.service && \
1814 $(LN_S) prefdm.service display-manager.service && \
1815 $(LN_S) prefdm.service dm.service && \
1816 $(LN_S) rescue.service single.service )
1817 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1818 rm -f display-manager.service && \
1819 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1822 if TARGET_DEBIAN_OR_UBUNTU
1823 ( cd $(DESTDIR)$(systemunitdir) && \
1824 rm -f runlevel5.target && \
1825 $(LN_S) multi-user.target runlevel5.target )
1829 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1830 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1831 rm -f rc-local.service && \
1832 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1833 ( cd $(DESTDIR)$(systemunitdir) && \
1834 rm -f local.service && \
1835 $(LN_S) rc-local.service local.service )
1836 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1837 rm -f halt-local.service && \
1838 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1842 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1843 rm -f var-lock.mount && \
1844 $(LN_S) ../var-lock.mount var-lock.mount )
1847 install-exec-hook: libsystemd-daemon-install-hook
1849 uninstall-hook: libsystemd-daemon-uninstall-hook
1851 DISTCHECK_CONFIGURE_FLAGS = \
1852 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1853 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1854 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1855 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1856 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1857 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1858 --with-rootdir=$$dc_install_base/$(rootdir)
1860 upload: all distcheck
1861 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1862 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1863 scp man/*.html tango:public/systemd-man/
1866 git tag "v$(VERSION)" -m "systemd $(VERSION)"