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 = \
216 pamlib_LTLIBRARIES = \
220 dist_pkgsysconf_DATA = \
223 src/systemd-logind.conf
225 dist_dbuspolicy_DATA = \
226 src/org.freedesktop.systemd1.conf \
227 src/org.freedesktop.hostname1.conf \
228 src/org.freedesktop.locale1.conf \
229 src/org.freedesktop.timedate1.conf \
230 src/org.freedesktop.login1.conf
232 dist_dbussystemservice_DATA = \
233 src/org.freedesktop.systemd1.service \
234 src/org.freedesktop.hostname1.service \
235 src/org.freedesktop.locale1.service \
236 src/org.freedesktop.timedate1.service \
237 src/org.freedesktop.login1.service
239 dist_udevrules_DATA = \
240 src/70-uaccess.rules \
244 nodist_udevrules_DATA = \
245 src/73-seat-late.rules
247 dbusinterface_DATA = \
248 org.freedesktop.systemd1.Manager.xml \
249 org.freedesktop.systemd1.Job.xml \
250 org.freedesktop.systemd1.Unit.xml \
251 org.freedesktop.systemd1.Service.xml \
252 org.freedesktop.systemd1.Socket.xml \
253 org.freedesktop.systemd1.Timer.xml \
254 org.freedesktop.systemd1.Target.xml \
255 org.freedesktop.systemd1.Device.xml \
256 org.freedesktop.systemd1.Mount.xml \
257 org.freedesktop.systemd1.Automount.xml \
258 org.freedesktop.systemd1.Snapshot.xml \
259 org.freedesktop.systemd1.Swap.xml \
260 org.freedesktop.systemd1.Path.xml \
261 org.freedesktop.hostname1.xml \
262 org.freedesktop.locale1.xml \
263 org.freedesktop.timedate1.xml
265 dist_bashcompletion_DATA = \
266 src/systemctl-bash-completion.sh
268 dist_tmpfiles_DATA = \
269 tmpfiles.d/systemd.conf \
273 dist_tmpfiles_DATA += \
274 tmpfiles.d/legacy.conf
277 dist_systemunit_DATA = \
278 units/graphical.target \
279 units/multi-user.target \
280 units/emergency.service \
281 units/emergency.target \
282 units/sysinit.target \
287 units/local-fs.target \
288 units/remote-fs.target \
289 units/cryptsetup.target \
290 units/network.target \
291 units/nss-lookup.target \
292 units/mail-transfer-agent.target \
293 units/http-daemon.target \
294 units/poweroff.target \
295 units/reboot.target \
296 units/rescue.target \
297 units/rpcbind.target \
298 units/time-sync.target \
299 units/shutdown.target \
301 units/umount.target \
302 units/sigpwr.target \
303 units/sockets.target \
305 units/systemd-initctl.socket \
306 units/systemd-logger.socket \
307 units/systemd-shutdownd.socket \
308 units/syslog.socket \
309 units/dev-hugepages.automount \
310 units/dev-hugepages.mount \
311 units/dev-mqueue.automount \
312 units/dev-mqueue.mount \
313 units/sys-kernel-debug.automount \
314 units/sys-kernel-debug.mount \
315 units/sys-kernel-security.automount \
316 units/sys-kernel-security.mount \
317 units/var-run.mount \
319 units/remount-rootfs.service \
320 units/printer.target \
322 units/bluetooth.target \
323 units/smartcard.target \
324 units/systemd-readahead-done.timer \
325 units/systemd-tmpfiles-clean.timer \
326 units/quotaon.service \
327 units/systemd-ask-password-wall.path \
328 units/systemd-ask-password-console.path \
332 dist_systemunit_DATA += \
337 dist_systemunit_DATA += \
338 units/proc-sys-fs-binfmt_misc.automount \
339 units/proc-sys-fs-binfmt_misc.mount
342 nodist_systemunit_DATA = \
343 units/getty@.service \
344 units/serial-getty@.service \
345 units/console-shell.service \
346 units/systemd-initctl.service \
347 units/systemd-logger.service \
348 units/systemd-shutdownd.service \
349 units/systemd-hostnamed.service \
350 units/systemd-localed.service \
351 units/systemd-timedated.service \
352 units/systemd-logind.service \
353 units/systemd-kmsg-syslogd.service \
354 units/systemd-modules-load.service \
355 units/systemd-vconsole-setup.service \
356 units/systemd-remount-api-vfs.service \
357 units/systemd-update-utmp-runlevel.service \
358 units/systemd-update-utmp-shutdown.service \
359 units/systemd-random-seed-save.service \
360 units/systemd-random-seed-load.service \
361 units/systemd-readahead-collect.service \
362 units/systemd-readahead-replay.service \
363 units/systemd-readahead-done.service \
364 units/systemd-tmpfiles-setup.service \
365 units/systemd-tmpfiles-clean.service \
366 units/systemd-user-sessions.service \
367 units/systemd-ask-password-wall.service \
368 units/systemd-ask-password-console.service \
369 units/systemd-sysctl.service \
371 units/poweroff.service \
372 units/reboot.service \
373 units/kexec.service \
374 units/fsck@.service \
375 units/fsck-root.service \
376 units/quotacheck.service \
377 units/rescue.service \
381 nodist_systemunit_DATA += \
382 units/systemd-binfmt.service
385 dist_userunit_DATA = \
386 units/user/default.target \
387 units/user/exit.target
389 nodist_userunit_DATA = \
390 units/user/exit.service
393 units/getty@.service.m4 \
394 units/serial-getty@.service.m4 \
395 units/console-shell.service.m4 \
396 units/rescue.service.m4 \
397 units/systemd-initctl.service.in \
398 units/systemd-logger.service.in \
399 units/systemd-shutdownd.service.in \
400 units/systemd-hostnamed.service.in \
401 units/systemd-localed.service.in \
402 units/systemd-timedated.service.in \
403 units/systemd-logind.service.in \
404 units/systemd-kmsg-syslogd.service.in \
405 units/systemd-modules-load.service.in \
406 units/systemd-vconsole-setup.service.in \
407 units/systemd-remount-api-vfs.service.in \
408 units/systemd-update-utmp-runlevel.service.in \
409 units/systemd-update-utmp-shutdown.service.in \
410 units/systemd-random-seed-save.service.in \
411 units/systemd-random-seed-load.service.in \
412 units/systemd-readahead-collect.service.in \
413 units/systemd-readahead-replay.service.in \
414 units/systemd-readahead-done.service.in \
415 units/systemd-tmpfiles-setup.service.in \
416 units/systemd-tmpfiles-clean.service.in \
417 units/systemd-user-sessions.service.in \
418 units/systemd-ask-password-wall.service.in \
419 units/systemd-ask-password-console.service.in \
420 units/systemd-sysctl.service.in \
421 units/halt.service.in \
422 units/poweroff.service.in \
423 units/reboot.service.in \
424 units/kexec.service.in \
425 units/user/exit.service.in \
426 units/fsck@.service.in \
427 units/fsck-root.service.in \
428 units/quotacheck.service.in \
429 units/user@.service.in \
431 libsystemd-daemon.pc.in \
432 libsystemd-login.pc.in \
434 src/73-seat-late.rules.in
438 units/systemd-binfmt.service.in
442 dist_systemunit_DATA += \
443 units/fedora/prefdm.service \
444 units/fedora/rc-local.service \
445 units/fedora/halt-local.service
449 dist_systemunit_DATA += \
450 units/mandriva/prefdm.service \
451 units/fedora/rc-local.service \
452 units/fedora/halt-local.service
456 dist_systemunit_DATA += \
457 units/frugalware/display-manager.service
461 dist_systemunit_DATA += \
462 units/suse/rc-local.service \
463 units/suse/halt-local.service
467 dist_systemunit_DATA += \
468 units/plymouth-start.service \
469 units/plymouth-read-write.service \
470 units/plymouth-quit.service \
471 units/plymouth-quit-wait.service \
472 units/plymouth-reboot.service \
473 units/plymouth-kexec.service \
474 units/plymouth-poweroff.service \
475 units/plymouth-halt.service \
476 units/systemd-ask-password-plymouth.path
478 nodist_systemunit_DATA += \
479 units/systemd-ask-password-plymouth.service
482 units/systemd-ask-password-plymouth.service.in
494 pkgconfigdata_DATA = \
496 libsystemd-daemon.pc \
499 # Passed through intltool only
500 polkitpolicy_in_files = \
501 src/org.freedesktop.hostname1.policy.in \
502 src/org.freedesktop.locale1.policy.in \
503 src/org.freedesktop.timedate1.policy.in \
504 src/org.freedesktop.login1.policy.in
506 # First passed through sed, followed by intltool
507 polkitpolicy_in_in_files = \
508 src/org.freedesktop.systemd1.policy.in.in
510 nodist_polkitpolicy_DATA = \
511 $(polkitpolicy_in_files:.policy.in=.policy) \
512 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
515 $(polkitpolicy_in_files) \
516 $(polkitpolicy_in_in_files)
518 @INTLTOOL_POLICY_RULE@
520 noinst_LTLIBRARIES = \
521 libsystemd-basic.la \
524 libsystemd_basic_la_SOURCES = \
536 libsystemd_basic_la_CFLAGS = \
540 libsystemd_basic_la_LIBADD = \
543 libsystemd_core_la_SOURCES = \
548 src/load-fragment.c \
571 src/dbus-automount.c \
573 src/dbus-snapshot.c \
579 src/hostname-setup.c \
580 src/selinux-setup.c \
581 src/loopback-setup.c \
584 src/machine-id-setup.c \
595 libsystemd_core_la_CFLAGS = \
603 libsystemd_core_la_LIBADD = \
604 libsystemd-basic.la \
611 # This is needed because automake is buggy in how it generates the
612 # rules for C programs, but not Vala programs. We therefore can't
613 # list the .h files as dependencies if we want make dist to work.
616 ${libsystemd_basic_la_SOURCES:.c=.h} \
617 ${libsystemd_core_la_SOURCES:.c=.h} \
618 ${libsystemd_daemon_la_SOURCES:.c=.h} \
625 src/linux/auto_dev-ioctl.h \
626 src/linux/fanotify.h \
636 src/readahead-common.h \
637 src/ask-password-api.h \
642 src/logind-device.h \
644 src/logind-session.h \
654 man/systemd-nspawn.1 \
655 man/systemd-tmpfiles.8 \
656 man/systemd-notify.1 \
660 man/sd_listen_fds.3 \
663 man/systemd.service.5 \
664 man/systemd.socket.5 \
665 man/systemd.mount.5 \
666 man/systemd.automount.5 \
668 man/systemd.timer.5 \
670 man/systemd.target.5 \
671 man/systemd.device.5 \
672 man/systemd.snapshot.5 \
683 man/systemd-logind.conf.5 \
687 man/vconsole.conf.5 \
691 man/modules-load.d.5 \
693 man/systemd-ask-password.1 \
694 man/systemd-loginctl.1
705 man/sd_is_socket_unix.3 \
706 man/sd_is_socket_inet.3 \
710 man/reboot.8: man/halt.8
711 man/poweroff.8: man/halt.8
712 man/sd_is_socket.3: man/sd_is_fifo.3
713 man/sd_is_socket_unix.3: man/sd_is_fifo.3
714 man/sd_is_socket_inet.3: man/sd_is_fifo.3
715 man/sd_notifyf.3: man/sd_notify.3
716 man/init.1: man/systemd.1
723 man/systemd.special.7
726 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
729 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
732 ${XML_FILES:.xml=.html}
734 nodist_noinst_DATA = \
735 ${XML_IN_FILES:.xml.in=.html}
740 ${nodist_man_MANS:=.in} \
741 ${XML_IN_FILES:.xml.in=.html.in}
754 test_engine_SOURCES = \
757 test_engine_CFLAGS = $(systemd_CFLAGS)
758 test_engine_LDADD = $(systemd_LDADD)
760 test_job_type_SOURCES = \
763 test_job_type_CFLAGS = $(systemd_CFLAGS)
764 test_job_type_LDADD = $(systemd_LDADD)
769 test_ns_CFLAGS = $(systemd_CFLAGS)
770 test_ns_LDADD = $(systemd_LDADD)
772 test_loopback_SOURCES = \
773 src/test-loopback.c \
776 test_loopback_LDADD = \
779 test_hostname_SOURCES = \
780 src/test-hostname.c \
783 test_hostname_LDADD = \
786 test_daemon_SOURCES = \
789 test_daemon_LDADD = \
790 libsystemd-basic.la \
793 test_cgroup_SOURCES = \
797 test_cgroup_CFLAGS = \
800 test_cgroup_LDADD = \
803 test_env_replace_SOURCES = \
804 src/test-env-replace.c
806 test_env_replace_CFLAGS = \
809 test_env_replace_LDADD = \
812 test_strv_SOURCES = \
822 test_login_SOURCES = \
825 test_login_CFLAGS = \
829 libsystemd-basic.la \
832 systemd_logger_SOURCES = \
836 systemd_logger_LDADD = \
837 libsystemd-basic.la \
838 libsystemd-daemon.la \
841 systemd_initctl_SOURCES = \
845 systemd_initctl_CFLAGS = \
849 systemd_initctl_LDADD = \
850 libsystemd-basic.la \
851 libsystemd-daemon.la \
854 systemd_update_utmp_SOURCES = \
859 systemd_update_utmp_CFLAGS = \
864 systemd_update_utmp_LDADD = \
865 libsystemd-basic.la \
869 systemd_random_seed_SOURCES = \
872 systemd_random_seed_CFLAGS = \
875 systemd_random_seed_LDADD = \
878 systemd_shutdownd_SOURCES = \
882 systemd_shutdownd_CFLAGS = \
885 systemd_shutdownd_LDADD = \
886 libsystemd-basic.la \
889 systemd_hostnamed_SOURCES = \
894 systemd_hostnamed_CFLAGS = \
898 systemd_hostnamed_LDADD = \
899 libsystemd-basic.la \
900 libsystemd-daemon.la \
903 systemd_localed_SOURCES = \
908 systemd_localed_CFLAGS = \
912 systemd_localed_LDADD = \
913 libsystemd-basic.la \
914 libsystemd-daemon.la \
917 systemd_timedated_SOURCES = \
922 systemd_timedated_CFLAGS = \
926 systemd_timedated_LDADD = \
927 libsystemd-basic.la \
928 libsystemd-daemon.la \
931 systemd_logind_SOURCES = \
934 src/logind-device.c \
936 src/logind-seat-dbus.c \
937 src/logind-session.c \
938 src/logind-session-dbus.c \
940 src/logind-user-dbus.c \
946 systemd_logind_CFLAGS = \
952 systemd_logind_LDADD = \
953 libsystemd-basic.la \
954 libsystemd-daemon.la \
959 systemd_uaccess_SOURCES = \
963 systemd_logind_SOURCES += \
966 systemd_uaccess_SOURCES += \
970 systemd_uaccess_CFLAGS = \
975 systemd_uaccess_LDADD = \
976 libsystemd-basic.la \
977 libsystemd-daemon.la \
981 systemd_shutdown_SOURCES = \
986 systemd_shutdown_CFLAGS = \
990 systemd_shutdown_LDADD = \
991 libsystemd-basic.la \
994 systemd_modules_load_SOURCES = \
997 systemd_modules_load_CFLAGS = \
1000 systemd_modules_load_LDADD = \
1003 systemd_tmpfiles_SOURCES = \
1006 systemd_tmpfiles_CFLAGS = \
1009 systemd_tmpfiles_LDADD = \
1012 systemd_machine_id_setup_SOURCES = \
1013 src/machine-id-setup.c \
1014 src/machine-id-main.c
1016 systemd_machine_id_setup_CFLAGS = \
1019 systemd_machine_id_setup_LDADD = \
1022 systemd_sysctl_SOURCES = \
1025 systemd_sysctl_CFLAGS = \
1028 systemd_sysctl_LDADD = \
1031 systemd_binfmt_SOURCES = \
1034 systemd_binfmt_CFLAGS = \
1037 systemd_binfmt_LDADD = \
1040 systemd_fsck_SOURCES = \
1044 systemd_fsck_CFLAGS = \
1049 systemd_fsck_LDADD = \
1050 libsystemd-basic.la \
1054 systemd_quotacheck_SOURCES = \
1057 systemd_quotacheck_CFLAGS = \
1060 systemd_quotacheck_LDADD = \
1063 systemd_timestamp_SOURCES = \
1066 systemd_timestamp_CFLAGS = \
1069 systemd_timestamp_LDADD = \
1072 systemd_ac_power_SOURCES = \
1075 systemd_ac_power_CFLAGS = \
1079 systemd_ac_power_LDADD = \
1080 libsystemd-basic.la \
1083 systemd_detect_virt_SOURCES = \
1086 systemd_detect_virt_CFLAGS = \
1089 systemd_detect_virt_LDADD = \
1092 systemd_cryptsetup_SOURCES = \
1094 src/ask-password-api.c
1096 systemd_cryptsetup_CFLAGS = \
1097 $(LIBCRYPTSETUP_CFLAGS) \
1101 systemd_cryptsetup_LDADD = \
1102 $(LIBCRYPTSETUP_LIBS) \
1106 systemd_cryptsetup_generator_SOURCES = \
1107 src/cryptsetup-generator.c \
1110 systemd_cryptsetup_generator_CFLAGS = \
1113 systemd_cryptsetup_generator_LDADD = \
1116 systemd_getty_generator_SOURCES = \
1117 src/getty-generator.c \
1120 systemd_getty_generator_CFLAGS = \
1123 systemd_getty_generator_LDADD = \
1126 systemd_user_sessions_SOURCES = \
1127 src/user-sessions.c \
1130 systemd_user_sessions_CFLAGS = \
1133 systemd_user_sessions_LDADD = \
1136 systemd_vconsole_setup_SOURCES = \
1137 src/vconsole-setup.c
1139 systemd_vconsole_setup_CFLAGS = \
1142 systemd_vconsole_setup_LDADD = \
1145 systemd_remount_api_vfs_SOURCES = \
1146 src/remount-api-vfs.c \
1150 systemd_remount_api_vfs_CFLAGS = \
1153 systemd_remount_api_vfs_LDADD = \
1156 systemd_cgroups_agent_SOURCES = \
1157 src/cgroups-agent.c \
1160 systemd_cgroups_agent_CFLAGS = \
1164 systemd_cgroups_agent_LDADD = \
1165 libsystemd-basic.la \
1168 systemd_kmsg_syslogd_SOURCES = \
1169 src/kmsg-syslogd.c \
1172 systemd_kmsg_syslogd_CFLAGS = \
1175 systemd_kmsg_syslogd_LDADD = \
1176 libsystemd-basic.la \
1177 libsystemd-daemon.la
1179 systemctl_SOURCES = \
1190 systemctl_CFLAGS = \
1195 libsystemd-basic.la \
1196 libsystemd-daemon.la \
1199 systemd_loginctl_SOURCES = \
1207 systemd_loginctl_CFLAGS = \
1212 systemd_loginctl_LDADD = \
1213 libsystemd-basic.la \
1217 systemd_notify_SOURCES = \
1221 systemd_notify_LDADD = \
1222 libsystemd-basic.la \
1223 libsystemd-daemon.la
1225 systemd_ask_password_SOURCES = \
1226 src/ask-password.c \
1227 src/ask-password-api.c
1229 systemd_ask_password_LDADD = \
1232 systemd_reply_password_SOURCES = \
1233 src/reply-password.c
1235 systemd_reply_password_LDADD = \
1238 systemd_readahead_collect_SOURCES = \
1239 src/readahead-collect.c \
1240 src/readahead-common.c
1242 systemd_readahead_collect_CFLAGS = \
1245 systemd_readahead_collect_LDADD = \
1246 libsystemd-basic.la \
1247 libsystemd-daemon.la \
1250 systemd_readahead_replay_SOURCES = \
1251 src/readahead-replay.c \
1252 src/readahead-common.c
1254 systemd_readahead_replay_CFLAGS = \
1257 systemd_readahead_replay_LDADD = \
1258 libsystemd-basic.la \
1259 libsystemd-daemon.la \
1262 systemd_cgls_SOURCES = \
1268 systemd_cgls_CFLAGS = \
1271 systemd_cgls_LDADD = \
1274 systemd_nspawn_SOURCES = \
1278 systemd_nspawn_CFLAGS = \
1281 systemd_nspawn_LDADD = \
1282 libsystemd-basic.la \
1283 libsystemd-daemon.la
1285 systemd_stdio_bridge_SOURCES = \
1288 systemd_stdio_bridge_LDADD = \
1291 systemadm_SOURCES = \
1292 src/systemadm.vala \
1293 src/systemd-interfaces.vala
1295 systemadm_CFLAGS = \
1298 -Wno-unused-variable \
1299 -Wno-unused-function \
1301 -Wno-format-nonliteral
1303 systemadm_VALAFLAGS = \
1311 systemd_gnome_ask_password_agent_SOURCES = \
1312 src/gnome-ask-password-agent.vala
1314 systemd_gnome_ask_password_agent_CFLAGS = \
1316 $(LIBNOTIFY_CFLAGS) \
1318 -Wno-unused-variable \
1319 -Wno-unused-function \
1321 -Wno-format-nonliteral
1323 systemd_gnome_ask_password_agent_VALAFLAGS = \
1327 --pkg=gio-unix-2.0 \
1330 systemd_gnome_ask_password_agent_VALAFLAGS += \
1333 systemd_gnome_ask_password_agent_VALAFLAGS += \
1336 systemd_gnome_ask_password_agent_LDADD = \
1340 systemd_tty_ask_password_agent_SOURCES = \
1341 src/tty-ask-password-agent.c \
1342 src/ask-password-api.c \
1345 systemd_tty_ask_password_agent_LDADD = \
1348 pam_systemd_la_SOURCES = \
1352 pam_systemd_la_CFLAGS = \
1358 pam_systemd_la_LDFLAGS = \
1363 -export-symbols-regex '^pam_sm_.*'
1365 pam_systemd_la_LIBADD = \
1366 libsystemd-basic.la \
1367 libsystemd-daemon.la \
1371 libsystemd_daemon_la_SOURCES = \
1374 libsystemd_daemon_la_CFLAGS = \
1376 -fvisibility=hidden \
1379 libsystemd_daemon_la_LDFLAGS = \
1381 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1382 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1384 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1385 libsystemd-daemon-install-hook:
1386 if test "$(libdir)" != "$(rootlibdir)"; then \
1387 mkdir -p $(DESTDIR)$(rootlibdir) && \
1388 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1389 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1390 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1391 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1394 libsystemd-daemon-uninstall-hook:
1395 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1397 libsystemd_login_la_SOURCES = \
1401 libsystemd_login_la_CFLAGS = \
1405 libsystemd_login_la_LDFLAGS = \
1407 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1408 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1410 libsystemd_login_la_LIBADD = \
1414 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1415 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1416 -e 's,@rootbindir\@,$(rootbindir),g' \
1417 -e 's,@bindir\@,$(bindir),g' \
1418 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1419 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1420 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1421 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1422 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1423 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1424 -e 's,@userunitdir\@,$(userunitdir),g' \
1425 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1426 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1427 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1428 -e 's,@prefix\@,$(prefix),g' \
1429 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1430 -e 's,@libdir\@,$(libdir),g' \
1431 -e 's,@includedir\@,$(includedir),g' \
1434 units/%: units/%.in Makefile
1437 man/%: man/%.in Makefile
1440 %.pc: %.pc.in Makefile
1443 src/%.policy.in: src/%.policy.in.in Makefile
1446 src/%.rules: src/%.rules.in Makefile
1449 M4_PROCESS_SYSTEM = \
1450 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1451 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1454 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1455 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1457 units/%: units/%.m4 Makefile
1458 $(M4_PROCESS_SYSTEM)
1460 units/user/%: units/%.m4 Makefile
1464 $(nodist_systemunit_DATA) \
1465 $(nodist_userunit_DATA) \
1466 $(nodist_man_MANS) \
1467 ${XML_IN_FILES:.xml.in=.html} \
1468 $(pkgconfigdata_DATA) \
1469 $(nodist_polkitpolicy_DATA) \
1470 src/73-seat-late.rules
1474 ${systemadm_SOURCES:.vala=.c}
1480 --param funcsynopsis.style "'ansi'"
1482 XSLTPROC_PROCESS_MAN = \
1483 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1484 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1486 XSLTPROC_PROCESS_MAN_IN = \
1487 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1488 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1491 XSLTPROC_PROCESS_HTML = \
1492 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1493 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1495 XSLTPROC_PROCESS_HTML_IN = \
1496 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1497 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1501 $(XSLTPROC_PROCESS_MAN)
1503 man/%.1.in: man/%.xml.in
1504 $(XSLTPROC_PROCESS_MAN)
1507 $(XSLTPROC_PROCESS_MAN)
1509 man/%.3.in: man/%.xml.in
1510 $(XSLTPROC_PROCESS_MAN)
1513 $(XSLTPROC_PROCESS_MAN)
1515 man/%.5.in: man/%.xml.in
1516 $(XSLTPROC_PROCESS_MAN)
1519 $(XSLTPROC_PROCESS_MAN)
1521 man/%.7.in: man/%.xml.in
1522 $(XSLTPROC_PROCESS_MAN_IN)
1525 $(XSLTPROC_PROCESS_MAN)
1527 man/%.8.in: man/%.xml.in
1528 $(XSLTPROC_PROCESS_MAN_IN)
1530 man/%.html: man/%.xml
1531 $(XSLTPROC_PROCESS_HTML)
1533 man/%.html.in: man/%.xml.in
1534 $(XSLTPROC_PROCESS_HTML_IN)
1538 ${nodist_man_MANS:=.in} \
1539 ${XML_FILES:.xml=.html} \
1540 ${XML_IN_FILES:.xml.in=.html.in}
1543 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1545 org.freedesktop.systemd1.%.xml: systemd
1546 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1547 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1548 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1550 org.freedesktop.hostname1.xml: systemd-hostnamed
1551 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1552 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1553 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1555 org.freedesktop.locale1.xml: systemd-localed
1556 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1557 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1558 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1560 org.freedesktop.timedate1.xml: systemd-timedated
1561 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1562 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1563 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1566 $(dbusinterface_DATA)
1569 $(MKDIR_P) -m 0755 \
1570 $(DESTDIR)$(tmpfilesdir) \
1571 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1572 $(DESTDIR)$(prefix)/lib/modules-load.d \
1573 $(DESTDIR)$(sysconfdir)/modules-load.d \
1574 $(DESTDIR)$(prefix)/lib/sysctl.d \
1575 $(DESTDIR)$(sysconfdir)/sysctl.d \
1576 $(DESTDIR)$(systemshutdowndir) \
1577 $(DESTDIR)$(systemgeneratordir) \
1578 $(DESTDIR)$(usergeneratordir)
1580 $(MKDIR_P) -m 0755 \
1581 $(DESTDIR)$(prefix)/lib/binfmt.d \
1582 $(DESTDIR)$(sysconfdir)/binfmt.d
1584 $(MKDIR_P) -m 0755 \
1585 $(DESTDIR)$(systemunitdir) \
1586 $(DESTDIR)$(userunitdir) \
1587 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1588 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1589 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1590 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1591 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1592 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1593 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1594 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1595 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1596 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1597 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1598 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1599 $(DESTDIR)$(pkgsysconfdir)/system \
1600 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1601 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1602 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1603 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1604 $(DESTDIR)$(pkgsysconfdir)/user \
1605 $(DESTDIR)$(dbussessionservicedir) \
1606 $(DESTDIR)$(sysconfdir)/xdg/systemd
1607 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1609 $(LN_S) $(pkgsysconfdir)/user user )
1610 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1611 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1612 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1613 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1614 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1615 $(LN_S) ../syslog.socket syslog.socket )
1616 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1617 rm -f systemd-update-utmp-runlevel.service && \
1618 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1619 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1620 rm -f systemd-update-utmp-runlevel.service && \
1621 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1622 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1623 rm -f systemd-update-utmp-runlevel.service && \
1624 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1625 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1626 rm -f systemd-update-utmp-runlevel.service && \
1627 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1628 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1629 rm -f systemd-update-utmp-runlevel.service && \
1630 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1631 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1632 rm -f systemd-update-utmp-shutdown.service \
1633 systemd-random-seed-save.service && \
1634 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1635 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1636 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1637 rm -f systemd-remount-api-vfs.service \
1639 remount-rootfs.service \
1642 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1643 $(LN_S) ../fsck-root.service fsck-root.service && \
1644 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1645 $(LN_S) ../var-run.mount var-run.mount && \
1646 $(LN_S) ../media.mount media.mount )
1647 ( cd $(DESTDIR)$(userunitdir) && \
1648 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1649 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1650 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1651 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1652 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1653 $(LN_S) $(systemunitdir)/sound.target sound.target )
1654 ( cd $(DESTDIR)$(systemunitdir) && \
1655 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1656 $(LN_S) poweroff.target runlevel0.target && \
1657 $(LN_S) rescue.target runlevel1.target && \
1658 $(LN_S) multi-user.target runlevel2.target && \
1659 $(LN_S) multi-user.target runlevel3.target && \
1660 $(LN_S) multi-user.target runlevel4.target && \
1661 $(LN_S) graphical.target runlevel5.target && \
1662 $(LN_S) reboot.target runlevel6.target )
1663 ( cd $(DESTDIR)$(systemunitdir) && \
1664 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 && \
1665 $(LN_S) graphical.target default.target && \
1666 $(LN_S) reboot.target ctrl-alt-del.target && \
1667 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1668 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1669 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1670 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1671 $(LN_S) getty@.service autovt@.service )
1672 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1673 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1674 $(LN_S) ../getty.target getty.target && \
1675 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1676 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1677 $(LN_S) ../systemd-logind.service systemd-logind.service )
1678 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1679 rm -f getty@tty1.service && \
1680 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1681 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1682 rm -f remote-fs.target && \
1683 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1684 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1685 rm -f dev-hugepages.automount \
1686 dev-mqueue.automount \
1687 sys-kernel-debug.automount \
1688 sys-kernel-security.automount \
1689 systemd-vconsole-setup.service \
1690 systemd-modules-load.service \
1691 systemd-random-seed-load.service \
1692 systemd-tmpfiles-setup.service \
1693 systemd-sysctl.service \
1694 systemd-ask-password-console.path \
1695 systemd-kmsg-syslogd.service \
1696 cryptsetup.target && \
1697 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1698 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1699 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1700 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1701 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1702 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1703 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1704 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1705 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1706 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1707 $(LN_S) ../systemd-kmsg-syslogd.service && \
1708 $(LN_S) ../cryptsetup.target cryptsetup.target )
1710 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1711 rm -f systemd-binfmt.service \
1712 proc-sys-fs-binfmt_misc.automount && \
1713 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1714 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1716 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1717 rm -f systemd-tmpfiles-clean.timer && \
1718 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1719 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1720 rm -f org.freedesktop.systemd1.service && \
1721 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1723 $(MKDIR_P) -m 0755 \
1724 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1725 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1726 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1727 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1728 $(DESTDIR)$(systemunitdir)/halt.target.wants
1729 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1730 rm -f plymouth-start.service plymouth-read-write.service && \
1731 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1732 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1733 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1734 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1735 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1736 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1737 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1738 rm -f plymouth-reboot.service && \
1739 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1740 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1741 rm -f plymouth-kexec.service && \
1742 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1743 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1744 rm -f plymouth-poweroff.service && \
1745 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1746 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1747 rm -f plymouth-halt.service && \
1748 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1751 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1752 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1753 rm -f network.target && \
1754 $(LN_S) $(systemunitdir)/network.target network.target )
1755 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1757 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1759 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1761 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1766 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1767 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1768 rm -f rc-local.service && \
1769 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1770 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1771 rm -f halt-local.service && \
1772 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1773 ( cd $(DESTDIR)$(systemunitdir) && \
1774 rm -f display-manager.service single.service && \
1775 $(LN_S) prefdm.service display-manager.service && \
1776 $(LN_S) rescue.service single.service )
1777 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1778 rm -f display-manager.service && \
1779 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1783 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1784 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1785 rm -f rc-local.service && \
1786 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1787 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1788 rm -f halt-local.service && \
1789 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1790 ( cd $(DESTDIR)$(systemunitdir) && \
1791 rm -f display-manager.service dm.service single.service && \
1792 $(LN_S) prefdm.service display-manager.service && \
1793 $(LN_S) prefdm.service dm.service && \
1794 $(LN_S) rescue.service single.service )
1795 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1796 rm -f display-manager.service && \
1797 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1800 if TARGET_DEBIAN_OR_UBUNTU
1801 ( cd $(DESTDIR)$(systemunitdir) && \
1802 rm -f runlevel5.target && \
1803 $(LN_S) multi-user.target runlevel5.target )
1807 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1808 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1809 rm -f rc-local.service && \
1810 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1811 ( cd $(DESTDIR)$(systemunitdir) && \
1812 rm -f local.service && \
1813 $(LN_S) rc-local.service local.service )
1814 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1815 rm -f halt-local.service && \
1816 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1820 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1821 rm -f var-lock.mount && \
1822 $(LN_S) ../var-lock.mount var-lock.mount )
1825 install-exec-hook: libsystemd-daemon-install-hook
1827 uninstall-hook: libsystemd-daemon-uninstall-hook
1829 DISTCHECK_CONFIGURE_FLAGS = \
1830 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1831 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1832 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1833 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1834 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1835 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1836 --with-rootdir=$$dc_install_base/$(rootdir)
1838 upload: all distcheck
1839 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1840 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1841 scp man/*.html tango:public/systemd-man/
1844 git tag "v$(VERSION)" -m "systemd $(VERSION)"