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=2
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 pkgconfiglibdir=$(libdir)/pkgconfig
39 polkitpolicydir=$(datadir)/polkit-1/actions
40 bashcompletiondir=$(sysconfdir)/bash_completion.d
42 # Our own, non-special dirs
43 pkgsysconfdir=$(sysconfdir)/systemd
44 userunitdir=$(prefix)/lib/systemd/user
45 tmpfilesdir=$(prefix)/lib/tmpfiles.d
46 usergeneratordir=$(pkglibexecdir)/user-generators
47 pkgincludedir=$(includedir)/systemd
49 # And these are the special ones for /
51 rootbindir=$(rootdir)/bin
52 rootlibexecdir=$(rootdir)/lib/systemd
53 systemgeneratordir=$(rootlibexecdir)/system-generators
54 systemshutdowndir=$(rootlibexecdir)/system-shutdown
55 systemunitdir=$(rootdir)/lib/systemd/system
58 -include $(top_builddir)/config.h \
59 -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
60 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
61 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
62 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
63 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
64 -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
65 -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
66 -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
67 -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
68 -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \
69 -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
70 -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
71 -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
72 -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
73 -DRUNTIME_DIR=\"/run\" \
74 -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
75 -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
76 -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
77 -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
78 -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
83 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
84 -DKBD_SETFONT=\"/usr/bin/setfont\" \
85 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
89 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
90 -DKBD_SETFONT=\"/usr/bin/setfont\" \
91 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
95 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
96 -DKBD_SETFONT=\"/usr/bin/setfont\" \
97 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
101 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
102 -DKBD_SETFONT=\"/bin/setfont\" \
103 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
107 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
108 -DKBD_SETFONT=\"/bin/setfont\" \
109 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
113 -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
114 -DKBD_SETFONT=\"/usr/bin/setfont\" \
115 -DDEFAULT_FONT=\"LatArCyrHeb-16\"
118 -DKBD_LOADKEYS=\"/bin/loadkeys\" \
119 -DKBD_SETFONT=\"/bin/setfont\" \
120 -DDEFAULT_FONT=\"latarcyrheb-sun16\"
133 systemd-ask-password \
134 systemd-tty-ask-password-agent \
136 systemd-machine-id-setup
140 systemd-stdio-bridge \
149 systemd-gnome-ask-password-agent
152 rootlibexec_PROGRAMS = \
154 systemd-cgroups-agent \
156 systemd-update-utmp \
157 systemd-random-seed \
160 systemd-modules-load \
161 systemd-remount-api-vfs \
162 systemd-kmsg-syslogd \
163 systemd-vconsole-setup \
164 systemd-reply-password \
165 systemd-readahead-collect \
166 systemd-readahead-replay \
167 systemd-user-sessions \
172 systemd-detect-virt \
180 rootlibexec_PROGRAMS += \
185 rootlibexec_PROGRAMS += \
189 systemgenerator_PROGRAMS = \
190 systemd-getty-generator
192 if HAVE_LIBCRYPTSETUP
193 rootlibexec_PROGRAMS += \
196 systemgenerator_PROGRAMS += \
197 systemd-cryptsetup-generator
201 libsystemd-daemon.la \
204 pkginclude_HEADERS = \
222 pamlib_LTLIBRARIES = \
226 dist_pkgsysconf_DATA = \
229 src/systemd-logind.conf
231 dist_dbuspolicy_DATA = \
232 src/org.freedesktop.systemd1.conf \
233 src/org.freedesktop.locale1.conf \
234 src/org.freedesktop.timedate1.conf \
235 src/org.freedesktop.login1.conf
238 dist_dbuspolicy_DATA += \
239 src/org.freedesktop.hostname1.conf
242 dist_dbussystemservice_DATA = \
243 src/org.freedesktop.systemd1.service \
244 src/org.freedesktop.locale1.service \
245 src/org.freedesktop.timedate1.service \
246 src/org.freedesktop.login1.service
249 dist_dbussystemservice_DATA += \
250 src/org.freedesktop.hostname1.service
253 dist_udevrules_DATA = \
254 src/70-uaccess.rules \
257 nodist_udevrules_DATA = \
258 src/73-seat-late.rules \
261 dbusinterface_DATA = \
262 org.freedesktop.systemd1.Manager.xml \
263 org.freedesktop.systemd1.Job.xml \
264 org.freedesktop.systemd1.Unit.xml \
265 org.freedesktop.systemd1.Service.xml \
266 org.freedesktop.systemd1.Socket.xml \
267 org.freedesktop.systemd1.Timer.xml \
268 org.freedesktop.systemd1.Target.xml \
269 org.freedesktop.systemd1.Device.xml \
270 org.freedesktop.systemd1.Mount.xml \
271 org.freedesktop.systemd1.Automount.xml \
272 org.freedesktop.systemd1.Snapshot.xml \
273 org.freedesktop.systemd1.Swap.xml \
274 org.freedesktop.systemd1.Path.xml \
275 org.freedesktop.locale1.xml \
276 org.freedesktop.timedate1.xml
279 dbusinterface_DATA += \
280 org.freedesktop.hostname1.xml
283 dist_bashcompletion_DATA = \
284 src/systemctl-bash-completion.sh
286 dist_tmpfiles_DATA = \
287 tmpfiles.d/systemd.conf \
291 dist_tmpfiles_DATA += \
292 tmpfiles.d/legacy.conf
295 dist_systemunit_DATA = \
296 units/graphical.target \
297 units/multi-user.target \
298 units/emergency.service \
299 units/emergency.target \
300 units/sysinit.target \
305 units/local-fs.target \
306 units/remote-fs.target \
307 units/cryptsetup.target \
308 units/network.target \
309 units/nss-lookup.target \
310 units/mail-transfer-agent.target \
311 units/http-daemon.target \
312 units/poweroff.target \
313 units/reboot.target \
314 units/rescue.target \
315 units/rpcbind.target \
316 units/time-sync.target \
317 units/shutdown.target \
319 units/umount.target \
320 units/sigpwr.target \
321 units/sockets.target \
323 units/systemd-initctl.socket \
324 units/systemd-logger.socket \
325 units/systemd-shutdownd.socket \
326 units/syslog.socket \
327 units/dev-hugepages.automount \
328 units/dev-hugepages.mount \
329 units/dev-mqueue.automount \
330 units/dev-mqueue.mount \
331 units/sys-kernel-debug.automount \
332 units/sys-kernel-debug.mount \
333 units/sys-kernel-security.automount \
334 units/sys-kernel-security.mount \
335 units/var-run.mount \
337 units/remount-rootfs.service \
338 units/printer.target \
340 units/bluetooth.target \
341 units/smartcard.target \
342 units/systemd-readahead-done.timer \
343 units/systemd-tmpfiles-clean.timer \
344 units/quotaon.service \
345 units/systemd-ask-password-wall.path \
346 units/systemd-ask-password-console.path \
350 dist_systemunit_DATA += \
355 dist_systemunit_DATA += \
356 units/proc-sys-fs-binfmt_misc.automount \
357 units/proc-sys-fs-binfmt_misc.mount
360 nodist_systemunit_DATA = \
361 units/getty@.service \
362 units/serial-getty@.service \
363 units/console-shell.service \
364 units/systemd-initctl.service \
365 units/systemd-logger.service \
366 units/systemd-shutdownd.service \
367 units/systemd-localed.service \
368 units/systemd-timedated.service \
369 units/systemd-logind.service \
370 units/systemd-kmsg-syslogd.service \
371 units/systemd-modules-load.service \
372 units/systemd-vconsole-setup.service \
373 units/systemd-remount-api-vfs.service \
374 units/systemd-update-utmp-runlevel.service \
375 units/systemd-update-utmp-shutdown.service \
376 units/systemd-random-seed-save.service \
377 units/systemd-random-seed-load.service \
378 units/systemd-readahead-collect.service \
379 units/systemd-readahead-replay.service \
380 units/systemd-readahead-done.service \
381 units/systemd-tmpfiles-setup.service \
382 units/systemd-tmpfiles-clean.service \
383 units/systemd-user-sessions.service \
384 units/systemd-ask-password-wall.service \
385 units/systemd-ask-password-console.service \
386 units/systemd-sysctl.service \
388 units/poweroff.service \
389 units/reboot.service \
390 units/kexec.service \
391 units/fsck@.service \
392 units/fsck-root.service \
393 units/quotacheck.service \
394 units/rescue.service \
398 nodist_systemunit_DATA += \
399 units/systemd-binfmt.service
403 nodist_systemunit_DATA += \
404 units/systemd-hostnamed.service
407 dist_userunit_DATA = \
408 units/user/default.target \
409 units/user/exit.target
411 nodist_userunit_DATA = \
412 units/user/exit.service
415 units/getty@.service.m4 \
416 units/serial-getty@.service.m4 \
417 units/console-shell.service.m4 \
418 units/rescue.service.m4 \
419 units/systemd-initctl.service.in \
420 units/systemd-logger.service.in \
421 units/systemd-shutdownd.service.in \
422 units/systemd-localed.service.in \
423 units/systemd-timedated.service.in \
424 units/systemd-logind.service.in \
425 units/systemd-kmsg-syslogd.service.in \
426 units/systemd-modules-load.service.in \
427 units/systemd-vconsole-setup.service.in \
428 units/systemd-remount-api-vfs.service.in \
429 units/systemd-update-utmp-runlevel.service.in \
430 units/systemd-update-utmp-shutdown.service.in \
431 units/systemd-random-seed-save.service.in \
432 units/systemd-random-seed-load.service.in \
433 units/systemd-readahead-collect.service.in \
434 units/systemd-readahead-replay.service.in \
435 units/systemd-readahead-done.service.in \
436 units/systemd-tmpfiles-setup.service.in \
437 units/systemd-tmpfiles-clean.service.in \
438 units/systemd-user-sessions.service.in \
439 units/systemd-ask-password-wall.service.in \
440 units/systemd-ask-password-console.service.in \
441 units/systemd-sysctl.service.in \
442 units/halt.service.in \
443 units/poweroff.service.in \
444 units/reboot.service.in \
445 units/kexec.service.in \
446 units/user/exit.service.in \
447 units/fsck@.service.in \
448 units/fsck-root.service.in \
449 units/quotacheck.service.in \
450 units/user@.service.in \
452 libsystemd-daemon.pc.in \
453 libsystemd-login.pc.in \
454 src/libsystemd-daemon.sym \
455 src/libsystemd-login.sym \
457 src/73-seat-late.rules.in \
458 src/99-systemd.rules.in
462 units/systemd-binfmt.service.in
467 units/systemd-hostnamed.service.in
471 dist_systemunit_DATA += \
472 units/fedora/prefdm.service \
473 units/fedora/rc-local.service \
474 units/fedora/halt-local.service
478 dist_systemunit_DATA += \
479 units/mandriva/prefdm.service \
480 units/fedora/rc-local.service \
481 units/fedora/halt-local.service
485 dist_systemunit_DATA += \
486 units/frugalware/display-manager.service
490 dist_systemunit_DATA += \
491 units/suse/rc-local.service \
492 units/suse/halt-local.service
496 dist_systemunit_DATA += \
497 units/plymouth-start.service \
498 units/plymouth-read-write.service \
499 units/plymouth-quit.service \
500 units/plymouth-quit-wait.service \
501 units/plymouth-reboot.service \
502 units/plymouth-kexec.service \
503 units/plymouth-poweroff.service \
504 units/plymouth-halt.service \
505 units/systemd-ask-password-plymouth.path
507 nodist_systemunit_DATA += \
508 units/systemd-ask-password-plymouth.service
511 units/systemd-ask-password-plymouth.service.in
523 pkgconfigdata_DATA = \
526 pkgconfiglib_DATA = \
527 libsystemd-daemon.pc \
530 # Passed through intltool only
531 polkitpolicy_in_files = \
532 src/org.freedesktop.locale1.policy.in \
533 src/org.freedesktop.timedate1.policy.in \
534 src/org.freedesktop.login1.policy.in
537 polkitpolicy_in_files += \
538 src/org.freedesktop.hostname1.policy.in
541 # First passed through sed, followed by intltool
542 polkitpolicy_in_in_files = \
543 src/org.freedesktop.systemd1.policy.in.in
545 nodist_polkitpolicy_DATA = \
546 $(polkitpolicy_in_files:.policy.in=.policy) \
547 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
550 $(polkitpolicy_in_files) \
551 $(polkitpolicy_in_in_files)
553 @INTLTOOL_POLICY_RULE@
555 noinst_LTLIBRARIES = \
556 libsystemd-basic.la \
559 libsystemd_basic_la_SOURCES = \
571 libsystemd_basic_la_CFLAGS = \
575 libsystemd_basic_la_LIBADD = \
579 libsystemd_core_la_SOURCES = \
584 src/load-fragment.c \
607 src/dbus-automount.c \
609 src/dbus-snapshot.c \
615 src/hostname-setup.c \
616 src/selinux-setup.c \
617 src/loopback-setup.c \
620 src/machine-id-setup.c \
632 nodist_libsystemd_core_la_SOURCES = \
633 src/load-fragment-gperf.c \
634 src/load-fragment-gperf-nulstr.c
637 src/load-fragment-gperf.gperf.m4
639 libsystemd_core_la_CFLAGS = \
647 libsystemd_core_la_LIBADD = \
648 libsystemd-basic.la \
656 # This is needed because automake is buggy in how it generates the
657 # rules for C programs, but not Vala programs. We therefore can't
658 # list the .h files as dependencies if we want make dist to work.
661 ${libsystemd_basic_la_SOURCES:.c=.h} \
662 ${libsystemd_core_la_SOURCES:.c=.h} \
663 ${libsystemd_daemon_la_SOURCES:.c=.h} \
670 src/linux/auto_dev-ioctl.h \
671 src/linux/fanotify.h \
681 src/readahead-common.h \
682 src/ask-password-api.h \
687 src/logind-device.h \
689 src/logind-session.h \
700 man/systemd-nspawn.1 \
701 man/systemd-tmpfiles.8 \
702 man/systemd-notify.1 \
706 man/sd_listen_fds.3 \
709 man/systemd.service.5 \
710 man/systemd.socket.5 \
711 man/systemd.mount.5 \
712 man/systemd.automount.5 \
714 man/systemd.timer.5 \
716 man/systemd.target.5 \
717 man/systemd.device.5 \
718 man/systemd.snapshot.5 \
729 man/systemd-logind.conf.5 \
733 man/vconsole.conf.5 \
737 man/modules-load.d.5 \
739 man/systemd-ask-password.1 \
740 man/systemd-loginctl.1
751 man/sd_is_socket_unix.3 \
752 man/sd_is_socket_inet.3 \
756 man/reboot.8: man/halt.8
757 man/poweroff.8: man/halt.8
758 man/sd_is_socket.3: man/sd_is_fifo.3
759 man/sd_is_socket_unix.3: man/sd_is_fifo.3
760 man/sd_is_socket_inet.3: man/sd_is_fifo.3
761 man/sd_notifyf.3: man/sd_notify.3
762 man/init.1: man/systemd.1
769 man/systemd.special.7
772 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
775 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
778 ${XML_FILES:.xml=.html}
780 nodist_noinst_DATA = \
781 ${XML_IN_FILES:.xml.in=.html}
786 ${nodist_man_MANS:=.in} \
787 ${XML_IN_FILES:.xml.in=.html.in}
800 test_engine_SOURCES = \
803 test_engine_CFLAGS = $(systemd_CFLAGS)
804 test_engine_LDADD = $(systemd_LDADD)
806 test_job_type_SOURCES = \
809 test_job_type_CFLAGS = $(systemd_CFLAGS)
810 test_job_type_LDADD = $(systemd_LDADD)
815 test_ns_CFLAGS = $(systemd_CFLAGS)
816 test_ns_LDADD = $(systemd_LDADD)
818 test_loopback_SOURCES = \
819 src/test-loopback.c \
822 test_loopback_LDADD = \
825 test_hostname_SOURCES = \
826 src/test-hostname.c \
829 test_hostname_LDADD = \
832 test_daemon_SOURCES = \
835 test_daemon_LDADD = \
836 libsystemd-basic.la \
839 test_cgroup_SOURCES = \
843 test_cgroup_CFLAGS = \
846 test_cgroup_LDADD = \
849 test_env_replace_SOURCES = \
850 src/test-env-replace.c
852 test_env_replace_CFLAGS = \
855 test_env_replace_LDADD = \
858 test_strv_SOURCES = \
868 test_login_SOURCES = \
871 test_login_CFLAGS = \
875 libsystemd-basic.la \
878 test_install_SOURCES = \
884 test_install_CFLAGS = \
888 test_install_LDADD = \
891 systemd_logger_SOURCES = \
895 systemd_logger_LDADD = \
896 libsystemd-basic.la \
897 libsystemd-daemon.la \
900 systemd_initctl_SOURCES = \
904 systemd_initctl_CFLAGS = \
908 systemd_initctl_LDADD = \
909 libsystemd-basic.la \
910 libsystemd-daemon.la \
913 systemd_update_utmp_SOURCES = \
918 systemd_update_utmp_CFLAGS = \
923 systemd_update_utmp_LDADD = \
924 libsystemd-basic.la \
928 systemd_random_seed_SOURCES = \
931 systemd_random_seed_CFLAGS = \
934 systemd_random_seed_LDADD = \
937 systemd_shutdownd_SOURCES = \
941 systemd_shutdownd_CFLAGS = \
944 systemd_shutdownd_LDADD = \
945 libsystemd-basic.la \
948 systemd_hostnamed_SOURCES = \
953 systemd_hostnamed_CFLAGS = \
957 systemd_hostnamed_LDADD = \
958 libsystemd-basic.la \
959 libsystemd-daemon.la \
962 systemd_localed_SOURCES = \
967 systemd_localed_CFLAGS = \
971 systemd_localed_LDADD = \
972 libsystemd-basic.la \
973 libsystemd-daemon.la \
976 systemd_timedated_SOURCES = \
981 systemd_timedated_CFLAGS = \
985 systemd_timedated_LDADD = \
986 libsystemd-basic.la \
987 libsystemd-daemon.la \
990 systemd_logind_SOURCES = \
993 src/logind-device.c \
995 src/logind-seat-dbus.c \
996 src/logind-session.c \
997 src/logind-session-dbus.c \
999 src/logind-user-dbus.c \
1005 nodist_systemd_logind_SOURCES = \
1009 src/logind-gperf.gperf
1011 systemd_logind_CFLAGS = \
1017 systemd_logind_LDADD = \
1018 libsystemd-basic.la \
1019 libsystemd-daemon.la \
1024 systemd_uaccess_SOURCES = \
1028 systemd_logind_SOURCES += \
1031 systemd_uaccess_SOURCES += \
1035 systemd_uaccess_CFLAGS = \
1040 systemd_uaccess_LDADD = \
1041 libsystemd-basic.la \
1042 libsystemd-daemon.la \
1043 libsystemd-login.la \
1047 systemd_shutdown_SOURCES = \
1052 systemd_shutdown_CFLAGS = \
1056 systemd_shutdown_LDADD = \
1057 libsystemd-basic.la \
1060 systemd_modules_load_SOURCES = \
1063 systemd_modules_load_CFLAGS = \
1066 systemd_modules_load_LDADD = \
1069 systemd_tmpfiles_SOURCES = \
1072 systemd_tmpfiles_CFLAGS = \
1075 systemd_tmpfiles_LDADD = \
1078 systemd_machine_id_setup_SOURCES = \
1079 src/machine-id-setup.c \
1080 src/machine-id-main.c
1082 systemd_machine_id_setup_CFLAGS = \
1085 systemd_machine_id_setup_LDADD = \
1088 systemd_sysctl_SOURCES = \
1091 systemd_sysctl_CFLAGS = \
1094 systemd_sysctl_LDADD = \
1097 systemd_binfmt_SOURCES = \
1100 systemd_binfmt_CFLAGS = \
1103 systemd_binfmt_LDADD = \
1106 systemd_fsck_SOURCES = \
1110 systemd_fsck_CFLAGS = \
1115 systemd_fsck_LDADD = \
1116 libsystemd-basic.la \
1120 systemd_quotacheck_SOURCES = \
1123 systemd_quotacheck_CFLAGS = \
1126 systemd_quotacheck_LDADD = \
1129 systemd_timestamp_SOURCES = \
1132 systemd_timestamp_CFLAGS = \
1135 systemd_timestamp_LDADD = \
1138 systemd_ac_power_SOURCES = \
1141 systemd_ac_power_CFLAGS = \
1145 systemd_ac_power_LDADD = \
1146 libsystemd-basic.la \
1149 systemd_detect_virt_SOURCES = \
1152 systemd_detect_virt_CFLAGS = \
1155 systemd_detect_virt_LDADD = \
1158 systemd_cryptsetup_SOURCES = \
1160 src/ask-password-api.c
1162 systemd_cryptsetup_CFLAGS = \
1163 $(LIBCRYPTSETUP_CFLAGS) \
1167 systemd_cryptsetup_LDADD = \
1168 $(LIBCRYPTSETUP_LIBS) \
1172 systemd_cryptsetup_generator_SOURCES = \
1173 src/cryptsetup-generator.c \
1176 systemd_cryptsetup_generator_CFLAGS = \
1179 systemd_cryptsetup_generator_LDADD = \
1182 systemd_getty_generator_SOURCES = \
1183 src/getty-generator.c \
1186 systemd_getty_generator_CFLAGS = \
1189 systemd_getty_generator_LDADD = \
1192 systemd_user_sessions_SOURCES = \
1193 src/user-sessions.c \
1196 systemd_user_sessions_CFLAGS = \
1199 systemd_user_sessions_LDADD = \
1202 systemd_vconsole_setup_SOURCES = \
1203 src/vconsole-setup.c
1205 systemd_vconsole_setup_CFLAGS = \
1208 systemd_vconsole_setup_LDADD = \
1211 systemd_remount_api_vfs_SOURCES = \
1212 src/remount-api-vfs.c \
1216 systemd_remount_api_vfs_CFLAGS = \
1219 systemd_remount_api_vfs_LDADD = \
1222 systemd_cgroups_agent_SOURCES = \
1223 src/cgroups-agent.c \
1226 systemd_cgroups_agent_CFLAGS = \
1230 systemd_cgroups_agent_LDADD = \
1231 libsystemd-basic.la \
1234 systemd_kmsg_syslogd_SOURCES = \
1235 src/kmsg-syslogd.c \
1238 systemd_kmsg_syslogd_CFLAGS = \
1241 systemd_kmsg_syslogd_LDADD = \
1242 libsystemd-basic.la \
1243 libsystemd-daemon.la
1245 systemctl_SOURCES = \
1258 systemctl_CFLAGS = \
1263 libsystemd-basic.la \
1264 libsystemd-daemon.la \
1267 systemd_loginctl_SOURCES = \
1275 systemd_loginctl_CFLAGS = \
1280 systemd_loginctl_LDADD = \
1281 libsystemd-basic.la \
1285 systemd_notify_SOURCES = \
1289 systemd_notify_LDADD = \
1290 libsystemd-basic.la \
1291 libsystemd-daemon.la
1293 systemd_ask_password_SOURCES = \
1294 src/ask-password.c \
1295 src/ask-password-api.c
1297 systemd_ask_password_LDADD = \
1300 systemd_reply_password_SOURCES = \
1301 src/reply-password.c
1303 systemd_reply_password_LDADD = \
1306 systemd_readahead_collect_SOURCES = \
1307 src/readahead-collect.c \
1308 src/readahead-common.c
1310 systemd_readahead_collect_CFLAGS = \
1313 systemd_readahead_collect_LDADD = \
1314 libsystemd-basic.la \
1315 libsystemd-daemon.la \
1318 systemd_readahead_replay_SOURCES = \
1319 src/readahead-replay.c \
1320 src/readahead-common.c
1322 systemd_readahead_replay_CFLAGS = \
1325 systemd_readahead_replay_LDADD = \
1326 libsystemd-basic.la \
1327 libsystemd-daemon.la \
1330 systemd_cgls_SOURCES = \
1336 systemd_cgls_CFLAGS = \
1339 systemd_cgls_LDADD = \
1342 systemd_nspawn_SOURCES = \
1345 src/loopback-setup.c
1347 systemd_nspawn_CFLAGS = \
1350 systemd_nspawn_LDADD = \
1351 libsystemd-basic.la \
1352 libsystemd-daemon.la
1354 systemd_stdio_bridge_SOURCES = \
1357 systemd_stdio_bridge_LDADD = \
1360 systemadm_SOURCES = \
1361 src/systemadm.vala \
1362 src/systemd-interfaces.vala
1364 systemadm_CFLAGS = \
1367 -Wno-unused-variable \
1368 -Wno-unused-function \
1370 -Wno-format-nonliteral
1372 systemadm_VALAFLAGS = \
1380 systemd_gnome_ask_password_agent_SOURCES = \
1381 src/gnome-ask-password-agent.vala
1383 systemd_gnome_ask_password_agent_CFLAGS = \
1385 $(LIBNOTIFY_CFLAGS) \
1387 -Wno-unused-variable \
1388 -Wno-unused-function \
1390 -Wno-format-nonliteral
1392 systemd_gnome_ask_password_agent_VALAFLAGS = \
1396 --pkg=gio-unix-2.0 \
1399 systemd_gnome_ask_password_agent_VALAFLAGS += \
1402 systemd_gnome_ask_password_agent_VALAFLAGS += \
1405 systemd_gnome_ask_password_agent_LDADD = \
1409 systemd_tty_ask_password_agent_SOURCES = \
1410 src/tty-ask-password-agent.c \
1411 src/ask-password-api.c \
1414 systemd_tty_ask_password_agent_LDADD = \
1417 pam_systemd_la_SOURCES = \
1421 pam_systemd_la_CFLAGS = \
1427 pam_systemd_la_LDFLAGS = \
1432 -export-symbols-regex '^pam_sm_.*'
1434 pam_systemd_la_LIBADD = \
1435 libsystemd-basic.la \
1436 libsystemd-daemon.la \
1440 libsystemd_daemon_la_SOURCES = \
1443 libsystemd_daemon_la_CFLAGS = \
1445 -fvisibility=hidden \
1448 libsystemd_daemon_la_LDFLAGS = \
1450 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1451 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1453 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1454 libsystemd-daemon-install-hook:
1455 if test "$(libdir)" != "$(rootlibdir)"; then \
1456 mkdir -p $(DESTDIR)$(rootlibdir) && \
1457 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1458 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1459 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1460 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1463 libsystemd-daemon-uninstall-hook:
1464 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1466 libsystemd_login_la_SOURCES = \
1470 libsystemd_login_la_CFLAGS = \
1474 libsystemd_login_la_LDFLAGS = \
1476 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1477 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1479 libsystemd_login_la_LIBADD = \
1482 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1483 libsystemd-login-install-hook:
1484 if test "$(libdir)" != "$(rootlibdir)"; then \
1485 mkdir -p $(DESTDIR)$(rootlibdir) && \
1486 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1487 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1488 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1489 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1492 libsystemd-login-uninstall-hook:
1493 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1496 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1497 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1498 -e 's,@rootbindir\@,$(rootbindir),g' \
1499 -e 's,@bindir\@,$(bindir),g' \
1500 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1501 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1502 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1503 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1504 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1505 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1506 -e 's,@userunitdir\@,$(userunitdir),g' \
1507 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1508 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1509 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1510 -e 's,@prefix\@,$(prefix),g' \
1511 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1512 -e 's,@libdir\@,$(libdir),g' \
1513 -e 's,@includedir\@,$(includedir),g' \
1516 units/%: units/%.in Makefile
1519 man/%: man/%.in Makefile
1522 %.pc: %.pc.in Makefile
1525 src/%.policy.in: src/%.policy.in.in Makefile
1528 src/%.rules: src/%.rules.in Makefile
1531 src/%.c: src/%.gperf
1532 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1536 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1537 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1539 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1540 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1541 $(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 $@
1543 M4_PROCESS_SYSTEM = \
1544 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1545 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1548 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1549 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1551 units/%: units/%.m4 Makefile
1552 $(M4_PROCESS_SYSTEM)
1554 units/user/%: units/%.m4 Makefile
1558 $(nodist_systemunit_DATA) \
1559 $(nodist_userunit_DATA) \
1560 $(nodist_man_MANS) \
1561 ${XML_IN_FILES:.xml.in=.html} \
1562 $(pkgconfigdata_DATA) \
1563 $(pkgconfiglib_DATA) \
1564 $(nodist_polkitpolicy_DATA) \
1565 src/73-seat-late.rules \
1566 src/99-systemd.rules \
1567 src/load-fragment-gperf.gperf \
1568 src/load-fragment-gperf.c \
1569 src/load-fragment-gperf-nulstr.c \
1574 ${systemadm_SOURCES:.vala=.c}
1580 --param funcsynopsis.style "'ansi'"
1582 XSLTPROC_PROCESS_MAN = \
1583 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1584 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1586 XSLTPROC_PROCESS_MAN_IN = \
1587 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1588 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1591 XSLTPROC_PROCESS_HTML = \
1592 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1593 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1595 XSLTPROC_PROCESS_HTML_IN = \
1596 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1597 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1601 $(XSLTPROC_PROCESS_MAN)
1603 man/%.1.in: man/%.xml.in
1604 $(XSLTPROC_PROCESS_MAN)
1607 $(XSLTPROC_PROCESS_MAN)
1609 man/%.3.in: man/%.xml.in
1610 $(XSLTPROC_PROCESS_MAN)
1613 $(XSLTPROC_PROCESS_MAN)
1615 man/%.5.in: man/%.xml.in
1616 $(XSLTPROC_PROCESS_MAN)
1619 $(XSLTPROC_PROCESS_MAN)
1621 man/%.7.in: man/%.xml.in
1622 $(XSLTPROC_PROCESS_MAN_IN)
1625 $(XSLTPROC_PROCESS_MAN)
1627 man/%.8.in: man/%.xml.in
1628 $(XSLTPROC_PROCESS_MAN_IN)
1630 man/%.html: man/%.xml
1631 $(XSLTPROC_PROCESS_HTML)
1633 man/%.html.in: man/%.xml.in
1634 $(XSLTPROC_PROCESS_HTML_IN)
1638 ${nodist_man_MANS:=.in} \
1639 ${XML_FILES:.xml=.html} \
1640 ${XML_IN_FILES:.xml.in=.html.in}
1643 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1645 org.freedesktop.systemd1.%.xml: systemd
1646 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1647 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1648 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1650 org.freedesktop.hostname1.xml: systemd-hostnamed
1651 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1652 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1653 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1655 org.freedesktop.locale1.xml: systemd-localed
1656 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1657 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1658 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1660 org.freedesktop.timedate1.xml: systemd-timedated
1661 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1662 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1663 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1666 $(dbusinterface_DATA)
1669 $(MKDIR_P) -m 0755 \
1670 $(DESTDIR)$(tmpfilesdir) \
1671 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1672 $(DESTDIR)$(prefix)/lib/modules-load.d \
1673 $(DESTDIR)$(sysconfdir)/modules-load.d \
1674 $(DESTDIR)$(prefix)/lib/sysctl.d \
1675 $(DESTDIR)$(sysconfdir)/sysctl.d \
1676 $(DESTDIR)$(systemshutdowndir) \
1677 $(DESTDIR)$(systemgeneratordir) \
1678 $(DESTDIR)$(usergeneratordir)
1680 $(MKDIR_P) -m 0755 \
1681 $(DESTDIR)$(prefix)/lib/binfmt.d \
1682 $(DESTDIR)$(sysconfdir)/binfmt.d
1684 $(MKDIR_P) -m 0755 \
1685 $(DESTDIR)$(systemunitdir) \
1686 $(DESTDIR)$(userunitdir) \
1687 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1688 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1689 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1690 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1691 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1692 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1693 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1694 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1695 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1696 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1697 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1698 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1699 $(DESTDIR)$(pkgsysconfdir)/system \
1700 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1701 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1702 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1703 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1704 $(DESTDIR)$(pkgsysconfdir)/user \
1705 $(DESTDIR)$(dbussessionservicedir) \
1706 $(DESTDIR)$(sysconfdir)/xdg/systemd
1707 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1709 $(LN_S) $(pkgsysconfdir)/user user )
1710 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1711 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1712 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1713 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1714 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1715 $(LN_S) ../syslog.socket syslog.socket )
1716 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1717 rm -f systemd-update-utmp-runlevel.service && \
1718 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1719 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1720 rm -f systemd-update-utmp-runlevel.service && \
1721 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1722 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1723 rm -f systemd-update-utmp-runlevel.service && \
1724 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1725 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1726 rm -f systemd-update-utmp-runlevel.service && \
1727 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1728 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1729 rm -f systemd-update-utmp-runlevel.service && \
1730 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1731 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1732 rm -f systemd-update-utmp-shutdown.service \
1733 systemd-random-seed-save.service && \
1734 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1735 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1736 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1737 rm -f systemd-remount-api-vfs.service \
1739 remount-rootfs.service \
1742 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1743 $(LN_S) ../fsck-root.service fsck-root.service && \
1744 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1745 $(LN_S) ../var-run.mount var-run.mount && \
1746 $(LN_S) ../media.mount media.mount )
1747 ( cd $(DESTDIR)$(userunitdir) && \
1748 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1749 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1750 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1751 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1752 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1753 $(LN_S) $(systemunitdir)/sound.target sound.target )
1754 ( cd $(DESTDIR)$(systemunitdir) && \
1755 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1756 $(LN_S) poweroff.target runlevel0.target && \
1757 $(LN_S) rescue.target runlevel1.target && \
1758 $(LN_S) multi-user.target runlevel2.target && \
1759 $(LN_S) multi-user.target runlevel3.target && \
1760 $(LN_S) multi-user.target runlevel4.target && \
1761 $(LN_S) graphical.target runlevel5.target && \
1762 $(LN_S) reboot.target runlevel6.target )
1763 ( cd $(DESTDIR)$(systemunitdir) && \
1764 rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.timedate1.service dbus-org.freedesktop.login1.service autovt@.service && \
1765 $(LN_S) graphical.target default.target && \
1766 $(LN_S) reboot.target ctrl-alt-del.target && \
1767 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1768 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1769 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1770 $(LN_S) getty@.service autovt@.service )
1771 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1772 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1773 $(LN_S) ../getty.target getty.target && \
1774 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1775 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1776 $(LN_S) ../systemd-logind.service systemd-logind.service )
1777 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1778 rm -f getty@tty1.service && \
1779 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1780 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1781 rm -f remote-fs.target && \
1782 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1783 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1784 rm -f dev-hugepages.automount \
1785 dev-mqueue.automount \
1786 sys-kernel-debug.automount \
1787 sys-kernel-security.automount \
1788 systemd-vconsole-setup.service \
1789 systemd-modules-load.service \
1790 systemd-random-seed-load.service \
1791 systemd-tmpfiles-setup.service \
1792 systemd-sysctl.service \
1793 systemd-ask-password-console.path \
1794 systemd-kmsg-syslogd.service \
1795 cryptsetup.target && \
1796 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1797 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1798 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1799 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1800 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1801 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1802 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1803 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1804 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1805 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1806 $(LN_S) ../systemd-kmsg-syslogd.service && \
1807 $(LN_S) ../cryptsetup.target cryptsetup.target )
1809 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1810 rm -f systemd-binfmt.service \
1811 proc-sys-fs-binfmt_misc.automount && \
1812 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1813 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1816 ( cd $(DESTDIR)$(systemunitdir) && \
1817 rm -f dbus-org.freedesktop.hostname1.service && \
1818 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service )
1820 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1821 rm -f systemd-tmpfiles-clean.timer && \
1822 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1823 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1824 rm -f org.freedesktop.systemd1.service && \
1825 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1827 $(MKDIR_P) -m 0755 \
1828 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1829 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1830 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1831 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1832 $(DESTDIR)$(systemunitdir)/halt.target.wants
1833 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1834 rm -f plymouth-start.service plymouth-read-write.service && \
1835 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1836 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1837 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1838 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1839 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1840 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1841 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1842 rm -f plymouth-reboot.service && \
1843 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1844 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1845 rm -f plymouth-kexec.service && \
1846 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1847 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1848 rm -f plymouth-poweroff.service && \
1849 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1850 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1851 rm -f plymouth-halt.service && \
1852 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1855 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1856 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1857 rm -f network.target && \
1858 $(LN_S) $(systemunitdir)/network.target network.target )
1859 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1861 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1863 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1865 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1870 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1871 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1872 rm -f rc-local.service && \
1873 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1874 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1875 rm -f halt-local.service && \
1876 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1877 ( cd $(DESTDIR)$(systemunitdir) && \
1878 rm -f display-manager.service single.service && \
1879 $(LN_S) prefdm.service display-manager.service && \
1880 $(LN_S) rescue.service single.service )
1881 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1882 rm -f display-manager.service && \
1883 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1887 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1888 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1889 rm -f rc-local.service && \
1890 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1891 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1892 rm -f halt-local.service && \
1893 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1894 ( cd $(DESTDIR)$(systemunitdir) && \
1895 rm -f display-manager.service dm.service single.service && \
1896 $(LN_S) prefdm.service display-manager.service && \
1897 $(LN_S) prefdm.service dm.service && \
1898 $(LN_S) rescue.service single.service )
1899 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1900 rm -f display-manager.service && \
1901 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1904 if TARGET_DEBIAN_OR_UBUNTU
1905 ( cd $(DESTDIR)$(systemunitdir) && \
1906 rm -f runlevel5.target && \
1907 $(LN_S) multi-user.target runlevel5.target )
1911 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1912 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1913 rm -f rc-local.service && \
1914 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1915 ( cd $(DESTDIR)$(systemunitdir) && \
1916 rm -f local.service && \
1917 $(LN_S) rc-local.service local.service )
1918 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1919 rm -f halt-local.service && \
1920 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1924 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1925 rm -f var-lock.mount && \
1926 $(LN_S) ../var-lock.mount var-lock.mount )
1929 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1931 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1933 DISTCHECK_CONFIGURE_FLAGS = \
1934 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1935 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1936 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1937 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1938 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1939 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1940 --with-rootdir=$$dc_install_base/$(rootdir)
1942 upload: all distcheck
1943 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1944 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1945 scp man/*.html tango:public/systemd-man/
1948 git tag "v$(VERSION)" -m "systemd $(VERSION)"