1 # This file is part of systemd.
3 # Copyright 2011 Lennart Poettering
4 # Copyright 2011 Kay Sievers
6 # systemd is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # systemd is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
19 ACLOCAL_AMFLAGS = -I m4
23 LIBSYSTEMD_LOGIN_CURRENT=1
24 LIBSYSTEMD_LOGIN_REVISION=1
25 LIBSYSTEMD_LOGIN_AGE=1
27 LIBSYSTEMD_DAEMON_CURRENT=0
28 LIBSYSTEMD_DAEMON_REVISION=1
29 LIBSYSTEMD_DAEMON_AGE=0
31 LIBSYSTEMD_ID128_CURRENT=0
32 LIBSYSTEMD_ID128_REVISION=1
33 LIBSYSTEMD_ID128_AGE=0
35 LIBSYSTEMD_JOURNAL_CURRENT=0
36 LIBSYSTEMD_JOURNAL_REVISION=1
37 LIBSYSTEMD_JOURNAL_AGE=0
39 # Dirs of external packages
40 dbuspolicydir=@dbuspolicydir@
41 dbussessionservicedir=@dbussessionservicedir@
42 dbussystemservicedir=@dbussystemservicedir@
43 dbusinterfacedir=@dbusinterfacedir@
44 udevrulesdir=@udevrulesdir@
46 pkgconfigdatadir=$(datadir)/pkgconfig
47 pkgconfiglibdir=$(libdir)/pkgconfig
48 polkitpolicydir=$(datadir)/polkit-1/actions
49 bashcompletiondir=$(sysconfdir)/bash_completion.d
51 # Our own, non-special dirs
52 pkgsysconfdir=$(sysconfdir)/systemd
53 userunitdir=$(prefix)/lib/systemd/user
54 tmpfilesdir=$(prefix)/lib/tmpfiles.d
55 sysctldir=$(prefix)/lib/sysctl.d
56 usergeneratordir=$(pkglibexecdir)/user-generators
57 pkgincludedir=$(includedir)/systemd
59 # And these are the special ones for /
60 rootprefix=@rootprefix@
61 rootbindir=$(rootprefix)/bin
62 rootlibexecdir=$(rootprefix)/lib/systemd
63 systemgeneratordir=$(rootlibexecdir)/system-generators
64 systemshutdowndir=$(rootlibexecdir)/system-shutdown
65 systemunitdir=$(rootprefix)/lib/systemd/system
70 UNINSTALL_EXEC_HOOKS =
75 polkitpolicy_in_files =
79 -include $(top_builddir)/config.h \
80 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
81 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
82 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
83 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
84 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
85 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
86 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
87 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
88 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
89 -DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
90 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
91 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
92 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
93 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
94 -DROOTPREFIX=\"$(rootprefix)\" \
95 -DRUNTIME_DIR=\"/run\" \
96 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
97 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
98 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
99 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
100 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
101 -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
102 -DX_SERVER=\"$(bindir)/X\" \
103 -I $(top_srcdir)/src \
104 -I $(top_srcdir)/src/readahead \
105 -I $(top_srcdir)/src/login \
106 -I $(top_srcdir)/src/journal \
107 -I $(top_srcdir)/src/systemd
111 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
112 -DKBD_SETFONT=\"/usr/bin/setfont\" \
113 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
117 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
118 -DKBD_SETFONT=\"/usr/bin/setfont\" \
119 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
123 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
124 -DKBD_SETFONT=\"/usr/bin/setfont\" \
125 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
129 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
130 -DKBD_SETFONT=\"/bin/setfont\" \
131 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
135 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
136 -DKBD_SETFONT=\"/bin/setfont\" \
137 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
141 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
142 -DKBD_SETFONT=\"/usr/bin/setfont\" \
143 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
147 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
148 -DKBD_SETFONT=\"/bin/setfont\" \
149 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
152 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
153 -DKBD_SETFONT=\"/bin/setfont\" \
154 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
166 systemd-ask-password \
167 systemd-tty-ask-password-agent \
169 systemd-machine-id-setup
174 systemd-stdio-bridge \
183 systemd-gnome-ask-password-agent
186 rootlibexec_PROGRAMS = \
188 systemd-cgroups-agent \
190 systemd-update-utmp \
193 systemd-modules-load \
194 systemd-remount-api-vfs \
195 systemd-reply-password \
199 systemd-detect-virt \
202 systemgenerator_PROGRAMS = \
203 systemd-getty-generator
217 dist_pkgsysconf_DATA = \
221 dist_dbuspolicy_DATA = \
222 src/org.freedesktop.systemd1.conf
224 dist_dbussystemservice_DATA = \
225 src/org.freedesktop.systemd1.service
227 nodist_udevrules_DATA = \
230 dbusinterface_DATA = \
231 org.freedesktop.systemd1.Manager.xml \
232 org.freedesktop.systemd1.Job.xml \
233 org.freedesktop.systemd1.Unit.xml \
234 org.freedesktop.systemd1.Service.xml \
235 org.freedesktop.systemd1.Socket.xml \
236 org.freedesktop.systemd1.Timer.xml \
237 org.freedesktop.systemd1.Target.xml \
238 org.freedesktop.systemd1.Device.xml \
239 org.freedesktop.systemd1.Mount.xml \
240 org.freedesktop.systemd1.Automount.xml \
241 org.freedesktop.systemd1.Snapshot.xml \
242 org.freedesktop.systemd1.Swap.xml \
243 org.freedesktop.systemd1.Path.xml
245 dist_bashcompletion_DATA = \
246 src/systemd-bash-completion.sh
248 dist_tmpfiles_DATA = \
249 tmpfiles.d/systemd.conf \
250 tmpfiles.d/tmp.conf \
254 dist_tmpfiles_DATA += \
255 tmpfiles.d/legacy.conf
258 dist_systemunit_DATA = \
259 units/graphical.target \
260 units/multi-user.target \
261 units/emergency.service \
262 units/emergency.target \
263 units/sysinit.target \
268 units/local-fs.target \
269 units/local-fs-pre.target \
270 units/remote-fs.target \
271 units/remote-fs-pre.target \
272 units/network.target \
273 units/nss-lookup.target \
274 units/mail-transfer-agent.target \
275 units/http-daemon.target \
276 units/poweroff.target \
277 units/reboot.target \
278 units/rescue.target \
279 units/rpcbind.target \
280 units/time-sync.target \
281 units/shutdown.target \
283 units/umount.target \
284 units/sigpwr.target \
285 units/sockets.target \
287 units/systemd-initctl.socket \
288 units/systemd-shutdownd.socket \
289 units/syslog.socket \
290 units/dev-hugepages.mount \
291 units/dev-mqueue.mount \
292 units/sys-kernel-config.mount \
293 units/sys-kernel-debug.mount \
294 units/sys-kernel-security.mount \
295 units/sys-fs-fuse-connections.mount \
296 units/var-run.mount \
298 units/remount-rootfs.service \
299 units/printer.target \
301 units/bluetooth.target \
302 units/smartcard.target \
303 units/systemd-tmpfiles-clean.timer \
304 units/quotaon.service \
305 units/systemd-ask-password-wall.path \
306 units/systemd-ask-password-console.path \
310 dist_systemunit_DATA += \
314 nodist_systemunit_DATA = \
315 units/getty@.service \
316 units/serial-getty@.service \
317 units/console-shell.service \
318 units/systemd-initctl.service \
319 units/systemd-shutdownd.service \
320 units/systemd-modules-load.service \
321 units/systemd-remount-api-vfs.service \
322 units/systemd-update-utmp-runlevel.service \
323 units/systemd-update-utmp-shutdown.service \
324 units/systemd-tmpfiles-setup.service \
325 units/systemd-tmpfiles-clean.service \
326 units/systemd-ask-password-wall.service \
327 units/systemd-ask-password-console.service \
328 units/systemd-sysctl.service \
330 units/poweroff.service \
331 units/reboot.service \
332 units/kexec.service \
333 units/fsck@.service \
334 units/fsck-root.service \
335 units/rescue.service \
338 dist_userunit_DATA = \
339 units/user/default.target \
340 units/user/exit.target
342 nodist_userunit_DATA = \
343 units/user/exit.service
346 units/getty@.service.m4 \
347 units/serial-getty@.service.m4 \
348 units/console-shell.service.m4 \
349 units/rescue.service.m4 \
350 units/systemd-initctl.service.in \
351 units/systemd-shutdownd.service.in \
352 units/systemd-modules-load.service.in \
353 units/systemd-remount-api-vfs.service.in \
354 units/systemd-update-utmp-runlevel.service.in \
355 units/systemd-update-utmp-shutdown.service.in \
356 units/systemd-tmpfiles-setup.service.in \
357 units/systemd-tmpfiles-clean.service.in \
358 units/systemd-ask-password-wall.service.in \
359 units/systemd-ask-password-console.service.in \
360 units/systemd-sysctl.service.in \
361 units/halt.service.in \
362 units/poweroff.service.in \
363 units/reboot.service.in \
364 units/kexec.service.in \
365 units/user/exit.service.in \
366 units/fsck@.service.in \
367 units/fsck-root.service.in \
368 units/user@.service.in \
371 src/99-systemd.rules.in \
375 dist_systemunit_DATA += \
376 units/fedora/prefdm.service \
377 units/fedora/rc-local.service \
378 units/fedora/halt-local.service
379 systemgenerator_PROGRAMS += \
380 systemd-rc-local-generator
384 dist_systemunit_DATA += \
385 units/mandriva/prefdm.service \
386 units/fedora/rc-local.service \
387 units/fedora/halt-local.service
388 systemgenerator_PROGRAMS += \
389 systemd-rc-local-generator
393 dist_systemunit_DATA += \
394 units/frugalware/display-manager.service
398 dist_systemunit_DATA += \
399 units/suse/rc-local.service \
400 units/suse/halt-local.service
401 systemgenerator_PROGRAMS += \
402 systemd-rc-local-generator
406 dist_systemunit_DATA += \
407 units/mageia/prefdm.service \
408 units/fedora/rc-local.service \
409 units/fedora/halt-local.service
410 systemgenerator_PROGRAMS += \
411 systemd-rc-local-generator
415 dist_systemunit_DATA += \
416 units/plymouth-start.service \
417 units/plymouth-read-write.service \
418 units/plymouth-quit.service \
419 units/plymouth-quit-wait.service \
420 units/plymouth-reboot.service \
421 units/plymouth-kexec.service \
422 units/plymouth-poweroff.service \
423 units/plymouth-halt.service \
424 units/systemd-ask-password-plymouth.path
426 nodist_systemunit_DATA += \
427 units/systemd-ask-password-plymouth.service
430 units/systemd-ask-password-plymouth.service.in
439 pkgconfigdata_DATA = \
442 # First passed through sed, followed by intltool
443 polkitpolicy_in_in_files = \
444 src/org.freedesktop.systemd1.policy.in.in
446 nodist_polkitpolicy_DATA = \
447 $(polkitpolicy_in_files:.policy.in=.policy) \
448 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
451 $(polkitpolicy_in_files) \
452 $(polkitpolicy_in_in_files)
454 @INTLTOOL_POLICY_RULE@
456 noinst_LTLIBRARIES = \
457 libsystemd-basic.la \
460 libsystemd_basic_la_SOURCES = \
473 libsystemd_basic_la_CFLAGS = \
477 libsystemd_basic_la_LIBADD = \
481 libsystemd_core_la_SOURCES = \
486 src/load-fragment.c \
509 src/dbus-automount.c \
511 src/dbus-snapshot.c \
517 src/hostname-setup.c \
518 src/selinux-setup.c \
519 src/loopback-setup.c \
522 src/machine-id-setup.c \
536 nodist_libsystemd_core_la_SOURCES = \
537 src/load-fragment-gperf.c \
538 src/load-fragment-gperf-nulstr.c
541 src/load-fragment-gperf.gperf.m4
543 libsystemd_core_la_CFLAGS = \
552 libsystemd_core_la_LIBADD = \
553 libsystemd-basic.la \
562 # This is needed because automake is buggy in how it generates the
563 # rules for C programs, but not Vala programs. We therefore can't
564 # list the .h files as dependencies if we want make dist to work.
582 src/load-fragment.h \
605 src/dbus-automount.h \
607 src/dbus-snapshot.h \
613 src/hostname-setup.h \
614 src/selinux-setup.h \
615 src/loopback-setup.h \
618 src/machine-id-setup.h \
635 src/linux/auto_dev-ioctl.h \
636 src/linux/fanotify.h \
645 src/ask-password-api.h \
660 man/systemd-cgtop.1 \
661 man/systemd-nspawn.1 \
662 man/systemd-tmpfiles.8 \
663 man/systemd-notify.1 \
665 man/systemd.service.5 \
666 man/systemd.socket.5 \
667 man/systemd.mount.5 \
668 man/systemd.automount.5 \
670 man/systemd.timer.5 \
672 man/systemd.target.5 \
673 man/systemd.device.5 \
674 man/systemd.snapshot.5 \
690 man/modules-load.d.5 \
692 man/systemd-ask-password.1
699 man/reboot.8: man/halt.8
700 man/poweroff.8: man/halt.8
701 man/init.1: man/systemd.1
708 man/systemd.special.7
711 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
714 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
717 ${XML_FILES:.xml=.html}
719 nodist_noinst_DATA = \
720 ${XML_IN_FILES:.xml.in=.html}
725 ${nodist_man_MANS:=.in} \
726 ${XML_IN_FILES:.xml.in=.html.in}
741 test_engine_SOURCES = \
744 test_engine_CFLAGS = $(systemd_CFLAGS)
745 test_engine_LDADD = $(systemd_LDADD)
747 test_job_type_SOURCES = \
750 test_job_type_CFLAGS = $(systemd_CFLAGS)
751 test_job_type_LDADD = $(systemd_LDADD)
756 test_ns_CFLAGS = $(systemd_CFLAGS)
757 test_ns_LDADD = $(systemd_LDADD)
759 test_loopback_SOURCES = \
760 src/test-loopback.c \
763 test_loopback_LDADD = \
766 test_hostname_SOURCES = \
767 src/test-hostname.c \
770 test_hostname_LDADD = \
773 test_daemon_SOURCES = \
776 test_daemon_LDADD = \
777 libsystemd-basic.la \
780 test_cgroup_SOURCES = \
784 test_cgroup_LDADD = \
787 test_env_replace_SOURCES = \
788 src/test-env-replace.c
790 test_env_replace_LDADD = \
793 test_strv_SOURCES = \
800 test_install_SOURCES = \
806 test_install_CFLAGS = \
810 test_install_LDADD = \
813 systemd_initctl_SOURCES = \
817 systemd_initctl_CFLAGS = \
821 systemd_initctl_LDADD = \
822 libsystemd-basic.la \
823 libsystemd-daemon.la \
826 systemd_update_utmp_SOURCES = \
831 systemd_update_utmp_CFLAGS = \
836 systemd_update_utmp_LDADD = \
837 libsystemd-basic.la \
841 systemd_shutdownd_SOURCES = \
845 systemd_shutdownd_CFLAGS = \
848 systemd_shutdownd_LDADD = \
849 libsystemd-basic.la \
852 systemd_shutdown_SOURCES = \
857 systemd_shutdown_CFLAGS = \
861 systemd_shutdown_LDADD = \
862 libsystemd-basic.la \
865 systemd_modules_load_SOURCES = \
868 systemd_modules_load_CFLAGS = \
871 systemd_modules_load_LDADD = \
872 libsystemd-basic.la \
875 systemd_tmpfiles_SOURCES = \
878 systemd_tmpfiles_LDADD = \
881 systemd_machine_id_setup_SOURCES = \
882 src/machine-id-setup.c \
883 src/machine-id-main.c \
886 systemd_machine_id_setup_LDADD = \
889 systemd_sysctl_SOURCES = \
892 systemd_sysctl_LDADD = \
895 systemd_fsck_SOURCES = \
899 systemd_fsck_CFLAGS = \
904 systemd_fsck_LDADD = \
905 libsystemd-basic.la \
909 systemd_timestamp_SOURCES = \
912 systemd_timestamp_LDADD = \
915 systemd_ac_power_SOURCES = \
918 systemd_ac_power_CFLAGS = \
922 systemd_ac_power_LDADD = \
923 libsystemd-basic.la \
926 systemd_detect_virt_SOURCES = \
929 systemd_detect_virt_LDADD = \
932 systemd_getty_generator_SOURCES = \
933 src/getty-generator.c \
936 systemd_getty_generator_LDADD = \
939 systemd_rc_local_generator_SOURCES = \
940 src/rc-local-generator.c
942 systemd_rc_local_generator_LDADD = \
945 systemd_remount_api_vfs_SOURCES = \
946 src/remount-api-vfs.c \
950 systemd_remount_api_vfs_LDADD = \
953 systemd_cgroups_agent_SOURCES = \
954 src/cgroups-agent.c \
957 systemd_cgroups_agent_CFLAGS = \
961 systemd_cgroups_agent_LDADD = \
962 libsystemd-basic.la \
965 systemctl_SOURCES = \
984 libsystemd-basic.la \
985 libsystemd-daemon.la \
986 libsystemd-journal.la \
987 libsystemd-id128.la \
990 systemd_notify_SOURCES = \
992 src/readahead/sd-readahead.c
994 systemd_notify_LDADD = \
995 libsystemd-basic.la \
998 systemd_ask_password_SOURCES = \
1000 src/ask-password-api.c
1002 systemd_ask_password_LDADD = \
1005 systemd_reply_password_SOURCES = \
1006 src/reply-password.c
1008 systemd_reply_password_LDADD = \
1011 systemd_cgls_SOURCES = \
1017 systemd_cgls_LDADD = \
1020 systemd_cgtop_SOURCES = \
1024 systemd_cgtop_LDADD = \
1027 systemd_nspawn_SOURCES = \
1030 src/loopback-setup.c
1032 systemd_nspawn_LDADD = \
1033 libsystemd-basic.la \
1034 libsystemd-daemon.la
1036 systemd_stdio_bridge_SOURCES = \
1039 systemd_stdio_bridge_LDADD = \
1042 systemadm_SOURCES = \
1043 src/systemadm.vala \
1044 src/systemd-interfaces.vala \
1047 systemadm_CFLAGS = \
1050 -Wno-unused-variable \
1051 -Wno-unused-function \
1053 -Wno-format-nonliteral
1055 systemadm_VALAFLAGS = \
1064 systemd_gnome_ask_password_agent_SOURCES = \
1065 src/gnome-ask-password-agent.vala
1067 systemd_gnome_ask_password_agent_CFLAGS = \
1069 $(LIBNOTIFY_CFLAGS) \
1071 -Wno-unused-variable \
1072 -Wno-unused-function \
1074 -Wno-format-nonliteral
1076 systemd_gnome_ask_password_agent_VALAFLAGS = \
1080 --pkg=gio-unix-2.0 \
1084 systemd_gnome_ask_password_agent_LDADD = \
1088 systemd_tty_ask_password_agent_SOURCES = \
1089 src/tty-ask-password-agent.c \
1090 src/ask-password-api.c \
1093 systemd_tty_ask_password_agent_LDADD = \
1096 # ------------------------------------------------------------------------------
1097 libsystemd_daemon_la_SOURCES = \
1100 libsystemd_daemon_la_CFLAGS = \
1102 -fvisibility=hidden \
1105 libsystemd_daemon_la_LDFLAGS = \
1107 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1108 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1110 pkginclude_HEADERS += \
1111 src/systemd/sd-daemon.h
1113 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1114 libsystemd-daemon-install-hook:
1115 if test "$(libdir)" != "$(rootlibdir)"; then \
1116 mkdir -p $(DESTDIR)$(rootlibdir) && \
1117 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1118 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1119 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1120 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1123 INSTALL_EXEC_HOOKS += \
1124 libsystemd-daemon-install-hook
1126 libsystemd-daemon-uninstall-hook:
1127 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1129 UNINSTALL_EXEC_HOOKS += \
1130 libsystemd-daemon-uninstall-hook
1132 lib_LTLIBRARIES += \
1133 libsystemd-daemon.la
1135 pkgconfiglib_DATA += \
1136 src/libsystemd-daemon.pc
1142 man/sd_listen_fds.3 \
1147 man/sd_is_socket.3 \
1148 man/sd_is_socket_unix.3 \
1149 man/sd_is_socket_inet.3 \
1153 man/sd_is_socket.3: man/sd_is_fifo.3
1154 man/sd_is_socket_unix.3: man/sd_is_fifo.3
1155 man/sd_is_socket_inet.3: man/sd_is_fifo.3
1156 man/sd_is_mq.3: man/sd_is_fifo.3
1157 man/sd_notifyf.3: man/sd_notify.3
1161 src/libsystemd-daemon.pc.in \
1162 src/libsystemd-daemon.sym
1164 # ------------------------------------------------------------------------------
1165 libsystemd_id128_la_SOURCES = \
1168 libsystemd_id128_la_CFLAGS = \
1172 libsystemd_id128_la_LDFLAGS = \
1174 -version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
1175 -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128.sym
1177 libsystemd_id128_la_LIBADD = \
1180 test_id128_SOURCES = \
1184 test_id128_LDADD = \
1187 noinst_PROGRAMS += \
1190 pkginclude_HEADERS += \
1191 src/systemd/sd-id128.h
1193 lib_LTLIBRARIES += \
1196 pkgconfiglib_DATA += \
1197 src/libsystemd-id128.pc
1199 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1200 libsystemd-id128-install-hook:
1201 if test "$(libdir)" != "$(rootlibdir)"; then \
1202 mkdir -p $(DESTDIR)$(rootlibdir) && \
1203 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-id128.so) && \
1204 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1205 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-id128.so && \
1206 mv $(DESTDIR)$(libdir)/libsystemd-id128.so.* $(DESTDIR)$(rootlibdir); \
1209 INSTALL_EXEC_HOOKS += \
1210 libsystemd-id128-install-hook
1212 libsystemd-id128-uninstall-hook:
1213 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
1215 UNINSTALL_EXEC_HOOKS += \
1216 libsystemd-id128-uninstall-hook
1219 src/libsystemd-id128.pc.in \
1220 src/libsystemd-id128.sym
1222 # ------------------------------------------------------------------------------
1223 systemd_journald_SOURCES = \
1224 src/journal/journald.c \
1225 src/journal/sd-journal.c \
1226 src/journal/journal-file.c \
1227 src/journal/lookup3.c \
1228 src/journal/journal-rate-limit.c \
1233 systemd_journald_SOURCES += \
1237 nodist_systemd_journald_SOURCES = \
1238 src/journal/journald-gperf.c
1240 systemd_journald_CFLAGS = \
1244 systemd_journald_LDADD = \
1245 libsystemd-basic.la \
1246 libsystemd-daemon.la \
1247 libsystemd-login.la \
1251 systemd_journald_SOURCES += \
1252 src/journal/compress.c
1253 systemd_journald_CFLAGS += \
1255 systemd_journald_LDADD += \
1259 systemd_cat_SOURCES = \
1262 systemd_cat_LDADD = \
1263 libsystemd-basic.la \
1264 libsystemd-journal.la
1266 systemd_journalctl_SOURCES = \
1267 src/journal/journalctl.c \
1271 systemd_journalctl_LDADD = \
1272 libsystemd-basic.la \
1273 libsystemd-journal.la \
1277 systemd_journalctl_SOURCES += \
1278 src/journal/compress.c
1279 systemd_journalctl_CFLAGS = \
1282 systemd_journalctl_LDADD += \
1286 test_journal_SOURCES = \
1287 src/journal/test-journal.c \
1288 src/journal/sd-journal.c \
1289 src/journal/journal-file.c \
1290 src/journal/lookup3.c \
1291 src/journal/journal-send.c \
1294 test_journal_LDADD = \
1298 test_journal_SOURCES += \
1299 src/journal/compress.c
1301 test_journal_CFLAGS = \
1305 test_journal_LDADD += \
1309 libsystemd_journal_la_SOURCES = \
1310 src/journal/sd-journal.c \
1311 src/journal/journal-file.c \
1312 src/journal/lookup3.c \
1313 src/journal/journal-send.c
1315 libsystemd_journal_la_CFLAGS = \
1319 libsystemd_journal_la_LDFLAGS = \
1321 -version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
1322 -Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
1324 libsystemd_journal_la_LIBADD = \
1325 libsystemd-basic.la \
1329 libsystemd_journal_la_SOURCES += \
1330 src/journal/compress.c
1332 libsystemd_journal_la_CFLAGS += \
1335 libsystemd_journal_la_LIBADD += \
1339 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1340 libsystemd-journal-install-hook:
1341 if test "$(libdir)" != "$(rootlibdir)"; then \
1342 mkdir -p $(DESTDIR)$(rootlibdir) && \
1343 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-journal.so) && \
1344 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1345 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-journal.so && \
1346 mv $(DESTDIR)$(libdir)/libsystemd-journal.so.* $(DESTDIR)$(rootlibdir); \
1349 INSTALL_EXEC_HOOKS += \
1350 libsystemd-journal-install-hook
1352 libsystemd-journal-uninstall-hook:
1353 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
1355 UNINSTALL_EXEC_HOOKS += \
1356 libsystemd-journal-uninstall-hook
1358 noinst_PROGRAMS += \
1361 pkginclude_HEADERS += \
1362 src/systemd/sd-journal.h \
1363 src/systemd/sd-messages.h
1365 lib_LTLIBRARIES += \
1366 libsystemd-journal.la
1368 rootlibexec_PROGRAMS += \
1371 rootbin_PROGRAMS += \
1377 dist_systemunit_DATA += \
1378 units/systemd-journald.socket
1380 nodist_systemunit_DATA += \
1381 units/systemd-journald.service
1383 dist_pkgsysconf_DATA += \
1384 src/journal/systemd-journald.conf
1386 pkgconfiglib_DATA += \
1387 src/journal/libsystemd-journal.pc
1389 journal-install-data-hook:
1390 $(MKDIR_P) -m 0755 \
1391 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1392 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1393 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1394 rm -f systemd-journald.socket && \
1395 $(LN_S) ../systemd-journald.socket )
1396 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1397 rm -f systemd-journald.service && \
1398 $(LN_S) ../systemd-journald.service )
1400 INSTALL_DATA_HOOKS += \
1401 journal-install-data-hook
1404 src/journal/journald.h \
1405 src/journal/journal-def.h \
1406 src/journal/journal-internal.h \
1407 src/journal/journal-file.h \
1408 src/journal/lookup3.h \
1409 src/journal/compress.h \
1410 src/journal/journal-rate-limit.h \
1411 src/journal/libsystemd-journal.pc.in \
1412 src/journal/libsystemd-journal.sym \
1413 units/systemd-journald.service.in \
1414 src/journal/journald-gperf.gperf
1417 src/journal/journald-gperf.c
1419 # ------------------------------------------------------------------------------
1421 systemd_coredump_SOURCES = \
1422 src/journal/coredump.c
1424 systemd_coredump_LDADD = \
1425 libsystemd-basic.la \
1426 libsystemd-journal.la \
1429 rootlibexec_PROGRAMS += \
1433 sysctl.d/coredump.conf
1436 sysctl.d/coredump.conf.in
1439 sysctl.d/coredump.conf
1442 # ------------------------------------------------------------------------------
1444 systemd_binfmt_SOURCES = \
1447 systemd_binfmt_LDADD = \
1450 rootlibexec_PROGRAMS += \
1453 dist_systemunit_DATA += \
1454 units/proc-sys-fs-binfmt_misc.automount \
1455 units/proc-sys-fs-binfmt_misc.mount
1457 nodist_systemunit_DATA += \
1458 units/systemd-binfmt.service
1460 binfmt-install-data-hook:
1461 $(MKDIR_P) -m 0755 \
1462 $(DESTDIR)$(prefix)/lib/binfmt.d \
1463 $(DESTDIR)$(sysconfdir)/binfmt.d \
1464 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1465 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1466 rm -f systemd-binfmt.service \
1467 proc-sys-fs-binfmt_misc.automount && \
1468 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1469 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1471 INSTALL_DATA_HOOKS += \
1472 binfmt-install-data-hook
1480 units/systemd-binfmt.service.in
1483 # ------------------------------------------------------------------------------
1485 systemd_vconsole_setup_SOURCES = \
1486 src/vconsole/vconsole-setup.c
1488 systemd_vconsole_setup_LDADD = \
1491 rootlibexec_PROGRAMS += \
1492 systemd-vconsole-setup
1494 nodist_systemunit_DATA += \
1495 units/systemd-vconsole-setup.service
1497 vconsole-install-data-hook:
1498 $(MKDIR_P) -m 0755 \
1499 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1500 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1501 rm -f systemd-vconsole-setup.service && \
1502 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service )
1504 INSTALL_DATA_HOOKS += \
1505 vconsole-install-data-hook
1513 units/systemd-vconsole-setup.service.in
1516 # ------------------------------------------------------------------------------
1518 systemd_readahead_collect_SOURCES = \
1519 src/readahead/readahead-collect.c \
1520 src/readahead/readahead-common.c
1522 systemd_readahead_collect_LDADD = \
1523 libsystemd-basic.la \
1524 libsystemd-daemon.la \
1527 systemd_readahead_collect_CFLAGS = \
1531 systemd_readahead_replay_SOURCES = \
1532 src/readahead/readahead-replay.c \
1533 src/readahead/readahead-common.c
1535 systemd_readahead_replay_CFLAGS = \
1539 systemd_readahead_replay_LDADD = \
1540 libsystemd-basic.la \
1541 libsystemd-daemon.la \
1544 rootlibexec_PROGRAMS += \
1545 systemd-readahead-collect \
1546 systemd-readahead-replay
1548 dist_systemunit_DATA += \
1549 units/systemd-readahead-done.timer
1551 nodist_systemunit_DATA += \
1552 units/systemd-readahead-collect.service \
1553 units/systemd-readahead-replay.service \
1554 units/systemd-readahead-done.service
1557 src/systemd/sd-readahead.h \
1558 src/readahead/readahead-common.h \
1559 units/systemd-readahead-collect.service.in \
1560 units/systemd-readahead-replay.service.in \
1561 units/systemd-readahead-done.service.in
1565 man/sd_readahead.3 \
1570 # ------------------------------------------------------------------------------
1571 if ENABLE_QUOTACHECK
1572 rootlibexec_PROGRAMS += \
1575 nodist_systemunit_DATA += \
1576 units/quotacheck.service
1579 units/quotacheck.service.in
1581 systemd_quotacheck_SOURCES = \
1584 systemd_quotacheck_LDADD = \
1588 # ------------------------------------------------------------------------------
1589 if ENABLE_RANDOMSEED
1590 rootlibexec_PROGRAMS += \
1593 nodist_systemunit_DATA += \
1594 units/systemd-random-seed-save.service \
1595 units/systemd-random-seed-load.service
1598 units/systemd-random-seed-save.service.in \
1599 units/systemd-random-seed-load.service.in
1601 systemd_random_seed_SOURCES = \
1604 systemd_random_seed_LDADD = \
1607 randomseed-install-data-hook:
1608 $(MKDIR_P) -m 0755 \
1609 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1610 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1611 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1612 rm -f systemd-random-seed-save.service && \
1613 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1614 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1615 rm -f systemd-random-seed-load.service && \
1616 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service )
1618 INSTALL_DATA_HOOKS += \
1619 randomseed-install-data-hook
1622 # ------------------------------------------------------------------------------
1623 if HAVE_LIBCRYPTSETUP
1624 rootlibexec_PROGRAMS += \
1627 systemgenerator_PROGRAMS += \
1628 systemd-cryptsetup-generator
1630 dist_systemunit_DATA += \
1631 units/cryptsetup.target
1633 systemd_cryptsetup_SOURCES = \
1634 src/cryptsetup/cryptsetup.c \
1635 src/ask-password-api.c
1637 systemd_cryptsetup_CFLAGS = \
1639 $(LIBCRYPTSETUP_CFLAGS) \
1642 systemd_cryptsetup_LDADD = \
1643 $(LIBCRYPTSETUP_LIBS) \
1647 systemd_cryptsetup_generator_SOURCES = \
1648 src/cryptsetup/cryptsetup-generator.c \
1651 systemd_cryptsetup_generator_LDADD = \
1654 cryptsetup-install-data-hook:
1655 $(MKDIR_P) -m 0755 \
1656 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1657 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1658 rm -f cryptsetup.target && \
1659 $(LN_S) ../cryptsetup.target cryptsetup.target )
1661 INSTALL_DATA_HOOKS += \
1662 cryptsetup-install-data-hook
1665 # ------------------------------------------------------------------------------
1667 systemd_hostnamed_SOURCES = \
1668 src/hostname/hostnamed.c \
1672 systemd_hostnamed_CFLAGS = \
1676 systemd_hostnamed_LDADD = \
1677 libsystemd-basic.la \
1678 libsystemd-daemon.la \
1681 rootlibexec_PROGRAMS += \
1684 nodist_systemunit_DATA += \
1685 units/systemd-hostnamed.service
1687 dist_dbuspolicy_DATA += \
1688 src/hostname/org.freedesktop.hostname1.conf
1690 dist_dbussystemservice_DATA += \
1691 src/hostname/org.freedesktop.hostname1.service
1693 polkitpolicy_in_files += \
1694 src/hostname/org.freedesktop.hostname1.policy.in
1696 dbusinterface_DATA += \
1697 org.freedesktop.hostname1.xml
1699 org.freedesktop.hostname1.xml: systemd-hostnamed
1700 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1701 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1702 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1704 hostnamed-install-data-hook:
1705 ( cd $(DESTDIR)$(systemunitdir) && \
1706 rm -f dbus-org.freedesktop.hostname1.service && \
1707 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1709 INSTALL_DATA_HOOKS += \
1710 hostnamed-install-data-hook
1713 units/systemd-hostnamed.service.in
1716 # ------------------------------------------------------------------------------
1718 systemd_localed_SOURCES = \
1719 src/locale/localed.c \
1723 systemd_localed_CFLAGS = \
1727 systemd_localed_LDADD = \
1728 libsystemd-basic.la \
1729 libsystemd-daemon.la \
1732 nodist_systemunit_DATA += \
1733 units/systemd-localed.service
1735 rootlibexec_PROGRAMS += \
1738 dist_dbuspolicy_DATA += \
1739 src/locale/org.freedesktop.locale1.conf
1741 dist_dbussystemservice_DATA += \
1742 src/locale/org.freedesktop.locale1.service
1744 polkitpolicy_in_files += \
1745 src/locale/org.freedesktop.locale1.policy.in
1747 dbusinterface_DATA += \
1748 org.freedesktop.locale1.xml
1750 org.freedesktop.locale1.xml: systemd-localed
1751 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1752 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1753 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1755 localed-install-data-hook:
1756 ( cd $(DESTDIR)$(systemunitdir) && \
1757 rm -f dbus-org.freedesktop.locale1.service && \
1758 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1760 INSTALL_DATA_HOOKS += \
1761 localed-install-data-hook
1764 units/systemd-localed.service.in
1766 dist_pkgdata_DATA = \
1767 src/locale/kbd-model-map
1769 dist_noinst_SCRIPT = \
1770 src/locale/generate-kbd-model-map
1772 update-kbd-model-map:
1773 src/locale/generate-kbd-model-map > src/locale/kbd-model-map
1777 # ------------------------------------------------------------------------------
1779 systemd_timedated_SOURCES = \
1780 src/timedate/timedated.c \
1784 systemd_timedated_CFLAGS = \
1788 systemd_timedated_LDADD = \
1789 libsystemd-basic.la \
1790 libsystemd-daemon.la \
1793 rootlibexec_PROGRAMS += \
1796 dist_dbussystemservice_DATA += \
1797 src/timedate/org.freedesktop.timedate1.service
1799 dist_dbuspolicy_DATA += \
1800 src/timedate/org.freedesktop.timedate1.conf
1802 nodist_systemunit_DATA += \
1803 units/systemd-timedated.service
1805 polkitpolicy_in_files += \
1806 src/timedate/org.freedesktop.timedate1.policy.in
1808 org.freedesktop.timedate1.xml: systemd-timedated
1809 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1810 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1811 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1813 dbusinterface_DATA += \
1814 org.freedesktop.timedate1.xml
1816 timedated-install-data-hook:
1817 ( cd $(DESTDIR)$(systemunitdir) && \
1818 rm -f dbus-org.freedesktop.timedate1.service && \
1819 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1821 INSTALL_DATA_HOOKS += \
1822 timedated-install-data-hook
1825 units/systemd-timedated.service.in
1828 # ------------------------------------------------------------------------------
1830 systemd_logind_SOURCES = \
1831 src/login/logind.c \
1832 src/login/logind-dbus.c \
1833 src/login/logind-device.c \
1834 src/login/logind-seat.c \
1835 src/login/logind-seat-dbus.c \
1836 src/login/logind-session.c \
1837 src/login/logind-session-dbus.c \
1838 src/login/logind-user.c \
1839 src/login/logind-user-dbus.c \
1845 nodist_systemd_logind_SOURCES = \
1846 src/login/logind-gperf.c
1849 systemd_logind_SOURCES += \
1850 src/login/logind-acl.c \
1854 systemd_logind_CFLAGS = \
1860 systemd_logind_LDADD = \
1861 libsystemd-basic.la \
1862 libsystemd-daemon.la \
1867 systemd_user_sessions_SOURCES = \
1868 src/login/user-sessions.c \
1871 systemd_user_sessions_LDADD = \
1874 rootlibexec_PROGRAMS += \
1876 systemd-user-sessions
1878 systemd_loginctl_SOURCES = \
1879 src/login/loginctl.c \
1880 src/login/sysfs-show.c \
1886 systemd_loginctl_CFLAGS = \
1891 systemd_loginctl_LDADD = \
1892 libsystemd-basic.la \
1896 rootbin_PROGRAMS += \
1899 test_login_SOURCES = \
1900 src/login/test-login.c
1902 test_login_LDADD = \
1903 libsystemd-basic.la \
1906 noinst_PROGRAMS += \
1909 libsystemd_login_la_SOURCES = \
1910 src/login/sd-login.c \
1913 libsystemd_login_la_CFLAGS = \
1917 libsystemd_login_la_LDFLAGS = \
1919 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1920 -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
1922 libsystemd_login_la_LIBADD = \
1926 pam_systemd_la_SOURCES = \
1927 src/login/pam-module.c \
1930 pam_systemd_la_CFLAGS = \
1936 pam_systemd_la_LDFLAGS = \
1941 -export-symbols-regex '^pam_sm_.*'
1943 pam_systemd_la_LIBADD = \
1944 libsystemd-basic.la \
1945 libsystemd-daemon.la \
1949 pamlib_LTLIBRARIES = \
1953 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1954 libsystemd-login-install-hook:
1955 if test "$(libdir)" != "$(rootlibdir)"; then \
1956 mkdir -p $(DESTDIR)$(rootlibdir) && \
1957 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1958 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1959 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1960 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1963 INSTALL_EXEC_HOOKS += \
1964 libsystemd-login-install-hook
1966 libsystemd-login-uninstall-hook:
1967 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1969 UNINSTALL_EXEC_HOOKS += \
1970 libsystemd-login-uninstall-hook
1972 nodist_systemunit_DATA += \
1973 units/systemd-logind.service \
1974 units/systemd-user-sessions.service
1976 dist_dbussystemservice_DATA += \
1977 src/login/org.freedesktop.login1.service
1979 dist_dbuspolicy_DATA += \
1980 src/login/org.freedesktop.login1.conf
1982 dist_pkgsysconf_DATA += \
1983 src/login/systemd-logind.conf
1985 pkginclude_HEADERS += \
1986 src/systemd/sd-login.h
1988 lib_LTLIBRARIES += \
1991 pkgconfiglib_DATA += \
1992 src/login/libsystemd-login.pc
1994 polkitpolicy_in_files += \
1995 src/login/org.freedesktop.login1.policy.in
1997 logind-install-data-hook:
1998 $(MKDIR_P) -m 0755 \
1999 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
2000 $(DESTDIR)$(localstatedir)/lib/systemd
2001 ( cd $(DESTDIR)$(systemunitdir) && \
2002 rm -f dbus-org.freedesktop.login1.service && \
2003 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)
2004 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2005 rm -f systemd-logind.service systemd-user-sessions.service && \
2006 $(LN_S) ../systemd-logind.service systemd-logind.service && \
2007 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
2009 INSTALL_DATA_HOOKS += \
2010 logind-install-data-hook
2012 systemd_multi_seat_x_SOURCES = \
2013 src/login/multi-seat-x.c
2015 systemd_multi_seat_x_CFLAGS = \
2019 systemd_multi_seat_x_LDADD = \
2020 libsystemd-basic.la \
2023 rootlibexec_PROGRAMS += \
2024 systemd-multi-seat-x
2026 systemd_uaccess_SOURCES = \
2030 systemd_uaccess_SOURCES += \
2031 src/login/logind-acl.c \
2035 systemd_uaccess_CFLAGS = \
2040 systemd_uaccess_LDADD = \
2041 libsystemd-basic.la \
2042 libsystemd-daemon.la \
2043 libsystemd-login.la \
2047 rootlibexec_PROGRAMS += \
2050 dist_udevrules_DATA += \
2051 src/login/70-uaccess.rules
2053 dist_udevrules_DATA += \
2054 src/login/71-seat.rules
2056 nodist_udevrules_DATA += \
2057 src/login/73-seat-late.rules
2061 man/systemd-logind.conf.5 \
2063 man/systemd-loginctl.1 \
2064 man/sd_login_monitor_new.3 \
2065 man/sd_pid_get_session.3 \
2066 man/sd_uid_get_state.3 \
2067 man/sd_session_is_active.3 \
2068 man/sd_seat_get_active.3 \
2072 man/sd_login_monitor_unref.3 \
2073 man/sd_login_monitor_flush.3 \
2074 man/sd_login_monitor_get_fd.3 \
2075 man/sd_session_get_uid.3 \
2076 man/sd_session_get_seat.3 \
2077 man/sd_pid_get_owner_uid.3 \
2078 man/sd_pid_get_unit.3 \
2079 man/sd_uid_is_on_seat.3 \
2080 man/sd_uid_get_sessions.3 \
2081 man/sd_uid_get_seats.3 \
2082 man/sd_seat_get_sessions.3 \
2083 man/sd_seat_can_multi_session.3 \
2084 man/sd_get_sessions.3 \
2087 man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3
2088 man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3
2089 man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3
2090 man/sd_session_get_uid.3: man/sd_session_is_active.3
2091 man/sd_session_get_seat.3: man/sd_session_is_active.3
2092 man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3
2093 man/sd_pid_get_unit.3: man/sd_pid_get_session.3
2094 man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
2095 man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
2096 man/sd_uid_get_seats.3: man/sd_uid_get_state.3
2097 man/sd_seat_get_sessions.3: man/sd_seat_get_active.3
2098 man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3
2099 man/sd_get_sessions.3: man/sd_get_seats.3
2100 man/sd_get_uids.3: man/sd_get_seats.3
2104 src/login/logind-gperf.gperf \
2105 src/login/libsystemd-login.pc.in \
2106 src/login/libsystemd-login.sym \
2107 src/login/logind.h \
2108 src/login/logind-device.h \
2109 src/login/logind-seat.h \
2110 src/login/logind-session.h \
2111 src/login/logind-user.h \
2112 src/login/logind-acl.h \
2113 src/login/73-seat-late.rules.in \
2114 units/systemd-logind.service.in \
2115 units/systemd-user-sessions.service.in
2118 src/login/logind-gperf.c \
2119 src/login/73-seat-late.rules
2121 # ------------------------------------------------------------------------------
2124 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2125 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
2126 -e 's,@rootbindir\@,$(rootbindir),g' \
2127 -e 's,@bindir\@,$(bindir),g' \
2128 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
2129 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
2130 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
2131 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
2132 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
2133 -e 's,@systemunitdir\@,$(systemunitdir),g' \
2134 -e 's,@userunitdir\@,$(userunitdir),g' \
2135 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
2136 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
2137 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
2138 -e 's,@prefix\@,$(prefix),g' \
2139 -e 's,@exec_prefix\@,$(exec_prefix),g' \
2140 -e 's,@libdir\@,$(libdir),g' \
2141 -e 's,@includedir\@,$(includedir),g' \
2144 units/%: units/%.in Makefile
2147 man/%: man/%.in Makefile
2150 sysctl.d/%: sysctl.d/%.in Makefile
2153 %.pc: %.pc.in Makefile
2156 src/%.policy.in: src/%.policy.in.in Makefile
2159 src/%.rules: src/%.rules.in Makefile
2162 src/%.c: src/%.gperf
2163 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2167 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2168 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
2170 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
2171 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2172 $(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@ || rm $@
2174 M4_PROCESS_SYSTEM = \
2175 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2176 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
2179 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2180 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
2182 units/%: units/%.m4 Makefile
2183 $(M4_PROCESS_SYSTEM)
2185 units/user/%: units/%.m4 Makefile
2189 $(nodist_systemunit_DATA) \
2190 $(nodist_userunit_DATA) \
2191 $(nodist_man_MANS) \
2192 ${XML_IN_FILES:.xml.in=.html} \
2193 $(pkgconfigdata_DATA) \
2194 $(pkgconfiglib_DATA) \
2195 $(nodist_polkitpolicy_DATA) \
2196 src/load-fragment-gperf.gperf \
2197 src/load-fragment-gperf.c \
2198 src/load-fragment-gperf-nulstr.c \
2199 src/99-systemd.rules
2203 ${systemadm_SOURCES:.vala=.c}
2209 --stringparam funcsynopsis.style ansi
2211 XSLTPROC_PROCESS_MAN = \
2212 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2213 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2215 XSLTPROC_PROCESS_MAN_IN = \
2216 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2217 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
2220 XSLTPROC_PROCESS_HTML = \
2221 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2222 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
2224 XSLTPROC_PROCESS_HTML_IN = \
2225 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2226 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< && \
2230 $(XSLTPROC_PROCESS_MAN)
2232 man/%.1.in: man/%.xml.in
2233 $(XSLTPROC_PROCESS_MAN)
2236 $(XSLTPROC_PROCESS_MAN)
2238 man/%.3.in: man/%.xml.in
2239 $(XSLTPROC_PROCESS_MAN)
2242 $(XSLTPROC_PROCESS_MAN)
2244 man/%.5.in: man/%.xml.in
2245 $(XSLTPROC_PROCESS_MAN)
2248 $(XSLTPROC_PROCESS_MAN)
2250 man/%.7.in: man/%.xml.in
2251 $(XSLTPROC_PROCESS_MAN_IN)
2254 $(XSLTPROC_PROCESS_MAN)
2256 man/%.8.in: man/%.xml.in
2257 $(XSLTPROC_PROCESS_MAN_IN)
2259 man/%.html: man/%.xml
2260 $(XSLTPROC_PROCESS_HTML)
2262 man/%.html.in: man/%.xml.in
2263 $(XSLTPROC_PROCESS_HTML_IN)
2267 ${nodist_man_MANS:=.in} \
2268 ${XML_FILES:.xml=.html} \
2269 ${XML_IN_FILES:.xml.in=.html.in}
2272 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
2274 org.freedesktop.systemd1.%.xml: systemd
2275 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
2276 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
2277 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
2280 $(dbusinterface_DATA)
2282 systemd-install-data-hook:
2283 $(MKDIR_P) -m 0755 \
2284 $(DESTDIR)$(tmpfilesdir) \
2285 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
2286 $(DESTDIR)$(prefix)/lib/modules-load.d \
2287 $(DESTDIR)$(sysconfdir)/modules-load.d \
2288 $(DESTDIR)$(prefix)/lib/sysctl.d \
2289 $(DESTDIR)$(sysconfdir)/sysctl.d \
2290 $(DESTDIR)$(systemshutdowndir) \
2291 $(DESTDIR)$(systemgeneratordir) \
2292 $(DESTDIR)$(usergeneratordir)
2293 $(MKDIR_P) -m 0755 \
2294 $(DESTDIR)$(systemunitdir) \
2295 $(DESTDIR)$(userunitdir) \
2296 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
2297 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
2298 $(DESTDIR)$(systemunitdir)/basic.target.wants \
2299 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
2300 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
2301 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
2302 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
2303 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
2304 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
2305 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
2306 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
2307 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
2308 $(DESTDIR)$(pkgsysconfdir)/system \
2309 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
2310 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
2311 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
2312 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
2313 $(DESTDIR)$(pkgsysconfdir)/user \
2314 $(DESTDIR)$(dbussessionservicedir) \
2315 $(DESTDIR)$(sysconfdir)/xdg/systemd
2316 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
2318 $(LN_S) $(pkgsysconfdir)/user user )
2319 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
2320 rm -f systemd-initctl.socket systemd-shutdownd.socket && \
2321 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
2322 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
2323 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
2324 rm -f systemd-update-utmp-runlevel.service && \
2325 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2326 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
2327 rm -f systemd-update-utmp-runlevel.service && \
2328 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2329 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
2330 rm -f systemd-update-utmp-runlevel.service && \
2331 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2332 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
2333 rm -f systemd-update-utmp-runlevel.service && \
2334 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2335 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
2336 rm -f systemd-update-utmp-runlevel.service && \
2337 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2338 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
2339 rm -f systemd-update-utmp-shutdown.service && \
2340 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service )
2341 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2342 rm -f systemd-remount-api-vfs.service \
2344 remount-rootfs.service \
2347 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
2348 $(LN_S) ../fsck-root.service fsck-root.service && \
2349 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
2350 $(LN_S) ../var-run.mount var-run.mount && \
2351 $(LN_S) ../media.mount media.mount )
2352 ( cd $(DESTDIR)$(userunitdir) && \
2353 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
2354 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
2355 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
2356 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
2357 $(LN_S) $(systemunitdir)/printer.target printer.target && \
2358 $(LN_S) $(systemunitdir)/sound.target sound.target )
2359 ( cd $(DESTDIR)$(systemunitdir) && \
2360 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
2361 $(LN_S) poweroff.target runlevel0.target && \
2362 $(LN_S) rescue.target runlevel1.target && \
2363 $(LN_S) multi-user.target runlevel2.target && \
2364 $(LN_S) multi-user.target runlevel3.target && \
2365 $(LN_S) multi-user.target runlevel4.target && \
2366 $(LN_S) graphical.target runlevel5.target && \
2367 $(LN_S) reboot.target runlevel6.target )
2368 ( cd $(DESTDIR)$(systemunitdir) && \
2369 rm -f default.target ctrl-alt-del.target autovt@.service && \
2370 $(LN_S) graphical.target default.target && \
2371 $(LN_S) reboot.target ctrl-alt-del.target && \
2372 $(LN_S) getty@.service autovt@.service )
2373 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2374 rm -f getty.target systemd-ask-password-wall.path && \
2375 $(LN_S) ../getty.target getty.target && \
2376 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path)
2377 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2378 rm -f getty@tty1.service && \
2379 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
2380 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2381 rm -f remote-fs.target && \
2382 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
2383 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2384 rm -f dev-hugepages.mount \
2386 sys-kernel-config.mount \
2387 sys-kernel-debug.mount \
2388 sys-kernel-security.mount \
2389 sys-fs-fuse-connections.mount \
2390 systemd-modules-load.service \
2391 systemd-tmpfiles-setup.service \
2392 systemd-sysctl.service \
2393 systemd-ask-password-console.path && \
2394 $(LN_S) ../dev-hugepages.mount dev-hugepages.mount && \
2395 $(LN_S) ../dev-mqueue.mount dev-mqueue.mount && \
2396 $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
2397 $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
2398 $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \
2399 $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \
2400 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
2401 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
2402 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
2403 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path )
2404 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
2405 rm -f systemd-tmpfiles-clean.timer && \
2406 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
2407 ( cd $(DESTDIR)$(dbussessionservicedir) && \
2408 rm -f org.freedesktop.systemd1.service && \
2409 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
2411 $(MKDIR_P) -m 0755 \
2412 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
2413 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
2414 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
2415 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
2416 $(DESTDIR)$(systemunitdir)/halt.target.wants
2417 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2418 rm -f plymouth-start.service plymouth-read-write.service && \
2419 $(LN_S) ../plymouth-start.service plymouth-start.service && \
2420 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
2421 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2422 rm -f plymouth-quit.service plymouth-quit-wait.service && \
2423 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
2424 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
2425 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
2426 rm -f plymouth-reboot.service && \
2427 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
2428 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
2429 rm -f plymouth-kexec.service && \
2430 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
2431 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
2432 rm -f plymouth-poweroff.service && \
2433 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
2434 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
2435 rm -f plymouth-halt.service && \
2436 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
2439 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2440 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2441 rm -f network.target && \
2442 $(LN_S) $(systemunitdir)/network.target network.target )
2443 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
2445 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
2447 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2449 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2454 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2455 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2456 rm -f halt-local.service && \
2457 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2458 ( cd $(DESTDIR)$(systemunitdir) && \
2459 rm -f display-manager.service single.service && \
2460 $(LN_S) prefdm.service display-manager.service && \
2461 $(LN_S) rescue.service single.service )
2462 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2463 rm -f display-manager.service && \
2464 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2468 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2469 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2470 rm -f halt-local.service && \
2471 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2472 ( cd $(DESTDIR)$(systemunitdir) && \
2473 rm -f display-manager.service dm.service single.service && \
2474 $(LN_S) prefdm.service display-manager.service && \
2475 $(LN_S) prefdm.service dm.service && \
2476 $(LN_S) rescue.service single.service )
2477 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2478 rm -f display-manager.service && \
2479 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2482 if TARGET_DEBIAN_OR_UBUNTU
2483 ( cd $(DESTDIR)$(systemunitdir) && \
2484 rm -f runlevel5.target && \
2485 $(LN_S) multi-user.target runlevel5.target )
2489 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2490 ( cd $(DESTDIR)$(systemunitdir) && \
2491 rm -f local.service && \
2492 $(LN_S) rc-local.service local.service )
2493 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2494 rm -f halt-local.service && \
2495 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2499 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2500 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2501 rm -f halt-local.service && \
2502 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2503 ( cd $(DESTDIR)$(systemunitdir) && \
2504 rm -f display-manager.service && \
2505 $(LN_S) prefdm.service display-manager.service && \
2506 $(LN_S) prefdm.service dm.service )
2507 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2508 rm -f display-manager.service && \
2509 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2513 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2514 rm -f var-lock.mount && \
2515 $(LN_S) ../var-lock.mount var-lock.mount )
2518 install-exec-hook: $(INSTALL_EXEC_HOOKS)
2520 uninstall-hook: $(UNINSTALL_EXEC_HOOKS)
2522 install-data-hook: systemd-install-data-hook $(INSTALL_DATA_HOOKS)
2524 DISTCHECK_CONFIGURE_FLAGS = \
2525 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2526 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2527 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2528 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2529 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2530 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2531 --with-rootprefix=$$dc_install_base/$(rootprefix)
2533 upload: all distcheck
2534 cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
2535 scp systemd-$(VERSION).tar.xz fdo:/srv/www.freedesktop.org/www/software/systemd/
2536 scp man/*.html tango:public/systemd-man/
2539 git tag "v$(VERSION)" -m "systemd $(VERSION)"