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=2
24 LIBSYSTEMD_LOGIN_REVISION=0
25 LIBSYSTEMD_LOGIN_AGE=2
27 LIBSYSTEMD_DAEMON_CURRENT=0
28 LIBSYSTEMD_DAEMON_REVISION=1
29 LIBSYSTEMD_DAEMON_AGE=0
31 LIBSYSTEMD_ID128_CURRENT=0
32 LIBSYSTEMD_ID128_REVISION=2
33 LIBSYSTEMD_ID128_AGE=0
35 LIBSYSTEMD_JOURNAL_CURRENT=0
36 LIBSYSTEMD_JOURNAL_REVISION=2
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 = \
474 libsystemd_basic_la_CFLAGS = \
478 libsystemd_basic_la_LIBADD = \
482 libsystemd_core_la_SOURCES = \
487 src/load-fragment.c \
510 src/dbus-automount.c \
512 src/dbus-snapshot.c \
518 src/hostname-setup.c \
519 src/selinux-setup.c \
520 src/loopback-setup.c \
523 src/machine-id-setup.c \
537 nodist_libsystemd_core_la_SOURCES = \
538 src/load-fragment-gperf.c \
539 src/load-fragment-gperf-nulstr.c
542 src/load-fragment-gperf.gperf.m4
544 libsystemd_core_la_CFLAGS = \
553 libsystemd_core_la_LIBADD = \
554 libsystemd-basic.la \
563 # This is needed because automake is buggy in how it generates the
564 # rules for C programs, but not Vala programs. We therefore can't
565 # list the .h files as dependencies if we want make dist to work.
583 src/load-fragment.h \
606 src/dbus-automount.h \
608 src/dbus-snapshot.h \
614 src/hostname-setup.h \
615 src/selinux-setup.h \
616 src/loopback-setup.h \
619 src/machine-id-setup.h \
636 src/linux/auto_dev-ioctl.h \
637 src/linux/fanotify.h \
646 src/ask-password-api.h \
661 man/systemd-cgtop.1 \
662 man/systemd-nspawn.1 \
663 man/systemd-tmpfiles.8 \
664 man/systemd-notify.1 \
666 man/systemd.service.5 \
667 man/systemd.socket.5 \
668 man/systemd.mount.5 \
669 man/systemd.automount.5 \
671 man/systemd.timer.5 \
673 man/systemd.target.5 \
674 man/systemd.device.5 \
675 man/systemd.snapshot.5 \
677 man/systemd.special.7 \
692 man/modules-load.d.5 \
694 man/systemd-ask-password.1
701 man/reboot.8: man/halt.8
702 man/poweroff.8: man/halt.8
703 man/init.1: man/systemd.1
711 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
714 ${XML_FILES:.xml=.html}
731 test_engine_SOURCES = \
734 test_engine_CFLAGS = $(systemd_CFLAGS)
735 test_engine_LDADD = $(systemd_LDADD)
737 test_job_type_SOURCES = \
740 test_job_type_CFLAGS = $(systemd_CFLAGS)
741 test_job_type_LDADD = $(systemd_LDADD)
746 test_ns_CFLAGS = $(systemd_CFLAGS)
747 test_ns_LDADD = $(systemd_LDADD)
749 test_loopback_SOURCES = \
750 src/test-loopback.c \
753 test_loopback_LDADD = \
756 test_hostname_SOURCES = \
757 src/test-hostname.c \
760 test_hostname_LDADD = \
763 test_daemon_SOURCES = \
766 test_daemon_LDADD = \
767 libsystemd-basic.la \
770 test_cgroup_SOURCES = \
774 test_cgroup_LDADD = \
777 test_env_replace_SOURCES = \
778 src/test-env-replace.c
780 test_env_replace_LDADD = \
783 test_strv_SOURCES = \
790 test_install_SOURCES = \
796 test_install_CFLAGS = \
800 test_install_LDADD = \
803 systemd_initctl_SOURCES = \
807 systemd_initctl_CFLAGS = \
811 systemd_initctl_LDADD = \
812 libsystemd-basic.la \
813 libsystemd-daemon.la \
816 systemd_update_utmp_SOURCES = \
821 systemd_update_utmp_CFLAGS = \
826 systemd_update_utmp_LDADD = \
827 libsystemd-basic.la \
831 systemd_shutdownd_SOURCES = \
835 systemd_shutdownd_CFLAGS = \
838 systemd_shutdownd_LDADD = \
839 libsystemd-basic.la \
842 systemd_shutdown_SOURCES = \
847 systemd_shutdown_CFLAGS = \
851 systemd_shutdown_LDADD = \
852 libsystemd-basic.la \
855 systemd_modules_load_SOURCES = \
858 systemd_modules_load_CFLAGS = \
861 systemd_modules_load_LDADD = \
862 libsystemd-basic.la \
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 \
977 libsystemd-id128.la \
980 systemd_notify_SOURCES = \
982 src/readahead/sd-readahead.c
984 systemd_notify_LDADD = \
985 libsystemd-basic.la \
988 systemd_ask_password_SOURCES = \
990 src/ask-password-api.c
992 systemd_ask_password_LDADD = \
995 systemd_reply_password_SOURCES = \
998 systemd_reply_password_LDADD = \
1001 systemd_cgls_SOURCES = \
1007 systemd_cgls_LDADD = \
1010 systemd_cgtop_SOURCES = \
1014 systemd_cgtop_LDADD = \
1017 systemd_nspawn_SOURCES = \
1020 src/loopback-setup.c
1022 systemd_nspawn_LDADD = \
1023 libsystemd-basic.la \
1024 libsystemd-daemon.la
1026 systemd_stdio_bridge_SOURCES = \
1029 systemd_stdio_bridge_LDADD = \
1032 systemadm_SOURCES = \
1033 src/systemadm.vala \
1034 src/systemd-interfaces.vala \
1037 systemadm_CFLAGS = \
1040 -Wno-unused-variable \
1041 -Wno-unused-function \
1043 -Wno-format-nonliteral
1045 systemadm_VALAFLAGS = \
1054 systemd_gnome_ask_password_agent_SOURCES = \
1055 src/gnome-ask-password-agent.vala
1057 systemd_gnome_ask_password_agent_CFLAGS = \
1059 $(LIBNOTIFY_CFLAGS) \
1061 -Wno-unused-variable \
1062 -Wno-unused-function \
1064 -Wno-format-nonliteral
1066 systemd_gnome_ask_password_agent_VALAFLAGS = \
1070 --pkg=gio-unix-2.0 \
1074 systemd_gnome_ask_password_agent_LDADD = \
1078 systemd_tty_ask_password_agent_SOURCES = \
1079 src/tty-ask-password-agent.c \
1080 src/ask-password-api.c \
1083 systemd_tty_ask_password_agent_LDADD = \
1086 # ------------------------------------------------------------------------------
1087 libsystemd_daemon_la_SOURCES = \
1090 libsystemd_daemon_la_CFLAGS = \
1092 -fvisibility=hidden \
1095 libsystemd_daemon_la_LDFLAGS = \
1097 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1098 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1100 pkginclude_HEADERS += \
1101 src/systemd/sd-daemon.h
1103 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1104 libsystemd-daemon-install-hook:
1105 if test "$(libdir)" != "$(rootlibdir)"; then \
1106 mkdir -p $(DESTDIR)$(rootlibdir) && \
1107 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1108 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1109 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1110 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1113 INSTALL_EXEC_HOOKS += \
1114 libsystemd-daemon-install-hook
1116 libsystemd-daemon-uninstall-hook:
1117 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1119 UNINSTALL_EXEC_HOOKS += \
1120 libsystemd-daemon-uninstall-hook
1122 lib_LTLIBRARIES += \
1123 libsystemd-daemon.la
1125 pkgconfiglib_DATA += \
1126 src/libsystemd-daemon.pc
1131 man/sd_listen_fds.3 \
1136 man/sd_is_socket.3 \
1137 man/sd_is_socket_unix.3 \
1138 man/sd_is_socket_inet.3 \
1142 man/sd_is_socket.3: man/sd_is_fifo.3
1143 man/sd_is_socket_unix.3: man/sd_is_fifo.3
1144 man/sd_is_socket_inet.3: man/sd_is_fifo.3
1145 man/sd_is_mq.3: man/sd_is_fifo.3
1146 man/sd_notifyf.3: man/sd_notify.3
1149 src/libsystemd-daemon.pc.in \
1150 src/libsystemd-daemon.sym
1152 # ------------------------------------------------------------------------------
1153 libsystemd_id128_la_SOURCES = \
1156 libsystemd_id128_la_CFLAGS = \
1160 libsystemd_id128_la_LDFLAGS = \
1162 -version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
1163 -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128.sym
1165 libsystemd_id128_la_LIBADD = \
1168 test_id128_SOURCES = \
1172 test_id128_LDADD = \
1175 noinst_PROGRAMS += \
1178 pkginclude_HEADERS += \
1179 src/systemd/sd-id128.h
1181 lib_LTLIBRARIES += \
1184 pkgconfiglib_DATA += \
1185 src/libsystemd-id128.pc
1187 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1188 libsystemd-id128-install-hook:
1189 if test "$(libdir)" != "$(rootlibdir)"; then \
1190 mkdir -p $(DESTDIR)$(rootlibdir) && \
1191 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-id128.so) && \
1192 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1193 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-id128.so && \
1194 mv $(DESTDIR)$(libdir)/libsystemd-id128.so.* $(DESTDIR)$(rootlibdir); \
1197 INSTALL_EXEC_HOOKS += \
1198 libsystemd-id128-install-hook
1200 libsystemd-id128-uninstall-hook:
1201 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
1203 UNINSTALL_EXEC_HOOKS += \
1204 libsystemd-id128-uninstall-hook
1207 src/libsystemd-id128.pc.in \
1208 src/libsystemd-id128.sym
1210 # ------------------------------------------------------------------------------
1211 systemd_journald_SOURCES = \
1212 src/journal/journald.c \
1213 src/journal/sd-journal.c \
1214 src/journal/journal-file.c \
1215 src/journal/lookup3.c \
1216 src/journal/journal-rate-limit.c \
1221 systemd_journald_SOURCES += \
1225 nodist_systemd_journald_SOURCES = \
1226 src/journal/journald-gperf.c
1228 systemd_journald_CFLAGS = \
1232 systemd_journald_LDADD = \
1233 libsystemd-basic.la \
1234 libsystemd-daemon.la \
1235 libsystemd-login.la \
1239 systemd_journald_SOURCES += \
1240 src/journal/compress.c
1241 systemd_journald_CFLAGS += \
1243 systemd_journald_LDADD += \
1247 systemd_cat_SOURCES = \
1250 systemd_cat_LDADD = \
1251 libsystemd-basic.la \
1252 libsystemd-journal.la
1254 systemd_journalctl_SOURCES = \
1255 src/journal/journalctl.c \
1259 systemd_journalctl_LDADD = \
1260 libsystemd-basic.la \
1261 libsystemd-journal.la \
1265 systemd_journalctl_SOURCES += \
1266 src/journal/compress.c
1267 systemd_journalctl_CFLAGS = \
1270 systemd_journalctl_LDADD += \
1274 test_journal_SOURCES = \
1275 src/journal/test-journal.c \
1276 src/journal/sd-journal.c \
1277 src/journal/journal-file.c \
1278 src/journal/lookup3.c \
1279 src/journal/journal-send.c \
1282 test_journal_LDADD = \
1286 test_journal_SOURCES += \
1287 src/journal/compress.c
1289 test_journal_CFLAGS = \
1293 test_journal_LDADD += \
1297 libsystemd_journal_la_SOURCES = \
1298 src/journal/sd-journal.c \
1299 src/journal/journal-file.c \
1300 src/journal/lookup3.c \
1301 src/journal/journal-send.c
1303 libsystemd_journal_la_CFLAGS = \
1307 libsystemd_journal_la_LDFLAGS = \
1309 -version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
1310 -Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
1312 libsystemd_journal_la_LIBADD = \
1313 libsystemd-basic.la \
1317 libsystemd_journal_la_SOURCES += \
1318 src/journal/compress.c
1320 libsystemd_journal_la_CFLAGS += \
1323 libsystemd_journal_la_LIBADD += \
1327 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1328 libsystemd-journal-install-hook:
1329 if test "$(libdir)" != "$(rootlibdir)"; then \
1330 mkdir -p $(DESTDIR)$(rootlibdir) && \
1331 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-journal.so) && \
1332 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1333 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-journal.so && \
1334 mv $(DESTDIR)$(libdir)/libsystemd-journal.so.* $(DESTDIR)$(rootlibdir); \
1337 INSTALL_EXEC_HOOKS += \
1338 libsystemd-journal-install-hook
1340 libsystemd-journal-uninstall-hook:
1341 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
1343 UNINSTALL_EXEC_HOOKS += \
1344 libsystemd-journal-uninstall-hook
1346 noinst_PROGRAMS += \
1349 pkginclude_HEADERS += \
1350 src/systemd/sd-journal.h \
1351 src/systemd/sd-messages.h
1353 lib_LTLIBRARIES += \
1354 libsystemd-journal.la
1356 rootlibexec_PROGRAMS += \
1359 rootbin_PROGRAMS += \
1365 dist_systemunit_DATA += \
1366 units/systemd-journald.socket
1368 nodist_systemunit_DATA += \
1369 units/systemd-journald.service
1371 dist_pkgsysconf_DATA += \
1372 src/journal/systemd-journald.conf
1374 pkgconfiglib_DATA += \
1375 src/journal/libsystemd-journal.pc
1377 journal-install-data-hook:
1378 $(MKDIR_P) -m 0755 \
1379 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1380 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1381 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1382 rm -f systemd-journald.socket && \
1383 $(LN_S) ../systemd-journald.socket )
1384 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1385 rm -f systemd-journald.service && \
1386 $(LN_S) ../systemd-journald.service )
1388 INSTALL_DATA_HOOKS += \
1389 journal-install-data-hook
1392 src/journal/journald.h \
1393 src/journal/journal-def.h \
1394 src/journal/journal-internal.h \
1395 src/journal/journal-file.h \
1396 src/journal/lookup3.h \
1397 src/journal/compress.h \
1398 src/journal/journal-rate-limit.h \
1399 src/journal/libsystemd-journal.pc.in \
1400 src/journal/libsystemd-journal.sym \
1401 units/systemd-journald.service.in \
1402 src/journal/journald-gperf.gperf
1405 src/journal/journald-gperf.c
1407 # ------------------------------------------------------------------------------
1409 systemd_coredump_SOURCES = \
1410 src/journal/coredump.c
1412 systemd_coredump_LDADD = \
1413 libsystemd-basic.la \
1414 libsystemd-journal.la \
1417 rootlibexec_PROGRAMS += \
1421 sysctl.d/coredump.conf
1424 sysctl.d/coredump.conf.in
1427 sysctl.d/coredump.conf
1430 # ------------------------------------------------------------------------------
1432 systemd_binfmt_SOURCES = \
1435 systemd_binfmt_LDADD = \
1438 rootlibexec_PROGRAMS += \
1441 dist_systemunit_DATA += \
1442 units/proc-sys-fs-binfmt_misc.automount \
1443 units/proc-sys-fs-binfmt_misc.mount
1445 nodist_systemunit_DATA += \
1446 units/systemd-binfmt.service
1448 binfmt-install-data-hook:
1449 $(MKDIR_P) -m 0755 \
1450 $(DESTDIR)$(prefix)/lib/binfmt.d \
1451 $(DESTDIR)$(sysconfdir)/binfmt.d \
1452 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1453 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1454 rm -f systemd-binfmt.service \
1455 proc-sys-fs-binfmt_misc.automount && \
1456 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1457 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1459 INSTALL_DATA_HOOKS += \
1460 binfmt-install-data-hook
1466 units/systemd-binfmt.service.in
1469 # ------------------------------------------------------------------------------
1471 systemd_vconsole_setup_SOURCES = \
1472 src/vconsole/vconsole-setup.c
1474 systemd_vconsole_setup_LDADD = \
1477 rootlibexec_PROGRAMS += \
1478 systemd-vconsole-setup
1480 nodist_systemunit_DATA += \
1481 units/systemd-vconsole-setup.service
1483 vconsole-install-data-hook:
1484 $(MKDIR_P) -m 0755 \
1485 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1486 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1487 rm -f systemd-vconsole-setup.service && \
1488 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service )
1490 INSTALL_DATA_HOOKS += \
1491 vconsole-install-data-hook
1497 units/systemd-vconsole-setup.service.in
1500 # ------------------------------------------------------------------------------
1502 systemd_readahead_collect_SOURCES = \
1503 src/readahead/readahead-collect.c \
1504 src/readahead/readahead-common.c
1506 systemd_readahead_collect_LDADD = \
1507 libsystemd-basic.la \
1508 libsystemd-daemon.la \
1511 systemd_readahead_collect_CFLAGS = \
1515 systemd_readahead_replay_SOURCES = \
1516 src/readahead/readahead-replay.c \
1517 src/readahead/readahead-common.c
1519 systemd_readahead_replay_CFLAGS = \
1523 systemd_readahead_replay_LDADD = \
1524 libsystemd-basic.la \
1525 libsystemd-daemon.la \
1528 rootlibexec_PROGRAMS += \
1529 systemd-readahead-collect \
1530 systemd-readahead-replay
1532 dist_systemunit_DATA += \
1533 units/systemd-readahead-done.timer
1535 nodist_systemunit_DATA += \
1536 units/systemd-readahead-collect.service \
1537 units/systemd-readahead-replay.service \
1538 units/systemd-readahead-done.service
1541 src/systemd/sd-readahead.h \
1542 src/readahead/readahead-common.h \
1543 units/systemd-readahead-collect.service.in \
1544 units/systemd-readahead-replay.service.in \
1545 units/systemd-readahead-done.service.in
1548 man/sd_readahead.3 \
1552 # ------------------------------------------------------------------------------
1553 if ENABLE_QUOTACHECK
1554 rootlibexec_PROGRAMS += \
1557 nodist_systemunit_DATA += \
1558 units/quotacheck.service
1561 units/quotacheck.service.in
1563 systemd_quotacheck_SOURCES = \
1566 systemd_quotacheck_LDADD = \
1570 # ------------------------------------------------------------------------------
1571 if ENABLE_RANDOMSEED
1572 rootlibexec_PROGRAMS += \
1575 nodist_systemunit_DATA += \
1576 units/systemd-random-seed-save.service \
1577 units/systemd-random-seed-load.service
1580 units/systemd-random-seed-save.service.in \
1581 units/systemd-random-seed-load.service.in
1583 systemd_random_seed_SOURCES = \
1586 systemd_random_seed_LDADD = \
1589 randomseed-install-data-hook:
1590 $(MKDIR_P) -m 0755 \
1591 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1592 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1593 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1594 rm -f systemd-random-seed-save.service && \
1595 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1596 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1597 rm -f systemd-random-seed-load.service && \
1598 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service )
1600 INSTALL_DATA_HOOKS += \
1601 randomseed-install-data-hook
1604 # ------------------------------------------------------------------------------
1605 if HAVE_LIBCRYPTSETUP
1606 rootlibexec_PROGRAMS += \
1609 systemgenerator_PROGRAMS += \
1610 systemd-cryptsetup-generator
1612 dist_systemunit_DATA += \
1613 units/cryptsetup.target
1615 systemd_cryptsetup_SOURCES = \
1616 src/cryptsetup/cryptsetup.c \
1617 src/ask-password-api.c
1619 systemd_cryptsetup_CFLAGS = \
1621 $(LIBCRYPTSETUP_CFLAGS) \
1624 systemd_cryptsetup_LDADD = \
1625 $(LIBCRYPTSETUP_LIBS) \
1629 systemd_cryptsetup_generator_SOURCES = \
1630 src/cryptsetup/cryptsetup-generator.c \
1633 systemd_cryptsetup_generator_LDADD = \
1636 cryptsetup-install-data-hook:
1637 $(MKDIR_P) -m 0755 \
1638 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1639 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1640 rm -f cryptsetup.target && \
1641 $(LN_S) ../cryptsetup.target cryptsetup.target )
1643 INSTALL_DATA_HOOKS += \
1644 cryptsetup-install-data-hook
1647 # ------------------------------------------------------------------------------
1649 systemd_hostnamed_SOURCES = \
1650 src/hostname/hostnamed.c \
1654 systemd_hostnamed_CFLAGS = \
1658 systemd_hostnamed_LDADD = \
1659 libsystemd-basic.la \
1660 libsystemd-daemon.la \
1663 rootlibexec_PROGRAMS += \
1666 nodist_systemunit_DATA += \
1667 units/systemd-hostnamed.service
1669 dist_dbuspolicy_DATA += \
1670 src/hostname/org.freedesktop.hostname1.conf
1672 dist_dbussystemservice_DATA += \
1673 src/hostname/org.freedesktop.hostname1.service
1675 polkitpolicy_in_files += \
1676 src/hostname/org.freedesktop.hostname1.policy.in
1678 dbusinterface_DATA += \
1679 org.freedesktop.hostname1.xml
1681 org.freedesktop.hostname1.xml: systemd-hostnamed
1682 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1683 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1684 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1686 hostnamed-install-data-hook:
1687 ( cd $(DESTDIR)$(systemunitdir) && \
1688 rm -f dbus-org.freedesktop.hostname1.service && \
1689 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1691 INSTALL_DATA_HOOKS += \
1692 hostnamed-install-data-hook
1695 units/systemd-hostnamed.service.in
1698 # ------------------------------------------------------------------------------
1700 systemd_localed_SOURCES = \
1701 src/locale/localed.c \
1705 systemd_localed_CFLAGS = \
1709 systemd_localed_LDADD = \
1710 libsystemd-basic.la \
1711 libsystemd-daemon.la \
1714 nodist_systemunit_DATA += \
1715 units/systemd-localed.service
1717 rootlibexec_PROGRAMS += \
1720 dist_dbuspolicy_DATA += \
1721 src/locale/org.freedesktop.locale1.conf
1723 dist_dbussystemservice_DATA += \
1724 src/locale/org.freedesktop.locale1.service
1726 polkitpolicy_in_files += \
1727 src/locale/org.freedesktop.locale1.policy.in
1729 dbusinterface_DATA += \
1730 org.freedesktop.locale1.xml
1732 org.freedesktop.locale1.xml: systemd-localed
1733 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1734 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1735 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1737 localed-install-data-hook:
1738 ( cd $(DESTDIR)$(systemunitdir) && \
1739 rm -f dbus-org.freedesktop.locale1.service && \
1740 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1742 INSTALL_DATA_HOOKS += \
1743 localed-install-data-hook
1746 units/systemd-localed.service.in
1748 dist_pkgdata_DATA = \
1749 src/locale/kbd-model-map
1751 dist_noinst_SCRIPT = \
1752 src/locale/generate-kbd-model-map
1754 update-kbd-model-map:
1755 src/locale/generate-kbd-model-map > src/locale/kbd-model-map
1759 # ------------------------------------------------------------------------------
1761 systemd_timedated_SOURCES = \
1762 src/timedate/timedated.c \
1766 systemd_timedated_CFLAGS = \
1770 systemd_timedated_LDADD = \
1771 libsystemd-basic.la \
1772 libsystemd-daemon.la \
1775 rootlibexec_PROGRAMS += \
1778 dist_dbussystemservice_DATA += \
1779 src/timedate/org.freedesktop.timedate1.service
1781 dist_dbuspolicy_DATA += \
1782 src/timedate/org.freedesktop.timedate1.conf
1784 nodist_systemunit_DATA += \
1785 units/systemd-timedated.service
1787 polkitpolicy_in_files += \
1788 src/timedate/org.freedesktop.timedate1.policy.in
1790 org.freedesktop.timedate1.xml: systemd-timedated
1791 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1792 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1793 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1795 dbusinterface_DATA += \
1796 org.freedesktop.timedate1.xml
1798 timedated-install-data-hook:
1799 ( cd $(DESTDIR)$(systemunitdir) && \
1800 rm -f dbus-org.freedesktop.timedate1.service && \
1801 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1803 INSTALL_DATA_HOOKS += \
1804 timedated-install-data-hook
1807 units/systemd-timedated.service.in
1810 # ------------------------------------------------------------------------------
1812 systemd_logind_SOURCES = \
1813 src/login/logind.c \
1814 src/login/logind-dbus.c \
1815 src/login/logind-device.c \
1816 src/login/logind-seat.c \
1817 src/login/logind-seat-dbus.c \
1818 src/login/logind-session.c \
1819 src/login/logind-session-dbus.c \
1820 src/login/logind-user.c \
1821 src/login/logind-user-dbus.c \
1827 nodist_systemd_logind_SOURCES = \
1828 src/login/logind-gperf.c
1831 systemd_logind_SOURCES += \
1832 src/login/logind-acl.c \
1836 systemd_logind_CFLAGS = \
1842 systemd_logind_LDADD = \
1843 libsystemd-basic.la \
1844 libsystemd-daemon.la \
1849 systemd_user_sessions_SOURCES = \
1850 src/login/user-sessions.c \
1853 systemd_user_sessions_LDADD = \
1856 rootlibexec_PROGRAMS += \
1858 systemd-user-sessions
1860 systemd_loginctl_SOURCES = \
1861 src/login/loginctl.c \
1862 src/login/sysfs-show.c \
1868 systemd_loginctl_CFLAGS = \
1873 systemd_loginctl_LDADD = \
1874 libsystemd-basic.la \
1878 rootbin_PROGRAMS += \
1881 test_login_SOURCES = \
1882 src/login/test-login.c
1884 test_login_LDADD = \
1885 libsystemd-basic.la \
1888 noinst_PROGRAMS += \
1891 libsystemd_login_la_SOURCES = \
1892 src/login/sd-login.c \
1895 libsystemd_login_la_CFLAGS = \
1899 libsystemd_login_la_LDFLAGS = \
1901 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1902 -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
1904 libsystemd_login_la_LIBADD = \
1908 pam_systemd_la_SOURCES = \
1909 src/login/pam-module.c \
1912 pam_systemd_la_CFLAGS = \
1918 pam_systemd_la_LDFLAGS = \
1923 -export-symbols-regex '^pam_sm_.*'
1925 pam_systemd_la_LIBADD = \
1926 libsystemd-basic.la \
1927 libsystemd-daemon.la \
1931 pamlib_LTLIBRARIES = \
1935 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1936 libsystemd-login-install-hook:
1937 if test "$(libdir)" != "$(rootlibdir)"; then \
1938 mkdir -p $(DESTDIR)$(rootlibdir) && \
1939 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1940 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1941 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1942 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1945 INSTALL_EXEC_HOOKS += \
1946 libsystemd-login-install-hook
1948 libsystemd-login-uninstall-hook:
1949 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1951 UNINSTALL_EXEC_HOOKS += \
1952 libsystemd-login-uninstall-hook
1954 nodist_systemunit_DATA += \
1955 units/systemd-logind.service \
1956 units/systemd-user-sessions.service
1958 dist_dbussystemservice_DATA += \
1959 src/login/org.freedesktop.login1.service
1961 dist_dbuspolicy_DATA += \
1962 src/login/org.freedesktop.login1.conf
1964 dist_pkgsysconf_DATA += \
1965 src/login/systemd-logind.conf
1967 pkginclude_HEADERS += \
1968 src/systemd/sd-login.h
1970 lib_LTLIBRARIES += \
1973 pkgconfiglib_DATA += \
1974 src/login/libsystemd-login.pc
1976 polkitpolicy_in_files += \
1977 src/login/org.freedesktop.login1.policy.in
1979 logind-install-data-hook:
1980 $(MKDIR_P) -m 0755 \
1981 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1982 $(DESTDIR)$(localstatedir)/lib/systemd
1983 ( cd $(DESTDIR)$(systemunitdir) && \
1984 rm -f dbus-org.freedesktop.login1.service && \
1985 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)
1986 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1987 rm -f systemd-logind.service systemd-user-sessions.service && \
1988 $(LN_S) ../systemd-logind.service systemd-logind.service && \
1989 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
1991 INSTALL_DATA_HOOKS += \
1992 logind-install-data-hook
1994 systemd_multi_seat_x_SOURCES = \
1995 src/login/multi-seat-x.c
1997 systemd_multi_seat_x_CFLAGS = \
2001 systemd_multi_seat_x_LDADD = \
2002 libsystemd-basic.la \
2005 rootlibexec_PROGRAMS += \
2006 systemd-multi-seat-x
2008 systemd_uaccess_SOURCES = \
2012 systemd_uaccess_SOURCES += \
2013 src/login/logind-acl.c \
2017 systemd_uaccess_CFLAGS = \
2022 systemd_uaccess_LDADD = \
2023 libsystemd-basic.la \
2024 libsystemd-daemon.la \
2025 libsystemd-login.la \
2029 rootlibexec_PROGRAMS += \
2032 dist_udevrules_DATA += \
2033 src/login/70-uaccess.rules
2035 dist_udevrules_DATA += \
2036 src/login/71-seat.rules
2038 nodist_udevrules_DATA += \
2039 src/login/73-seat-late.rules
2042 man/systemd-logind.conf.5 \
2044 man/systemd-loginctl.1 \
2045 man/sd_login_monitor_new.3 \
2046 man/sd_pid_get_session.3 \
2047 man/sd_uid_get_state.3 \
2048 man/sd_session_is_active.3 \
2049 man/sd_seat_get_active.3 \
2053 man/sd_login_monitor_unref.3 \
2054 man/sd_login_monitor_flush.3 \
2055 man/sd_login_monitor_get_fd.3 \
2056 man/sd_session_get_uid.3 \
2057 man/sd_session_get_seat.3 \
2058 man/sd_session_get_service.3 \
2059 man/sd_session_get_type.3 \
2060 man/sd_session_get_class.3 \
2061 man/sd_session_get_display.3 \
2062 man/sd_pid_get_owner_uid.3 \
2063 man/sd_pid_get_unit.3 \
2064 man/sd_uid_is_on_seat.3 \
2065 man/sd_uid_get_sessions.3 \
2066 man/sd_uid_get_seats.3 \
2067 man/sd_seat_get_sessions.3 \
2068 man/sd_seat_can_multi_session.3 \
2069 man/sd_get_sessions.3 \
2072 man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3
2073 man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3
2074 man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3
2075 man/sd_session_get_uid.3: man/sd_session_is_active.3
2076 man/sd_session_get_seat.3: man/sd_session_is_active.3
2077 man/sd_session_get_service.3: man/sd_session_is_active.3
2078 man/sd_session_get_type.3: man/sd_session_is_active.3
2079 man/sd_session_get_class.3: man/sd_session_is_active.3
2080 man/sd_session_get_display.3: man/sd_session_is_active.3
2081 man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3
2082 man/sd_pid_get_unit.3: man/sd_pid_get_session.3
2083 man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
2084 man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
2085 man/sd_uid_get_seats.3: man/sd_uid_get_state.3
2086 man/sd_seat_get_sessions.3: man/sd_seat_get_active.3
2087 man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3
2088 man/sd_get_sessions.3: man/sd_get_seats.3
2089 man/sd_get_uids.3: man/sd_get_seats.3
2092 src/login/logind-gperf.gperf \
2093 src/login/libsystemd-login.pc.in \
2094 src/login/libsystemd-login.sym \
2095 src/login/logind.h \
2096 src/login/logind-device.h \
2097 src/login/logind-seat.h \
2098 src/login/logind-session.h \
2099 src/login/logind-user.h \
2100 src/login/logind-acl.h \
2101 src/login/73-seat-late.rules.in \
2102 units/systemd-logind.service.in \
2103 units/systemd-user-sessions.service.in
2106 src/login/logind-gperf.c \
2107 src/login/73-seat-late.rules
2109 # ------------------------------------------------------------------------------
2112 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2113 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
2114 -e 's,@rootbindir\@,$(rootbindir),g' \
2115 -e 's,@bindir\@,$(bindir),g' \
2116 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
2117 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
2118 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
2119 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
2120 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
2121 -e 's,@systemunitdir\@,$(systemunitdir),g' \
2122 -e 's,@userunitdir\@,$(userunitdir),g' \
2123 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
2124 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
2125 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
2126 -e 's,@prefix\@,$(prefix),g' \
2127 -e 's,@exec_prefix\@,$(exec_prefix),g' \
2128 -e 's,@libdir\@,$(libdir),g' \
2129 -e 's,@includedir\@,$(includedir),g' \
2132 units/%: units/%.in Makefile
2135 man/%: man/%.in Makefile
2138 sysctl.d/%: sysctl.d/%.in Makefile
2141 %.pc: %.pc.in Makefile
2144 src/%.policy.in: src/%.policy.in.in Makefile
2147 src/%.rules: src/%.rules.in Makefile
2150 src/%.c: src/%.gperf
2151 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2155 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2156 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
2158 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
2159 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2160 $(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 $@
2162 M4_PROCESS_SYSTEM = \
2163 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2164 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
2167 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2168 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
2170 units/%: units/%.m4 Makefile
2171 $(M4_PROCESS_SYSTEM)
2173 units/user/%: units/%.m4 Makefile
2177 $(nodist_systemunit_DATA) \
2178 $(nodist_userunit_DATA) \
2179 $(nodist_man_MANS) \
2180 $(pkgconfigdata_DATA) \
2181 $(pkgconfiglib_DATA) \
2182 $(nodist_polkitpolicy_DATA) \
2183 src/load-fragment-gperf.gperf \
2184 src/load-fragment-gperf.c \
2185 src/load-fragment-gperf-nulstr.c \
2186 src/99-systemd.rules
2190 ${systemadm_SOURCES:.vala=.c}
2196 --stringparam funcsynopsis.style ansi
2198 XSLTPROC_PROCESS_MAN = \
2199 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2200 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2202 XSLTPROC_PROCESS_HTML = \
2203 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2204 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
2207 $(XSLTPROC_PROCESS_MAN)
2210 $(XSLTPROC_PROCESS_MAN)
2213 $(XSLTPROC_PROCESS_MAN)
2216 $(XSLTPROC_PROCESS_MAN)
2219 $(XSLTPROC_PROCESS_MAN)
2221 man/%.html: man/%.xml
2222 $(XSLTPROC_PROCESS_HTML)
2226 ${XML_FILES:.xml=.html}
2229 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
2231 org.freedesktop.systemd1.%.xml: systemd
2232 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
2233 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
2234 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
2237 $(dbusinterface_DATA)
2239 systemd-install-data-hook:
2240 $(MKDIR_P) -m 0755 \
2241 $(DESTDIR)$(tmpfilesdir) \
2242 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
2243 $(DESTDIR)$(prefix)/lib/modules-load.d \
2244 $(DESTDIR)$(sysconfdir)/modules-load.d \
2245 $(DESTDIR)$(prefix)/lib/sysctl.d \
2246 $(DESTDIR)$(sysconfdir)/sysctl.d \
2247 $(DESTDIR)$(systemshutdowndir) \
2248 $(DESTDIR)$(systemgeneratordir) \
2249 $(DESTDIR)$(usergeneratordir)
2250 $(MKDIR_P) -m 0755 \
2251 $(DESTDIR)$(systemunitdir) \
2252 $(DESTDIR)$(userunitdir) \
2253 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
2254 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
2255 $(DESTDIR)$(systemunitdir)/basic.target.wants \
2256 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
2257 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
2258 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
2259 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
2260 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
2261 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
2262 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
2263 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
2264 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
2265 $(DESTDIR)$(pkgsysconfdir)/system \
2266 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
2267 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
2268 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
2269 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
2270 $(DESTDIR)$(pkgsysconfdir)/user \
2271 $(DESTDIR)$(dbussessionservicedir) \
2272 $(DESTDIR)$(sysconfdir)/xdg/systemd
2273 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
2275 $(LN_S) $(pkgsysconfdir)/user user )
2276 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
2277 rm -f systemd-initctl.socket systemd-shutdownd.socket && \
2278 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
2279 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
2280 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
2281 rm -f systemd-update-utmp-runlevel.service && \
2282 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2283 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
2284 rm -f systemd-update-utmp-runlevel.service && \
2285 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2286 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
2287 rm -f systemd-update-utmp-runlevel.service && \
2288 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2289 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
2290 rm -f systemd-update-utmp-runlevel.service && \
2291 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2292 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
2293 rm -f systemd-update-utmp-runlevel.service && \
2294 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2295 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
2296 rm -f systemd-update-utmp-shutdown.service && \
2297 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service )
2298 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2299 rm -f systemd-remount-api-vfs.service \
2301 remount-rootfs.service \
2304 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
2305 $(LN_S) ../fsck-root.service fsck-root.service && \
2306 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
2307 $(LN_S) ../var-run.mount var-run.mount && \
2308 $(LN_S) ../media.mount media.mount )
2309 ( cd $(DESTDIR)$(userunitdir) && \
2310 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
2311 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
2312 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
2313 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
2314 $(LN_S) $(systemunitdir)/printer.target printer.target && \
2315 $(LN_S) $(systemunitdir)/sound.target sound.target )
2316 ( cd $(DESTDIR)$(systemunitdir) && \
2317 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
2318 $(LN_S) poweroff.target runlevel0.target && \
2319 $(LN_S) rescue.target runlevel1.target && \
2320 $(LN_S) multi-user.target runlevel2.target && \
2321 $(LN_S) multi-user.target runlevel3.target && \
2322 $(LN_S) multi-user.target runlevel4.target && \
2323 $(LN_S) graphical.target runlevel5.target && \
2324 $(LN_S) reboot.target runlevel6.target )
2325 ( cd $(DESTDIR)$(systemunitdir) && \
2326 rm -f default.target ctrl-alt-del.target autovt@.service && \
2327 $(LN_S) graphical.target default.target && \
2328 $(LN_S) reboot.target ctrl-alt-del.target && \
2329 $(LN_S) getty@.service autovt@.service )
2330 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2331 rm -f getty.target systemd-ask-password-wall.path && \
2332 $(LN_S) ../getty.target getty.target && \
2333 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path)
2334 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2335 rm -f getty@tty1.service && \
2336 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
2337 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2338 rm -f remote-fs.target && \
2339 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
2340 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2341 rm -f dev-hugepages.mount \
2343 sys-kernel-config.mount \
2344 sys-kernel-debug.mount \
2345 sys-kernel-security.mount \
2346 sys-fs-fuse-connections.mount \
2347 systemd-modules-load.service \
2348 systemd-tmpfiles-setup.service \
2349 systemd-sysctl.service \
2350 systemd-ask-password-console.path && \
2351 $(LN_S) ../dev-hugepages.mount dev-hugepages.mount && \
2352 $(LN_S) ../dev-mqueue.mount dev-mqueue.mount && \
2353 $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
2354 $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
2355 $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \
2356 $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \
2357 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
2358 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
2359 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
2360 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path )
2361 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
2362 rm -f systemd-tmpfiles-clean.timer && \
2363 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
2364 ( cd $(DESTDIR)$(dbussessionservicedir) && \
2365 rm -f org.freedesktop.systemd1.service && \
2366 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
2368 $(MKDIR_P) -m 0755 \
2369 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
2370 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
2371 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
2372 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
2373 $(DESTDIR)$(systemunitdir)/halt.target.wants
2374 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2375 rm -f plymouth-start.service plymouth-read-write.service && \
2376 $(LN_S) ../plymouth-start.service plymouth-start.service && \
2377 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
2378 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2379 rm -f plymouth-quit.service plymouth-quit-wait.service && \
2380 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
2381 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
2382 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
2383 rm -f plymouth-reboot.service && \
2384 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
2385 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
2386 rm -f plymouth-kexec.service && \
2387 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
2388 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
2389 rm -f plymouth-poweroff.service && \
2390 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
2391 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
2392 rm -f plymouth-halt.service && \
2393 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
2396 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2397 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2398 rm -f network.target && \
2399 $(LN_S) $(systemunitdir)/network.target network.target )
2400 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
2402 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
2404 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2406 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2411 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2412 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2413 rm -f halt-local.service && \
2414 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2415 ( cd $(DESTDIR)$(systemunitdir) && \
2416 rm -f display-manager.service single.service && \
2417 $(LN_S) prefdm.service display-manager.service && \
2418 $(LN_S) rescue.service single.service )
2419 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2420 rm -f display-manager.service && \
2421 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2425 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2426 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2427 rm -f halt-local.service && \
2428 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2429 ( cd $(DESTDIR)$(systemunitdir) && \
2430 rm -f display-manager.service dm.service single.service && \
2431 $(LN_S) prefdm.service display-manager.service && \
2432 $(LN_S) prefdm.service dm.service && \
2433 $(LN_S) rescue.service single.service )
2434 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2435 rm -f display-manager.service && \
2436 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2439 if TARGET_DEBIAN_OR_UBUNTU
2440 ( cd $(DESTDIR)$(systemunitdir) && \
2441 rm -f runlevel5.target && \
2442 $(LN_S) multi-user.target runlevel5.target )
2446 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2447 ( cd $(DESTDIR)$(systemunitdir) && \
2448 rm -f local.service && \
2449 $(LN_S) rc-local.service local.service )
2450 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2451 rm -f halt-local.service && \
2452 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2456 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2457 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2458 rm -f halt-local.service && \
2459 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2460 ( cd $(DESTDIR)$(systemunitdir) && \
2461 rm -f display-manager.service && \
2462 $(LN_S) prefdm.service display-manager.service && \
2463 $(LN_S) prefdm.service dm.service )
2464 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2465 rm -f display-manager.service && \
2466 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2470 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2471 rm -f var-lock.mount && \
2472 $(LN_S) ../var-lock.mount var-lock.mount )
2475 install-exec-hook: $(INSTALL_EXEC_HOOKS)
2477 uninstall-hook: $(UNINSTALL_EXEC_HOOKS)
2479 install-data-hook: systemd-install-data-hook $(INSTALL_DATA_HOOKS)
2481 DISTCHECK_CONFIGURE_FLAGS = \
2482 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2483 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2484 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2485 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2486 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2487 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2488 --with-rootprefix=$$dc_install_base/$(prefix)
2491 upload: all distcheck
2492 cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
2493 scp systemd-$(VERSION).tar.xz fdo:/srv/www.freedesktop.org/www/software/systemd/
2494 scp man/*.html fdo:/srv/www.freedesktop.org/www/software/systemd/man/
2495 scp man/*.html tango:public/systemd-man/
2498 git tag "v$(VERSION)" -m "systemd $(VERSION)"