1 # This file is part of systemd.
3 # Copyright 2010 Lennart Poettering
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # systemd is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
18 ACLOCAL_AMFLAGS = -I m4
22 LIBSYSTEMD_LOGIN_CURRENT=0
23 LIBSYSTEMD_LOGIN_REVISION=0
24 LIBSYSTEMD_LOGIN_AGE=0
26 # Dirs of external packages
27 dbuspolicydir=@dbuspolicydir@
28 dbussessionservicedir=@dbussessionservicedir@
29 dbussystemservicedir=@dbussystemservicedir@
30 dbusinterfacedir=@dbusinterfacedir@
31 udevrulesdir=@udevrulesdir@
33 pkgconfigdatadir=$(datadir)/pkgconfig
34 polkitpolicydir=$(datadir)/polkit-1/actions
35 bashcompletiondir=$(sysconfdir)/bash_completion.d
37 # Our own, non-special dirs
38 pkgsysconfdir=$(sysconfdir)/systemd
39 userunitdir=$(prefix)/lib/systemd/user
40 tmpfilesdir=$(prefix)/lib/tmpfiles.d
41 usergeneratordir=$(pkglibexecdir)/user-generators
42 pkgincludedir=$(includedir)/systemd
44 # And these are the special ones for /
46 rootbindir=$(rootdir)/bin
47 rootlibexecdir=$(rootdir)/lib/systemd
48 systemgeneratordir=$(rootlibexecdir)/system-generators
49 systemshutdowndir=$(rootlibexecdir)/system-shutdown
50 systemunitdir=$(rootdir)/lib/systemd/system
53 -include $(top_builddir)/config.h \
54 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
55 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
56 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
57 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
58 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
59 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
60 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
61 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
62 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
63 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
64 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
65 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
66 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
67 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
68 -DRUNTIME_DIR=\"/run\" \
69 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
70 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
71 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
72 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
73 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
78 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
79 -DKBD_SETFONT=\"/usr/bin/setfont\" \
80 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
84 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
85 -DKBD_SETFONT=\"/usr/bin/setfont\" \
86 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
90 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
91 -DKBD_SETFONT=\"/usr/bin/setfont\" \
92 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
96 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
97 -DKBD_SETFONT=\"/bin/setfont\" \
98 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
102 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
103 -DKBD_SETFONT=\"/bin/setfont\" \
104 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
108 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
109 -DKBD_SETFONT=\"/usr/bin/setfont\" \
110 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
113 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
114 -DKBD_SETFONT=\"/bin/setfont\" \
115 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
128 systemd-ask-password \
129 systemd-tty-ask-password-agent \
131 systemd-machine-id-setup
135 systemd-stdio-bridge \
144 systemd-gnome-ask-password-agent
147 rootlibexec_PROGRAMS = \
149 systemd-cgroups-agent \
151 systemd-update-utmp \
152 systemd-random-seed \
155 systemd-modules-load \
156 systemd-remount-api-vfs \
157 systemd-kmsg-syslogd \
158 systemd-vconsole-setup \
159 systemd-reply-password \
160 systemd-readahead-collect \
161 systemd-readahead-replay \
162 systemd-user-sessions \
167 systemd-detect-virt \
176 rootlibexec_PROGRAMS += \
180 systemgenerator_PROGRAMS = \
181 systemd-getty-generator
183 if HAVE_LIBCRYPTSETUP
184 rootlibexec_PROGRAMS += \
187 systemgenerator_PROGRAMS += \
188 systemd-cryptsetup-generator
194 pkginclude_HEADERS = \
210 pamlib_LTLIBRARIES = \
214 dist_pkgsysconf_DATA = \
217 src/systemd-logind.conf
219 dist_dbuspolicy_DATA = \
220 src/org.freedesktop.systemd1.conf \
221 src/org.freedesktop.hostname1.conf \
222 src/org.freedesktop.locale1.conf \
223 src/org.freedesktop.timedate1.conf \
224 src/org.freedesktop.login1.conf
226 dist_dbussystemservice_DATA = \
227 src/org.freedesktop.systemd1.service \
228 src/org.freedesktop.hostname1.service \
229 src/org.freedesktop.locale1.service \
230 src/org.freedesktop.timedate1.service \
231 src/org.freedesktop.login1.service
233 dist_udevrules_DATA = \
234 src/70-uaccess.rules \
238 nodist_udevrules_DATA = \
239 src/73-seat-late.rules
241 dbusinterface_DATA = \
242 org.freedesktop.systemd1.Manager.xml \
243 org.freedesktop.systemd1.Job.xml \
244 org.freedesktop.systemd1.Unit.xml \
245 org.freedesktop.systemd1.Service.xml \
246 org.freedesktop.systemd1.Socket.xml \
247 org.freedesktop.systemd1.Timer.xml \
248 org.freedesktop.systemd1.Target.xml \
249 org.freedesktop.systemd1.Device.xml \
250 org.freedesktop.systemd1.Mount.xml \
251 org.freedesktop.systemd1.Automount.xml \
252 org.freedesktop.systemd1.Snapshot.xml \
253 org.freedesktop.systemd1.Swap.xml \
254 org.freedesktop.systemd1.Path.xml \
255 org.freedesktop.hostname1.xml \
256 org.freedesktop.locale1.xml \
257 org.freedesktop.timedate1.xml
259 dist_bashcompletion_DATA = \
260 src/systemctl-bash-completion.sh
262 dist_tmpfiles_DATA = \
263 tmpfiles.d/systemd.conf \
267 dist_tmpfiles_DATA += \
268 tmpfiles.d/legacy.conf
271 dist_systemunit_DATA = \
272 units/graphical.target \
273 units/multi-user.target \
274 units/emergency.service \
275 units/emergency.target \
276 units/sysinit.target \
281 units/local-fs.target \
282 units/remote-fs.target \
283 units/cryptsetup.target \
284 units/network.target \
285 units/nss-lookup.target \
286 units/mail-transfer-agent.target \
287 units/http-daemon.target \
288 units/poweroff.target \
289 units/reboot.target \
290 units/rescue.target \
291 units/rpcbind.target \
292 units/time-sync.target \
293 units/shutdown.target \
295 units/umount.target \
296 units/sigpwr.target \
297 units/sockets.target \
299 units/systemd-initctl.socket \
300 units/systemd-logger.socket \
301 units/systemd-shutdownd.socket \
302 units/syslog.socket \
303 units/dev-hugepages.automount \
304 units/dev-hugepages.mount \
305 units/dev-mqueue.automount \
306 units/dev-mqueue.mount \
307 units/sys-kernel-debug.automount \
308 units/sys-kernel-debug.mount \
309 units/sys-kernel-security.automount \
310 units/sys-kernel-security.mount \
311 units/var-run.mount \
313 units/remount-rootfs.service \
314 units/printer.target \
316 units/bluetooth.target \
317 units/smartcard.target \
318 units/systemd-readahead-done.timer \
319 units/systemd-tmpfiles-clean.timer \
320 units/quotaon.service \
321 units/systemd-ask-password-wall.path \
322 units/systemd-ask-password-console.path \
326 dist_systemunit_DATA += \
331 dist_systemunit_DATA += \
332 units/proc-sys-fs-binfmt_misc.automount \
333 units/proc-sys-fs-binfmt_misc.mount
336 nodist_systemunit_DATA = \
337 units/getty@.service \
338 units/serial-getty@.service \
339 units/console-shell.service \
340 units/systemd-initctl.service \
341 units/systemd-logger.service \
342 units/systemd-shutdownd.service \
343 units/systemd-hostnamed.service \
344 units/systemd-localed.service \
345 units/systemd-timedated.service \
346 units/systemd-logind.service \
347 units/systemd-kmsg-syslogd.service \
348 units/systemd-modules-load.service \
349 units/systemd-vconsole-setup.service \
350 units/systemd-remount-api-vfs.service \
351 units/systemd-update-utmp-runlevel.service \
352 units/systemd-update-utmp-shutdown.service \
353 units/systemd-random-seed-save.service \
354 units/systemd-random-seed-load.service \
355 units/systemd-readahead-collect.service \
356 units/systemd-readahead-replay.service \
357 units/systemd-readahead-done.service \
358 units/systemd-tmpfiles-setup.service \
359 units/systemd-tmpfiles-clean.service \
360 units/systemd-user-sessions.service \
361 units/systemd-ask-password-wall.service \
362 units/systemd-ask-password-console.service \
363 units/systemd-sysctl.service \
365 units/poweroff.service \
366 units/reboot.service \
367 units/kexec.service \
368 units/fsck@.service \
369 units/fsck-root.service \
370 units/quotacheck.service \
371 units/rescue.service \
375 nodist_systemunit_DATA += \
376 units/systemd-binfmt.service
379 dist_userunit_DATA = \
380 units/user/default.target \
381 units/user/exit.target
383 nodist_userunit_DATA = \
384 units/user/exit.service
387 units/getty@.service.m4 \
388 units/serial-getty@.service.m4 \
389 units/console-shell.service.m4 \
390 units/rescue.service.m4 \
391 units/systemd-initctl.service.in \
392 units/systemd-logger.service.in \
393 units/systemd-shutdownd.service.in \
394 units/systemd-hostnamed.service.in \
395 units/systemd-localed.service.in \
396 units/systemd-timedated.service.in \
397 units/systemd-logind.service.in \
398 units/systemd-kmsg-syslogd.service.in \
399 units/systemd-modules-load.service.in \
400 units/systemd-vconsole-setup.service.in \
401 units/systemd-remount-api-vfs.service.in \
402 units/systemd-update-utmp-runlevel.service.in \
403 units/systemd-update-utmp-shutdown.service.in \
404 units/systemd-random-seed-save.service.in \
405 units/systemd-random-seed-load.service.in \
406 units/systemd-readahead-collect.service.in \
407 units/systemd-readahead-replay.service.in \
408 units/systemd-readahead-done.service.in \
409 units/systemd-tmpfiles-setup.service.in \
410 units/systemd-tmpfiles-clean.service.in \
411 units/systemd-user-sessions.service.in \
412 units/systemd-ask-password-wall.service.in \
413 units/systemd-ask-password-console.service.in \
414 units/systemd-sysctl.service.in \
415 units/halt.service.in \
416 units/poweroff.service.in \
417 units/reboot.service.in \
418 units/kexec.service.in \
419 units/user/exit.service.in \
420 units/fsck@.service.in \
421 units/fsck-root.service.in \
422 units/quotacheck.service.in \
423 units/user@.service.in \
425 libsystemd-login.pc.in \
427 src/73-seat-late.rules.in
431 units/systemd-binfmt.service.in
435 dist_systemunit_DATA += \
436 units/fedora/prefdm.service \
437 units/fedora/rc-local.service \
438 units/fedora/halt-local.service
442 dist_systemunit_DATA += \
443 units/mandriva/prefdm.service \
444 units/fedora/rc-local.service \
445 units/fedora/halt-local.service
449 dist_systemunit_DATA += \
450 units/frugalware/display-manager.service
454 dist_systemunit_DATA += \
455 units/suse/rc-local.service \
456 units/suse/halt-local.service
460 dist_systemunit_DATA += \
461 units/plymouth-start.service \
462 units/plymouth-read-write.service \
463 units/plymouth-quit.service \
464 units/plymouth-quit-wait.service \
465 units/plymouth-reboot.service \
466 units/plymouth-kexec.service \
467 units/plymouth-poweroff.service \
468 units/plymouth-halt.service \
469 units/systemd-ask-password-plymouth.path
471 nodist_systemunit_DATA += \
472 units/systemd-ask-password-plymouth.service
475 units/systemd-ask-password-plymouth.service.in
487 pkgconfigdata_DATA = \
491 # Passed through intltool only
492 polkitpolicy_in_files = \
493 src/org.freedesktop.hostname1.policy.in \
494 src/org.freedesktop.locale1.policy.in \
495 src/org.freedesktop.timedate1.policy.in \
496 src/org.freedesktop.login1.policy.in
498 # First passed through sed, followed by intltool
499 polkitpolicy_in_in_files = \
500 src/org.freedesktop.systemd1.policy.in.in
502 nodist_polkitpolicy_DATA = \
503 $(polkitpolicy_in_files:.policy.in=.policy) \
504 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
507 $(polkitpolicy_in_files) \
508 $(polkitpolicy_in_in_files)
510 @INTLTOOL_POLICY_RULE@
512 noinst_LTLIBRARIES = \
513 libsystemd-basic.la \
517 libsystemd_basic_la_SOURCES = \
529 libsystemd_basic_la_CFLAGS = \
533 libsystemd_basic_la_LIBADD = \
536 libsystemd_core_la_SOURCES = \
541 src/load-fragment.c \
564 src/dbus-automount.c \
566 src/dbus-snapshot.c \
572 src/hostname-setup.c \
573 src/selinux-setup.c \
574 src/loopback-setup.c \
577 src/machine-id-setup.c \
588 libsystemd_core_la_CFLAGS = \
596 libsystemd_core_la_LIBADD = \
597 libsystemd-basic.la \
604 libsystemd_daemon_la_SOURCES = \
607 # This is needed because automake is buggy in how it generates the
608 # rules for C programs, but not Vala programs. We therefore can't
609 # list the .h files as dependencies if we want make dist to work.
612 ${libsystemd_basic_la_SOURCES:.c=.h} \
613 ${libsystemd_core_la_SOURCES:.c=.h} \
614 ${libsystemd_daemon_la_SOURCES:.c=.h} \
621 src/linux/auto_dev-ioctl.h \
622 src/linux/fanotify.h \
632 src/readahead-common.h \
633 src/ask-password-api.h \
638 src/logind-device.h \
640 src/logind-session.h \
650 man/systemd-nspawn.1 \
651 man/systemd-tmpfiles.8 \
652 man/systemd-notify.1 \
656 man/sd_listen_fds.3 \
659 man/systemd.service.5 \
660 man/systemd.socket.5 \
661 man/systemd.mount.5 \
662 man/systemd.automount.5 \
664 man/systemd.timer.5 \
666 man/systemd.target.5 \
667 man/systemd.device.5 \
668 man/systemd.snapshot.5 \
679 man/systemd-logind.conf.5 \
683 man/vconsole.conf.5 \
687 man/modules-load.d.5 \
689 man/systemd-ask-password.1 \
690 man/systemd-loginctl.1
701 man/sd_is_socket_unix.3 \
702 man/sd_is_socket_inet.3 \
706 man/reboot.8: man/halt.8
707 man/poweroff.8: man/halt.8
708 man/sd_is_socket.3: man/sd_is_fifo.3
709 man/sd_is_socket_unix.3: man/sd_is_fifo.3
710 man/sd_is_socket_inet.3: man/sd_is_fifo.3
711 man/sd_notifyf.3: man/sd_notify.3
712 man/init.1: man/systemd.1
719 man/systemd.special.7
722 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
725 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
728 ${XML_FILES:.xml=.html}
730 nodist_noinst_DATA = \
731 ${XML_IN_FILES:.xml.in=.html}
736 ${nodist_man_MANS:=.in} \
737 ${XML_IN_FILES:.xml.in=.html.in}
750 test_engine_SOURCES = \
753 test_engine_CFLAGS = $(systemd_CFLAGS)
754 test_engine_LDADD = $(systemd_LDADD)
756 test_job_type_SOURCES = \
759 test_job_type_CFLAGS = $(systemd_CFLAGS)
760 test_job_type_LDADD = $(systemd_LDADD)
765 test_ns_CFLAGS = $(systemd_CFLAGS)
766 test_ns_LDADD = $(systemd_LDADD)
768 test_loopback_SOURCES = \
769 src/test-loopback.c \
772 test_loopback_LDADD = \
775 test_hostname_SOURCES = \
776 src/test-hostname.c \
779 test_hostname_LDADD = \
782 test_daemon_SOURCES = \
785 test_daemon_LDADD = \
786 libsystemd-basic.la \
789 test_cgroup_SOURCES = \
793 test_cgroup_CFLAGS = \
796 test_cgroup_LDADD = \
799 test_env_replace_SOURCES = \
800 src/test-env-replace.c
802 test_env_replace_CFLAGS = \
805 test_env_replace_LDADD = \
808 test_strv_SOURCES = \
818 test_login_SOURCES = \
821 test_login_CFLAGS = \
825 libsystemd-basic.la \
828 systemd_logger_SOURCES = \
832 systemd_logger_LDADD = \
833 libsystemd-basic.la \
834 libsystemd-daemon.la \
837 systemd_initctl_SOURCES = \
841 systemd_initctl_CFLAGS = \
845 systemd_initctl_LDADD = \
846 libsystemd-basic.la \
847 libsystemd-daemon.la \
850 systemd_update_utmp_SOURCES = \
855 systemd_update_utmp_CFLAGS = \
860 systemd_update_utmp_LDADD = \
861 libsystemd-basic.la \
865 systemd_random_seed_SOURCES = \
868 systemd_random_seed_CFLAGS = \
871 systemd_random_seed_LDADD = \
874 systemd_shutdownd_SOURCES = \
878 systemd_shutdownd_CFLAGS = \
881 systemd_shutdownd_LDADD = \
882 libsystemd-basic.la \
885 systemd_hostnamed_SOURCES = \
890 systemd_hostnamed_CFLAGS = \
894 systemd_hostnamed_LDADD = \
895 libsystemd-basic.la \
896 libsystemd-daemon.la \
899 systemd_localed_SOURCES = \
904 systemd_localed_CFLAGS = \
908 systemd_localed_LDADD = \
909 libsystemd-basic.la \
910 libsystemd-daemon.la \
913 systemd_timedated_SOURCES = \
918 systemd_timedated_CFLAGS = \
922 systemd_timedated_LDADD = \
923 libsystemd-basic.la \
924 libsystemd-daemon.la \
927 systemd_logind_SOURCES = \
930 src/logind-device.c \
932 src/logind-seat-dbus.c \
933 src/logind-session.c \
934 src/logind-session-dbus.c \
936 src/logind-user-dbus.c \
942 systemd_logind_CFLAGS = \
948 systemd_logind_LDADD = \
949 libsystemd-basic.la \
950 libsystemd-daemon.la \
955 systemd_uaccess_SOURCES = \
959 systemd_logind_SOURCES += \
962 systemd_uaccess_SOURCES += \
966 systemd_uaccess_CFLAGS = \
971 systemd_uaccess_LDADD = \
972 libsystemd-basic.la \
973 libsystemd-daemon.la \
977 systemd_shutdown_SOURCES = \
982 systemd_shutdown_CFLAGS = \
986 systemd_shutdown_LDADD = \
987 libsystemd-basic.la \
990 systemd_modules_load_SOURCES = \
993 systemd_modules_load_CFLAGS = \
996 systemd_modules_load_LDADD = \
999 systemd_tmpfiles_SOURCES = \
1002 systemd_tmpfiles_CFLAGS = \
1005 systemd_tmpfiles_LDADD = \
1008 systemd_machine_id_setup_SOURCES = \
1009 src/machine-id-setup.c \
1010 src/machine-id-main.c
1012 systemd_machine_id_setup_CFLAGS = \
1015 systemd_machine_id_setup_LDADD = \
1018 systemd_sysctl_SOURCES = \
1021 systemd_sysctl_CFLAGS = \
1024 systemd_sysctl_LDADD = \
1027 systemd_binfmt_SOURCES = \
1030 systemd_binfmt_CFLAGS = \
1033 systemd_binfmt_LDADD = \
1036 systemd_fsck_SOURCES = \
1040 systemd_fsck_CFLAGS = \
1045 systemd_fsck_LDADD = \
1046 libsystemd-basic.la \
1050 systemd_quotacheck_SOURCES = \
1053 systemd_quotacheck_CFLAGS = \
1056 systemd_quotacheck_LDADD = \
1059 systemd_timestamp_SOURCES = \
1062 systemd_timestamp_CFLAGS = \
1065 systemd_timestamp_LDADD = \
1068 systemd_ac_power_SOURCES = \
1071 systemd_ac_power_CFLAGS = \
1075 systemd_ac_power_LDADD = \
1076 libsystemd-basic.la \
1079 systemd_detect_virt_SOURCES = \
1082 systemd_detect_virt_CFLAGS = \
1085 systemd_detect_virt_LDADD = \
1088 systemd_cryptsetup_SOURCES = \
1090 src/ask-password-api.c
1092 systemd_cryptsetup_CFLAGS = \
1093 $(LIBCRYPTSETUP_CFLAGS) \
1097 systemd_cryptsetup_LDADD = \
1098 $(LIBCRYPTSETUP_LIBS) \
1102 systemd_cryptsetup_generator_SOURCES = \
1103 src/cryptsetup-generator.c \
1106 systemd_cryptsetup_generator_CFLAGS = \
1109 systemd_cryptsetup_generator_LDADD = \
1112 systemd_getty_generator_SOURCES = \
1113 src/getty-generator.c \
1116 systemd_getty_generator_CFLAGS = \
1119 systemd_getty_generator_LDADD = \
1122 systemd_user_sessions_SOURCES = \
1123 src/user-sessions.c \
1126 systemd_user_sessions_CFLAGS = \
1129 systemd_user_sessions_LDADD = \
1132 systemd_vconsole_setup_SOURCES = \
1133 src/vconsole-setup.c
1135 systemd_vconsole_setup_CFLAGS = \
1138 systemd_vconsole_setup_LDADD = \
1141 systemd_remount_api_vfs_SOURCES = \
1142 src/remount-api-vfs.c \
1146 systemd_remount_api_vfs_CFLAGS = \
1149 systemd_remount_api_vfs_LDADD = \
1152 systemd_cgroups_agent_SOURCES = \
1153 src/cgroups-agent.c \
1156 systemd_cgroups_agent_CFLAGS = \
1160 systemd_cgroups_agent_LDADD = \
1161 libsystemd-basic.la \
1164 systemd_kmsg_syslogd_SOURCES = \
1165 src/kmsg-syslogd.c \
1168 systemd_kmsg_syslogd_CFLAGS = \
1171 systemd_kmsg_syslogd_LDADD = \
1172 libsystemd-basic.la \
1173 libsystemd-daemon.la
1175 systemctl_SOURCES = \
1186 systemctl_CFLAGS = \
1191 libsystemd-basic.la \
1192 libsystemd-daemon.la \
1195 systemd_loginctl_SOURCES = \
1203 systemd_loginctl_CFLAGS = \
1208 systemd_loginctl_LDADD = \
1209 libsystemd-basic.la \
1213 systemd_notify_SOURCES = \
1217 systemd_notify_LDADD = \
1218 libsystemd-basic.la \
1219 libsystemd-daemon.la
1221 systemd_ask_password_SOURCES = \
1222 src/ask-password.c \
1223 src/ask-password-api.c
1225 systemd_ask_password_LDADD = \
1228 systemd_reply_password_SOURCES = \
1229 src/reply-password.c
1231 systemd_reply_password_LDADD = \
1234 systemd_readahead_collect_SOURCES = \
1235 src/readahead-collect.c \
1236 src/readahead-common.c
1238 systemd_readahead_collect_CFLAGS = \
1241 systemd_readahead_collect_LDADD = \
1242 libsystemd-basic.la \
1243 libsystemd-daemon.la \
1246 systemd_readahead_replay_SOURCES = \
1247 src/readahead-replay.c \
1248 src/readahead-common.c
1250 systemd_readahead_replay_CFLAGS = \
1253 systemd_readahead_replay_LDADD = \
1254 libsystemd-basic.la \
1255 libsystemd-daemon.la \
1258 systemd_cgls_SOURCES = \
1264 systemd_cgls_CFLAGS = \
1267 systemd_cgls_LDADD = \
1270 systemd_nspawn_SOURCES = \
1274 systemd_nspawn_CFLAGS = \
1277 systemd_nspawn_LDADD = \
1278 libsystemd-basic.la \
1279 libsystemd-daemon.la
1281 systemd_stdio_bridge_SOURCES = \
1284 systemd_stdio_bridge_LDADD = \
1287 systemadm_SOURCES = \
1288 src/systemadm.vala \
1289 src/systemd-interfaces.vala
1291 systemadm_CFLAGS = \
1294 -Wno-unused-variable \
1295 -Wno-unused-function \
1297 -Wno-format-nonliteral
1299 systemadm_VALAFLAGS = \
1307 systemd_gnome_ask_password_agent_SOURCES = \
1308 src/gnome-ask-password-agent.vala
1310 systemd_gnome_ask_password_agent_CFLAGS = \
1312 $(LIBNOTIFY_CFLAGS) \
1314 -Wno-unused-variable \
1315 -Wno-unused-function \
1317 -Wno-format-nonliteral
1319 systemd_gnome_ask_password_agent_VALAFLAGS = \
1323 --pkg=gio-unix-2.0 \
1326 systemd_gnome_ask_password_agent_VALAFLAGS += \
1329 systemd_gnome_ask_password_agent_VALAFLAGS += \
1332 systemd_gnome_ask_password_agent_LDADD = \
1336 systemd_tty_ask_password_agent_SOURCES = \
1337 src/tty-ask-password-agent.c \
1338 src/ask-password-api.c \
1341 systemd_tty_ask_password_agent_LDADD = \
1344 pam_systemd_la_SOURCES = \
1348 pam_systemd_la_CFLAGS = \
1354 pam_systemd_la_LDFLAGS = \
1359 -export-symbols-regex '^pam_sm_.*'
1361 pam_systemd_la_LIBADD = \
1362 libsystemd-basic.la \
1363 libsystemd-daemon.la \
1367 libsystemd_login_la_CFLAGS = \
1371 libsystemd_login_la_LDFLAGS = \
1373 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE)
1375 libsystemd_login_la_SOURCES = \
1379 libsystemd_login_la_LIBADD = \
1383 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1384 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1385 -e 's,@rootbindir\@,$(rootbindir),g' \
1386 -e 's,@bindir\@,$(bindir),g' \
1387 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1388 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1389 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1390 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1391 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1392 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1393 -e 's,@userunitdir\@,$(userunitdir),g' \
1394 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1395 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1396 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1397 -e 's,@prefix\@,$(prefix),g' \
1398 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1399 -e 's,@libdir\@,$(libdir),g' \
1400 -e 's,@includedir\@,$(includedir),g' \
1403 units/%: units/%.in Makefile
1406 man/%: man/%.in Makefile
1409 %.pc: %.pc.in Makefile
1412 src/%.policy.in: src/%.policy.in.in Makefile
1415 src/%.rules: src/%.rules.in Makefile
1418 M4_PROCESS_SYSTEM = \
1419 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1420 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1423 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1424 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1426 units/%: units/%.m4 Makefile
1427 $(M4_PROCESS_SYSTEM)
1429 units/user/%: units/%.m4 Makefile
1433 $(nodist_systemunit_DATA) \
1434 $(nodist_userunit_DATA) \
1435 $(nodist_man_MANS) \
1436 ${XML_IN_FILES:.xml.in=.html} \
1437 $(pkgconfigdata_DATA) \
1438 $(nodist_polkitpolicy_DATA) \
1439 src/73-seat-late.rules
1443 ${systemadm_SOURCES:.vala=.c}
1449 --param funcsynopsis.style "'ansi'"
1451 XSLTPROC_PROCESS_MAN = \
1452 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1453 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1455 XSLTPROC_PROCESS_MAN_IN = \
1456 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1457 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1460 XSLTPROC_PROCESS_HTML = \
1461 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1462 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1464 XSLTPROC_PROCESS_HTML_IN = \
1465 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1466 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1470 $(XSLTPROC_PROCESS_MAN)
1472 man/%.1.in: man/%.xml.in
1473 $(XSLTPROC_PROCESS_MAN)
1476 $(XSLTPROC_PROCESS_MAN)
1478 man/%.3.in: man/%.xml.in
1479 $(XSLTPROC_PROCESS_MAN)
1482 $(XSLTPROC_PROCESS_MAN)
1484 man/%.5.in: man/%.xml.in
1485 $(XSLTPROC_PROCESS_MAN)
1488 $(XSLTPROC_PROCESS_MAN)
1490 man/%.7.in: man/%.xml.in
1491 $(XSLTPROC_PROCESS_MAN_IN)
1494 $(XSLTPROC_PROCESS_MAN)
1496 man/%.8.in: man/%.xml.in
1497 $(XSLTPROC_PROCESS_MAN_IN)
1499 man/%.html: man/%.xml
1500 $(XSLTPROC_PROCESS_HTML)
1502 man/%.html.in: man/%.xml.in
1503 $(XSLTPROC_PROCESS_HTML_IN)
1507 ${nodist_man_MANS:=.in} \
1508 ${XML_FILES:.xml=.html} \
1509 ${XML_IN_FILES:.xml.in=.html.in}
1512 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1514 org.freedesktop.systemd1.%.xml: systemd
1515 $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1516 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1517 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1519 org.freedesktop.hostname1.xml: systemd-hostnamed
1520 $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1521 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1522 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1524 org.freedesktop.locale1.xml: systemd-localed
1525 $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1526 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1527 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1529 org.freedesktop.timedate1.xml: systemd-timedated
1530 $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1531 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1532 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1535 $(dbusinterface_DATA)
1538 $(MKDIR_P) -m 0755 \
1539 $(DESTDIR)$(tmpfilesdir) \
1540 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1541 $(DESTDIR)$(prefix)/lib/modules-load.d \
1542 $(DESTDIR)$(sysconfdir)/modules-load.d \
1543 $(DESTDIR)$(prefix)/lib/sysctl.d \
1544 $(DESTDIR)$(sysconfdir)/sysctl.d \
1545 $(DESTDIR)$(systemshutdowndir) \
1546 $(DESTDIR)$(systemgeneratordir) \
1547 $(DESTDIR)$(usergeneratordir)
1549 $(MKDIR_P) -m 0755 \
1550 $(DESTDIR)$(prefix)/lib/binfmt.d \
1551 $(DESTDIR)$(sysconfdir)/binfmt.d
1553 $(MKDIR_P) -m 0755 \
1554 $(DESTDIR)$(systemunitdir) \
1555 $(DESTDIR)$(userunitdir) \
1556 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1557 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1558 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1559 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1560 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1561 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1562 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1563 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1564 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1565 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1566 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1567 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1568 $(DESTDIR)$(pkgsysconfdir)/system \
1569 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1570 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1571 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1572 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1573 $(DESTDIR)$(pkgsysconfdir)/user \
1574 $(DESTDIR)$(dbussessionservicedir) \
1575 $(DESTDIR)$(sysconfdir)/xdg/systemd
1576 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1578 $(LN_S) $(pkgsysconfdir)/user user )
1579 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1580 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1581 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1582 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1583 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1584 $(LN_S) ../syslog.socket syslog.socket )
1585 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1586 rm -f systemd-update-utmp-runlevel.service && \
1587 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1588 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1589 rm -f systemd-update-utmp-runlevel.service && \
1590 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1591 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1592 rm -f systemd-update-utmp-runlevel.service && \
1593 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1594 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1595 rm -f systemd-update-utmp-runlevel.service && \
1596 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1597 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1598 rm -f systemd-update-utmp-runlevel.service && \
1599 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1600 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1601 rm -f systemd-update-utmp-shutdown.service \
1602 systemd-random-seed-save.service && \
1603 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1604 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1605 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1606 rm -f systemd-remount-api-vfs.service \
1608 remount-rootfs.service \
1611 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1612 $(LN_S) ../fsck-root.service fsck-root.service && \
1613 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1614 $(LN_S) ../var-run.mount var-run.mount && \
1615 $(LN_S) ../media.mount media.mount )
1616 ( cd $(DESTDIR)$(userunitdir) && \
1617 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1618 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1619 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1620 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1621 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1622 $(LN_S) $(systemunitdir)/sound.target sound.target )
1623 ( cd $(DESTDIR)$(systemunitdir) && \
1624 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1625 $(LN_S) poweroff.target runlevel0.target && \
1626 $(LN_S) rescue.target runlevel1.target && \
1627 $(LN_S) multi-user.target runlevel2.target && \
1628 $(LN_S) multi-user.target runlevel3.target && \
1629 $(LN_S) multi-user.target runlevel4.target && \
1630 $(LN_S) graphical.target runlevel5.target && \
1631 $(LN_S) reboot.target runlevel6.target )
1632 ( cd $(DESTDIR)$(systemunitdir) && \
1633 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.hostname1.service dbus-org.freedesktop.locale1.service dbus-org.freedesktop.timedate1.service dbus-org.freedesktop.login1.service autovt@.service && \
1634 $(LN_S) graphical.target default.target && \
1635 $(LN_S) reboot.target ctrl-alt-del.target && \
1636 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1637 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1638 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1639 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1640 $(LN_S) getty@.service autovt@.service )
1641 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1642 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1643 $(LN_S) ../getty.target getty.target && \
1644 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1645 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1646 $(LN_S) ../systemd-logind.service systemd-logind.service )
1647 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1648 rm -f getty@tty1.service && \
1649 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1650 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1651 rm -f remote-fs.target && \
1652 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1653 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1654 rm -f dev-hugepages.automount \
1655 dev-mqueue.automount \
1656 sys-kernel-debug.automount \
1657 sys-kernel-security.automount \
1658 systemd-vconsole-setup.service \
1659 systemd-modules-load.service \
1660 systemd-random-seed-load.service \
1661 systemd-tmpfiles-setup.service \
1662 systemd-sysctl.service \
1663 systemd-ask-password-console.path \
1664 systemd-kmsg-syslogd.service \
1665 cryptsetup.target && \
1666 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1667 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1668 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1669 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1670 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1671 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1672 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1673 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1674 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1675 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1676 $(LN_S) ../systemd-kmsg-syslogd.service && \
1677 $(LN_S) ../cryptsetup.target cryptsetup.target )
1679 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1680 rm -f systemd-binfmt.service \
1681 proc-sys-fs-binfmt_misc.automount && \
1682 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1683 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1685 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1686 rm -f systemd-tmpfiles-clean.timer && \
1687 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1688 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1689 rm -f org.freedesktop.systemd1.service && \
1690 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1692 $(MKDIR_P) -m 0755 \
1693 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1694 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1695 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1696 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1697 $(DESTDIR)$(systemunitdir)/halt.target.wants
1698 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1699 rm -f plymouth-start.service plymouth-read-write.service && \
1700 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1701 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1702 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1703 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1704 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1705 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1706 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1707 rm -f plymouth-reboot.service && \
1708 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1709 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1710 rm -f plymouth-kexec.service && \
1711 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1712 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1713 rm -f plymouth-poweroff.service && \
1714 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1715 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1716 rm -f plymouth-halt.service && \
1717 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1720 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1721 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1722 rm -f network.target && \
1723 $(LN_S) $(systemunitdir)/network.target network.target )
1724 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1726 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1728 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1730 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1735 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1736 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1737 rm -f rc-local.service && \
1738 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1739 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1740 rm -f halt-local.service && \
1741 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1742 ( cd $(DESTDIR)$(systemunitdir) && \
1743 rm -f display-manager.service single.service && \
1744 $(LN_S) prefdm.service display-manager.service && \
1745 $(LN_S) rescue.service single.service )
1746 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1747 rm -f display-manager.service && \
1748 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1752 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1753 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1754 rm -f rc-local.service && \
1755 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1756 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1757 rm -f halt-local.service && \
1758 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1759 ( cd $(DESTDIR)$(systemunitdir) && \
1760 rm -f display-manager.service dm.service single.service && \
1761 $(LN_S) prefdm.service display-manager.service && \
1762 $(LN_S) prefdm.service dm.service && \
1763 $(LN_S) rescue.service single.service )
1764 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1765 rm -f display-manager.service && \
1766 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1769 if TARGET_DEBIAN_OR_UBUNTU
1770 ( cd $(DESTDIR)$(systemunitdir) && \
1771 rm -f runlevel5.target && \
1772 $(LN_S) multi-user.target runlevel5.target )
1776 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1777 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1778 rm -f rc-local.service && \
1779 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1780 ( cd $(DESTDIR)$(systemunitdir) && \
1781 rm -f local.service && \
1782 $(LN_S) rc-local.service local.service )
1783 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1784 rm -f halt-local.service && \
1785 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1789 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1790 rm -f var-lock.mount && \
1791 $(LN_S) ../var-lock.mount var-lock.mount )
1794 DISTCHECK_CONFIGURE_FLAGS = \
1795 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1796 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1797 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1798 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1799 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1800 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1801 --with-rootdir=$$dc_install_base/$(rootdir)
1803 upload: all distcheck
1804 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1805 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1806 scp man/*.html tango:public/systemd-man/
1809 git tag "v$(VERSION)" -m "systemd $(VERSION)"