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 LIBSYSTEMD_DAEMON_CURRENT=0
27 LIBSYSTEMD_DAEMON_REVISION=0
28 LIBSYSTEMD_DAEMON_AGE=0
30 # Dirs of external packages
31 dbuspolicydir=@dbuspolicydir@
32 dbussessionservicedir=@dbussessionservicedir@
33 dbussystemservicedir=@dbussystemservicedir@
34 dbusinterfacedir=@dbusinterfacedir@
35 udevrulesdir=@udevrulesdir@
37 pkgconfigdatadir=$(datadir)/pkgconfig
38 polkitpolicydir=$(datadir)/polkit-1/actions
39 bashcompletiondir=$(sysconfdir)/bash_completion.d
41 # Our own, non-special dirs
42 pkgsysconfdir=$(sysconfdir)/systemd
43 userunitdir=$(prefix)/lib/systemd/user
44 tmpfilesdir=$(prefix)/lib/tmpfiles.d
45 usergeneratordir=$(pkglibexecdir)/user-generators
46 pkgincludedir=$(includedir)/systemd
48 # And these are the special ones for /
50 rootbindir=$(rootdir)/bin
51 rootlibexecdir=$(rootdir)/lib/systemd
52 systemgeneratordir=$(rootlibexecdir)/system-generators
53 systemshutdowndir=$(rootlibexecdir)/system-shutdown
54 systemunitdir=$(rootdir)/lib/systemd/system
57 -include $(top_builddir)/config.h \
58 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
59 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
60 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
61 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
62 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
63 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
64 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
65 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
66 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
67 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
68 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
69 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
70 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
71 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
72 -DRUNTIME_DIR=\"/run\" \
73 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
74 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
75 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
76 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
77 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
82 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
83 -DKBD_SETFONT=\"/usr/bin/setfont\" \
84 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
88 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
89 -DKBD_SETFONT=\"/usr/bin/setfont\" \
90 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
94 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
95 -DKBD_SETFONT=\"/usr/bin/setfont\" \
96 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
100 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
101 -DKBD_SETFONT=\"/bin/setfont\" \
102 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
106 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
107 -DKBD_SETFONT=\"/bin/setfont\" \
108 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
112 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
113 -DKBD_SETFONT=\"/usr/bin/setfont\" \
114 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
117 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
118 -DKBD_SETFONT=\"/bin/setfont\" \
119 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
132 systemd-ask-password \
133 systemd-tty-ask-password-agent \
135 systemd-machine-id-setup
139 systemd-stdio-bridge \
148 systemd-gnome-ask-password-agent
151 rootlibexec_PROGRAMS = \
153 systemd-cgroups-agent \
155 systemd-update-utmp \
156 systemd-random-seed \
159 systemd-modules-load \
160 systemd-remount-api-vfs \
161 systemd-kmsg-syslogd \
162 systemd-vconsole-setup \
163 systemd-reply-password \
164 systemd-readahead-collect \
165 systemd-readahead-replay \
166 systemd-user-sessions \
171 systemd-detect-virt \
180 rootlibexec_PROGRAMS += \
184 systemgenerator_PROGRAMS = \
185 systemd-getty-generator
187 if HAVE_LIBCRYPTSETUP
188 rootlibexec_PROGRAMS += \
191 systemgenerator_PROGRAMS += \
192 systemd-cryptsetup-generator
196 libsystemd-daemon.la \
199 pkginclude_HEADERS = \
215 pamlib_LTLIBRARIES = \
219 dist_pkgsysconf_DATA = \
222 src/systemd-logind.conf
224 dist_dbuspolicy_DATA = \
225 src/org.freedesktop.systemd1.conf \
226 src/org.freedesktop.hostname1.conf \
227 src/org.freedesktop.locale1.conf \
228 src/org.freedesktop.timedate1.conf \
229 src/org.freedesktop.login1.conf
231 dist_dbussystemservice_DATA = \
232 src/org.freedesktop.systemd1.service \
233 src/org.freedesktop.hostname1.service \
234 src/org.freedesktop.locale1.service \
235 src/org.freedesktop.timedate1.service \
236 src/org.freedesktop.login1.service
238 dist_udevrules_DATA = \
239 src/70-uaccess.rules \
243 nodist_udevrules_DATA = \
244 src/73-seat-late.rules
246 dbusinterface_DATA = \
247 org.freedesktop.systemd1.Manager.xml \
248 org.freedesktop.systemd1.Job.xml \
249 org.freedesktop.systemd1.Unit.xml \
250 org.freedesktop.systemd1.Service.xml \
251 org.freedesktop.systemd1.Socket.xml \
252 org.freedesktop.systemd1.Timer.xml \
253 org.freedesktop.systemd1.Target.xml \
254 org.freedesktop.systemd1.Device.xml \
255 org.freedesktop.systemd1.Mount.xml \
256 org.freedesktop.systemd1.Automount.xml \
257 org.freedesktop.systemd1.Snapshot.xml \
258 org.freedesktop.systemd1.Swap.xml \
259 org.freedesktop.systemd1.Path.xml \
260 org.freedesktop.hostname1.xml \
261 org.freedesktop.locale1.xml \
262 org.freedesktop.timedate1.xml
264 dist_bashcompletion_DATA = \
265 src/systemctl-bash-completion.sh
267 dist_tmpfiles_DATA = \
268 tmpfiles.d/systemd.conf \
272 dist_tmpfiles_DATA += \
273 tmpfiles.d/legacy.conf
276 dist_systemunit_DATA = \
277 units/graphical.target \
278 units/multi-user.target \
279 units/emergency.service \
280 units/emergency.target \
281 units/sysinit.target \
286 units/local-fs.target \
287 units/remote-fs.target \
288 units/cryptsetup.target \
289 units/network.target \
290 units/nss-lookup.target \
291 units/mail-transfer-agent.target \
292 units/http-daemon.target \
293 units/poweroff.target \
294 units/reboot.target \
295 units/rescue.target \
296 units/rpcbind.target \
297 units/time-sync.target \
298 units/shutdown.target \
300 units/umount.target \
301 units/sigpwr.target \
302 units/sockets.target \
304 units/systemd-initctl.socket \
305 units/systemd-logger.socket \
306 units/systemd-shutdownd.socket \
307 units/syslog.socket \
308 units/dev-hugepages.automount \
309 units/dev-hugepages.mount \
310 units/dev-mqueue.automount \
311 units/dev-mqueue.mount \
312 units/sys-kernel-debug.automount \
313 units/sys-kernel-debug.mount \
314 units/sys-kernel-security.automount \
315 units/sys-kernel-security.mount \
316 units/var-run.mount \
318 units/remount-rootfs.service \
319 units/printer.target \
321 units/bluetooth.target \
322 units/smartcard.target \
323 units/systemd-readahead-done.timer \
324 units/systemd-tmpfiles-clean.timer \
325 units/quotaon.service \
326 units/systemd-ask-password-wall.path \
327 units/systemd-ask-password-console.path \
331 dist_systemunit_DATA += \
336 dist_systemunit_DATA += \
337 units/proc-sys-fs-binfmt_misc.automount \
338 units/proc-sys-fs-binfmt_misc.mount
341 nodist_systemunit_DATA = \
342 units/getty@.service \
343 units/serial-getty@.service \
344 units/console-shell.service \
345 units/systemd-initctl.service \
346 units/systemd-logger.service \
347 units/systemd-shutdownd.service \
348 units/systemd-hostnamed.service \
349 units/systemd-localed.service \
350 units/systemd-timedated.service \
351 units/systemd-logind.service \
352 units/systemd-kmsg-syslogd.service \
353 units/systemd-modules-load.service \
354 units/systemd-vconsole-setup.service \
355 units/systemd-remount-api-vfs.service \
356 units/systemd-update-utmp-runlevel.service \
357 units/systemd-update-utmp-shutdown.service \
358 units/systemd-random-seed-save.service \
359 units/systemd-random-seed-load.service \
360 units/systemd-readahead-collect.service \
361 units/systemd-readahead-replay.service \
362 units/systemd-readahead-done.service \
363 units/systemd-tmpfiles-setup.service \
364 units/systemd-tmpfiles-clean.service \
365 units/systemd-user-sessions.service \
366 units/systemd-ask-password-wall.service \
367 units/systemd-ask-password-console.service \
368 units/systemd-sysctl.service \
370 units/poweroff.service \
371 units/reboot.service \
372 units/kexec.service \
373 units/fsck@.service \
374 units/fsck-root.service \
375 units/quotacheck.service \
376 units/rescue.service \
380 nodist_systemunit_DATA += \
381 units/systemd-binfmt.service
384 dist_userunit_DATA = \
385 units/user/default.target \
386 units/user/exit.target
388 nodist_userunit_DATA = \
389 units/user/exit.service
392 units/getty@.service.m4 \
393 units/serial-getty@.service.m4 \
394 units/console-shell.service.m4 \
395 units/rescue.service.m4 \
396 units/systemd-initctl.service.in \
397 units/systemd-logger.service.in \
398 units/systemd-shutdownd.service.in \
399 units/systemd-hostnamed.service.in \
400 units/systemd-localed.service.in \
401 units/systemd-timedated.service.in \
402 units/systemd-logind.service.in \
403 units/systemd-kmsg-syslogd.service.in \
404 units/systemd-modules-load.service.in \
405 units/systemd-vconsole-setup.service.in \
406 units/systemd-remount-api-vfs.service.in \
407 units/systemd-update-utmp-runlevel.service.in \
408 units/systemd-update-utmp-shutdown.service.in \
409 units/systemd-random-seed-save.service.in \
410 units/systemd-random-seed-load.service.in \
411 units/systemd-readahead-collect.service.in \
412 units/systemd-readahead-replay.service.in \
413 units/systemd-readahead-done.service.in \
414 units/systemd-tmpfiles-setup.service.in \
415 units/systemd-tmpfiles-clean.service.in \
416 units/systemd-user-sessions.service.in \
417 units/systemd-ask-password-wall.service.in \
418 units/systemd-ask-password-console.service.in \
419 units/systemd-sysctl.service.in \
420 units/halt.service.in \
421 units/poweroff.service.in \
422 units/reboot.service.in \
423 units/kexec.service.in \
424 units/user/exit.service.in \
425 units/fsck@.service.in \
426 units/fsck-root.service.in \
427 units/quotacheck.service.in \
428 units/user@.service.in \
430 libsystemd-daemon.pc.in \
431 libsystemd-login.pc.in \
433 src/73-seat-late.rules.in
437 units/systemd-binfmt.service.in
441 dist_systemunit_DATA += \
442 units/fedora/prefdm.service \
443 units/fedora/rc-local.service \
444 units/fedora/halt-local.service
448 dist_systemunit_DATA += \
449 units/mandriva/prefdm.service \
450 units/fedora/rc-local.service \
451 units/fedora/halt-local.service
455 dist_systemunit_DATA += \
456 units/frugalware/display-manager.service
460 dist_systemunit_DATA += \
461 units/suse/rc-local.service \
462 units/suse/halt-local.service
466 dist_systemunit_DATA += \
467 units/plymouth-start.service \
468 units/plymouth-read-write.service \
469 units/plymouth-quit.service \
470 units/plymouth-quit-wait.service \
471 units/plymouth-reboot.service \
472 units/plymouth-kexec.service \
473 units/plymouth-poweroff.service \
474 units/plymouth-halt.service \
475 units/systemd-ask-password-plymouth.path
477 nodist_systemunit_DATA += \
478 units/systemd-ask-password-plymouth.service
481 units/systemd-ask-password-plymouth.service.in
493 pkgconfigdata_DATA = \
495 libsystemd-daemon.pc \
498 # Passed through intltool only
499 polkitpolicy_in_files = \
500 src/org.freedesktop.hostname1.policy.in \
501 src/org.freedesktop.locale1.policy.in \
502 src/org.freedesktop.timedate1.policy.in \
503 src/org.freedesktop.login1.policy.in
505 # First passed through sed, followed by intltool
506 polkitpolicy_in_in_files = \
507 src/org.freedesktop.systemd1.policy.in.in
509 nodist_polkitpolicy_DATA = \
510 $(polkitpolicy_in_files:.policy.in=.policy) \
511 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
514 $(polkitpolicy_in_files) \
515 $(polkitpolicy_in_in_files)
517 @INTLTOOL_POLICY_RULE@
519 noinst_LTLIBRARIES = \
520 libsystemd-basic.la \
523 libsystemd_basic_la_SOURCES = \
535 libsystemd_basic_la_CFLAGS = \
539 libsystemd_basic_la_LIBADD = \
542 libsystemd_core_la_SOURCES = \
547 src/load-fragment.c \
570 src/dbus-automount.c \
572 src/dbus-snapshot.c \
578 src/hostname-setup.c \
579 src/selinux-setup.c \
580 src/loopback-setup.c \
583 src/machine-id-setup.c \
594 libsystemd_core_la_CFLAGS = \
602 libsystemd_core_la_LIBADD = \
603 libsystemd-basic.la \
610 # This is needed because automake is buggy in how it generates the
611 # rules for C programs, but not Vala programs. We therefore can't
612 # list the .h files as dependencies if we want make dist to work.
615 ${libsystemd_basic_la_SOURCES:.c=.h} \
616 ${libsystemd_core_la_SOURCES:.c=.h} \
617 ${libsystemd_daemon_la_SOURCES:.c=.h} \
624 src/linux/auto_dev-ioctl.h \
625 src/linux/fanotify.h \
635 src/readahead-common.h \
636 src/ask-password-api.h \
641 src/logind-device.h \
643 src/logind-session.h \
653 man/systemd-nspawn.1 \
654 man/systemd-tmpfiles.8 \
655 man/systemd-notify.1 \
659 man/sd_listen_fds.3 \
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 \
682 man/systemd-logind.conf.5 \
686 man/vconsole.conf.5 \
690 man/modules-load.d.5 \
692 man/systemd-ask-password.1 \
693 man/systemd-loginctl.1
704 man/sd_is_socket_unix.3 \
705 man/sd_is_socket_inet.3 \
709 man/reboot.8: man/halt.8
710 man/poweroff.8: man/halt.8
711 man/sd_is_socket.3: man/sd_is_fifo.3
712 man/sd_is_socket_unix.3: man/sd_is_fifo.3
713 man/sd_is_socket_inet.3: man/sd_is_fifo.3
714 man/sd_notifyf.3: man/sd_notify.3
715 man/init.1: man/systemd.1
722 man/systemd.special.7
725 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
728 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
731 ${XML_FILES:.xml=.html}
733 nodist_noinst_DATA = \
734 ${XML_IN_FILES:.xml.in=.html}
739 ${nodist_man_MANS:=.in} \
740 ${XML_IN_FILES:.xml.in=.html.in}
753 test_engine_SOURCES = \
756 test_engine_CFLAGS = $(systemd_CFLAGS)
757 test_engine_LDADD = $(systemd_LDADD)
759 test_job_type_SOURCES = \
762 test_job_type_CFLAGS = $(systemd_CFLAGS)
763 test_job_type_LDADD = $(systemd_LDADD)
768 test_ns_CFLAGS = $(systemd_CFLAGS)
769 test_ns_LDADD = $(systemd_LDADD)
771 test_loopback_SOURCES = \
772 src/test-loopback.c \
775 test_loopback_LDADD = \
778 test_hostname_SOURCES = \
779 src/test-hostname.c \
782 test_hostname_LDADD = \
785 test_daemon_SOURCES = \
788 test_daemon_LDADD = \
789 libsystemd-basic.la \
792 test_cgroup_SOURCES = \
796 test_cgroup_CFLAGS = \
799 test_cgroup_LDADD = \
802 test_env_replace_SOURCES = \
803 src/test-env-replace.c
805 test_env_replace_CFLAGS = \
808 test_env_replace_LDADD = \
811 test_strv_SOURCES = \
821 test_login_SOURCES = \
824 test_login_CFLAGS = \
828 libsystemd-basic.la \
831 systemd_logger_SOURCES = \
835 systemd_logger_LDADD = \
836 libsystemd-basic.la \
837 libsystemd-daemon.la \
840 systemd_initctl_SOURCES = \
844 systemd_initctl_CFLAGS = \
848 systemd_initctl_LDADD = \
849 libsystemd-basic.la \
850 libsystemd-daemon.la \
853 systemd_update_utmp_SOURCES = \
858 systemd_update_utmp_CFLAGS = \
863 systemd_update_utmp_LDADD = \
864 libsystemd-basic.la \
868 systemd_random_seed_SOURCES = \
871 systemd_random_seed_CFLAGS = \
874 systemd_random_seed_LDADD = \
877 systemd_shutdownd_SOURCES = \
881 systemd_shutdownd_CFLAGS = \
884 systemd_shutdownd_LDADD = \
885 libsystemd-basic.la \
888 systemd_hostnamed_SOURCES = \
893 systemd_hostnamed_CFLAGS = \
897 systemd_hostnamed_LDADD = \
898 libsystemd-basic.la \
899 libsystemd-daemon.la \
902 systemd_localed_SOURCES = \
907 systemd_localed_CFLAGS = \
911 systemd_localed_LDADD = \
912 libsystemd-basic.la \
913 libsystemd-daemon.la \
916 systemd_timedated_SOURCES = \
921 systemd_timedated_CFLAGS = \
925 systemd_timedated_LDADD = \
926 libsystemd-basic.la \
927 libsystemd-daemon.la \
930 systemd_logind_SOURCES = \
933 src/logind-device.c \
935 src/logind-seat-dbus.c \
936 src/logind-session.c \
937 src/logind-session-dbus.c \
939 src/logind-user-dbus.c \
945 systemd_logind_CFLAGS = \
951 systemd_logind_LDADD = \
952 libsystemd-basic.la \
953 libsystemd-daemon.la \
958 systemd_uaccess_SOURCES = \
962 systemd_logind_SOURCES += \
965 systemd_uaccess_SOURCES += \
969 systemd_uaccess_CFLAGS = \
974 systemd_uaccess_LDADD = \
975 libsystemd-basic.la \
976 libsystemd-daemon.la \
980 systemd_shutdown_SOURCES = \
985 systemd_shutdown_CFLAGS = \
989 systemd_shutdown_LDADD = \
990 libsystemd-basic.la \
993 systemd_modules_load_SOURCES = \
996 systemd_modules_load_CFLAGS = \
999 systemd_modules_load_LDADD = \
1002 systemd_tmpfiles_SOURCES = \
1005 systemd_tmpfiles_CFLAGS = \
1008 systemd_tmpfiles_LDADD = \
1011 systemd_machine_id_setup_SOURCES = \
1012 src/machine-id-setup.c \
1013 src/machine-id-main.c
1015 systemd_machine_id_setup_CFLAGS = \
1018 systemd_machine_id_setup_LDADD = \
1021 systemd_sysctl_SOURCES = \
1024 systemd_sysctl_CFLAGS = \
1027 systemd_sysctl_LDADD = \
1030 systemd_binfmt_SOURCES = \
1033 systemd_binfmt_CFLAGS = \
1036 systemd_binfmt_LDADD = \
1039 systemd_fsck_SOURCES = \
1043 systemd_fsck_CFLAGS = \
1048 systemd_fsck_LDADD = \
1049 libsystemd-basic.la \
1053 systemd_quotacheck_SOURCES = \
1056 systemd_quotacheck_CFLAGS = \
1059 systemd_quotacheck_LDADD = \
1062 systemd_timestamp_SOURCES = \
1065 systemd_timestamp_CFLAGS = \
1068 systemd_timestamp_LDADD = \
1071 systemd_ac_power_SOURCES = \
1074 systemd_ac_power_CFLAGS = \
1078 systemd_ac_power_LDADD = \
1079 libsystemd-basic.la \
1082 systemd_detect_virt_SOURCES = \
1085 systemd_detect_virt_CFLAGS = \
1088 systemd_detect_virt_LDADD = \
1091 systemd_cryptsetup_SOURCES = \
1093 src/ask-password-api.c
1095 systemd_cryptsetup_CFLAGS = \
1096 $(LIBCRYPTSETUP_CFLAGS) \
1100 systemd_cryptsetup_LDADD = \
1101 $(LIBCRYPTSETUP_LIBS) \
1105 systemd_cryptsetup_generator_SOURCES = \
1106 src/cryptsetup-generator.c \
1109 systemd_cryptsetup_generator_CFLAGS = \
1112 systemd_cryptsetup_generator_LDADD = \
1115 systemd_getty_generator_SOURCES = \
1116 src/getty-generator.c \
1119 systemd_getty_generator_CFLAGS = \
1122 systemd_getty_generator_LDADD = \
1125 systemd_user_sessions_SOURCES = \
1126 src/user-sessions.c \
1129 systemd_user_sessions_CFLAGS = \
1132 systemd_user_sessions_LDADD = \
1135 systemd_vconsole_setup_SOURCES = \
1136 src/vconsole-setup.c
1138 systemd_vconsole_setup_CFLAGS = \
1141 systemd_vconsole_setup_LDADD = \
1144 systemd_remount_api_vfs_SOURCES = \
1145 src/remount-api-vfs.c \
1149 systemd_remount_api_vfs_CFLAGS = \
1152 systemd_remount_api_vfs_LDADD = \
1155 systemd_cgroups_agent_SOURCES = \
1156 src/cgroups-agent.c \
1159 systemd_cgroups_agent_CFLAGS = \
1163 systemd_cgroups_agent_LDADD = \
1164 libsystemd-basic.la \
1167 systemd_kmsg_syslogd_SOURCES = \
1168 src/kmsg-syslogd.c \
1171 systemd_kmsg_syslogd_CFLAGS = \
1174 systemd_kmsg_syslogd_LDADD = \
1175 libsystemd-basic.la \
1176 libsystemd-daemon.la
1178 systemctl_SOURCES = \
1189 systemctl_CFLAGS = \
1194 libsystemd-basic.la \
1195 libsystemd-daemon.la \
1198 systemd_loginctl_SOURCES = \
1206 systemd_loginctl_CFLAGS = \
1211 systemd_loginctl_LDADD = \
1212 libsystemd-basic.la \
1216 systemd_notify_SOURCES = \
1220 systemd_notify_LDADD = \
1221 libsystemd-basic.la \
1222 libsystemd-daemon.la
1224 systemd_ask_password_SOURCES = \
1225 src/ask-password.c \
1226 src/ask-password-api.c
1228 systemd_ask_password_LDADD = \
1231 systemd_reply_password_SOURCES = \
1232 src/reply-password.c
1234 systemd_reply_password_LDADD = \
1237 systemd_readahead_collect_SOURCES = \
1238 src/readahead-collect.c \
1239 src/readahead-common.c
1241 systemd_readahead_collect_CFLAGS = \
1244 systemd_readahead_collect_LDADD = \
1245 libsystemd-basic.la \
1246 libsystemd-daemon.la \
1249 systemd_readahead_replay_SOURCES = \
1250 src/readahead-replay.c \
1251 src/readahead-common.c
1253 systemd_readahead_replay_CFLAGS = \
1256 systemd_readahead_replay_LDADD = \
1257 libsystemd-basic.la \
1258 libsystemd-daemon.la \
1261 systemd_cgls_SOURCES = \
1267 systemd_cgls_CFLAGS = \
1270 systemd_cgls_LDADD = \
1273 systemd_nspawn_SOURCES = \
1277 systemd_nspawn_CFLAGS = \
1280 systemd_nspawn_LDADD = \
1281 libsystemd-basic.la \
1282 libsystemd-daemon.la
1284 systemd_stdio_bridge_SOURCES = \
1287 systemd_stdio_bridge_LDADD = \
1290 systemadm_SOURCES = \
1291 src/systemadm.vala \
1292 src/systemd-interfaces.vala
1294 systemadm_CFLAGS = \
1297 -Wno-unused-variable \
1298 -Wno-unused-function \
1300 -Wno-format-nonliteral
1302 systemadm_VALAFLAGS = \
1310 systemd_gnome_ask_password_agent_SOURCES = \
1311 src/gnome-ask-password-agent.vala
1313 systemd_gnome_ask_password_agent_CFLAGS = \
1315 $(LIBNOTIFY_CFLAGS) \
1317 -Wno-unused-variable \
1318 -Wno-unused-function \
1320 -Wno-format-nonliteral
1322 systemd_gnome_ask_password_agent_VALAFLAGS = \
1326 --pkg=gio-unix-2.0 \
1329 systemd_gnome_ask_password_agent_VALAFLAGS += \
1332 systemd_gnome_ask_password_agent_VALAFLAGS += \
1335 systemd_gnome_ask_password_agent_LDADD = \
1339 systemd_tty_ask_password_agent_SOURCES = \
1340 src/tty-ask-password-agent.c \
1341 src/ask-password-api.c \
1344 systemd_tty_ask_password_agent_LDADD = \
1347 pam_systemd_la_SOURCES = \
1351 pam_systemd_la_CFLAGS = \
1357 pam_systemd_la_LDFLAGS = \
1362 -export-symbols-regex '^pam_sm_.*'
1364 pam_systemd_la_LIBADD = \
1365 libsystemd-basic.la \
1366 libsystemd-daemon.la \
1370 libsystemd_daemon_la_SOURCES = \
1373 libsystemd_daemon_la_CFLAGS = \
1375 -fvisibility=hidden \
1378 libsystemd_daemon_la_LDFLAGS = \
1380 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE)
1382 libsystemd_login_la_SOURCES = \
1386 libsystemd_login_la_CFLAGS = \
1390 libsystemd_login_la_LDFLAGS = \
1392 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE)
1394 libsystemd_login_la_LIBADD = \
1398 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1399 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1400 -e 's,@rootbindir\@,$(rootbindir),g' \
1401 -e 's,@bindir\@,$(bindir),g' \
1402 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1403 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1404 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1405 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1406 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1407 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1408 -e 's,@userunitdir\@,$(userunitdir),g' \
1409 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1410 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1411 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1412 -e 's,@prefix\@,$(prefix),g' \
1413 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1414 -e 's,@libdir\@,$(libdir),g' \
1415 -e 's,@includedir\@,$(includedir),g' \
1418 units/%: units/%.in Makefile
1421 man/%: man/%.in Makefile
1424 %.pc: %.pc.in Makefile
1427 src/%.policy.in: src/%.policy.in.in Makefile
1430 src/%.rules: src/%.rules.in Makefile
1433 M4_PROCESS_SYSTEM = \
1434 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1435 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1438 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1439 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1441 units/%: units/%.m4 Makefile
1442 $(M4_PROCESS_SYSTEM)
1444 units/user/%: units/%.m4 Makefile
1448 $(nodist_systemunit_DATA) \
1449 $(nodist_userunit_DATA) \
1450 $(nodist_man_MANS) \
1451 ${XML_IN_FILES:.xml.in=.html} \
1452 $(pkgconfigdata_DATA) \
1453 $(nodist_polkitpolicy_DATA) \
1454 src/73-seat-late.rules
1458 ${systemadm_SOURCES:.vala=.c}
1464 --param funcsynopsis.style "'ansi'"
1466 XSLTPROC_PROCESS_MAN = \
1467 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1468 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1470 XSLTPROC_PROCESS_MAN_IN = \
1471 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1472 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1475 XSLTPROC_PROCESS_HTML = \
1476 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1477 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1479 XSLTPROC_PROCESS_HTML_IN = \
1480 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1481 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1485 $(XSLTPROC_PROCESS_MAN)
1487 man/%.1.in: man/%.xml.in
1488 $(XSLTPROC_PROCESS_MAN)
1491 $(XSLTPROC_PROCESS_MAN)
1493 man/%.3.in: man/%.xml.in
1494 $(XSLTPROC_PROCESS_MAN)
1497 $(XSLTPROC_PROCESS_MAN)
1499 man/%.5.in: man/%.xml.in
1500 $(XSLTPROC_PROCESS_MAN)
1503 $(XSLTPROC_PROCESS_MAN)
1505 man/%.7.in: man/%.xml.in
1506 $(XSLTPROC_PROCESS_MAN_IN)
1509 $(XSLTPROC_PROCESS_MAN)
1511 man/%.8.in: man/%.xml.in
1512 $(XSLTPROC_PROCESS_MAN_IN)
1514 man/%.html: man/%.xml
1515 $(XSLTPROC_PROCESS_HTML)
1517 man/%.html.in: man/%.xml.in
1518 $(XSLTPROC_PROCESS_HTML_IN)
1522 ${nodist_man_MANS:=.in} \
1523 ${XML_FILES:.xml=.html} \
1524 ${XML_IN_FILES:.xml.in=.html.in}
1527 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1529 org.freedesktop.systemd1.%.xml: systemd
1530 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1531 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1532 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1534 org.freedesktop.hostname1.xml: systemd-hostnamed
1535 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1536 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1537 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1539 org.freedesktop.locale1.xml: systemd-localed
1540 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1541 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1542 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1544 org.freedesktop.timedate1.xml: systemd-timedated
1545 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1546 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1547 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1550 $(dbusinterface_DATA)
1553 $(MKDIR_P) -m 0755 \
1554 $(DESTDIR)$(tmpfilesdir) \
1555 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1556 $(DESTDIR)$(prefix)/lib/modules-load.d \
1557 $(DESTDIR)$(sysconfdir)/modules-load.d \
1558 $(DESTDIR)$(prefix)/lib/sysctl.d \
1559 $(DESTDIR)$(sysconfdir)/sysctl.d \
1560 $(DESTDIR)$(systemshutdowndir) \
1561 $(DESTDIR)$(systemgeneratordir) \
1562 $(DESTDIR)$(usergeneratordir)
1564 $(MKDIR_P) -m 0755 \
1565 $(DESTDIR)$(prefix)/lib/binfmt.d \
1566 $(DESTDIR)$(sysconfdir)/binfmt.d
1568 $(MKDIR_P) -m 0755 \
1569 $(DESTDIR)$(systemunitdir) \
1570 $(DESTDIR)$(userunitdir) \
1571 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1572 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1573 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1574 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1575 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1576 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1577 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1578 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1579 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1580 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1581 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1582 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1583 $(DESTDIR)$(pkgsysconfdir)/system \
1584 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1585 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1586 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1587 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1588 $(DESTDIR)$(pkgsysconfdir)/user \
1589 $(DESTDIR)$(dbussessionservicedir) \
1590 $(DESTDIR)$(sysconfdir)/xdg/systemd
1591 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1593 $(LN_S) $(pkgsysconfdir)/user user )
1594 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1595 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1596 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1597 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1598 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1599 $(LN_S) ../syslog.socket syslog.socket )
1600 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1601 rm -f systemd-update-utmp-runlevel.service && \
1602 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1603 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1604 rm -f systemd-update-utmp-runlevel.service && \
1605 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1606 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1607 rm -f systemd-update-utmp-runlevel.service && \
1608 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1609 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1610 rm -f systemd-update-utmp-runlevel.service && \
1611 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1612 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1613 rm -f systemd-update-utmp-runlevel.service && \
1614 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1615 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1616 rm -f systemd-update-utmp-shutdown.service \
1617 systemd-random-seed-save.service && \
1618 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1619 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1620 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1621 rm -f systemd-remount-api-vfs.service \
1623 remount-rootfs.service \
1626 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1627 $(LN_S) ../fsck-root.service fsck-root.service && \
1628 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1629 $(LN_S) ../var-run.mount var-run.mount && \
1630 $(LN_S) ../media.mount media.mount )
1631 ( cd $(DESTDIR)$(userunitdir) && \
1632 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1633 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1634 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1635 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1636 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1637 $(LN_S) $(systemunitdir)/sound.target sound.target )
1638 ( cd $(DESTDIR)$(systemunitdir) && \
1639 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1640 $(LN_S) poweroff.target runlevel0.target && \
1641 $(LN_S) rescue.target runlevel1.target && \
1642 $(LN_S) multi-user.target runlevel2.target && \
1643 $(LN_S) multi-user.target runlevel3.target && \
1644 $(LN_S) multi-user.target runlevel4.target && \
1645 $(LN_S) graphical.target runlevel5.target && \
1646 $(LN_S) reboot.target runlevel6.target )
1647 ( cd $(DESTDIR)$(systemunitdir) && \
1648 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 && \
1649 $(LN_S) graphical.target default.target && \
1650 $(LN_S) reboot.target ctrl-alt-del.target && \
1651 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1652 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1653 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1654 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1655 $(LN_S) getty@.service autovt@.service )
1656 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1657 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1658 $(LN_S) ../getty.target getty.target && \
1659 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1660 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1661 $(LN_S) ../systemd-logind.service systemd-logind.service )
1662 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1663 rm -f getty@tty1.service && \
1664 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1665 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1666 rm -f remote-fs.target && \
1667 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1668 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1669 rm -f dev-hugepages.automount \
1670 dev-mqueue.automount \
1671 sys-kernel-debug.automount \
1672 sys-kernel-security.automount \
1673 systemd-vconsole-setup.service \
1674 systemd-modules-load.service \
1675 systemd-random-seed-load.service \
1676 systemd-tmpfiles-setup.service \
1677 systemd-sysctl.service \
1678 systemd-ask-password-console.path \
1679 systemd-kmsg-syslogd.service \
1680 cryptsetup.target && \
1681 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1682 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1683 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1684 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1685 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1686 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1687 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1688 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1689 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1690 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1691 $(LN_S) ../systemd-kmsg-syslogd.service && \
1692 $(LN_S) ../cryptsetup.target cryptsetup.target )
1694 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1695 rm -f systemd-binfmt.service \
1696 proc-sys-fs-binfmt_misc.automount && \
1697 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1698 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1700 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1701 rm -f systemd-tmpfiles-clean.timer && \
1702 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1703 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1704 rm -f org.freedesktop.systemd1.service && \
1705 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1707 $(MKDIR_P) -m 0755 \
1708 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1709 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1710 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1711 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1712 $(DESTDIR)$(systemunitdir)/halt.target.wants
1713 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1714 rm -f plymouth-start.service plymouth-read-write.service && \
1715 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1716 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1717 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1718 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1719 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1720 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1721 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1722 rm -f plymouth-reboot.service && \
1723 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1724 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1725 rm -f plymouth-kexec.service && \
1726 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1727 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1728 rm -f plymouth-poweroff.service && \
1729 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1730 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1731 rm -f plymouth-halt.service && \
1732 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1735 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1736 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1737 rm -f network.target && \
1738 $(LN_S) $(systemunitdir)/network.target network.target )
1739 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1741 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1743 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1745 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1750 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1751 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1752 rm -f rc-local.service && \
1753 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1754 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1755 rm -f halt-local.service && \
1756 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1757 ( cd $(DESTDIR)$(systemunitdir) && \
1758 rm -f display-manager.service single.service && \
1759 $(LN_S) prefdm.service display-manager.service && \
1760 $(LN_S) rescue.service single.service )
1761 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1762 rm -f display-manager.service && \
1763 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1767 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1768 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1769 rm -f rc-local.service && \
1770 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1771 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1772 rm -f halt-local.service && \
1773 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1774 ( cd $(DESTDIR)$(systemunitdir) && \
1775 rm -f display-manager.service dm.service single.service && \
1776 $(LN_S) prefdm.service display-manager.service && \
1777 $(LN_S) prefdm.service dm.service && \
1778 $(LN_S) rescue.service single.service )
1779 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1780 rm -f display-manager.service && \
1781 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1784 if TARGET_DEBIAN_OR_UBUNTU
1785 ( cd $(DESTDIR)$(systemunitdir) && \
1786 rm -f runlevel5.target && \
1787 $(LN_S) multi-user.target runlevel5.target )
1791 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1792 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1793 rm -f rc-local.service && \
1794 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1795 ( cd $(DESTDIR)$(systemunitdir) && \
1796 rm -f local.service && \
1797 $(LN_S) rc-local.service local.service )
1798 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1799 rm -f halt-local.service && \
1800 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1804 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1805 rm -f var-lock.mount && \
1806 $(LN_S) ../var-lock.mount var-lock.mount )
1809 DISTCHECK_CONFIGURE_FLAGS = \
1810 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1811 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1812 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1813 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1814 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1815 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1816 --with-rootdir=$$dc_install_base/$(rootdir)
1818 upload: all distcheck
1819 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1820 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1821 scp man/*.html tango:public/systemd-man/
1824 git tag "v$(VERSION)" -m "systemd $(VERSION)"