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=0
25 LIBSYSTEMD_LOGIN_AGE=1
27 LIBSYSTEMD_DAEMON_CURRENT=0
28 LIBSYSTEMD_DAEMON_REVISION=0
29 LIBSYSTEMD_DAEMON_AGE=0
31 LIBSYSTEMD_ID128_CURRENT=0
32 LIBSYSTEMD_ID128_REVISION=0
33 LIBSYSTEMD_ID128_AGE=0
35 LIBSYSTEMD_JOURNAL_CURRENT=0
36 LIBSYSTEMD_JOURNAL_REVISION=0
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 usergeneratordir=$(pkglibexecdir)/user-generators
56 pkgincludedir=$(includedir)/systemd
58 # And these are the special ones for /
59 rootprefix=@rootprefix@
60 rootbindir=$(rootprefix)/bin
61 rootlibexecdir=$(rootprefix)/lib/systemd
62 systemgeneratordir=$(rootlibexecdir)/system-generators
63 systemshutdowndir=$(rootlibexecdir)/system-shutdown
64 systemunitdir=$(rootprefix)/lib/systemd/system
69 UNINSTALL_EXEC_HOOKS =
74 polkitpolicy_in_files =
77 -include $(top_builddir)/config.h \
78 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
79 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
80 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
81 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
82 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
83 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
84 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
85 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
86 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
87 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
88 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
89 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
90 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
91 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
92 -DROOTPREFIX=\"$(rootprefix)\" \
93 -DRUNTIME_DIR=\"/run\" \
94 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
95 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
96 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
97 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
98 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
99 -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
100 -I $(top_srcdir)/src \
101 -I $(top_srcdir)/src/readahead \
102 -I $(top_srcdir)/src/login \
103 -I $(top_srcdir)/src/journal \
104 -I $(top_srcdir)/src/systemd
108 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
109 -DKBD_SETFONT=\"/usr/bin/setfont\" \
110 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
114 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
115 -DKBD_SETFONT=\"/usr/bin/setfont\" \
116 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
120 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
121 -DKBD_SETFONT=\"/usr/bin/setfont\" \
122 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
126 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
127 -DKBD_SETFONT=\"/bin/setfont\" \
128 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
132 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
133 -DKBD_SETFONT=\"/bin/setfont\" \
134 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
138 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
139 -DKBD_SETFONT=\"/usr/bin/setfont\" \
140 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
144 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
145 -DKBD_SETFONT=\"/bin/setfont\" \
146 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
149 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
150 -DKBD_SETFONT=\"/bin/setfont\" \
151 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
164 systemd-ask-password \
165 systemd-tty-ask-password-agent \
167 systemd-machine-id-setup
171 systemd-stdio-bridge \
180 systemd-gnome-ask-password-agent
183 rootlibexec_PROGRAMS = \
184 systemd-cgroups-agent \
186 systemd-update-utmp \
189 systemd-modules-load \
190 systemd-remount-api-vfs \
191 systemd-reply-password \
195 systemd-detect-virt \
198 systemgenerator_PROGRAMS = \
199 systemd-getty-generator
213 dist_pkgsysconf_DATA = \
217 dist_dbuspolicy_DATA = \
218 src/org.freedesktop.systemd1.conf
220 dist_dbussystemservice_DATA = \
221 src/org.freedesktop.systemd1.service
223 dist_udevrules_DATA = \
226 nodist_udevrules_DATA = \
227 src/73-seat-late.rules \
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/73-seat-late.rules.in \
372 src/99-systemd.rules.in \
376 dist_systemunit_DATA += \
377 units/fedora/prefdm.service \
378 units/fedora/rc-local.service \
379 units/fedora/halt-local.service
380 systemgenerator_PROGRAMS += \
381 systemd-rc-local-generator
385 dist_systemunit_DATA += \
386 units/mandriva/prefdm.service \
387 units/fedora/rc-local.service \
388 units/fedora/halt-local.service
389 systemgenerator_PROGRAMS += \
390 systemd-rc-local-generator
394 dist_systemunit_DATA += \
395 units/frugalware/display-manager.service
399 dist_systemunit_DATA += \
400 units/suse/rc-local.service \
401 units/suse/halt-local.service
402 systemgenerator_PROGRAMS += \
403 systemd-rc-local-generator
407 dist_systemunit_DATA += \
408 units/mageia/prefdm.service \
409 units/fedora/rc-local.service \
410 units/fedora/halt-local.service
411 systemgenerator_PROGRAMS += \
412 systemd-rc-local-generator
416 dist_systemunit_DATA += \
417 units/plymouth-start.service \
418 units/plymouth-read-write.service \
419 units/plymouth-quit.service \
420 units/plymouth-quit-wait.service \
421 units/plymouth-reboot.service \
422 units/plymouth-kexec.service \
423 units/plymouth-poweroff.service \
424 units/plymouth-halt.service \
425 units/systemd-ask-password-plymouth.path
427 nodist_systemunit_DATA += \
428 units/systemd-ask-password-plymouth.service
431 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 = \
551 libsystemd_core_la_LIBADD = \
552 libsystemd-basic.la \
560 # This is needed because automake is buggy in how it generates the
561 # rules for C programs, but not Vala programs. We therefore can't
562 # list the .h files as dependencies if we want make dist to work.
580 src/load-fragment.h \
603 src/dbus-automount.h \
605 src/dbus-snapshot.h \
611 src/hostname-setup.h \
612 src/selinux-setup.h \
613 src/loopback-setup.h \
616 src/machine-id-setup.h \
633 src/linux/auto_dev-ioctl.h \
634 src/linux/fanotify.h \
643 src/ask-password-api.h \
657 man/systemd-nspawn.1 \
658 man/systemd-tmpfiles.8 \
659 man/systemd-notify.1 \
661 man/systemd.service.5 \
662 man/systemd.socket.5 \
663 man/systemd.mount.5 \
664 man/systemd.automount.5 \
666 man/systemd.timer.5 \
668 man/systemd.target.5 \
669 man/systemd.device.5 \
670 man/systemd.snapshot.5 \
686 man/modules-load.d.5 \
688 man/systemd-ask-password.1
695 man/reboot.8: man/halt.8
696 man/poweroff.8: man/halt.8
697 man/init.1: man/systemd.1
704 man/systemd.special.7
707 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
710 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
713 ${XML_FILES:.xml=.html}
715 nodist_noinst_DATA = \
716 ${XML_IN_FILES:.xml.in=.html}
721 ${nodist_man_MANS:=.in} \
722 ${XML_IN_FILES:.xml.in=.html.in}
735 test_engine_SOURCES = \
738 test_engine_CFLAGS = $(systemd_CFLAGS)
739 test_engine_LDADD = $(systemd_LDADD)
741 test_job_type_SOURCES = \
744 test_job_type_CFLAGS = $(systemd_CFLAGS)
745 test_job_type_LDADD = $(systemd_LDADD)
750 test_ns_CFLAGS = $(systemd_CFLAGS)
751 test_ns_LDADD = $(systemd_LDADD)
753 test_loopback_SOURCES = \
754 src/test-loopback.c \
757 test_loopback_LDADD = \
760 test_hostname_SOURCES = \
761 src/test-hostname.c \
764 test_hostname_LDADD = \
767 test_daemon_SOURCES = \
770 test_daemon_LDADD = \
771 libsystemd-basic.la \
774 test_cgroup_SOURCES = \
778 test_cgroup_LDADD = \
781 test_env_replace_SOURCES = \
782 src/test-env-replace.c
784 test_env_replace_LDADD = \
787 test_strv_SOURCES = \
794 test_install_SOURCES = \
800 test_install_CFLAGS = \
804 test_install_LDADD = \
807 systemd_initctl_SOURCES = \
811 systemd_initctl_CFLAGS = \
815 systemd_initctl_LDADD = \
816 libsystemd-basic.la \
817 libsystemd-daemon.la \
820 systemd_update_utmp_SOURCES = \
825 systemd_update_utmp_CFLAGS = \
830 systemd_update_utmp_LDADD = \
831 libsystemd-basic.la \
835 systemd_shutdownd_SOURCES = \
839 systemd_shutdownd_CFLAGS = \
842 systemd_shutdownd_LDADD = \
843 libsystemd-basic.la \
846 systemd_shutdown_SOURCES = \
851 systemd_shutdown_CFLAGS = \
855 systemd_shutdown_LDADD = \
856 libsystemd-basic.la \
859 systemd_modules_load_SOURCES = \
862 systemd_modules_load_LDADD = \
865 systemd_tmpfiles_SOURCES = \
868 systemd_tmpfiles_LDADD = \
871 systemd_machine_id_setup_SOURCES = \
872 src/machine-id-setup.c \
873 src/machine-id-main.c \
876 systemd_machine_id_setup_LDADD = \
879 systemd_sysctl_SOURCES = \
882 systemd_sysctl_LDADD = \
885 systemd_fsck_SOURCES = \
889 systemd_fsck_CFLAGS = \
894 systemd_fsck_LDADD = \
895 libsystemd-basic.la \
899 systemd_timestamp_SOURCES = \
902 systemd_timestamp_LDADD = \
905 systemd_ac_power_SOURCES = \
908 systemd_ac_power_CFLAGS = \
912 systemd_ac_power_LDADD = \
913 libsystemd-basic.la \
916 systemd_detect_virt_SOURCES = \
919 systemd_detect_virt_LDADD = \
922 systemd_getty_generator_SOURCES = \
923 src/getty-generator.c \
926 systemd_getty_generator_LDADD = \
929 systemd_rc_local_generator_SOURCES = \
930 src/rc-local-generator.c
932 systemd_rc_local_generator_LDADD = \
935 systemd_remount_api_vfs_SOURCES = \
936 src/remount-api-vfs.c \
940 systemd_remount_api_vfs_LDADD = \
943 systemd_cgroups_agent_SOURCES = \
944 src/cgroups-agent.c \
947 systemd_cgroups_agent_CFLAGS = \
951 systemd_cgroups_agent_LDADD = \
952 libsystemd-basic.la \
955 systemctl_SOURCES = \
974 libsystemd-basic.la \
975 libsystemd-daemon.la \
976 libsystemd-journal.la \
979 systemd_notify_SOURCES = \
981 src/readahead/sd-readahead.c
983 systemd_notify_LDADD = \
984 libsystemd-basic.la \
987 systemd_ask_password_SOURCES = \
989 src/ask-password-api.c
991 systemd_ask_password_LDADD = \
994 systemd_reply_password_SOURCES = \
997 systemd_reply_password_LDADD = \
1000 systemd_cgls_SOURCES = \
1006 systemd_cgls_LDADD = \
1009 systemd_nspawn_SOURCES = \
1012 src/loopback-setup.c
1014 systemd_nspawn_LDADD = \
1015 libsystemd-basic.la \
1016 libsystemd-daemon.la
1018 systemd_stdio_bridge_SOURCES = \
1021 systemd_stdio_bridge_LDADD = \
1024 systemadm_SOURCES = \
1025 src/systemadm.vala \
1026 src/systemd-interfaces.vala \
1029 systemadm_CFLAGS = \
1032 -Wno-unused-variable \
1033 -Wno-unused-function \
1035 -Wno-format-nonliteral
1037 systemadm_VALAFLAGS = \
1046 systemd_gnome_ask_password_agent_SOURCES = \
1047 src/gnome-ask-password-agent.vala
1049 systemd_gnome_ask_password_agent_CFLAGS = \
1051 $(LIBNOTIFY_CFLAGS) \
1053 -Wno-unused-variable \
1054 -Wno-unused-function \
1056 -Wno-format-nonliteral
1058 systemd_gnome_ask_password_agent_VALAFLAGS = \
1062 --pkg=gio-unix-2.0 \
1066 systemd_gnome_ask_password_agent_LDADD = \
1070 systemd_tty_ask_password_agent_SOURCES = \
1071 src/tty-ask-password-agent.c \
1072 src/ask-password-api.c \
1075 systemd_tty_ask_password_agent_LDADD = \
1078 # ------------------------------------------------------------------------------
1079 libsystemd_daemon_la_SOURCES = \
1082 libsystemd_daemon_la_CFLAGS = \
1084 -fvisibility=hidden \
1087 libsystemd_daemon_la_LDFLAGS = \
1089 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1090 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1092 pkginclude_HEADERS += \
1093 src/systemd/sd-daemon.h
1095 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1096 libsystemd-daemon-install-hook:
1097 if test "$(libdir)" != "$(rootlibdir)"; then \
1098 mkdir -p $(DESTDIR)$(rootlibdir) && \
1099 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1100 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1101 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1102 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1105 INSTALL_EXEC_HOOKS += \
1106 libsystemd-daemon-install-hook
1108 libsystemd-daemon-uninstall-hook:
1109 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1111 UNINSTALL_EXEC_HOOKS += \
1112 libsystemd-daemon-uninstall-hook
1114 lib_LTLIBRARIES += \
1115 libsystemd-daemon.la
1117 pkgconfiglib_DATA += \
1118 src/libsystemd-daemon.pc
1123 man/sd_listen_fds.3 \
1128 man/sd_is_socket.3 \
1129 man/sd_is_socket_unix.3 \
1130 man/sd_is_socket_inet.3 \
1134 man/sd_is_socket.3: man/sd_is_fifo.3
1135 man/sd_is_socket_unix.3: man/sd_is_fifo.3
1136 man/sd_is_socket_inet.3: man/sd_is_fifo.3
1137 man/sd_is_mq.3: man/sd_is_fifo.3
1138 man/sd_notifyf.3: man/sd_notify.3
1141 src/libsystemd-daemon.pc.in \
1142 src/libsystemd-daemon.sym
1144 # ------------------------------------------------------------------------------
1145 libsystemd_id128_la_SOURCES = \
1148 libsystemd_id128_la_CFLAGS = \
1152 libsystemd_id128_la_LDFLAGS = \
1154 -version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
1155 -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128.sym
1157 libsystemd_id128_la_LIBADD = \
1160 test_id128_SOURCES = \
1164 test_id128_LDADD = \
1167 noinst_PROGRAMS += \
1170 pkginclude_HEADERS += \
1171 src/systemd/sd-id128.h
1173 lib_LTLIBRARIES += \
1176 pkgconfiglib_DATA += \
1177 src/libsystemd-id128.pc
1179 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1180 libsystemd-id128-install-hook:
1181 if test "$(libdir)" != "$(rootlibdir)"; then \
1182 mkdir -p $(DESTDIR)$(rootlibdir) && \
1183 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-id128.so) && \
1184 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1185 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-id128.so && \
1186 mv $(DESTDIR)$(libdir)/libsystemd-id128.so.* $(DESTDIR)$(rootlibdir); \
1189 INSTALL_EXEC_HOOKS += \
1190 libsystemd-id128-install-hook
1192 libsystemd-id128-uninstall-hook:
1193 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
1195 UNINSTALL_EXEC_HOOKS += \
1196 libsystemd-id128-uninstall-hook
1199 src/libsystemd-id128.pc.in \
1200 src/libsystemd-id128.sym
1202 # ------------------------------------------------------------------------------
1203 systemd_journald_SOURCES = \
1204 src/journal/journald.c \
1205 src/journal/sd-journal.c \
1206 src/journal/journal-file.c \
1207 src/journal/lookup3.c \
1208 src/journal/journal-rate-limit.c \
1213 nodist_systemd_journald_SOURCES = \
1214 src/journal/journald-gperf.c
1216 systemd_journald_CFLAGS = \
1220 systemd_journald_LDADD = \
1221 libsystemd-basic.la \
1222 libsystemd-daemon.la \
1223 libsystemd-login.la \
1227 systemd_journald_SOURCES += \
1228 src/journal/compress.c
1229 systemd_journald_CFLAGS += \
1231 systemd_journald_LDADD += \
1235 systemd_journalctl_SOURCES = \
1236 src/journal/journalctl.c \
1240 systemd_journalctl_LDADD = \
1241 libsystemd-basic.la \
1242 libsystemd-journal.la
1245 systemd_journalctl_SOURCES += \
1246 src/journal/compress.c
1247 systemd_journalctl_CFLAGS = \
1250 systemd_journalctl_LDADD += \
1254 test_journal_SOURCES = \
1255 src/journal/test-journal.c \
1256 src/journal/sd-journal.c \
1257 src/journal/journal-file.c \
1258 src/journal/lookup3.c \
1259 src/journal/journal-send.c \
1262 test_journal_LDADD = \
1266 test_journal_SOURCES += \
1267 src/journal/compress.c
1269 test_journal_CFLAGS = \
1273 test_journal_LDADD += \
1277 libsystemd_journal_la_SOURCES = \
1278 src/journal/sd-journal.c \
1279 src/journal/journal-file.c \
1280 src/journal/lookup3.c \
1281 src/journal/journal-send.c
1283 libsystemd_journal_la_CFLAGS = \
1287 libsystemd_journal_la_LDFLAGS = \
1289 -version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
1290 -Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
1292 libsystemd_journal_la_LIBADD = \
1293 libsystemd-basic.la \
1297 libsystemd_journal_la_SOURCES += \
1298 src/journal/compress.c
1300 libsystemd_journal_la_CFLAGS += \
1303 libsystemd_journal_la_LIBADD += \
1307 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1308 libsystemd-journal-install-hook:
1309 if test "$(libdir)" != "$(rootlibdir)"; then \
1310 mkdir -p $(DESTDIR)$(rootlibdir) && \
1311 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-journal.so) && \
1312 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1313 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-journal.so && \
1314 mv $(DESTDIR)$(libdir)/libsystemd-journal.so.* $(DESTDIR)$(rootlibdir); \
1317 INSTALL_EXEC_HOOKS += \
1318 libsystemd-journal-install-hook
1320 libsystemd-journal-uninstall-hook:
1321 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
1323 UNINSTALL_EXEC_HOOKS += \
1324 libsystemd-journal-uninstall-hook
1326 noinst_PROGRAMS += \
1329 pkginclude_HEADERS += \
1330 src/systemd/sd-journal.h \
1331 src/systemd/sd-messages.h
1333 lib_LTLIBRARIES += \
1334 libsystemd-journal.la
1336 rootlibexec_PROGRAMS += \
1339 rootbin_PROGRAMS += \
1342 dist_systemunit_DATA += \
1343 units/systemd-journald.socket
1345 nodist_systemunit_DATA += \
1346 units/systemd-journald.service
1348 dist_pkgsysconf_DATA += \
1349 src/journal/systemd-journald.conf
1351 pkgconfiglib_DATA += \
1352 src/journal/libsystemd-journal.pc
1354 journal-install-data-hook:
1355 $(MKDIR_P) -m 0755 \
1356 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1357 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1358 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1359 rm -f systemd-journald.socket && \
1360 $(LN_S) ../systemd-journald.socket )
1361 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1362 rm -f systemd-journald.service && \
1363 $(LN_S) ../systemd-journald.service )
1365 INSTALL_DATA_HOOKS += \
1366 journal-install-data-hook
1369 src/journal/journald.h \
1370 src/journal/journal-def.h \
1371 src/journal/journal-internal.h \
1372 src/journal/journal-file.h \
1373 src/journal/lookup3.h \
1374 src/journal/compress.h \
1375 src/journal/journal-rate-limit.h \
1376 src/journal/libsystemd-journal.pc.in \
1377 src/journal/libsystemd-journal.sym \
1378 units/systemd-journald.service.in \
1379 src/journal/journald-gperf.gperf
1382 src/journal/journald-gperf.c
1384 # ------------------------------------------------------------------------------
1386 systemd_binfmt_SOURCES = \
1389 systemd_binfmt_LDADD = \
1392 rootlibexec_PROGRAMS += \
1395 dist_systemunit_DATA += \
1396 units/proc-sys-fs-binfmt_misc.automount \
1397 units/proc-sys-fs-binfmt_misc.mount
1399 nodist_systemunit_DATA += \
1400 units/systemd-binfmt.service
1402 binfmt-install-data-hook:
1403 $(MKDIR_P) -m 0755 \
1404 $(DESTDIR)$(prefix)/lib/binfmt.d \
1405 $(DESTDIR)$(sysconfdir)/binfmt.d \
1406 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1407 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1408 rm -f systemd-binfmt.service \
1409 proc-sys-fs-binfmt_misc.automount && \
1410 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1411 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1413 INSTALL_DATA_HOOKS += \
1414 binfmt-install-data-hook
1420 units/systemd-binfmt.service.in
1423 # ------------------------------------------------------------------------------
1425 systemd_vconsole_setup_SOURCES = \
1426 src/vconsole/vconsole-setup.c
1428 systemd_vconsole_setup_LDADD = \
1431 rootlibexec_PROGRAMS += \
1432 systemd-vconsole-setup
1434 nodist_systemunit_DATA += \
1435 units/systemd-vconsole-setup.service
1437 vconsole-install-data-hook:
1438 $(MKDIR_P) -m 0755 \
1439 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1440 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1441 rm -f systemd-vconsole-setup.service && \
1442 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service )
1444 INSTALL_DATA_HOOKS += \
1445 vconsole-install-data-hook
1451 units/systemd-vconsole-setup.service.in
1454 # ------------------------------------------------------------------------------
1456 systemd_readahead_collect_SOURCES = \
1457 src/readahead/readahead-collect.c \
1458 src/readahead/readahead-common.c
1460 systemd_readahead_collect_LDADD = \
1461 libsystemd-basic.la \
1462 libsystemd-daemon.la \
1465 systemd_readahead_collect_CFLAGS = \
1469 systemd_readahead_replay_SOURCES = \
1470 src/readahead/readahead-replay.c \
1471 src/readahead/readahead-common.c
1473 systemd_readahead_replay_CFLAGS = \
1477 systemd_readahead_replay_LDADD = \
1478 libsystemd-basic.la \
1479 libsystemd-daemon.la \
1482 rootlibexec_PROGRAMS += \
1483 systemd-readahead-collect \
1484 systemd-readahead-replay
1486 dist_systemunit_DATA += \
1487 units/systemd-readahead-done.timer
1489 nodist_systemunit_DATA += \
1490 units/systemd-readahead-collect.service \
1491 units/systemd-readahead-replay.service \
1492 units/systemd-readahead-done.service
1495 src/systemd/sd-readahead.h \
1496 src/readahead/readahead-common.h \
1497 units/systemd-readahead-collect.service.in \
1498 units/systemd-readahead-replay.service.in \
1499 units/systemd-readahead-done.service.in
1502 man/sd_readahead.3 \
1506 # ------------------------------------------------------------------------------
1507 if ENABLE_QUOTACHECK
1508 rootlibexec_PROGRAMS += \
1511 nodist_systemunit_DATA += \
1512 units/quotacheck.service
1515 units/quotacheck.service.in
1517 systemd_quotacheck_SOURCES = \
1520 systemd_quotacheck_LDADD = \
1524 # ------------------------------------------------------------------------------
1525 if ENABLE_RANDOMSEED
1526 rootlibexec_PROGRAMS += \
1529 nodist_systemunit_DATA += \
1530 units/systemd-random-seed-save.service \
1531 units/systemd-random-seed-load.service
1534 units/systemd-random-seed-save.service.in \
1535 units/systemd-random-seed-load.service.in
1537 systemd_random_seed_SOURCES = \
1540 systemd_random_seed_LDADD = \
1543 randomseed-install-data-hook:
1544 $(MKDIR_P) -m 0755 \
1545 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1546 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1547 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1548 rm -f systemd-random-seed-save.service && \
1549 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1550 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1551 rm -f systemd-random-seed-load.service && \
1552 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service )
1554 INSTALL_DATA_HOOKS += \
1555 randomseed-install-data-hook
1558 # ------------------------------------------------------------------------------
1559 if HAVE_LIBCRYPTSETUP
1560 rootlibexec_PROGRAMS += \
1563 systemgenerator_PROGRAMS += \
1564 systemd-cryptsetup-generator
1566 dist_systemunit_DATA += \
1567 units/cryptsetup.target
1569 systemd_cryptsetup_SOURCES = \
1570 src/cryptsetup/cryptsetup.c \
1571 src/ask-password-api.c
1573 systemd_cryptsetup_CFLAGS = \
1575 $(LIBCRYPTSETUP_CFLAGS) \
1578 systemd_cryptsetup_LDADD = \
1579 $(LIBCRYPTSETUP_LIBS) \
1583 systemd_cryptsetup_generator_SOURCES = \
1584 src/cryptsetup/cryptsetup-generator.c \
1587 systemd_cryptsetup_generator_LDADD = \
1590 cryptsetup-install-data-hook:
1591 $(MKDIR_P) -m 0755 \
1592 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1593 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1594 rm -f cryptsetup.target && \
1595 $(LN_S) ../cryptsetup.target cryptsetup.target )
1597 INSTALL_DATA_HOOKS += \
1598 cryptsetup-install-data-hook
1601 # ------------------------------------------------------------------------------
1603 systemd_hostnamed_SOURCES = \
1604 src/hostname/hostnamed.c \
1608 systemd_hostnamed_CFLAGS = \
1612 systemd_hostnamed_LDADD = \
1613 libsystemd-basic.la \
1614 libsystemd-daemon.la \
1617 rootlibexec_PROGRAMS += \
1620 nodist_systemunit_DATA += \
1621 units/systemd-hostnamed.service
1623 dist_dbuspolicy_DATA += \
1624 src/hostname/org.freedesktop.hostname1.conf
1626 dist_dbussystemservice_DATA += \
1627 src/hostname/org.freedesktop.hostname1.service
1629 polkitpolicy_in_files += \
1630 src/hostname/org.freedesktop.hostname1.policy.in
1632 dbusinterface_DATA += \
1633 org.freedesktop.hostname1.xml
1635 org.freedesktop.hostname1.xml: systemd-hostnamed
1636 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1637 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1638 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1640 hostnamed-install-data-hook:
1641 ( cd $(DESTDIR)$(systemunitdir) && \
1642 rm -f dbus-org.freedesktop.hostname1.service && \
1643 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1645 INSTALL_DATA_HOOKS += \
1646 hostnamed-install-data-hook
1649 units/systemd-hostnamed.service.in
1652 # ------------------------------------------------------------------------------
1654 systemd_localed_SOURCES = \
1655 src/locale/localed.c \
1659 systemd_localed_CFLAGS = \
1663 systemd_localed_LDADD = \
1664 libsystemd-basic.la \
1665 libsystemd-daemon.la \
1668 nodist_systemunit_DATA += \
1669 units/systemd-localed.service
1671 rootlibexec_PROGRAMS += \
1674 dist_dbuspolicy_DATA += \
1675 src/locale/org.freedesktop.locale1.conf
1677 dist_dbussystemservice_DATA += \
1678 src/locale/org.freedesktop.locale1.service
1680 polkitpolicy_in_files += \
1681 src/locale/org.freedesktop.locale1.policy.in
1683 dbusinterface_DATA += \
1684 org.freedesktop.locale1.xml
1686 org.freedesktop.locale1.xml: systemd-localed
1687 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1688 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1689 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1691 localed-install-data-hook:
1692 ( cd $(DESTDIR)$(systemunitdir) && \
1693 rm -f dbus-org.freedesktop.locale1.service && \
1694 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1696 INSTALL_DATA_HOOKS += \
1697 localed-install-data-hook
1700 units/systemd-localed.service.in
1702 dist_pkgdata_DATA = \
1703 src/locale/kbd-model-map
1705 dist_noinst_SCRIPT = \
1706 src/locale/generate-kbd-model-map
1708 update-kbd-model-map:
1709 src/locale/generate-kbd-model-map > src/locale/kbd-model-map
1713 # ------------------------------------------------------------------------------
1715 systemd_timedated_SOURCES = \
1716 src/timedate/timedated.c \
1720 systemd_timedated_CFLAGS = \
1724 systemd_timedated_LDADD = \
1725 libsystemd-basic.la \
1726 libsystemd-daemon.la \
1729 rootlibexec_PROGRAMS += \
1732 dist_dbussystemservice_DATA += \
1733 src/timedate/org.freedesktop.timedate1.service
1735 dist_dbuspolicy_DATA += \
1736 src/timedate/org.freedesktop.timedate1.conf
1738 nodist_systemunit_DATA += \
1739 units/systemd-timedated.service
1741 polkitpolicy_in_files += \
1742 src/timedate/org.freedesktop.timedate1.policy.in
1744 org.freedesktop.timedate1.xml: systemd-timedated
1745 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1746 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1747 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1749 dbusinterface_DATA += \
1750 org.freedesktop.timedate1.xml
1752 timedated-install-data-hook:
1753 ( cd $(DESTDIR)$(systemunitdir) && \
1754 rm -f dbus-org.freedesktop.timedate1.service && \
1755 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1757 INSTALL_DATA_HOOKS += \
1758 timedated-install-data-hook
1761 units/systemd-timedated.service.in
1764 # ------------------------------------------------------------------------------
1766 systemd_logind_SOURCES = \
1767 src/login/logind.c \
1768 src/login/logind-dbus.c \
1769 src/login/logind-device.c \
1770 src/login/logind-seat.c \
1771 src/login/logind-seat-dbus.c \
1772 src/login/logind-session.c \
1773 src/login/logind-session-dbus.c \
1774 src/login/logind-user.c \
1775 src/login/logind-user-dbus.c \
1781 nodist_systemd_logind_SOURCES = \
1782 src/login/logind-gperf.c
1785 systemd_logind_SOURCES += \
1786 src/login/logind-acl.c \
1790 systemd_logind_CFLAGS = \
1796 systemd_logind_LDADD = \
1797 libsystemd-basic.la \
1798 libsystemd-daemon.la \
1803 systemd_user_sessions_SOURCES = \
1804 src/login/user-sessions.c \
1807 systemd_user_sessions_LDADD = \
1810 rootlibexec_PROGRAMS += \
1812 systemd-user-sessions
1814 systemd_loginctl_SOURCES = \
1815 src/login/loginctl.c \
1822 systemd_loginctl_CFLAGS = \
1827 systemd_loginctl_LDADD = \
1828 libsystemd-basic.la \
1832 rootbin_PROGRAMS += \
1835 test_login_SOURCES = \
1836 src/login/test-login.c
1838 test_login_LDADD = \
1839 libsystemd-basic.la \
1842 noinst_PROGRAMS += \
1845 libsystemd_login_la_SOURCES = \
1846 src/login/sd-login.c \
1849 libsystemd_login_la_CFLAGS = \
1853 libsystemd_login_la_LDFLAGS = \
1855 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1856 -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
1858 libsystemd_login_la_LIBADD = \
1862 pam_systemd_la_SOURCES = \
1863 src/login/pam-module.c \
1866 pam_systemd_la_CFLAGS = \
1872 pam_systemd_la_LDFLAGS = \
1877 -export-symbols-regex '^pam_sm_.*'
1879 pam_systemd_la_LIBADD = \
1880 libsystemd-basic.la \
1881 libsystemd-daemon.la \
1885 pamlib_LTLIBRARIES = \
1889 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1890 libsystemd-login-install-hook:
1891 if test "$(libdir)" != "$(rootlibdir)"; then \
1892 mkdir -p $(DESTDIR)$(rootlibdir) && \
1893 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1894 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1895 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1896 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1899 INSTALL_EXEC_HOOKS += \
1900 libsystemd-login-install-hook
1902 libsystemd-login-uninstall-hook:
1903 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1905 UNINSTALL_EXEC_HOOKS += \
1906 libsystemd-login-uninstall-hook
1908 nodist_systemunit_DATA += \
1909 units/systemd-logind.service \
1910 units/systemd-user-sessions.service
1912 dist_dbussystemservice_DATA += \
1913 src/login/org.freedesktop.login1.service
1915 dist_dbuspolicy_DATA += \
1916 src/login/org.freedesktop.login1.conf
1918 dist_pkgsysconf_DATA += \
1919 src/login/systemd-logind.conf
1921 pkginclude_HEADERS += \
1922 src/systemd/sd-login.h
1924 lib_LTLIBRARIES += \
1927 pkgconfiglib_DATA += \
1928 src/login/libsystemd-login.pc
1930 polkitpolicy_in_files += \
1931 src/login/org.freedesktop.login1.policy.in
1933 logind-install-data-hook:
1934 $(MKDIR_P) -m 0755 \
1935 $(DESTDIR)$(systemunitdir)/multi-user.target.wants
1936 ( cd $(DESTDIR)$(systemunitdir) && \
1937 rm -f dbus-org.freedesktop.login1.service && \
1938 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)
1939 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1940 rm -f systemd-logind.service systemd-user-sessions.service && \
1941 $(LN_S) ../systemd-logind.service systemd-logind.service && \
1942 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
1944 INSTALL_DATA_HOOKS += \
1945 logind-install-data-hook
1947 systemd_uaccess_SOURCES = \
1951 systemd_uaccess_SOURCES += \
1952 src/login/logind-acl.c \
1956 systemd_uaccess_CFLAGS = \
1961 systemd_uaccess_LDADD = \
1962 libsystemd-basic.la \
1963 libsystemd-daemon.la \
1964 libsystemd-login.la \
1968 rootlibexec_PROGRAMS += \
1971 dist_udevrules_DATA += \
1972 src/70-uaccess.rules
1975 man/systemd-logind.conf.5 \
1977 man/systemd-loginctl.1 \
1978 man/sd_login_monitor_new.3 \
1979 man/sd_pid_get_session.3 \
1980 man/sd_uid_get_state.3 \
1981 man/sd_session_is_active.3 \
1982 man/sd_seat_get_active.3 \
1986 man/sd_login_monitor_unref.3 \
1987 man/sd_login_monitor_flush.3 \
1988 man/sd_login_monitor_get_fd.3 \
1989 man/sd_session_get_uid.3 \
1990 man/sd_session_get_seat.3 \
1991 man/sd_pid_get_owner_uid.3 \
1992 man/sd_pid_get_unit.3 \
1993 man/sd_uid_is_on_seat.3 \
1994 man/sd_uid_get_sessions.3 \
1995 man/sd_uid_get_seats.3 \
1996 man/sd_seat_get_sessions.3 \
1997 man/sd_seat_can_multi_session.3 \
1998 man/sd_get_sessions.3 \
2001 man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3
2002 man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3
2003 man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3
2004 man/sd_session_get_uid.3: man/sd_session_is_active.3
2005 man/sd_session_get_seat.3: man/sd_session_is_active.3
2006 man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3
2007 man/sd_pid_get_unit.3: man/sd_pid_get_session.3
2008 man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
2009 man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
2010 man/sd_uid_get_seats.3: man/sd_uid_get_state.3
2011 man/sd_seat_get_sessions.3: man/sd_seat_get_active.3
2012 man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3
2013 man/sd_get_sessions.3: man/sd_get_seats.3
2014 man/sd_get_uids.3: man/sd_get_seats.3
2017 src/login/logind-gperf.gperf \
2018 units/systemd-logind.service.in \
2019 units/systemd-user-sessions.service.in \
2020 src/login/libsystemd-login.pc.in \
2021 src/login/libsystemd-login.sym \
2022 src/login/logind.h \
2023 src/login/logind-device.h \
2024 src/login/logind-seat.h \
2025 src/login/logind-session.h \
2026 src/login/logind-user.h \
2027 src/login/logind-acl.h
2030 src/login/logind-gperf.c
2032 # ------------------------------------------------------------------------------
2035 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2036 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
2037 -e 's,@rootbindir\@,$(rootbindir),g' \
2038 -e 's,@bindir\@,$(bindir),g' \
2039 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
2040 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
2041 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
2042 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
2043 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
2044 -e 's,@systemunitdir\@,$(systemunitdir),g' \
2045 -e 's,@userunitdir\@,$(userunitdir),g' \
2046 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
2047 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
2048 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
2049 -e 's,@prefix\@,$(prefix),g' \
2050 -e 's,@exec_prefix\@,$(exec_prefix),g' \
2051 -e 's,@libdir\@,$(libdir),g' \
2052 -e 's,@includedir\@,$(includedir),g' \
2055 units/%: units/%.in Makefile
2058 man/%: man/%.in Makefile
2061 %.pc: %.pc.in Makefile
2064 src/%.policy.in: src/%.policy.in.in Makefile
2067 src/%.rules: src/%.rules.in Makefile
2070 src/%.c: src/%.gperf
2071 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2075 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2076 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
2078 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
2079 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2080 $(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 $@
2082 M4_PROCESS_SYSTEM = \
2083 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2084 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
2087 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2088 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
2090 units/%: units/%.m4 Makefile
2091 $(M4_PROCESS_SYSTEM)
2093 units/user/%: units/%.m4 Makefile
2097 $(nodist_systemunit_DATA) \
2098 $(nodist_userunit_DATA) \
2099 $(nodist_man_MANS) \
2100 ${XML_IN_FILES:.xml.in=.html} \
2101 $(pkgconfigdata_DATA) \
2102 $(pkgconfiglib_DATA) \
2103 $(nodist_polkitpolicy_DATA) \
2104 src/73-seat-late.rules \
2105 src/99-systemd.rules \
2106 src/load-fragment-gperf.gperf \
2107 src/load-fragment-gperf.c \
2108 src/load-fragment-gperf-nulstr.c
2112 ${systemadm_SOURCES:.vala=.c}
2118 --stringparam funcsynopsis.style ansi
2120 XSLTPROC_PROCESS_MAN = \
2121 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2122 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2124 XSLTPROC_PROCESS_MAN_IN = \
2125 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2126 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
2129 XSLTPROC_PROCESS_HTML = \
2130 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2131 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
2133 XSLTPROC_PROCESS_HTML_IN = \
2134 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2135 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< && \
2139 $(XSLTPROC_PROCESS_MAN)
2141 man/%.1.in: man/%.xml.in
2142 $(XSLTPROC_PROCESS_MAN)
2145 $(XSLTPROC_PROCESS_MAN)
2147 man/%.3.in: man/%.xml.in
2148 $(XSLTPROC_PROCESS_MAN)
2151 $(XSLTPROC_PROCESS_MAN)
2153 man/%.5.in: man/%.xml.in
2154 $(XSLTPROC_PROCESS_MAN)
2157 $(XSLTPROC_PROCESS_MAN)
2159 man/%.7.in: man/%.xml.in
2160 $(XSLTPROC_PROCESS_MAN_IN)
2163 $(XSLTPROC_PROCESS_MAN)
2165 man/%.8.in: man/%.xml.in
2166 $(XSLTPROC_PROCESS_MAN_IN)
2168 man/%.html: man/%.xml
2169 $(XSLTPROC_PROCESS_HTML)
2171 man/%.html.in: man/%.xml.in
2172 $(XSLTPROC_PROCESS_HTML_IN)
2176 ${nodist_man_MANS:=.in} \
2177 ${XML_FILES:.xml=.html} \
2178 ${XML_IN_FILES:.xml.in=.html.in}
2181 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
2183 org.freedesktop.systemd1.%.xml: systemd
2184 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
2185 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
2186 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
2189 $(dbusinterface_DATA)
2191 systemd-install-data-hook:
2192 $(MKDIR_P) -m 0755 \
2193 $(DESTDIR)$(tmpfilesdir) \
2194 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
2195 $(DESTDIR)$(prefix)/lib/modules-load.d \
2196 $(DESTDIR)$(sysconfdir)/modules-load.d \
2197 $(DESTDIR)$(prefix)/lib/sysctl.d \
2198 $(DESTDIR)$(sysconfdir)/sysctl.d \
2199 $(DESTDIR)$(systemshutdowndir) \
2200 $(DESTDIR)$(systemgeneratordir) \
2201 $(DESTDIR)$(usergeneratordir)
2202 $(MKDIR_P) -m 0755 \
2203 $(DESTDIR)$(systemunitdir) \
2204 $(DESTDIR)$(userunitdir) \
2205 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
2206 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
2207 $(DESTDIR)$(systemunitdir)/basic.target.wants \
2208 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
2209 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
2210 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
2211 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
2212 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
2213 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
2214 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
2215 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
2216 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
2217 $(DESTDIR)$(pkgsysconfdir)/system \
2218 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
2219 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
2220 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
2221 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
2222 $(DESTDIR)$(pkgsysconfdir)/user \
2223 $(DESTDIR)$(dbussessionservicedir) \
2224 $(DESTDIR)$(sysconfdir)/xdg/systemd
2225 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
2227 $(LN_S) $(pkgsysconfdir)/user user )
2228 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
2229 rm -f systemd-initctl.socket systemd-shutdownd.socket && \
2230 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
2231 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
2232 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
2233 rm -f systemd-update-utmp-runlevel.service && \
2234 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2235 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
2236 rm -f systemd-update-utmp-runlevel.service && \
2237 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2238 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
2239 rm -f systemd-update-utmp-runlevel.service && \
2240 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2241 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
2242 rm -f systemd-update-utmp-runlevel.service && \
2243 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2244 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
2245 rm -f systemd-update-utmp-runlevel.service && \
2246 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2247 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
2248 rm -f systemd-update-utmp-shutdown.service && \
2249 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service )
2250 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2251 rm -f systemd-remount-api-vfs.service \
2253 remount-rootfs.service \
2256 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
2257 $(LN_S) ../fsck-root.service fsck-root.service && \
2258 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
2259 $(LN_S) ../var-run.mount var-run.mount && \
2260 $(LN_S) ../media.mount media.mount )
2261 ( cd $(DESTDIR)$(userunitdir) && \
2262 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
2263 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
2264 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
2265 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
2266 $(LN_S) $(systemunitdir)/printer.target printer.target && \
2267 $(LN_S) $(systemunitdir)/sound.target sound.target )
2268 ( cd $(DESTDIR)$(systemunitdir) && \
2269 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
2270 $(LN_S) poweroff.target runlevel0.target && \
2271 $(LN_S) rescue.target runlevel1.target && \
2272 $(LN_S) multi-user.target runlevel2.target && \
2273 $(LN_S) multi-user.target runlevel3.target && \
2274 $(LN_S) multi-user.target runlevel4.target && \
2275 $(LN_S) graphical.target runlevel5.target && \
2276 $(LN_S) reboot.target runlevel6.target )
2277 ( cd $(DESTDIR)$(systemunitdir) && \
2278 rm -f default.target ctrl-alt-del.target autovt@.service && \
2279 $(LN_S) graphical.target default.target && \
2280 $(LN_S) reboot.target ctrl-alt-del.target && \
2281 $(LN_S) getty@.service autovt@.service )
2282 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2283 rm -f getty.target systemd-ask-password-wall.path && \
2284 $(LN_S) ../getty.target getty.target && \
2285 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path)
2286 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2287 rm -f getty@tty1.service && \
2288 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
2289 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2290 rm -f remote-fs.target && \
2291 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
2292 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2293 rm -f dev-hugepages.mount \
2295 sys-kernel-config.mount \
2296 sys-kernel-debug.mount \
2297 sys-kernel-security.mount \
2298 sys-fs-fuse-connections.mount \
2299 systemd-modules-load.service \
2300 systemd-tmpfiles-setup.service \
2301 systemd-sysctl.service \
2302 systemd-ask-password-console.path && \
2303 $(LN_S) ../dev-hugepages.mount dev-hugepages.mount && \
2304 $(LN_S) ../dev-mqueue.mount dev-mqueue.mount && \
2305 $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
2306 $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
2307 $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \
2308 $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \
2309 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
2310 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
2311 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
2312 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path )
2313 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
2314 rm -f systemd-tmpfiles-clean.timer && \
2315 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
2316 ( cd $(DESTDIR)$(dbussessionservicedir) && \
2317 rm -f org.freedesktop.systemd1.service && \
2318 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
2320 $(MKDIR_P) -m 0755 \
2321 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
2322 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
2323 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
2324 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
2325 $(DESTDIR)$(systemunitdir)/halt.target.wants
2326 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2327 rm -f plymouth-start.service plymouth-read-write.service && \
2328 $(LN_S) ../plymouth-start.service plymouth-start.service && \
2329 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
2330 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2331 rm -f plymouth-quit.service plymouth-quit-wait.service && \
2332 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
2333 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
2334 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
2335 rm -f plymouth-reboot.service && \
2336 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
2337 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
2338 rm -f plymouth-kexec.service && \
2339 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
2340 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
2341 rm -f plymouth-poweroff.service && \
2342 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
2343 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
2344 rm -f plymouth-halt.service && \
2345 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
2348 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2349 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2350 rm -f network.target && \
2351 $(LN_S) $(systemunitdir)/network.target network.target )
2352 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
2354 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
2356 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2358 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2363 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2364 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2365 rm -f halt-local.service && \
2366 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2367 ( cd $(DESTDIR)$(systemunitdir) && \
2368 rm -f display-manager.service single.service && \
2369 $(LN_S) prefdm.service display-manager.service && \
2370 $(LN_S) rescue.service single.service )
2371 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2372 rm -f display-manager.service && \
2373 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2377 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2378 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2379 rm -f halt-local.service && \
2380 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2381 ( cd $(DESTDIR)$(systemunitdir) && \
2382 rm -f display-manager.service dm.service single.service && \
2383 $(LN_S) prefdm.service display-manager.service && \
2384 $(LN_S) prefdm.service dm.service && \
2385 $(LN_S) rescue.service single.service )
2386 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2387 rm -f display-manager.service && \
2388 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2391 if TARGET_DEBIAN_OR_UBUNTU
2392 ( cd $(DESTDIR)$(systemunitdir) && \
2393 rm -f runlevel5.target && \
2394 $(LN_S) multi-user.target runlevel5.target )
2398 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2399 ( cd $(DESTDIR)$(systemunitdir) && \
2400 rm -f local.service && \
2401 $(LN_S) rc-local.service local.service )
2402 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2403 rm -f halt-local.service && \
2404 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2408 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2409 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2410 rm -f halt-local.service && \
2411 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2412 ( cd $(DESTDIR)$(systemunitdir) && \
2413 rm -f display-manager.service && \
2414 $(LN_S) prefdm.service display-manager.service && \
2415 $(LN_S) prefdm.service dm.service )
2416 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2417 rm -f display-manager.service && \
2418 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2422 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2423 rm -f var-lock.mount && \
2424 $(LN_S) ../var-lock.mount var-lock.mount )
2427 install-exec-hook: $(INSTALL_EXEC_HOOKS)
2429 uninstall-hook: $(UNINSTALL_EXEC_HOOKS)
2431 install-data-hook: systemd-install-data-hook $(INSTALL_DATA_HOOKS)
2433 DISTCHECK_CONFIGURE_FLAGS = \
2434 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2435 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2436 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2437 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2438 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2439 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2440 --with-rootprefix=$$dc_install_base/$(rootprefix)
2442 upload: all distcheck
2443 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
2444 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
2445 scp man/*.html tango:public/systemd-man/
2448 git tag "v$(VERSION)" -m "systemd $(VERSION)"