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 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 =
78 -include $(top_builddir)/config.h \
79 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
80 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
81 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
82 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
83 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
84 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
85 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
86 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
87 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
88 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
89 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
90 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
91 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
92 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
93 -DROOTPREFIX=\"$(rootprefix)\" \
94 -DRUNTIME_DIR=\"/run\" \
95 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
96 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
97 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
98 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
99 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
100 -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
101 -I $(top_srcdir)/src \
102 -I $(top_srcdir)/src/readahead \
103 -I $(top_srcdir)/src/login \
104 -I $(top_srcdir)/src/journal \
105 -I $(top_srcdir)/src/systemd
109 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
110 -DKBD_SETFONT=\"/usr/bin/setfont\" \
111 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
115 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
116 -DKBD_SETFONT=\"/usr/bin/setfont\" \
117 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
121 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
122 -DKBD_SETFONT=\"/usr/bin/setfont\" \
123 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
127 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
128 -DKBD_SETFONT=\"/bin/setfont\" \
129 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
133 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
134 -DKBD_SETFONT=\"/bin/setfont\" \
135 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
139 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
140 -DKBD_SETFONT=\"/usr/bin/setfont\" \
141 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
145 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
146 -DKBD_SETFONT=\"/bin/setfont\" \
147 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
150 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
151 -DKBD_SETFONT=\"/bin/setfont\" \
152 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
165 systemd-ask-password \
166 systemd-tty-ask-password-agent \
168 systemd-machine-id-setup
172 systemd-stdio-bridge \
181 systemd-gnome-ask-password-agent
184 rootlibexec_PROGRAMS = \
185 systemd-cgroups-agent \
187 systemd-update-utmp \
190 systemd-modules-load \
191 systemd-remount-api-vfs \
192 systemd-reply-password \
196 systemd-detect-virt \
199 systemgenerator_PROGRAMS = \
200 systemd-getty-generator
214 dist_pkgsysconf_DATA = \
218 dist_dbuspolicy_DATA = \
219 src/org.freedesktop.systemd1.conf
221 dist_dbussystemservice_DATA = \
222 src/org.freedesktop.systemd1.service
224 dist_udevrules_DATA = \
227 nodist_udevrules_DATA = \
228 src/73-seat-late.rules \
231 dbusinterface_DATA = \
232 org.freedesktop.systemd1.Manager.xml \
233 org.freedesktop.systemd1.Job.xml \
234 org.freedesktop.systemd1.Unit.xml \
235 org.freedesktop.systemd1.Service.xml \
236 org.freedesktop.systemd1.Socket.xml \
237 org.freedesktop.systemd1.Timer.xml \
238 org.freedesktop.systemd1.Target.xml \
239 org.freedesktop.systemd1.Device.xml \
240 org.freedesktop.systemd1.Mount.xml \
241 org.freedesktop.systemd1.Automount.xml \
242 org.freedesktop.systemd1.Snapshot.xml \
243 org.freedesktop.systemd1.Swap.xml \
244 org.freedesktop.systemd1.Path.xml
246 dist_bashcompletion_DATA = \
247 src/systemd-bash-completion.sh
249 dist_tmpfiles_DATA = \
250 tmpfiles.d/systemd.conf \
251 tmpfiles.d/tmp.conf \
255 dist_tmpfiles_DATA += \
256 tmpfiles.d/legacy.conf
259 dist_systemunit_DATA = \
260 units/graphical.target \
261 units/multi-user.target \
262 units/emergency.service \
263 units/emergency.target \
264 units/sysinit.target \
269 units/local-fs.target \
270 units/local-fs-pre.target \
271 units/remote-fs.target \
272 units/remote-fs-pre.target \
273 units/network.target \
274 units/nss-lookup.target \
275 units/mail-transfer-agent.target \
276 units/http-daemon.target \
277 units/poweroff.target \
278 units/reboot.target \
279 units/rescue.target \
280 units/rpcbind.target \
281 units/time-sync.target \
282 units/shutdown.target \
284 units/umount.target \
285 units/sigpwr.target \
286 units/sockets.target \
288 units/systemd-initctl.socket \
289 units/systemd-shutdownd.socket \
290 units/syslog.socket \
291 units/dev-hugepages.mount \
292 units/dev-mqueue.mount \
293 units/sys-kernel-config.mount \
294 units/sys-kernel-debug.mount \
295 units/sys-kernel-security.mount \
296 units/sys-fs-fuse-connections.mount \
297 units/var-run.mount \
299 units/remount-rootfs.service \
300 units/printer.target \
302 units/bluetooth.target \
303 units/smartcard.target \
304 units/systemd-tmpfiles-clean.timer \
305 units/quotaon.service \
306 units/systemd-ask-password-wall.path \
307 units/systemd-ask-password-console.path \
311 dist_systemunit_DATA += \
315 nodist_systemunit_DATA = \
316 units/getty@.service \
317 units/serial-getty@.service \
318 units/console-shell.service \
319 units/systemd-initctl.service \
320 units/systemd-shutdownd.service \
321 units/systemd-modules-load.service \
322 units/systemd-remount-api-vfs.service \
323 units/systemd-update-utmp-runlevel.service \
324 units/systemd-update-utmp-shutdown.service \
325 units/systemd-tmpfiles-setup.service \
326 units/systemd-tmpfiles-clean.service \
327 units/systemd-ask-password-wall.service \
328 units/systemd-ask-password-console.service \
329 units/systemd-sysctl.service \
331 units/poweroff.service \
332 units/reboot.service \
333 units/kexec.service \
334 units/fsck@.service \
335 units/fsck-root.service \
336 units/rescue.service \
339 dist_userunit_DATA = \
340 units/user/default.target \
341 units/user/exit.target
343 nodist_userunit_DATA = \
344 units/user/exit.service
347 units/getty@.service.m4 \
348 units/serial-getty@.service.m4 \
349 units/console-shell.service.m4 \
350 units/rescue.service.m4 \
351 units/systemd-initctl.service.in \
352 units/systemd-shutdownd.service.in \
353 units/systemd-modules-load.service.in \
354 units/systemd-remount-api-vfs.service.in \
355 units/systemd-update-utmp-runlevel.service.in \
356 units/systemd-update-utmp-shutdown.service.in \
357 units/systemd-tmpfiles-setup.service.in \
358 units/systemd-tmpfiles-clean.service.in \
359 units/systemd-ask-password-wall.service.in \
360 units/systemd-ask-password-console.service.in \
361 units/systemd-sysctl.service.in \
362 units/halt.service.in \
363 units/poweroff.service.in \
364 units/reboot.service.in \
365 units/kexec.service.in \
366 units/user/exit.service.in \
367 units/fsck@.service.in \
368 units/fsck-root.service.in \
369 units/user@.service.in \
372 src/73-seat-late.rules.in \
373 src/99-systemd.rules.in \
377 dist_systemunit_DATA += \
378 units/fedora/prefdm.service \
379 units/fedora/rc-local.service \
380 units/fedora/halt-local.service
381 systemgenerator_PROGRAMS += \
382 systemd-rc-local-generator
386 dist_systemunit_DATA += \
387 units/mandriva/prefdm.service \
388 units/fedora/rc-local.service \
389 units/fedora/halt-local.service
390 systemgenerator_PROGRAMS += \
391 systemd-rc-local-generator
395 dist_systemunit_DATA += \
396 units/frugalware/display-manager.service
400 dist_systemunit_DATA += \
401 units/suse/rc-local.service \
402 units/suse/halt-local.service
403 systemgenerator_PROGRAMS += \
404 systemd-rc-local-generator
408 dist_systemunit_DATA += \
409 units/mageia/prefdm.service \
410 units/fedora/rc-local.service \
411 units/fedora/halt-local.service
412 systemgenerator_PROGRAMS += \
413 systemd-rc-local-generator
417 dist_systemunit_DATA += \
418 units/plymouth-start.service \
419 units/plymouth-read-write.service \
420 units/plymouth-quit.service \
421 units/plymouth-quit-wait.service \
422 units/plymouth-reboot.service \
423 units/plymouth-kexec.service \
424 units/plymouth-poweroff.service \
425 units/plymouth-halt.service \
426 units/systemd-ask-password-plymouth.path
428 nodist_systemunit_DATA += \
429 units/systemd-ask-password-plymouth.service
432 units/systemd-ask-password-plymouth.service.in
440 pkgconfigdata_DATA = \
443 # First passed through sed, followed by intltool
444 polkitpolicy_in_in_files = \
445 src/org.freedesktop.systemd1.policy.in.in
447 nodist_polkitpolicy_DATA = \
448 $(polkitpolicy_in_files:.policy.in=.policy) \
449 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
452 $(polkitpolicy_in_files) \
453 $(polkitpolicy_in_in_files)
455 @INTLTOOL_POLICY_RULE@
457 noinst_LTLIBRARIES = \
458 libsystemd-basic.la \
461 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 = \
552 libsystemd_core_la_LIBADD = \
553 libsystemd-basic.la \
561 # This is needed because automake is buggy in how it generates the
562 # rules for C programs, but not Vala programs. We therefore can't
563 # list the .h files as dependencies if we want make dist to work.
581 src/load-fragment.h \
604 src/dbus-automount.h \
606 src/dbus-snapshot.h \
612 src/hostname-setup.h \
613 src/selinux-setup.h \
614 src/loopback-setup.h \
617 src/machine-id-setup.h \
634 src/linux/auto_dev-ioctl.h \
635 src/linux/fanotify.h \
644 src/ask-password-api.h \
658 man/systemd-nspawn.1 \
659 man/systemd-tmpfiles.8 \
660 man/systemd-notify.1 \
662 man/systemd.service.5 \
663 man/systemd.socket.5 \
664 man/systemd.mount.5 \
665 man/systemd.automount.5 \
667 man/systemd.timer.5 \
669 man/systemd.target.5 \
670 man/systemd.device.5 \
671 man/systemd.snapshot.5 \
687 man/modules-load.d.5 \
689 man/systemd-ask-password.1
696 man/reboot.8: man/halt.8
697 man/poweroff.8: man/halt.8
698 man/init.1: man/systemd.1
705 man/systemd.special.7
708 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
711 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
714 ${XML_FILES:.xml=.html}
716 nodist_noinst_DATA = \
717 ${XML_IN_FILES:.xml.in=.html}
722 ${nodist_man_MANS:=.in} \
723 ${XML_IN_FILES:.xml.in=.html.in}
736 test_engine_SOURCES = \
739 test_engine_CFLAGS = $(systemd_CFLAGS)
740 test_engine_LDADD = $(systemd_LDADD)
742 test_job_type_SOURCES = \
745 test_job_type_CFLAGS = $(systemd_CFLAGS)
746 test_job_type_LDADD = $(systemd_LDADD)
751 test_ns_CFLAGS = $(systemd_CFLAGS)
752 test_ns_LDADD = $(systemd_LDADD)
754 test_loopback_SOURCES = \
755 src/test-loopback.c \
758 test_loopback_LDADD = \
761 test_hostname_SOURCES = \
762 src/test-hostname.c \
765 test_hostname_LDADD = \
768 test_daemon_SOURCES = \
771 test_daemon_LDADD = \
772 libsystemd-basic.la \
775 test_cgroup_SOURCES = \
779 test_cgroup_LDADD = \
782 test_env_replace_SOURCES = \
783 src/test-env-replace.c
785 test_env_replace_LDADD = \
788 test_strv_SOURCES = \
795 test_install_SOURCES = \
801 test_install_CFLAGS = \
805 test_install_LDADD = \
808 systemd_initctl_SOURCES = \
812 systemd_initctl_CFLAGS = \
816 systemd_initctl_LDADD = \
817 libsystemd-basic.la \
818 libsystemd-daemon.la \
821 systemd_update_utmp_SOURCES = \
826 systemd_update_utmp_CFLAGS = \
831 systemd_update_utmp_LDADD = \
832 libsystemd-basic.la \
836 systemd_shutdownd_SOURCES = \
840 systemd_shutdownd_CFLAGS = \
843 systemd_shutdownd_LDADD = \
844 libsystemd-basic.la \
847 systemd_shutdown_SOURCES = \
852 systemd_shutdown_CFLAGS = \
856 systemd_shutdown_LDADD = \
857 libsystemd-basic.la \
860 systemd_modules_load_SOURCES = \
863 systemd_modules_load_LDADD = \
866 systemd_tmpfiles_SOURCES = \
869 systemd_tmpfiles_LDADD = \
872 systemd_machine_id_setup_SOURCES = \
873 src/machine-id-setup.c \
874 src/machine-id-main.c \
877 systemd_machine_id_setup_LDADD = \
880 systemd_sysctl_SOURCES = \
883 systemd_sysctl_LDADD = \
886 systemd_fsck_SOURCES = \
890 systemd_fsck_CFLAGS = \
895 systemd_fsck_LDADD = \
896 libsystemd-basic.la \
900 systemd_timestamp_SOURCES = \
903 systemd_timestamp_LDADD = \
906 systemd_ac_power_SOURCES = \
909 systemd_ac_power_CFLAGS = \
913 systemd_ac_power_LDADD = \
914 libsystemd-basic.la \
917 systemd_detect_virt_SOURCES = \
920 systemd_detect_virt_LDADD = \
923 systemd_getty_generator_SOURCES = \
924 src/getty-generator.c \
927 systemd_getty_generator_LDADD = \
930 systemd_rc_local_generator_SOURCES = \
931 src/rc-local-generator.c
933 systemd_rc_local_generator_LDADD = \
936 systemd_remount_api_vfs_SOURCES = \
937 src/remount-api-vfs.c \
941 systemd_remount_api_vfs_LDADD = \
944 systemd_cgroups_agent_SOURCES = \
945 src/cgroups-agent.c \
948 systemd_cgroups_agent_CFLAGS = \
952 systemd_cgroups_agent_LDADD = \
953 libsystemd-basic.la \
956 systemctl_SOURCES = \
975 libsystemd-basic.la \
976 libsystemd-daemon.la \
977 libsystemd-journal.la \
978 libsystemd-id128.la \
981 systemd_notify_SOURCES = \
983 src/readahead/sd-readahead.c
985 systemd_notify_LDADD = \
986 libsystemd-basic.la \
989 systemd_ask_password_SOURCES = \
991 src/ask-password-api.c
993 systemd_ask_password_LDADD = \
996 systemd_reply_password_SOURCES = \
999 systemd_reply_password_LDADD = \
1002 systemd_cgls_SOURCES = \
1008 systemd_cgls_LDADD = \
1011 systemd_nspawn_SOURCES = \
1014 src/loopback-setup.c
1016 systemd_nspawn_LDADD = \
1017 libsystemd-basic.la \
1018 libsystemd-daemon.la
1020 systemd_stdio_bridge_SOURCES = \
1023 systemd_stdio_bridge_LDADD = \
1026 systemadm_SOURCES = \
1027 src/systemadm.vala \
1028 src/systemd-interfaces.vala \
1031 systemadm_CFLAGS = \
1034 -Wno-unused-variable \
1035 -Wno-unused-function \
1037 -Wno-format-nonliteral
1039 systemadm_VALAFLAGS = \
1048 systemd_gnome_ask_password_agent_SOURCES = \
1049 src/gnome-ask-password-agent.vala
1051 systemd_gnome_ask_password_agent_CFLAGS = \
1053 $(LIBNOTIFY_CFLAGS) \
1055 -Wno-unused-variable \
1056 -Wno-unused-function \
1058 -Wno-format-nonliteral
1060 systemd_gnome_ask_password_agent_VALAFLAGS = \
1064 --pkg=gio-unix-2.0 \
1068 systemd_gnome_ask_password_agent_LDADD = \
1072 systemd_tty_ask_password_agent_SOURCES = \
1073 src/tty-ask-password-agent.c \
1074 src/ask-password-api.c \
1077 systemd_tty_ask_password_agent_LDADD = \
1080 # ------------------------------------------------------------------------------
1081 libsystemd_daemon_la_SOURCES = \
1084 libsystemd_daemon_la_CFLAGS = \
1086 -fvisibility=hidden \
1089 libsystemd_daemon_la_LDFLAGS = \
1091 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1092 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1094 pkginclude_HEADERS += \
1095 src/systemd/sd-daemon.h
1097 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1098 libsystemd-daemon-install-hook:
1099 if test "$(libdir)" != "$(rootlibdir)"; then \
1100 mkdir -p $(DESTDIR)$(rootlibdir) && \
1101 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1102 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1103 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1104 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1107 INSTALL_EXEC_HOOKS += \
1108 libsystemd-daemon-install-hook
1110 libsystemd-daemon-uninstall-hook:
1111 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1113 UNINSTALL_EXEC_HOOKS += \
1114 libsystemd-daemon-uninstall-hook
1116 lib_LTLIBRARIES += \
1117 libsystemd-daemon.la
1119 pkgconfiglib_DATA += \
1120 src/libsystemd-daemon.pc
1125 man/sd_listen_fds.3 \
1130 man/sd_is_socket.3 \
1131 man/sd_is_socket_unix.3 \
1132 man/sd_is_socket_inet.3 \
1136 man/sd_is_socket.3: man/sd_is_fifo.3
1137 man/sd_is_socket_unix.3: man/sd_is_fifo.3
1138 man/sd_is_socket_inet.3: man/sd_is_fifo.3
1139 man/sd_is_mq.3: man/sd_is_fifo.3
1140 man/sd_notifyf.3: man/sd_notify.3
1143 src/libsystemd-daemon.pc.in \
1144 src/libsystemd-daemon.sym
1146 # ------------------------------------------------------------------------------
1147 libsystemd_id128_la_SOURCES = \
1150 libsystemd_id128_la_CFLAGS = \
1154 libsystemd_id128_la_LDFLAGS = \
1156 -version-info $(LIBSYSTEMD_ID128_CURRENT):$(LIBSYSTEMD_ID128_REVISION):$(LIBSYSTEMD_ID128_AGE) \
1157 -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128.sym
1159 libsystemd_id128_la_LIBADD = \
1162 test_id128_SOURCES = \
1166 test_id128_LDADD = \
1169 noinst_PROGRAMS += \
1172 pkginclude_HEADERS += \
1173 src/systemd/sd-id128.h
1175 lib_LTLIBRARIES += \
1178 pkgconfiglib_DATA += \
1179 src/libsystemd-id128.pc
1181 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1182 libsystemd-id128-install-hook:
1183 if test "$(libdir)" != "$(rootlibdir)"; then \
1184 mkdir -p $(DESTDIR)$(rootlibdir) && \
1185 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-id128.so) && \
1186 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1187 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-id128.so && \
1188 mv $(DESTDIR)$(libdir)/libsystemd-id128.so.* $(DESTDIR)$(rootlibdir); \
1191 INSTALL_EXEC_HOOKS += \
1192 libsystemd-id128-install-hook
1194 libsystemd-id128-uninstall-hook:
1195 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-id128.so*
1197 UNINSTALL_EXEC_HOOKS += \
1198 libsystemd-id128-uninstall-hook
1201 src/libsystemd-id128.pc.in \
1202 src/libsystemd-id128.sym
1204 # ------------------------------------------------------------------------------
1205 systemd_journald_SOURCES = \
1206 src/journal/journald.c \
1207 src/journal/sd-journal.c \
1208 src/journal/journal-file.c \
1209 src/journal/lookup3.c \
1210 src/journal/journal-rate-limit.c \
1215 systemd_journald_SOURCES += \
1219 nodist_systemd_journald_SOURCES = \
1220 src/journal/journald-gperf.c
1222 systemd_journald_CFLAGS = \
1226 systemd_journald_LDADD = \
1227 libsystemd-basic.la \
1228 libsystemd-daemon.la \
1229 libsystemd-login.la \
1233 systemd_journald_SOURCES += \
1234 src/journal/compress.c
1235 systemd_journald_CFLAGS += \
1237 systemd_journald_LDADD += \
1241 systemd_cat_SOURCES = \
1244 systemd_cat_LDADD = \
1245 libsystemd-basic.la \
1246 libsystemd-journal.la
1248 systemd_journalctl_SOURCES = \
1249 src/journal/journalctl.c \
1253 systemd_journalctl_LDADD = \
1254 libsystemd-basic.la \
1255 libsystemd-journal.la \
1259 systemd_journalctl_SOURCES += \
1260 src/journal/compress.c
1261 systemd_journalctl_CFLAGS = \
1264 systemd_journalctl_LDADD += \
1268 test_journal_SOURCES = \
1269 src/journal/test-journal.c \
1270 src/journal/sd-journal.c \
1271 src/journal/journal-file.c \
1272 src/journal/lookup3.c \
1273 src/journal/journal-send.c \
1276 test_journal_LDADD = \
1280 test_journal_SOURCES += \
1281 src/journal/compress.c
1283 test_journal_CFLAGS = \
1287 test_journal_LDADD += \
1291 libsystemd_journal_la_SOURCES = \
1292 src/journal/sd-journal.c \
1293 src/journal/journal-file.c \
1294 src/journal/lookup3.c \
1295 src/journal/journal-send.c
1297 libsystemd_journal_la_CFLAGS = \
1301 libsystemd_journal_la_LDFLAGS = \
1303 -version-info $(LIBSYSTEMD_JOURNAL_CURRENT):$(LIBSYSTEMD_JOURNAL_REVISION):$(LIBSYSTEMD_JOURNAL_AGE) \
1304 -Wl,--version-script=$(top_srcdir)/src/journal/libsystemd-journal.sym
1306 libsystemd_journal_la_LIBADD = \
1307 libsystemd-basic.la \
1311 libsystemd_journal_la_SOURCES += \
1312 src/journal/compress.c
1314 libsystemd_journal_la_CFLAGS += \
1317 libsystemd_journal_la_LIBADD += \
1321 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1322 libsystemd-journal-install-hook:
1323 if test "$(libdir)" != "$(rootlibdir)"; then \
1324 mkdir -p $(DESTDIR)$(rootlibdir) && \
1325 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-journal.so) && \
1326 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1327 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-journal.so && \
1328 mv $(DESTDIR)$(libdir)/libsystemd-journal.so.* $(DESTDIR)$(rootlibdir); \
1331 INSTALL_EXEC_HOOKS += \
1332 libsystemd-journal-install-hook
1334 libsystemd-journal-uninstall-hook:
1335 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-journal.so*
1337 UNINSTALL_EXEC_HOOKS += \
1338 libsystemd-journal-uninstall-hook
1340 noinst_PROGRAMS += \
1343 pkginclude_HEADERS += \
1344 src/systemd/sd-journal.h \
1345 src/systemd/sd-messages.h
1347 lib_LTLIBRARIES += \
1348 libsystemd-journal.la
1350 rootlibexec_PROGRAMS += \
1353 rootbin_PROGRAMS += \
1359 dist_systemunit_DATA += \
1360 units/systemd-journald.socket
1362 nodist_systemunit_DATA += \
1363 units/systemd-journald.service
1365 dist_pkgsysconf_DATA += \
1366 src/journal/systemd-journald.conf
1368 pkgconfiglib_DATA += \
1369 src/journal/libsystemd-journal.pc
1371 journal-install-data-hook:
1372 $(MKDIR_P) -m 0755 \
1373 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1374 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1375 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1376 rm -f systemd-journald.socket && \
1377 $(LN_S) ../systemd-journald.socket )
1378 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1379 rm -f systemd-journald.service && \
1380 $(LN_S) ../systemd-journald.service )
1382 INSTALL_DATA_HOOKS += \
1383 journal-install-data-hook
1386 src/journal/journald.h \
1387 src/journal/journal-def.h \
1388 src/journal/journal-internal.h \
1389 src/journal/journal-file.h \
1390 src/journal/lookup3.h \
1391 src/journal/compress.h \
1392 src/journal/journal-rate-limit.h \
1393 src/journal/libsystemd-journal.pc.in \
1394 src/journal/libsystemd-journal.sym \
1395 units/systemd-journald.service.in \
1396 src/journal/journald-gperf.gperf
1399 src/journal/journald-gperf.c
1401 # ------------------------------------------------------------------------------
1403 systemd_coredump_SOURCES = \
1404 src/journal/coredump.c
1406 systemd_coredump_LDADD = \
1407 libsystemd-basic.la \
1408 libsystemd-journal.la \
1411 rootlibexec_PROGRAMS += \
1415 sysctl.d/coredump.conf
1418 sysctl.d/coredump.conf.in
1421 sysctl.d/coredump.conf
1424 # ------------------------------------------------------------------------------
1426 systemd_binfmt_SOURCES = \
1429 systemd_binfmt_LDADD = \
1432 rootlibexec_PROGRAMS += \
1435 dist_systemunit_DATA += \
1436 units/proc-sys-fs-binfmt_misc.automount \
1437 units/proc-sys-fs-binfmt_misc.mount
1439 nodist_systemunit_DATA += \
1440 units/systemd-binfmt.service
1442 binfmt-install-data-hook:
1443 $(MKDIR_P) -m 0755 \
1444 $(DESTDIR)$(prefix)/lib/binfmt.d \
1445 $(DESTDIR)$(sysconfdir)/binfmt.d \
1446 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1447 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1448 rm -f systemd-binfmt.service \
1449 proc-sys-fs-binfmt_misc.automount && \
1450 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1451 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1453 INSTALL_DATA_HOOKS += \
1454 binfmt-install-data-hook
1460 units/systemd-binfmt.service.in
1463 # ------------------------------------------------------------------------------
1465 systemd_vconsole_setup_SOURCES = \
1466 src/vconsole/vconsole-setup.c
1468 systemd_vconsole_setup_LDADD = \
1471 rootlibexec_PROGRAMS += \
1472 systemd-vconsole-setup
1474 nodist_systemunit_DATA += \
1475 units/systemd-vconsole-setup.service
1477 vconsole-install-data-hook:
1478 $(MKDIR_P) -m 0755 \
1479 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1480 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1481 rm -f systemd-vconsole-setup.service && \
1482 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service )
1484 INSTALL_DATA_HOOKS += \
1485 vconsole-install-data-hook
1491 units/systemd-vconsole-setup.service.in
1494 # ------------------------------------------------------------------------------
1496 systemd_readahead_collect_SOURCES = \
1497 src/readahead/readahead-collect.c \
1498 src/readahead/readahead-common.c
1500 systemd_readahead_collect_LDADD = \
1501 libsystemd-basic.la \
1502 libsystemd-daemon.la \
1505 systemd_readahead_collect_CFLAGS = \
1509 systemd_readahead_replay_SOURCES = \
1510 src/readahead/readahead-replay.c \
1511 src/readahead/readahead-common.c
1513 systemd_readahead_replay_CFLAGS = \
1517 systemd_readahead_replay_LDADD = \
1518 libsystemd-basic.la \
1519 libsystemd-daemon.la \
1522 rootlibexec_PROGRAMS += \
1523 systemd-readahead-collect \
1524 systemd-readahead-replay
1526 dist_systemunit_DATA += \
1527 units/systemd-readahead-done.timer
1529 nodist_systemunit_DATA += \
1530 units/systemd-readahead-collect.service \
1531 units/systemd-readahead-replay.service \
1532 units/systemd-readahead-done.service
1535 src/systemd/sd-readahead.h \
1536 src/readahead/readahead-common.h \
1537 units/systemd-readahead-collect.service.in \
1538 units/systemd-readahead-replay.service.in \
1539 units/systemd-readahead-done.service.in
1542 man/sd_readahead.3 \
1546 # ------------------------------------------------------------------------------
1547 if ENABLE_QUOTACHECK
1548 rootlibexec_PROGRAMS += \
1551 nodist_systemunit_DATA += \
1552 units/quotacheck.service
1555 units/quotacheck.service.in
1557 systemd_quotacheck_SOURCES = \
1560 systemd_quotacheck_LDADD = \
1564 # ------------------------------------------------------------------------------
1565 if ENABLE_RANDOMSEED
1566 rootlibexec_PROGRAMS += \
1569 nodist_systemunit_DATA += \
1570 units/systemd-random-seed-save.service \
1571 units/systemd-random-seed-load.service
1574 units/systemd-random-seed-save.service.in \
1575 units/systemd-random-seed-load.service.in
1577 systemd_random_seed_SOURCES = \
1580 systemd_random_seed_LDADD = \
1583 randomseed-install-data-hook:
1584 $(MKDIR_P) -m 0755 \
1585 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1586 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1587 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1588 rm -f systemd-random-seed-save.service && \
1589 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1590 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1591 rm -f systemd-random-seed-load.service && \
1592 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service )
1594 INSTALL_DATA_HOOKS += \
1595 randomseed-install-data-hook
1598 # ------------------------------------------------------------------------------
1599 if HAVE_LIBCRYPTSETUP
1600 rootlibexec_PROGRAMS += \
1603 systemgenerator_PROGRAMS += \
1604 systemd-cryptsetup-generator
1606 dist_systemunit_DATA += \
1607 units/cryptsetup.target
1609 systemd_cryptsetup_SOURCES = \
1610 src/cryptsetup/cryptsetup.c \
1611 src/ask-password-api.c
1613 systemd_cryptsetup_CFLAGS = \
1615 $(LIBCRYPTSETUP_CFLAGS) \
1618 systemd_cryptsetup_LDADD = \
1619 $(LIBCRYPTSETUP_LIBS) \
1623 systemd_cryptsetup_generator_SOURCES = \
1624 src/cryptsetup/cryptsetup-generator.c \
1627 systemd_cryptsetup_generator_LDADD = \
1630 cryptsetup-install-data-hook:
1631 $(MKDIR_P) -m 0755 \
1632 $(DESTDIR)$(systemunitdir)/sysinit.target.wants
1633 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1634 rm -f cryptsetup.target && \
1635 $(LN_S) ../cryptsetup.target cryptsetup.target )
1637 INSTALL_DATA_HOOKS += \
1638 cryptsetup-install-data-hook
1641 # ------------------------------------------------------------------------------
1643 systemd_hostnamed_SOURCES = \
1644 src/hostname/hostnamed.c \
1648 systemd_hostnamed_CFLAGS = \
1652 systemd_hostnamed_LDADD = \
1653 libsystemd-basic.la \
1654 libsystemd-daemon.la \
1657 rootlibexec_PROGRAMS += \
1660 nodist_systemunit_DATA += \
1661 units/systemd-hostnamed.service
1663 dist_dbuspolicy_DATA += \
1664 src/hostname/org.freedesktop.hostname1.conf
1666 dist_dbussystemservice_DATA += \
1667 src/hostname/org.freedesktop.hostname1.service
1669 polkitpolicy_in_files += \
1670 src/hostname/org.freedesktop.hostname1.policy.in
1672 dbusinterface_DATA += \
1673 org.freedesktop.hostname1.xml
1675 org.freedesktop.hostname1.xml: systemd-hostnamed
1676 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1677 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1678 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1680 hostnamed-install-data-hook:
1681 ( cd $(DESTDIR)$(systemunitdir) && \
1682 rm -f dbus-org.freedesktop.hostname1.service && \
1683 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1685 INSTALL_DATA_HOOKS += \
1686 hostnamed-install-data-hook
1689 units/systemd-hostnamed.service.in
1692 # ------------------------------------------------------------------------------
1694 systemd_localed_SOURCES = \
1695 src/locale/localed.c \
1699 systemd_localed_CFLAGS = \
1703 systemd_localed_LDADD = \
1704 libsystemd-basic.la \
1705 libsystemd-daemon.la \
1708 nodist_systemunit_DATA += \
1709 units/systemd-localed.service
1711 rootlibexec_PROGRAMS += \
1714 dist_dbuspolicy_DATA += \
1715 src/locale/org.freedesktop.locale1.conf
1717 dist_dbussystemservice_DATA += \
1718 src/locale/org.freedesktop.locale1.service
1720 polkitpolicy_in_files += \
1721 src/locale/org.freedesktop.locale1.policy.in
1723 dbusinterface_DATA += \
1724 org.freedesktop.locale1.xml
1726 org.freedesktop.locale1.xml: systemd-localed
1727 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1728 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1729 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1731 localed-install-data-hook:
1732 ( cd $(DESTDIR)$(systemunitdir) && \
1733 rm -f dbus-org.freedesktop.locale1.service && \
1734 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service )
1736 INSTALL_DATA_HOOKS += \
1737 localed-install-data-hook
1740 units/systemd-localed.service.in
1742 dist_pkgdata_DATA = \
1743 src/locale/kbd-model-map
1745 dist_noinst_SCRIPT = \
1746 src/locale/generate-kbd-model-map
1748 update-kbd-model-map:
1749 src/locale/generate-kbd-model-map > src/locale/kbd-model-map
1753 # ------------------------------------------------------------------------------
1755 systemd_timedated_SOURCES = \
1756 src/timedate/timedated.c \
1760 systemd_timedated_CFLAGS = \
1764 systemd_timedated_LDADD = \
1765 libsystemd-basic.la \
1766 libsystemd-daemon.la \
1769 rootlibexec_PROGRAMS += \
1772 dist_dbussystemservice_DATA += \
1773 src/timedate/org.freedesktop.timedate1.service
1775 dist_dbuspolicy_DATA += \
1776 src/timedate/org.freedesktop.timedate1.conf
1778 nodist_systemunit_DATA += \
1779 units/systemd-timedated.service
1781 polkitpolicy_in_files += \
1782 src/timedate/org.freedesktop.timedate1.policy.in
1784 org.freedesktop.timedate1.xml: systemd-timedated
1785 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1786 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1787 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1789 dbusinterface_DATA += \
1790 org.freedesktop.timedate1.xml
1792 timedated-install-data-hook:
1793 ( cd $(DESTDIR)$(systemunitdir) && \
1794 rm -f dbus-org.freedesktop.timedate1.service && \
1795 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service )
1797 INSTALL_DATA_HOOKS += \
1798 timedated-install-data-hook
1801 units/systemd-timedated.service.in
1804 # ------------------------------------------------------------------------------
1806 systemd_logind_SOURCES = \
1807 src/login/logind.c \
1808 src/login/logind-dbus.c \
1809 src/login/logind-device.c \
1810 src/login/logind-seat.c \
1811 src/login/logind-seat-dbus.c \
1812 src/login/logind-session.c \
1813 src/login/logind-session-dbus.c \
1814 src/login/logind-user.c \
1815 src/login/logind-user-dbus.c \
1821 nodist_systemd_logind_SOURCES = \
1822 src/login/logind-gperf.c
1825 systemd_logind_SOURCES += \
1826 src/login/logind-acl.c \
1830 systemd_logind_CFLAGS = \
1836 systemd_logind_LDADD = \
1837 libsystemd-basic.la \
1838 libsystemd-daemon.la \
1843 systemd_user_sessions_SOURCES = \
1844 src/login/user-sessions.c \
1847 systemd_user_sessions_LDADD = \
1850 rootlibexec_PROGRAMS += \
1852 systemd-user-sessions
1854 systemd_loginctl_SOURCES = \
1855 src/login/loginctl.c \
1862 systemd_loginctl_CFLAGS = \
1867 systemd_loginctl_LDADD = \
1868 libsystemd-basic.la \
1872 rootbin_PROGRAMS += \
1875 test_login_SOURCES = \
1876 src/login/test-login.c
1878 test_login_LDADD = \
1879 libsystemd-basic.la \
1882 noinst_PROGRAMS += \
1885 libsystemd_login_la_SOURCES = \
1886 src/login/sd-login.c \
1889 libsystemd_login_la_CFLAGS = \
1893 libsystemd_login_la_LDFLAGS = \
1895 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1896 -Wl,--version-script=$(top_srcdir)/src/login/libsystemd-login.sym
1898 libsystemd_login_la_LIBADD = \
1902 pam_systemd_la_SOURCES = \
1903 src/login/pam-module.c \
1906 pam_systemd_la_CFLAGS = \
1912 pam_systemd_la_LDFLAGS = \
1917 -export-symbols-regex '^pam_sm_.*'
1919 pam_systemd_la_LIBADD = \
1920 libsystemd-basic.la \
1921 libsystemd-daemon.la \
1925 pamlib_LTLIBRARIES = \
1929 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1930 libsystemd-login-install-hook:
1931 if test "$(libdir)" != "$(rootlibdir)"; then \
1932 mkdir -p $(DESTDIR)$(rootlibdir) && \
1933 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1934 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1935 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1936 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1939 INSTALL_EXEC_HOOKS += \
1940 libsystemd-login-install-hook
1942 libsystemd-login-uninstall-hook:
1943 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1945 UNINSTALL_EXEC_HOOKS += \
1946 libsystemd-login-uninstall-hook
1948 nodist_systemunit_DATA += \
1949 units/systemd-logind.service \
1950 units/systemd-user-sessions.service
1952 dist_dbussystemservice_DATA += \
1953 src/login/org.freedesktop.login1.service
1955 dist_dbuspolicy_DATA += \
1956 src/login/org.freedesktop.login1.conf
1958 dist_pkgsysconf_DATA += \
1959 src/login/systemd-logind.conf
1961 pkginclude_HEADERS += \
1962 src/systemd/sd-login.h
1964 lib_LTLIBRARIES += \
1967 pkgconfiglib_DATA += \
1968 src/login/libsystemd-login.pc
1970 polkitpolicy_in_files += \
1971 src/login/org.freedesktop.login1.policy.in
1973 logind-install-data-hook:
1974 $(MKDIR_P) -m 0755 \
1975 $(DESTDIR)$(systemunitdir)/multi-user.target.wants
1976 ( cd $(DESTDIR)$(systemunitdir) && \
1977 rm -f dbus-org.freedesktop.login1.service && \
1978 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)
1979 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1980 rm -f systemd-logind.service systemd-user-sessions.service && \
1981 $(LN_S) ../systemd-logind.service systemd-logind.service && \
1982 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
1984 INSTALL_DATA_HOOKS += \
1985 logind-install-data-hook
1987 systemd_uaccess_SOURCES = \
1991 systemd_uaccess_SOURCES += \
1992 src/login/logind-acl.c \
1996 systemd_uaccess_CFLAGS = \
2001 systemd_uaccess_LDADD = \
2002 libsystemd-basic.la \
2003 libsystemd-daemon.la \
2004 libsystemd-login.la \
2008 rootlibexec_PROGRAMS += \
2011 dist_udevrules_DATA += \
2012 src/70-uaccess.rules
2015 man/systemd-logind.conf.5 \
2017 man/systemd-loginctl.1 \
2018 man/sd_login_monitor_new.3 \
2019 man/sd_pid_get_session.3 \
2020 man/sd_uid_get_state.3 \
2021 man/sd_session_is_active.3 \
2022 man/sd_seat_get_active.3 \
2026 man/sd_login_monitor_unref.3 \
2027 man/sd_login_monitor_flush.3 \
2028 man/sd_login_monitor_get_fd.3 \
2029 man/sd_session_get_uid.3 \
2030 man/sd_session_get_seat.3 \
2031 man/sd_pid_get_owner_uid.3 \
2032 man/sd_pid_get_unit.3 \
2033 man/sd_uid_is_on_seat.3 \
2034 man/sd_uid_get_sessions.3 \
2035 man/sd_uid_get_seats.3 \
2036 man/sd_seat_get_sessions.3 \
2037 man/sd_seat_can_multi_session.3 \
2038 man/sd_get_sessions.3 \
2041 man/sd_login_monitor_unref.3: man/sd_login_monitor_new.3
2042 man/sd_login_monitor_flush.3: man/sd_login_monitor_new.3
2043 man/sd_login_monitor_get_fd.3: man/sd_login_monitor_new.3
2044 man/sd_session_get_uid.3: man/sd_session_is_active.3
2045 man/sd_session_get_seat.3: man/sd_session_is_active.3
2046 man/sd_pid_get_owner_uid.3: man/sd_pid_get_session.3
2047 man/sd_pid_get_unit.3: man/sd_pid_get_session.3
2048 man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
2049 man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
2050 man/sd_uid_get_seats.3: man/sd_uid_get_state.3
2051 man/sd_seat_get_sessions.3: man/sd_seat_get_active.3
2052 man/sd_seat_can_multi_session.3: man/sd_seat_get_active.3
2053 man/sd_get_sessions.3: man/sd_get_seats.3
2054 man/sd_get_uids.3: man/sd_get_seats.3
2057 src/login/logind-gperf.gperf \
2058 units/systemd-logind.service.in \
2059 units/systemd-user-sessions.service.in \
2060 src/login/libsystemd-login.pc.in \
2061 src/login/libsystemd-login.sym \
2062 src/login/logind.h \
2063 src/login/logind-device.h \
2064 src/login/logind-seat.h \
2065 src/login/logind-session.h \
2066 src/login/logind-user.h \
2067 src/login/logind-acl.h
2070 src/login/logind-gperf.c
2072 # ------------------------------------------------------------------------------
2075 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2076 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
2077 -e 's,@rootbindir\@,$(rootbindir),g' \
2078 -e 's,@bindir\@,$(bindir),g' \
2079 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
2080 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
2081 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
2082 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
2083 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
2084 -e 's,@systemunitdir\@,$(systemunitdir),g' \
2085 -e 's,@userunitdir\@,$(userunitdir),g' \
2086 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
2087 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
2088 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
2089 -e 's,@prefix\@,$(prefix),g' \
2090 -e 's,@exec_prefix\@,$(exec_prefix),g' \
2091 -e 's,@libdir\@,$(libdir),g' \
2092 -e 's,@includedir\@,$(includedir),g' \
2095 units/%: units/%.in Makefile
2098 man/%: man/%.in Makefile
2101 sysctl.d/%: sysctl.d/%.in Makefile
2104 %.pc: %.pc.in Makefile
2107 src/%.policy.in: src/%.policy.in.in Makefile
2110 src/%.rules: src/%.rules.in Makefile
2113 src/%.c: src/%.gperf
2114 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2118 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2119 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
2121 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
2122 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2123 $(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 $@
2125 M4_PROCESS_SYSTEM = \
2126 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2127 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
2130 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2131 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
2133 units/%: units/%.m4 Makefile
2134 $(M4_PROCESS_SYSTEM)
2136 units/user/%: units/%.m4 Makefile
2140 $(nodist_systemunit_DATA) \
2141 $(nodist_userunit_DATA) \
2142 $(nodist_man_MANS) \
2143 ${XML_IN_FILES:.xml.in=.html} \
2144 $(pkgconfigdata_DATA) \
2145 $(pkgconfiglib_DATA) \
2146 $(nodist_polkitpolicy_DATA) \
2147 src/73-seat-late.rules \
2148 src/99-systemd.rules \
2149 src/load-fragment-gperf.gperf \
2150 src/load-fragment-gperf.c \
2151 src/load-fragment-gperf-nulstr.c
2155 ${systemadm_SOURCES:.vala=.c}
2161 --stringparam funcsynopsis.style ansi
2163 XSLTPROC_PROCESS_MAN = \
2164 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2165 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2167 XSLTPROC_PROCESS_MAN_IN = \
2168 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2169 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
2172 XSLTPROC_PROCESS_HTML = \
2173 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2174 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
2176 XSLTPROC_PROCESS_HTML_IN = \
2177 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
2178 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< && \
2182 $(XSLTPROC_PROCESS_MAN)
2184 man/%.1.in: man/%.xml.in
2185 $(XSLTPROC_PROCESS_MAN)
2188 $(XSLTPROC_PROCESS_MAN)
2190 man/%.3.in: man/%.xml.in
2191 $(XSLTPROC_PROCESS_MAN)
2194 $(XSLTPROC_PROCESS_MAN)
2196 man/%.5.in: man/%.xml.in
2197 $(XSLTPROC_PROCESS_MAN)
2200 $(XSLTPROC_PROCESS_MAN)
2202 man/%.7.in: man/%.xml.in
2203 $(XSLTPROC_PROCESS_MAN_IN)
2206 $(XSLTPROC_PROCESS_MAN)
2208 man/%.8.in: man/%.xml.in
2209 $(XSLTPROC_PROCESS_MAN_IN)
2211 man/%.html: man/%.xml
2212 $(XSLTPROC_PROCESS_HTML)
2214 man/%.html.in: man/%.xml.in
2215 $(XSLTPROC_PROCESS_HTML_IN)
2219 ${nodist_man_MANS:=.in} \
2220 ${XML_FILES:.xml=.html} \
2221 ${XML_IN_FILES:.xml.in=.html.in}
2224 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
2226 org.freedesktop.systemd1.%.xml: systemd
2227 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
2228 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
2229 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
2232 $(dbusinterface_DATA)
2234 systemd-install-data-hook:
2235 $(MKDIR_P) -m 0755 \
2236 $(DESTDIR)$(tmpfilesdir) \
2237 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
2238 $(DESTDIR)$(prefix)/lib/modules-load.d \
2239 $(DESTDIR)$(sysconfdir)/modules-load.d \
2240 $(DESTDIR)$(prefix)/lib/sysctl.d \
2241 $(DESTDIR)$(sysconfdir)/sysctl.d \
2242 $(DESTDIR)$(systemshutdowndir) \
2243 $(DESTDIR)$(systemgeneratordir) \
2244 $(DESTDIR)$(usergeneratordir)
2245 $(MKDIR_P) -m 0755 \
2246 $(DESTDIR)$(systemunitdir) \
2247 $(DESTDIR)$(userunitdir) \
2248 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
2249 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
2250 $(DESTDIR)$(systemunitdir)/basic.target.wants \
2251 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
2252 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
2253 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
2254 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
2255 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
2256 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
2257 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
2258 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
2259 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
2260 $(DESTDIR)$(pkgsysconfdir)/system \
2261 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
2262 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
2263 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
2264 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
2265 $(DESTDIR)$(pkgsysconfdir)/user \
2266 $(DESTDIR)$(dbussessionservicedir) \
2267 $(DESTDIR)$(sysconfdir)/xdg/systemd
2268 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
2270 $(LN_S) $(pkgsysconfdir)/user user )
2271 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
2272 rm -f systemd-initctl.socket systemd-shutdownd.socket && \
2273 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
2274 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
2275 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
2276 rm -f systemd-update-utmp-runlevel.service && \
2277 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2278 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
2279 rm -f systemd-update-utmp-runlevel.service && \
2280 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2281 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
2282 rm -f systemd-update-utmp-runlevel.service && \
2283 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2284 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
2285 rm -f systemd-update-utmp-runlevel.service && \
2286 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2287 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
2288 rm -f systemd-update-utmp-runlevel.service && \
2289 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
2290 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
2291 rm -f systemd-update-utmp-shutdown.service && \
2292 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service )
2293 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2294 rm -f systemd-remount-api-vfs.service \
2296 remount-rootfs.service \
2299 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
2300 $(LN_S) ../fsck-root.service fsck-root.service && \
2301 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
2302 $(LN_S) ../var-run.mount var-run.mount && \
2303 $(LN_S) ../media.mount media.mount )
2304 ( cd $(DESTDIR)$(userunitdir) && \
2305 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
2306 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
2307 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
2308 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
2309 $(LN_S) $(systemunitdir)/printer.target printer.target && \
2310 $(LN_S) $(systemunitdir)/sound.target sound.target )
2311 ( cd $(DESTDIR)$(systemunitdir) && \
2312 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
2313 $(LN_S) poweroff.target runlevel0.target && \
2314 $(LN_S) rescue.target runlevel1.target && \
2315 $(LN_S) multi-user.target runlevel2.target && \
2316 $(LN_S) multi-user.target runlevel3.target && \
2317 $(LN_S) multi-user.target runlevel4.target && \
2318 $(LN_S) graphical.target runlevel5.target && \
2319 $(LN_S) reboot.target runlevel6.target )
2320 ( cd $(DESTDIR)$(systemunitdir) && \
2321 rm -f default.target ctrl-alt-del.target autovt@.service && \
2322 $(LN_S) graphical.target default.target && \
2323 $(LN_S) reboot.target ctrl-alt-del.target && \
2324 $(LN_S) getty@.service autovt@.service )
2325 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2326 rm -f getty.target systemd-ask-password-wall.path && \
2327 $(LN_S) ../getty.target getty.target && \
2328 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path)
2329 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2330 rm -f getty@tty1.service && \
2331 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
2332 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2333 rm -f remote-fs.target && \
2334 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
2335 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2336 rm -f dev-hugepages.mount \
2338 sys-kernel-config.mount \
2339 sys-kernel-debug.mount \
2340 sys-kernel-security.mount \
2341 sys-fs-fuse-connections.mount \
2342 systemd-modules-load.service \
2343 systemd-tmpfiles-setup.service \
2344 systemd-sysctl.service \
2345 systemd-ask-password-console.path && \
2346 $(LN_S) ../dev-hugepages.mount dev-hugepages.mount && \
2347 $(LN_S) ../dev-mqueue.mount dev-mqueue.mount && \
2348 $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
2349 $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
2350 $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \
2351 $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \
2352 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
2353 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
2354 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
2355 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path )
2356 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
2357 rm -f systemd-tmpfiles-clean.timer && \
2358 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
2359 ( cd $(DESTDIR)$(dbussessionservicedir) && \
2360 rm -f org.freedesktop.systemd1.service && \
2361 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
2363 $(MKDIR_P) -m 0755 \
2364 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
2365 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
2366 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
2367 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
2368 $(DESTDIR)$(systemunitdir)/halt.target.wants
2369 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
2370 rm -f plymouth-start.service plymouth-read-write.service && \
2371 $(LN_S) ../plymouth-start.service plymouth-start.service && \
2372 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
2373 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2374 rm -f plymouth-quit.service plymouth-quit-wait.service && \
2375 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
2376 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
2377 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
2378 rm -f plymouth-reboot.service && \
2379 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
2380 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
2381 rm -f plymouth-kexec.service && \
2382 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
2383 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
2384 rm -f plymouth-poweroff.service && \
2385 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
2386 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
2387 rm -f plymouth-halt.service && \
2388 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
2391 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2392 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
2393 rm -f network.target && \
2394 $(LN_S) $(systemunitdir)/network.target network.target )
2395 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
2397 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
2399 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
2401 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
2406 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2407 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2408 rm -f halt-local.service && \
2409 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2410 ( cd $(DESTDIR)$(systemunitdir) && \
2411 rm -f display-manager.service single.service && \
2412 $(LN_S) prefdm.service display-manager.service && \
2413 $(LN_S) rescue.service single.service )
2414 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2415 rm -f display-manager.service && \
2416 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2420 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2421 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2422 rm -f halt-local.service && \
2423 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2424 ( cd $(DESTDIR)$(systemunitdir) && \
2425 rm -f display-manager.service dm.service single.service && \
2426 $(LN_S) prefdm.service display-manager.service && \
2427 $(LN_S) prefdm.service dm.service && \
2428 $(LN_S) rescue.service single.service )
2429 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2430 rm -f display-manager.service && \
2431 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2434 if TARGET_DEBIAN_OR_UBUNTU
2435 ( cd $(DESTDIR)$(systemunitdir) && \
2436 rm -f runlevel5.target && \
2437 $(LN_S) multi-user.target runlevel5.target )
2441 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2442 ( cd $(DESTDIR)$(systemunitdir) && \
2443 rm -f local.service && \
2444 $(LN_S) rc-local.service local.service )
2445 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2446 rm -f halt-local.service && \
2447 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2451 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
2452 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
2453 rm -f halt-local.service && \
2454 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
2455 ( cd $(DESTDIR)$(systemunitdir) && \
2456 rm -f display-manager.service && \
2457 $(LN_S) prefdm.service display-manager.service && \
2458 $(LN_S) prefdm.service dm.service )
2459 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
2460 rm -f display-manager.service && \
2461 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
2465 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
2466 rm -f var-lock.mount && \
2467 $(LN_S) ../var-lock.mount var-lock.mount )
2470 install-exec-hook: $(INSTALL_EXEC_HOOKS)
2472 uninstall-hook: $(UNINSTALL_EXEC_HOOKS)
2474 install-data-hook: systemd-install-data-hook $(INSTALL_DATA_HOOKS)
2476 DISTCHECK_CONFIGURE_FLAGS = \
2477 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
2478 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
2479 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
2480 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
2481 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
2482 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
2483 --with-rootprefix=$$dc_install_base/$(rootprefix)
2485 upload: all distcheck
2486 cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
2487 scp systemd-$(VERSION).tar.xz fdo:/srv/www.freedesktop.org/www/software/systemd/
2488 scp man/*.html tango:public/systemd-man/
2491 git tag "v$(VERSION)" -m "systemd $(VERSION)"