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-stdout-syslog-bridge \
185 systemd-cgroups-agent \
187 systemd-update-utmp \
190 systemd-modules-load \
191 systemd-remount-api-vfs \
192 systemd-kmsg-syslogd \
193 systemd-reply-password \
197 systemd-detect-virt \
200 systemgenerator_PROGRAMS = \
201 systemd-getty-generator
215 dist_pkgsysconf_DATA = \
219 dist_dbuspolicy_DATA = \
220 src/org.freedesktop.systemd1.conf
222 dist_dbussystemservice_DATA = \
223 src/org.freedesktop.systemd1.service
225 dist_udevrules_DATA = \
228 nodist_udevrules_DATA = \
229 src/73-seat-late.rules \
232 dbusinterface_DATA = \
233 org.freedesktop.systemd1.Manager.xml \
234 org.freedesktop.systemd1.Job.xml \
235 org.freedesktop.systemd1.Unit.xml \
236 org.freedesktop.systemd1.Service.xml \
237 org.freedesktop.systemd1.Socket.xml \
238 org.freedesktop.systemd1.Timer.xml \
239 org.freedesktop.systemd1.Target.xml \
240 org.freedesktop.systemd1.Device.xml \
241 org.freedesktop.systemd1.Mount.xml \
242 org.freedesktop.systemd1.Automount.xml \
243 org.freedesktop.systemd1.Snapshot.xml \
244 org.freedesktop.systemd1.Swap.xml \
245 org.freedesktop.systemd1.Path.xml
247 dist_bashcompletion_DATA = \
248 src/systemd-bash-completion.sh
250 dist_tmpfiles_DATA = \
251 tmpfiles.d/systemd.conf \
252 tmpfiles.d/tmp.conf \
256 dist_tmpfiles_DATA += \
257 tmpfiles.d/legacy.conf
260 dist_systemunit_DATA = \
261 units/graphical.target \
262 units/multi-user.target \
263 units/emergency.service \
264 units/emergency.target \
265 units/sysinit.target \
270 units/local-fs.target \
271 units/local-fs-pre.target \
272 units/remote-fs.target \
273 units/remote-fs-pre.target \
274 units/network.target \
275 units/nss-lookup.target \
276 units/mail-transfer-agent.target \
277 units/http-daemon.target \
278 units/poweroff.target \
279 units/reboot.target \
280 units/rescue.target \
281 units/rpcbind.target \
282 units/time-sync.target \
283 units/shutdown.target \
285 units/umount.target \
286 units/sigpwr.target \
287 units/sockets.target \
289 units/systemd-initctl.socket \
290 units/systemd-stdout-syslog-bridge.socket \
291 units/systemd-shutdownd.socket \
292 units/syslog.socket \
293 units/dev-hugepages.mount \
294 units/dev-mqueue.mount \
295 units/sys-kernel-config.mount \
296 units/sys-kernel-debug.mount \
297 units/sys-kernel-security.mount \
298 units/sys-fs-fuse-connections.mount \
299 units/var-run.mount \
301 units/remount-rootfs.service \
302 units/printer.target \
304 units/bluetooth.target \
305 units/smartcard.target \
306 units/systemd-tmpfiles-clean.timer \
307 units/quotaon.service \
308 units/systemd-ask-password-wall.path \
309 units/systemd-ask-password-console.path \
313 dist_systemunit_DATA += \
317 nodist_systemunit_DATA = \
318 units/getty@.service \
319 units/serial-getty@.service \
320 units/console-shell.service \
321 units/systemd-initctl.service \
322 units/systemd-stdout-syslog-bridge.service \
323 units/systemd-shutdownd.service \
324 units/systemd-kmsg-syslogd.service \
325 units/systemd-modules-load.service \
326 units/systemd-remount-api-vfs.service \
327 units/systemd-update-utmp-runlevel.service \
328 units/systemd-update-utmp-shutdown.service \
329 units/systemd-tmpfiles-setup.service \
330 units/systemd-tmpfiles-clean.service \
331 units/systemd-ask-password-wall.service \
332 units/systemd-ask-password-console.service \
333 units/systemd-sysctl.service \
335 units/poweroff.service \
336 units/reboot.service \
337 units/kexec.service \
338 units/fsck@.service \
339 units/fsck-root.service \
340 units/rescue.service \
343 dist_userunit_DATA = \
344 units/user/default.target \
345 units/user/exit.target
347 nodist_userunit_DATA = \
348 units/user/exit.service
351 units/getty@.service.m4 \
352 units/serial-getty@.service.m4 \
353 units/console-shell.service.m4 \
354 units/rescue.service.m4 \
355 units/systemd-initctl.service.in \
356 units/systemd-stdout-syslog-bridge.service.in \
357 units/systemd-shutdownd.service.in \
358 units/systemd-kmsg-syslogd.service.in \
359 units/systemd-modules-load.service.in \
360 units/systemd-remount-api-vfs.service.in \
361 units/systemd-update-utmp-runlevel.service.in \
362 units/systemd-update-utmp-shutdown.service.in \
363 units/systemd-tmpfiles-setup.service.in \
364 units/systemd-tmpfiles-clean.service.in \
365 units/systemd-ask-password-wall.service.in \
366 units/systemd-ask-password-console.service.in \
367 units/systemd-sysctl.service.in \
368 units/halt.service.in \
369 units/poweroff.service.in \
370 units/reboot.service.in \
371 units/kexec.service.in \
372 units/user/exit.service.in \
373 units/fsck@.service.in \
374 units/fsck-root.service.in \
375 units/user@.service.in \
378 src/73-seat-late.rules.in \
379 src/99-systemd.rules.in \
383 dist_systemunit_DATA += \
384 units/fedora/prefdm.service \
385 units/fedora/rc-local.service \
386 units/fedora/halt-local.service
387 systemgenerator_PROGRAMS += \
388 systemd-rc-local-generator
392 dist_systemunit_DATA += \
393 units/mandriva/prefdm.service \
394 units/fedora/rc-local.service \
395 units/fedora/halt-local.service
396 systemgenerator_PROGRAMS += \
397 systemd-rc-local-generator
401 dist_systemunit_DATA += \
402 units/frugalware/display-manager.service
406 dist_systemunit_DATA += \
407 units/suse/rc-local.service \
408 units/suse/halt-local.service
409 systemgenerator_PROGRAMS += \
410 systemd-rc-local-generator
414 dist_systemunit_DATA += \
415 units/mageia/prefdm.service \
416 units/fedora/rc-local.service \
417 units/fedora/halt-local.service
418 systemgenerator_PROGRAMS += \
419 systemd-rc-local-generator
423 dist_systemunit_DATA += \
424 units/plymouth-start.service \
425 units/plymouth-read-write.service \
426 units/plymouth-quit.service \
427 units/plymouth-quit-wait.service \
428 units/plymouth-reboot.service \
429 units/plymouth-kexec.service \
430 units/plymouth-poweroff.service \
431 units/plymouth-halt.service \
432 units/systemd-ask-password-plymouth.path
434 nodist_systemunit_DATA += \
435 units/systemd-ask-password-plymouth.service
438 units/systemd-ask-password-plymouth.service.in
446 pkgconfigdata_DATA = \
449 # First passed through sed, followed by intltool
450 polkitpolicy_in_in_files = \
451 src/org.freedesktop.systemd1.policy.in.in
453 nodist_polkitpolicy_DATA = \
454 $(polkitpolicy_in_files:.policy.in=.policy) \
455 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
458 $(polkitpolicy_in_files) \
459 $(polkitpolicy_in_in_files)
461 @INTLTOOL_POLICY_RULE@
463 noinst_LTLIBRARIES = \
464 libsystemd-basic.la \
467 libsystemd_basic_la_SOURCES = \
480 libsystemd_basic_la_CFLAGS = \
484 libsystemd_basic_la_LIBADD = \
488 libsystemd_core_la_SOURCES = \
493 src/load-fragment.c \
516 src/dbus-automount.c \
518 src/dbus-snapshot.c \
524 src/hostname-setup.c \
525 src/selinux-setup.c \
526 src/loopback-setup.c \
529 src/machine-id-setup.c \
543 nodist_libsystemd_core_la_SOURCES = \
544 src/load-fragment-gperf.c \
545 src/load-fragment-gperf-nulstr.c
548 src/load-fragment-gperf.gperf.m4
550 libsystemd_core_la_CFLAGS = \
558 libsystemd_core_la_LIBADD = \
559 libsystemd-basic.la \
567 # This is needed because automake is buggy in how it generates the
568 # rules for C programs, but not Vala programs. We therefore can't
569 # list the .h files as dependencies if we want make dist to work.
587 src/load-fragment.h \
610 src/dbus-automount.h \
612 src/dbus-snapshot.h \
618 src/hostname-setup.h \
619 src/selinux-setup.h \
620 src/loopback-setup.h \
623 src/machine-id-setup.h \
640 src/linux/auto_dev-ioctl.h \
641 src/linux/fanotify.h \
650 src/ask-password-api.h \
664 man/systemd-nspawn.1 \
665 man/systemd-tmpfiles.8 \
666 man/systemd-notify.1 \
668 man/systemd.service.5 \
669 man/systemd.socket.5 \
670 man/systemd.mount.5 \
671 man/systemd.automount.5 \
673 man/systemd.timer.5 \
675 man/systemd.target.5 \
676 man/systemd.device.5 \
677 man/systemd.snapshot.5 \
693 man/modules-load.d.5 \
695 man/systemd-ask-password.1
702 man/reboot.8: man/halt.8
703 man/poweroff.8: man/halt.8
704 man/init.1: man/systemd.1
711 man/systemd.special.7
714 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
717 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
720 ${XML_FILES:.xml=.html}
722 nodist_noinst_DATA = \
723 ${XML_IN_FILES:.xml.in=.html}
728 ${nodist_man_MANS:=.in} \
729 ${XML_IN_FILES:.xml.in=.html.in}
742 test_engine_SOURCES = \
745 test_engine_CFLAGS = $(systemd_CFLAGS)
746 test_engine_LDADD = $(systemd_LDADD)
748 test_job_type_SOURCES = \
751 test_job_type_CFLAGS = $(systemd_CFLAGS)
752 test_job_type_LDADD = $(systemd_LDADD)
757 test_ns_CFLAGS = $(systemd_CFLAGS)
758 test_ns_LDADD = $(systemd_LDADD)
760 test_loopback_SOURCES = \
761 src/test-loopback.c \
764 test_loopback_LDADD = \
767 test_hostname_SOURCES = \
768 src/test-hostname.c \
771 test_hostname_LDADD = \
774 test_daemon_SOURCES = \
777 test_daemon_LDADD = \
778 libsystemd-basic.la \
781 test_cgroup_SOURCES = \
785 test_cgroup_LDADD = \
788 test_env_replace_SOURCES = \
789 src/test-env-replace.c
791 test_env_replace_LDADD = \
794 test_strv_SOURCES = \
801 test_install_SOURCES = \
807 test_install_CFLAGS = \
811 test_install_LDADD = \
814 systemd_stdout_syslog_bridge_SOURCES = \
815 src/stdout-syslog-bridge.c \
818 systemd_stdout_syslog_bridge_LDADD = \
819 libsystemd-basic.la \
820 libsystemd-daemon.la \
823 systemd_initctl_SOURCES = \
827 systemd_initctl_CFLAGS = \
831 systemd_initctl_LDADD = \
832 libsystemd-basic.la \
833 libsystemd-daemon.la \
836 systemd_update_utmp_SOURCES = \
841 systemd_update_utmp_CFLAGS = \
846 systemd_update_utmp_LDADD = \
847 libsystemd-basic.la \
851 systemd_shutdownd_SOURCES = \
855 systemd_shutdownd_CFLAGS = \
858 systemd_shutdownd_LDADD = \
859 libsystemd-basic.la \
862 systemd_shutdown_SOURCES = \
867 systemd_shutdown_CFLAGS = \
871 systemd_shutdown_LDADD = \
872 libsystemd-basic.la \
875 systemd_modules_load_SOURCES = \
878 systemd_modules_load_LDADD = \
881 systemd_tmpfiles_SOURCES = \
884 systemd_tmpfiles_LDADD = \
887 systemd_machine_id_setup_SOURCES = \
888 src/machine-id-setup.c \
889 src/machine-id-main.c \
892 systemd_machine_id_setup_LDADD = \
895 systemd_sysctl_SOURCES = \
898 systemd_sysctl_LDADD = \
901 systemd_fsck_SOURCES = \
905 systemd_fsck_CFLAGS = \
910 systemd_fsck_LDADD = \
911 libsystemd-basic.la \
915 systemd_timestamp_SOURCES = \
918 systemd_timestamp_LDADD = \
921 systemd_ac_power_SOURCES = \
924 systemd_ac_power_CFLAGS = \
928 systemd_ac_power_LDADD = \
929 libsystemd-basic.la \
932 systemd_detect_virt_SOURCES = \
935 systemd_detect_virt_LDADD = \
938 systemd_getty_generator_SOURCES = \
939 src/getty-generator.c \
942 systemd_getty_generator_LDADD = \
945 systemd_rc_local_generator_SOURCES = \
946 src/rc-local-generator.c
948 systemd_rc_local_generator_LDADD = \
951 systemd_remount_api_vfs_SOURCES = \
952 src/remount-api-vfs.c \
956 systemd_remount_api_vfs_LDADD = \
959 systemd_cgroups_agent_SOURCES = \
960 src/cgroups-agent.c \
963 systemd_cgroups_agent_CFLAGS = \
967 systemd_cgroups_agent_LDADD = \
968 libsystemd-basic.la \
971 systemd_kmsg_syslogd_SOURCES = \
975 systemd_kmsg_syslogd_LDADD = \
976 libsystemd-basic.la \
979 systemctl_SOURCES = \
998 libsystemd-basic.la \
999 libsystemd-daemon.la \
1000 libsystemd-journal.la \
1003 systemd_notify_SOURCES = \
1005 src/readahead/sd-readahead.c
1007 systemd_notify_LDADD = \
1008 libsystemd-basic.la \
1009 libsystemd-daemon.la
1011 systemd_ask_password_SOURCES = \
1012 src/ask-password.c \
1013 src/ask-password-api.c
1015 systemd_ask_password_LDADD = \
1018 systemd_reply_password_SOURCES = \
1019 src/reply-password.c
1021 systemd_reply_password_LDADD = \
1024 systemd_cgls_SOURCES = \
1030 systemd_cgls_LDADD = \
1033 systemd_nspawn_SOURCES = \
1036 src/loopback-setup.c
1038 systemd_nspawn_LDADD = \
1039 libsystemd-basic.la \
1040 libsystemd-daemon.la
1042 systemd_stdio_bridge_SOURCES = \
1045 systemd_stdio_bridge_LDADD = \
1048 systemadm_SOURCES = \
1049 src/systemadm.vala \
1050 src/systemd-interfaces.vala \
1053 systemadm_CFLAGS = \
1056 -Wno-unused-variable \
1057 -Wno-unused-function \
1059 -Wno-format-nonliteral
1061 systemadm_VALAFLAGS = \
1070 systemd_gnome_ask_password_agent_SOURCES = \
1071 src/gnome-ask-password-agent.vala
1073 systemd_gnome_ask_password_agent_CFLAGS = \
1075 $(LIBNOTIFY_CFLAGS) \
1077 -Wno-unused-variable \
1078 -Wno-unused-function \
1080 -Wno-format-nonliteral
1082 systemd_gnome_ask_password_agent_VALAFLAGS = \
1086 --pkg=gio-unix-2.0 \
1090 systemd_gnome_ask_password_agent_LDADD = \
1094 systemd_tty_ask_password_agent_SOURCES = \
1095 src/tty-ask-password-agent.c \
1096 src/ask-password-api.c \
1099 systemd_tty_ask_password_agent_LDADD = \
1102 # ------------------------------------------------------------------------------
1103 libsystemd_daemon_la_SOURCES = \
1106 libsystemd_daemon_la_CFLAGS = \
1108 -fvisibility=hidden \
1111 libsystemd_daemon_la_LDFLAGS = \
1113 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1114 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1116 pkginclude_HEADERS += \
1117 src/systemd/sd-daemon.h
1119 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1120 libsystemd-daemon-install-hook:
1121 if test "$(libdir)" != "$(rootlibdir)"; then \
1122 mkdir -p $(DESTDIR)$(rootlibdir) && \
1123 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1124 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1125 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1126 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1129 INSTALL_EXEC_HOOKS += \
1130 libsystemd-daemon-install-hook
1132 libsystemd-daemon-uninstall-hook:
1133 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1135 UNINSTALL_EXEC_HOOKS += \
1136 libsystemd-daemon-uninstall-hook
1138 lib_LTLIBRARIES += \
1139 libsystemd-daemon.la
1141 pkgconfiglib_DATA += \
1142 libsystemd-daemon.pc
1147 man/sd_listen_fds.3 \
1152 man/sd_is_socket.3 \
1153 man/sd_is_socket_unix.3 \
1154 man/sd_is_socket_inet.3 \
1158 man/sd_is_socket.3: man/sd_is_fifo.3
1159 man/sd_is_socket_unix.3: man/sd_is_fifo.3
1160 man/sd_is_socket_inet.3: man/sd_is_fifo.3
1161 man/sd_is_mq.3: man/sd_is_fifo.3
1162 man/sd_notifyf.3: man/sd_notify.3
1165 libsystemd-daemon.pc.in \
1166 src/libsystemd-daemon.sym
1168 # ------------------------------------------------------------------------------
1169 libsystemd_id128_la_SOURCES = \
1172 libsystemd_id128_la_CFLAGS = \
1176 libsystemd_id128_la_LDFLAGS = \
1178 -version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
1179 -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128.sym
1181 libsystemd_id128_la_LIBADD = \
1184 test_id128_SOURCES = \
1188 test_id128_LDADD = \
1191 noinst_PROGRAMS += \
1194 pkginclude_HEADERS += \
1195 src/systemd/sd-id128.h
1197 lib_LTLIBRARIES += \
1200 pkgconfiglib_DATA += \
1203 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1204 libsystemd-id128-install-hook:
1205 if test "$(libdir)" != "$(rootlibdir)"; then \
1206 mkdir -p $(DESTDIR)$(rootlibdir) && \
1207 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-id128.so) && \
1208 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1209 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-id128.so && \
1210 mv $(DESTDIR)$(libdir)/libsystemd-id128.so.* $(DESTDIR)$(rootlibdir); \
1213 INSTALL_EXEC_HOOKS += \
1214 libsystemd-id128-install-hook
1216 libsystemd-id128-uninstall-hook:
1217 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
1219 UNINSTALL_EXEC_HOOKS += \
1220 libsystemd-id128-uninstall-hook
1223 libsystemd-id128.pc.in \
1224 src/libsystemd-id128.sym
1226 # ------------------------------------------------------------------------------
1227 systemd_journald_SOURCES = \
1228 src/journal/journald.c \
1229 src/journal/sd-journal.c \
1230 src/journal/journal-file.c \
1231 src/journal/lookup3.c \
1232 src/journal/journal-rate-limit.c \
1237 nodist_systemd_journald_SOURCES = \
1238 src/journal/journald-gperf.c
1240 systemd_journald_CFLAGS = \
1244 systemd_journald_LDADD = \
1245 libsystemd-basic.la \
1246 libsystemd-daemon.la \
1247 libsystemd-login.la \
1251 systemd_journald_SOURCES += \
1252 src/journal/compress.c
1253 systemd_journald_CFLAGS += \
1255 systemd_journald_LDADD += \
1259 systemd_journalctl_SOURCES = \
1260 src/journal/journalctl.c \
1264 systemd_journalctl_LDADD = \
1265 libsystemd-basic.la \
1266 libsystemd-journal.la
1269 systemd_journalctl_SOURCES += \
1270 src/journal/compress.c
1271 systemd_journalctl_CFLAGS = \
1274 systemd_journalctl_LDADD += \
1278 test_journal_SOURCES = \
1279 src/journal/test-journal.c \
1280 src/journal/sd-journal.c \
1281 src/journal/journal-file.c \
1282 src/journal/lookup3.c \
1283 src/journal/journal-send.c \
1286 test_journal_LDADD = \
1290 test_journal_SOURCES += \
1291 src/journal/compress.c
1293 test_journal_CFLAGS = \
1297 test_journal_LDADD += \
1301 libsystemd_journal_la_SOURCES = \
1302 src/journal/sd-journal.c \
1303 src/journal/journal-file.c \
1304 src/journal/lookup3.c \
1305 src/journal/journal-send.c
1307 libsystemd_journal_la_CFLAGS = \
1311 libsystemd_journal_la_LDFLAGS = \
1313 -version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
1314 -Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
1316 libsystemd_journal_la_LIBADD = \
1317 libsystemd-basic.la \
1321 libsystemd_journal_la_SOURCES += \
1322 src/journal/compress.c
1324 libsystemd_journal_la_CFLAGS += \
1327 libsystemd_journal_la_LIBADD += \
1331 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1332 libsystemd-journal-install-hook:
1333 if test "$(libdir)" != "$(rootlibdir)"; then \
1334 mkdir -p $(DESTDIR)$(rootlibdir) && \
1335 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-journal.so) && \
1336 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1337 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-journal.so && \
1338 mv $(DESTDIR)$(libdir)/libsystemd-journal.so.* $(DESTDIR)$(rootlibdir); \
1341 INSTALL_EXEC_HOOKS += \
1342 libsystemd-journal-install-hook
1344 libsystemd-journal-uninstall-hook:
1345 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
1347 UNINSTALL_EXEC_HOOKS += \
1348 libsystemd-journal-uninstall-hook
1350 noinst_PROGRAMS += \
1353 pkginclude_HEADERS += \
1354 src/systemd/sd-journal.h \
1355 src/systemd/sd-messages.h
1357 lib_LTLIBRARIES += \
1358 libsystemd-journal.la
1360 rootlibexec_PROGRAMS += \
1363 rootbin_PROGRAMS += \
1366 dist_systemunit_DATA += \
1367 units/systemd-journald.socket
1369 nodist_systemunit_DATA += \
1370 units/systemd-journald.service
1372 dist_pkgsysconf_DATA += \
1373 src/journal/systemd-journald.conf
1375 pkgconfiglib_DATA += \
1376 src/journal/libsystemd-journal.pc
1378 journal-install-data-hook:
1379 $(MKDIR_P) -m 0755 \
1380 $(DESTDIR)$(systemunitdir)/sockets.target.wants
1381 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1382 rm -f systemd-journald.socket && \
1383 $(LN_S) ../systemd-journald.socket )
1385 INSTALL_DATA_HOOKS += \
1386 journal-install-data-hook
1389 src/journal/journald.h \
1390 src/journal/journal-def.h \
1391 src/journal/journal-internal.h \
1392 src/journal/journal-file.h \
1393 src/journal/lookup3.h \
1394 src/journal/compress.h \
1395 src/journal/journal-rate-limit.h \
1396 src/journal/libsystemd-journal.pc.in \
1397 src/journal/libsystemd-journal.sym \
1398 units/systemd-journald.service.in \
1399 src/journal/journald-gperf.gperf
1402 src/journal/journald-gperf.c
1404 # ------------------------------------------------------------------------------
1406 systemd_binfmt_SOURCES = \
1409 systemd_binfmt_LDADD = \
1412 rootlibexec_PROGRAMS += \
1415 dist_systemunit_DATA += \
1416 units/proc-sys-fs-binfmt_misc.automount \
1417 units/proc-sys-fs-binfmt_misc.mount
1419 nodist_systemunit_DATA += \
1420 units/systemd-binfmt.service
1422 binfmt-install-data-hook:
1423 $(MKDIR_P) -m 0755 \
1424 $(DESTDIR)$(prefix)/lib/binfmt.d \
1425 $(DESTDIR)$(sysconfdir)/binfmt.d \
1426 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1427 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1428 rm -f systemd-binfmt.service \
1429 proc-sys-fs-binfmt_misc.automount && \
1430 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1431 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1433 INSTALL_DATA_HOOKS += \
1434 binfmt-install-data-hook
1440 units/systemd-binfmt.service.in
1443 # ------------------------------------------------------------------------------
1445 systemd_vconsole_setup_SOURCES = \
1446 src/vconsole/vconsole-setup.c
1448 systemd_vconsole_setup_LDADD = \
1451 rootlibexec_PROGRAMS += \
1452 systemd-vconsole-setup
1454 nodist_systemunit_DATA += \
1455 units/systemd-vconsole-setup.service
1457 vconsole-install-data-hook:
1458 $(MKDIR_P) -m 0755 \
1459 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1460 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1461 rm -f systemd-vconsole-setup.service && \
1462 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service )
1464 INSTALL_DATA_HOOKS += \
1465 vconsole-install-data-hook
1471 units/systemd-vconsole-setup.service.in
1474 # ------------------------------------------------------------------------------
1476 systemd_readahead_collect_SOURCES = \
1477 src/readahead/readahead-collect.c \
1478 src/readahead/readahead-common.c
1480 systemd_readahead_collect_LDADD = \
1481 libsystemd-basic.la \
1482 libsystemd-daemon.la \
1485 systemd_readahead_collect_CFLAGS = \
1489 systemd_readahead_replay_SOURCES = \
1490 src/readahead/readahead-replay.c \
1491 src/readahead/readahead-common.c
1493 systemd_readahead_replay_CFLAGS = \
1497 systemd_readahead_replay_LDADD = \
1498 libsystemd-basic.la \
1499 libsystemd-daemon.la \
1502 rootlibexec_PROGRAMS += \
1503 systemd-readahead-collect \
1504 systemd-readahead-replay
1506 dist_systemunit_DATA += \
1507 units/systemd-readahead-done.timer
1509 nodist_systemunit_DATA += \
1510 units/systemd-readahead-collect.service \
1511 units/systemd-readahead-replay.service \
1512 units/systemd-readahead-done.service
1515 src/systemd/sd-readahead.h \
1516 src/readahead/readahead-common.h \
1517 units/systemd-readahead-collect.service.in \
1518 units/systemd-readahead-replay.service.in \
1519 units/systemd-readahead-done.service.in
1522 man/sd_readahead.3 \
1526 # ------------------------------------------------------------------------------
1527 if ENABLE_QUOTACHECK
1528 rootlibexec_PROGRAMS += \
1531 nodist_systemunit_DATA += \
1532 units/quotacheck.service
1535 units/quotacheck.service.in
1537 systemd_quotacheck_SOURCES = \
1540 systemd_quotacheck_LDADD = \
1544 # ------------------------------------------------------------------------------
1545 if ENABLE_RANDOMSEED
1546 rootlibexec_PROGRAMS += \
1549 nodist_systemunit_DATA += \
1550 units/systemd-random-seed-save.service \
1551 units/systemd-random-seed-load.service
1554 units/systemd-random-seed-save.service.in \
1555 units/systemd-random-seed-load.service.in
1557 systemd_random_seed_SOURCES = \
1560 systemd_random_seed_LDADD = \
1563 randomseed-install-data-hook:
1564 $(MKDIR_P) -m 0755 \
1565 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1566 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1567 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1568 rm -f systemd-random-seed-save.service && \
1569 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1570 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1571 rm -f systemd-random-seed-load.service && \
1572 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service )
1574 INSTALL_DATA_HOOKS += \
1575 randomseed-install-data-hook
1578 # ------------------------------------------------------------------------------
1579 if HAVE_LIBCRYPTSETUP
1580 rootlibexec_PROGRAMS += \
1583 systemgenerator_PROGRAMS += \
1584 systemd-cryptsetup-generator
1586 dist_systemunit_DATA += \
1587 units/cryptsetup.target
1589 systemd_cryptsetup_SOURCES = \
1590 src/cryptsetup/cryptsetup.c \
1591 src/ask-password-api.c
1593 systemd_cryptsetup_CFLAGS = \
1595 $(LIBCRYPTSETUP_CFLAGS) \
1598 systemd_cryptsetup_LDADD = \
1599 $(LIBCRYPTSETUP_LIBS) \
1603 systemd_cryptsetup_generator_SOURCES = \
1604 src/cryptsetup/cryptsetup-generator.c \
1607 systemd_cryptsetup_generator_LDADD = \
1610 cryptsetup-install-data-hook:
1611 $(MKDIR_P) -m 0755 \
1612 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1613 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1614 rm -f cryptsetup.target && \
1615 $(LN_S) ../cryptsetup.target cryptsetup.target )
1617 INSTALL_DATA_HOOKS += \
1618 cryptsetup-install-data-hook
1621 # ------------------------------------------------------------------------------
1623 systemd_hostnamed_SOURCES = \
1624 src/hostname/hostnamed.c \
1628 systemd_hostnamed_CFLAGS = \
1632 systemd_hostnamed_LDADD = \
1633 libsystemd-basic.la \
1634 libsystemd-daemon.la \
1637 rootlibexec_PROGRAMS += \
1640 nodist_systemunit_DATA += \
1641 units/systemd-hostnamed.service
1643 dist_dbuspolicy_DATA += \
1644 src/hostname/org.freedesktop.hostname1.conf
1646 dist_dbussystemservice_DATA += \
1647 src/hostname/org.freedesktop.hostname1.service
1649 polkitpolicy_in_files += \
1650 src/hostname/org.freedesktop.hostname1.policy.in
1652 dbusinterface_DATA += \
1653 org.freedesktop.hostname1.xml
1655 org.freedesktop.hostname1.xml: systemd-hostnamed
1656 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1657 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1658 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1660 hostnamed-install-data-hook:
1661 ( cd $(DESTDIR)$(systemunitdir) && \
1662 rm -f dbus-org.freedesktop.hostname1.service && \
1663 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1665 INSTALL_DATA_HOOKS += \
1666 hostnamed-install-data-hook
1669 units/systemd-hostnamed.service.in
1672 # ------------------------------------------------------------------------------
1674 systemd_localed_SOURCES = \
1675 src/locale/localed.c \
1679 systemd_localed_CFLAGS = \
1683 systemd_localed_LDADD = \
1684 libsystemd-basic.la \
1685 libsystemd-daemon.la \
1688 nodist_systemunit_DATA += \
1689 units/systemd-localed.service
1691 rootlibexec_PROGRAMS += \
1694 dist_dbuspolicy_DATA += \
1695 src/locale/org.freedesktop.locale1.conf
1697 dist_dbussystemservice_DATA += \
1698 src/locale/org.freedesktop.locale1.service
1700 polkitpolicy_in_files += \
1701 src/locale/org.freedesktop.locale1.policy.in
1703 dbusinterface_DATA += \
1704 org.freedesktop.locale1.xml
1706 org.freedesktop.locale1.xml: systemd-localed
1707 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1708 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1709 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1711 localed-install-data-hook:
1712 ( cd $(DESTDIR)$(systemunitdir) && \
1713 rm -f dbus-org.freedesktop.locale1.service && \
1714 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1716 INSTALL_DATA_HOOKS += \
1717 localed-install-data-hook
1720 units/systemd-localed.service.in
1722 dist_pkgdata_DATA = \
1723 src/locale/kbd-model-map
1725 dist_noinst_SCRIPT = \
1726 src/locale/generate-kbd-model-map
1728 update-kbd-model-map:
1729 src/locale/generate-kbd-model-map > src/locale/kbd-model-map
1733 # ------------------------------------------------------------------------------
1735 systemd_timedated_SOURCES = \
1736 src/timedate/timedated.c \
1740 systemd_timedated_CFLAGS = \
1744 systemd_timedated_LDADD = \
1745 libsystemd-basic.la \
1746 libsystemd-daemon.la \
1749 rootlibexec_PROGRAMS += \
1752 dist_dbussystemservice_DATA += \
1753 src/timedate/org.freedesktop.timedate1.service
1755 dist_dbuspolicy_DATA += \
1756 src/timedate/org.freedesktop.timedate1.conf
1758 nodist_systemunit_DATA += \
1759 units/systemd-timedated.service
1761 polkitpolicy_in_files += \
1762 src/timedate/org.freedesktop.timedate1.policy.in
1764 org.freedesktop.timedate1.xml: systemd-timedated
1765 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1766 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1767 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1769 dbusinterface_DATA += \
1770 org.freedesktop.timedate1.xml
1772 timedated-install-data-hook:
1773 ( cd $(DESTDIR)$(systemunitdir) && \
1774 rm -f dbus-org.freedesktop.timedate1.service && \
1775 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1777 INSTALL_DATA_HOOKS += \
1778 timedated-install-data-hook
1781 units/systemd-timedated.service.in
1784 # ------------------------------------------------------------------------------
1786 systemd_logind_SOURCES = \
1787 src/login/logind.c \
1788 src/login/logind-dbus.c \
1789 src/login/logind-device.c \
1790 src/login/logind-seat.c \
1791 src/login/logind-seat-dbus.c \
1792 src/login/logind-session.c \
1793 src/login/logind-session-dbus.c \
1794 src/login/logind-user.c \
1795 src/login/logind-user-dbus.c \
1801 nodist_systemd_logind_SOURCES = \
1802 src/login/logind-gperf.c
1805 systemd_logind_SOURCES += \
1806 src/login/logind-acl.c \
1810 systemd_logind_CFLAGS = \
1816 systemd_logind_LDADD = \
1817 libsystemd-basic.la \
1818 libsystemd-daemon.la \
1823 systemd_user_sessions_SOURCES = \
1824 src/login/user-sessions.c \
1827 systemd_user_sessions_LDADD = \
1830 rootlibexec_PROGRAMS += \
1832 systemd-user-sessions
1834 systemd_loginctl_SOURCES = \
1835 src/login/loginctl.c \
1842 systemd_loginctl_CFLAGS = \
1847 systemd_loginctl_LDADD = \
1848 libsystemd-basic.la \
1852 rootbin_PROGRAMS += \
1855 test_login_SOURCES = \
1856 src/login/test-login.c
1858 test_login_LDADD = \
1859 libsystemd-basic.la \
1862 noinst_PROGRAMS += \
1865 libsystemd_login_la_SOURCES = \
1866 src/login/sd-login.c \
1869 libsystemd_login_la_CFLAGS = \
1873 libsystemd_login_la_LDFLAGS = \
1875 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1876 -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
1878 libsystemd_login_la_LIBADD = \
1882 pam_systemd_la_SOURCES = \
1883 src/login/pam-module.c \
1886 pam_systemd_la_CFLAGS = \
1892 pam_systemd_la_LDFLAGS = \
1897 -export-symbols-regex '^pam_sm_.*'
1899 pam_systemd_la_LIBADD = \
1900 libsystemd-basic.la \
1901 libsystemd-daemon.la \
1905 pamlib_LTLIBRARIES = \
1909 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1910 libsystemd-login-install-hook:
1911 if test "$(libdir)" != "$(rootlibdir)"; then \
1912 mkdir -p $(DESTDIR)$(rootlibdir) && \
1913 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1914 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1915 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1916 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1919 INSTALL_EXEC_HOOKS += \
1920 libsystemd-login-install-hook
1922 libsystemd-login-uninstall-hook:
1923 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1925 UNINSTALL_EXEC_HOOKS += \
1926 libsystemd-login-uninstall-hook
1928 nodist_systemunit_DATA += \
1929 units/systemd-logind.service \
1930 units/systemd-user-sessions.service
1932 dist_dbussystemservice_DATA += \
1933 src/login/org.freedesktop.login1.service
1935 dist_dbuspolicy_DATA += \
1936 src/login/org.freedesktop.login1.conf
1938 dist_pkgsysconf_DATA += \
1939 src/login/systemd-logind.conf
1941 pkginclude_HEADERS += \
1942 src/systemd/sd-login.h
1944 lib_LTLIBRARIES += \
1947 pkgconfiglib_DATA += \
1948 src/login/libsystemd-login.pc
1950 polkitpolicy_in_files += \
1951 src/login/org.freedesktop.login1.policy.in
1953 logind-install-data-hook:
1954 $(MKDIR_P) -m 0755 \
1955 $(DESTDIR)$(systemunitdir)/multi-user.target.wants
1956 ( cd $(DESTDIR)$(systemunitdir) && \
1957 rm -f dbus-org.freedesktop.login1.service && \
1958 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)
1959 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1960 rm -f systemd-logind.service systemd-user-sessions.service && \
1961 $(LN_S) ../systemd-logind.service systemd-logind.service && \
1962 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
1964 INSTALL_DATA_HOOKS += \
1965 logind-install-data-hook
1967 systemd_uaccess_SOURCES = \
1971 systemd_uaccess_SOURCES += \
1972 src/login/logind-acl.c \
1976 systemd_uaccess_CFLAGS = \
1981 systemd_uaccess_LDADD = \
1982 libsystemd-basic.la \
1983 libsystemd-daemon.la \
1984 libsystemd-login.la \
1988 rootlibexec_PROGRAMS += \
1991 dist_udevrules_DATA += \
1992 src/70-uaccess.rules
1995 man/systemd-logind.conf.5 \
1997 man/systemd-loginctl.1 \
1998 man/sd_login_monitor_new.3 \
1999 man/sd_pid_get_session.3 \
2000 man/sd_uid_get_state.3 \
2001 man/sd_session_is_active.3 \
2002 man/sd_seat_get_active.3 \
2006 man/sd_login_monitor_unref.3 \
2007 man/sd_login_monitor_flush.3 \
2008 man/sd_login_monitor_get_fd.3 \
2009 man/sd_session_get_uid.3 \
2010 man/sd_session_get_seat.3 \
2011 man/sd_pid_get_owner_uid.3 \
2012 man/sd_pid_get_unit.3 \
2013 man/sd_uid_is_on_seat.3 \
2014 man/sd_uid_get_sessions.3 \
2015 man/sd_uid_get_seats.3 \
2016 man/sd_seat_get_sessions.3 \
2017 man/sd_seat_can_multi_session.3 \
2018 man/sd_get_sessions.3 \
2021 man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3
2022 man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3
2023 man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3
2024 man/sd_session_get_uid.3: man/sd_session_is_active.3
2025 man/sd_session_get_seat.3: man/sd_session_is_active.3
2026 man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3
2027 man/sd_pid_get_unit.3: man/sd_pid_get_session.3
2028 man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
2029 man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
2030 man/sd_uid_get_seats.3: man/sd_uid_get_state.3
2031 man/sd_seat_get_sessions.3: man/sd_seat_get_active.3
2032 man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3
2033 man/sd_get_sessions.3: man/sd_get_seats.3
2034 man/sd_get_uids.3: man/sd_get_seats.3
2037 src/login/logind-gperf.gperf \
2038 units/systemd-logind.service.in \
2039 units/systemd-user-sessions.service.in \
2040 src/login/libsystemd-login.pc.in \
2041 src/login/libsystemd-login.sym \
2042 src/login/logind.h \
2043 src/login/logind-device.h \
2044 src/login/logind-seat.h \
2045 src/login/logind-session.h \
2046 src/login/logind-user.h \
2047 src/login/logind-acl.h
2050 src/login/logind-gperf.c
2052 # ------------------------------------------------------------------------------
2055 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2056 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
2057 -e 's,@rootbindir\@,$(rootbindir),g' \
2058 -e 's,@bindir\@,$(bindir),g' \
2059 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
2060 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
2061 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
2062 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
2063 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
2064 -e 's,@systemunitdir\@,$(systemunitdir),g' \
2065 -e 's,@userunitdir\@,$(userunitdir),g' \
2066 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
2067 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
2068 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
2069 -e 's,@prefix\@,$(prefix),g' \
2070 -e 's,@exec_prefix\@,$(exec_prefix),g' \
2071 -e 's,@libdir\@,$(libdir),g' \
2072 -e 's,@includedir\@,$(includedir),g' \
2075 units/%: units/%.in Makefile
2078 man/%: man/%.in Makefile
2081 %.pc: %.pc.in Makefile
2084 src/%.policy.in: src/%.policy.in.in Makefile
2087 src/%.rules: src/%.rules.in Makefile
2090 src/%.c: src/%.gperf
2091 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2095 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2096 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
2098 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
2099 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2100 $(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 $@
2102 M4_PROCESS_SYSTEM = \
2103 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2104 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
2107 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2108 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
2110 units/%: units/%.m4 Makefile
2111 $(M4_PROCESS_SYSTEM)
2113 units/user/%: units/%.m4 Makefile
2117 $(nodist_systemunit_DATA) \
2118 $(nodist_userunit_DATA) \
2119 $(nodist_man_MANS) \
2120 ${XML_IN_FILES:.xml.in=.html} \
2121 $(pkgconfigdata_DATA) \
2122 $(pkgconfiglib_DATA) \
2123 $(nodist_polkitpolicy_DATA) \
2124 src/73-seat-late.rules \
2125 src/99-systemd.rules \
2126 src/load-fragment-gperf.gperf \
2127 src/load-fragment-gperf.c \
2128 src/load-fragment-gperf-nulstr.c
2132 ${systemadm_SOURCES:.vala=.c}
2138 --stringparam funcsynopsis.style ansi
2140 XSLTPROC_PROCESS_MAN = \
2141 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2142 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2144 XSLTPROC_PROCESS_MAN_IN = \
2145 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2146 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
2149 XSLTPROC_PROCESS_HTML = \
2150 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2151 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
2153 XSLTPROC_PROCESS_HTML_IN = \
2154 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2155 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< && \
2159 $(XSLTPROC_PROCESS_MAN)
2161 man/%.1.in: man/%.xml.in
2162 $(XSLTPROC_PROCESS_MAN)
2165 $(XSLTPROC_PROCESS_MAN)
2167 man/%.3.in: man/%.xml.in
2168 $(XSLTPROC_PROCESS_MAN)
2171 $(XSLTPROC_PROCESS_MAN)
2173 man/%.5.in: man/%.xml.in
2174 $(XSLTPROC_PROCESS_MAN)
2177 $(XSLTPROC_PROCESS_MAN)
2179 man/%.7.in: man/%.xml.in
2180 $(XSLTPROC_PROCESS_MAN_IN)
2183 $(XSLTPROC_PROCESS_MAN)
2185 man/%.8.in: man/%.xml.in
2186 $(XSLTPROC_PROCESS_MAN_IN)
2188 man/%.html: man/%.xml
2189 $(XSLTPROC_PROCESS_HTML)
2191 man/%.html.in: man/%.xml.in
2192 $(XSLTPROC_PROCESS_HTML_IN)
2196 ${nodist_man_MANS:=.in} \
2197 ${XML_FILES:.xml=.html} \
2198 ${XML_IN_FILES:.xml.in=.html.in}
2201 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
2203 org.freedesktop.systemd1.%.xml: systemd
2204 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
2205 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
2206 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
2209 $(dbusinterface_DATA)
2211 systemd-install-data-hook:
2212 $(MKDIR_P) -m 0755 \
2213 $(DESTDIR)$(tmpfilesdir) \
2214 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
2215 $(DESTDIR)$(prefix)/lib/modules-load.d \
2216 $(DESTDIR)$(sysconfdir)/modules-load.d \
2217 $(DESTDIR)$(prefix)/lib/sysctl.d \
2218 $(DESTDIR)$(sysconfdir)/sysctl.d \
2219 $(DESTDIR)$(systemshutdowndir) \
2220 $(DESTDIR)$(systemgeneratordir) \
2221 $(DESTDIR)$(usergeneratordir)
2222 $(MKDIR_P) -m 0755 \
2223 $(DESTDIR)$(systemunitdir) \
2224 $(DESTDIR)$(userunitdir) \
2225 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
2226 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
2227 $(DESTDIR)$(systemunitdir)/basic.target.wants \
2228 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
2229 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
2230 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
2231 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
2232 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
2233 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
2234 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
2235 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
2236 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
2237 $(DESTDIR)$(pkgsysconfdir)/system \
2238 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
2239 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
2240 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
2241 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
2242 $(DESTDIR)$(pkgsysconfdir)/user \
2243 $(DESTDIR)$(dbussessionservicedir) \
2244 $(DESTDIR)$(sysconfdir)/xdg/systemd
2245 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
2247 $(LN_S) $(pkgsysconfdir)/user user )
2248 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
2249 rm -f systemd-initctl.socket systemd-stdout-syslog-bridge.socket systemd-shutdownd.socket syslog.socket && \
2250 $(LN_S) ../systemd-stdout-syslog-bridge.socket systemd-stdout-syslog-bridge.socket && \
2251 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
2252 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
2253 $(LN_S) ../syslog.socket syslog.socket )
2254 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
2255 rm -f systemd-update-utmp-runlevel.service && \
2256 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2257 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
2258 rm -f systemd-update-utmp-runlevel.service && \
2259 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2260 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
2261 rm -f systemd-update-utmp-runlevel.service && \
2262 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2263 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
2264 rm -f systemd-update-utmp-runlevel.service && \
2265 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2266 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
2267 rm -f systemd-update-utmp-runlevel.service && \
2268 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2269 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
2270 rm -f systemd-update-utmp-shutdown.service && \
2271 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service )
2272 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2273 rm -f systemd-remount-api-vfs.service \
2275 remount-rootfs.service \
2278 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
2279 $(LN_S) ../fsck-root.service fsck-root.service && \
2280 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
2281 $(LN_S) ../var-run.mount var-run.mount && \
2282 $(LN_S) ../media.mount media.mount )
2283 ( cd $(DESTDIR)$(userunitdir) && \
2284 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
2285 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
2286 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
2287 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
2288 $(LN_S) $(systemunitdir)/printer.target printer.target && \
2289 $(LN_S) $(systemunitdir)/sound.target sound.target )
2290 ( cd $(DESTDIR)$(systemunitdir) && \
2291 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
2292 $(LN_S) poweroff.target runlevel0.target && \
2293 $(LN_S) rescue.target runlevel1.target && \
2294 $(LN_S) multi-user.target runlevel2.target && \
2295 $(LN_S) multi-user.target runlevel3.target && \
2296 $(LN_S) multi-user.target runlevel4.target && \
2297 $(LN_S) graphical.target runlevel5.target && \
2298 $(LN_S) reboot.target runlevel6.target )
2299 ( cd $(DESTDIR)$(systemunitdir) && \
2300 rm -f default.target ctrl-alt-del.target autovt@.service && \
2301 $(LN_S) graphical.target default.target && \
2302 $(LN_S) reboot.target ctrl-alt-del.target && \
2303 $(LN_S) getty@.service autovt@.service )
2304 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2305 rm -f getty.target systemd-ask-password-wall.path && \
2306 $(LN_S) ../getty.target getty.target && \
2307 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path)
2308 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2309 rm -f getty@tty1.service && \
2310 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
2311 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2312 rm -f remote-fs.target && \
2313 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
2314 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2315 rm -f dev-hugepages.mount \
2317 sys-kernel-config.mount \
2318 sys-kernel-debug.mount \
2319 sys-kernel-security.mount \
2320 sys-fs-fuse-connections.mount \
2321 systemd-modules-load.service \
2322 systemd-tmpfiles-setup.service \
2323 systemd-sysctl.service \
2324 systemd-ask-password-console.path \
2325 systemd-kmsg-syslogd.service && \
2326 $(LN_S) ../dev-hugepages.mount dev-hugepages.mount && \
2327 $(LN_S) ../dev-mqueue.mount dev-mqueue.mount && \
2328 $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
2329 $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
2330 $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \
2331 $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \
2332 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
2333 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
2334 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
2335 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
2336 $(LN_S) ../systemd-kmsg-syslogd.service )
2337 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
2338 rm -f systemd-tmpfiles-clean.timer && \
2339 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
2340 ( cd $(DESTDIR)$(dbussessionservicedir) && \
2341 rm -f org.freedesktop.systemd1.service && \
2342 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
2344 $(MKDIR_P) -m 0755 \
2345 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
2346 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
2347 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
2348 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
2349 $(DESTDIR)$(systemunitdir)/halt.target.wants
2350 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2351 rm -f plymouth-start.service plymouth-read-write.service && \
2352 $(LN_S) ../plymouth-start.service plymouth-start.service && \
2353 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
2354 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2355 rm -f plymouth-quit.service plymouth-quit-wait.service && \
2356 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
2357 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
2358 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
2359 rm -f plymouth-reboot.service && \
2360 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
2361 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
2362 rm -f plymouth-kexec.service && \
2363 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
2364 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
2365 rm -f plymouth-poweroff.service && \
2366 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
2367 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
2368 rm -f plymouth-halt.service && \
2369 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
2372 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2373 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2374 rm -f network.target && \
2375 $(LN_S) $(systemunitdir)/network.target network.target )
2376 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
2378 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
2380 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2382 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2387 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2388 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2389 rm -f halt-local.service && \
2390 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2391 ( cd $(DESTDIR)$(systemunitdir) && \
2392 rm -f display-manager.service single.service && \
2393 $(LN_S) prefdm.service display-manager.service && \
2394 $(LN_S) rescue.service single.service )
2395 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2396 rm -f display-manager.service && \
2397 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2401 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2402 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2403 rm -f halt-local.service && \
2404 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2405 ( cd $(DESTDIR)$(systemunitdir) && \
2406 rm -f display-manager.service dm.service single.service && \
2407 $(LN_S) prefdm.service display-manager.service && \
2408 $(LN_S) prefdm.service dm.service && \
2409 $(LN_S) rescue.service single.service )
2410 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2411 rm -f display-manager.service && \
2412 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2415 if TARGET_DEBIAN_OR_UBUNTU
2416 ( cd $(DESTDIR)$(systemunitdir) && \
2417 rm -f runlevel5.target && \
2418 $(LN_S) multi-user.target runlevel5.target )
2422 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2423 ( cd $(DESTDIR)$(systemunitdir) && \
2424 rm -f local.service && \
2425 $(LN_S) rc-local.service local.service )
2426 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2427 rm -f halt-local.service && \
2428 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2432 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2433 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2434 rm -f halt-local.service && \
2435 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2436 ( cd $(DESTDIR)$(systemunitdir) && \
2437 rm -f display-manager.service && \
2438 $(LN_S) prefdm.service display-manager.service && \
2439 $(LN_S) prefdm.service dm.service )
2440 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2441 rm -f display-manager.service && \
2442 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2446 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2447 rm -f var-lock.mount && \
2448 $(LN_S) ../var-lock.mount var-lock.mount )
2451 install-exec-hook: $(INSTALL_EXEC_HOOKS)
2453 uninstall-hook: $(UNINSTALL_EXEC_HOOKS)
2455 install-data-hook: systemd-install-data-hook $(INSTALL_DATA_HOOKS)
2457 DISTCHECK_CONFIGURE_FLAGS = \
2458 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2459 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2460 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2461 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2462 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2463 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2464 --with-rootprefix=$$dc_install_base/$(rootprefix)
2466 upload: all distcheck
2467 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
2468 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
2469 scp man/*.html tango:public/systemd-man/
2472 git tag "v$(VERSION)" -m "systemd $(VERSION)"