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=1
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 \
181 rootlibexec_PROGRAMS += \
185 systemgenerator_PROGRAMS = \
186 systemd-getty-generator
188 if HAVE_LIBCRYPTSETUP
189 rootlibexec_PROGRAMS += \
192 systemgenerator_PROGRAMS += \
193 systemd-cryptsetup-generator
197 libsystemd-daemon.la \
200 pkginclude_HEADERS = \
218 pamlib_LTLIBRARIES = \
222 dist_pkgsysconf_DATA = \
225 src/systemd-logind.conf
227 dist_dbuspolicy_DATA = \
228 src/org.freedesktop.systemd1.conf \
229 src/org.freedesktop.hostname1.conf \
230 src/org.freedesktop.locale1.conf \
231 src/org.freedesktop.timedate1.conf \
232 src/org.freedesktop.login1.conf
234 dist_dbussystemservice_DATA = \
235 src/org.freedesktop.systemd1.service \
236 src/org.freedesktop.hostname1.service \
237 src/org.freedesktop.locale1.service \
238 src/org.freedesktop.timedate1.service \
239 src/org.freedesktop.login1.service
241 dist_udevrules_DATA = \
242 src/70-uaccess.rules \
245 nodist_udevrules_DATA = \
246 src/73-seat-late.rules \
249 dbusinterface_DATA = \
250 org.freedesktop.systemd1.Manager.xml \
251 org.freedesktop.systemd1.Job.xml \
252 org.freedesktop.systemd1.Unit.xml \
253 org.freedesktop.systemd1.Service.xml \
254 org.freedesktop.systemd1.Socket.xml \
255 org.freedesktop.systemd1.Timer.xml \
256 org.freedesktop.systemd1.Target.xml \
257 org.freedesktop.systemd1.Device.xml \
258 org.freedesktop.systemd1.Mount.xml \
259 org.freedesktop.systemd1.Automount.xml \
260 org.freedesktop.systemd1.Snapshot.xml \
261 org.freedesktop.systemd1.Swap.xml \
262 org.freedesktop.systemd1.Path.xml \
263 org.freedesktop.hostname1.xml \
264 org.freedesktop.locale1.xml \
265 org.freedesktop.timedate1.xml
267 dist_bashcompletion_DATA = \
268 src/systemctl-bash-completion.sh
270 dist_tmpfiles_DATA = \
271 tmpfiles.d/systemd.conf \
275 dist_tmpfiles_DATA += \
276 tmpfiles.d/legacy.conf
279 dist_systemunit_DATA = \
280 units/graphical.target \
281 units/multi-user.target \
282 units/emergency.service \
283 units/emergency.target \
284 units/sysinit.target \
289 units/local-fs.target \
290 units/remote-fs.target \
291 units/cryptsetup.target \
292 units/network.target \
293 units/nss-lookup.target \
294 units/mail-transfer-agent.target \
295 units/http-daemon.target \
296 units/poweroff.target \
297 units/reboot.target \
298 units/rescue.target \
299 units/rpcbind.target \
300 units/time-sync.target \
301 units/shutdown.target \
303 units/umount.target \
304 units/sigpwr.target \
305 units/sockets.target \
307 units/systemd-initctl.socket \
308 units/systemd-logger.socket \
309 units/systemd-shutdownd.socket \
310 units/syslog.socket \
311 units/dev-hugepages.automount \
312 units/dev-hugepages.mount \
313 units/dev-mqueue.automount \
314 units/dev-mqueue.mount \
315 units/sys-kernel-debug.automount \
316 units/sys-kernel-debug.mount \
317 units/sys-kernel-security.automount \
318 units/sys-kernel-security.mount \
319 units/var-run.mount \
321 units/remount-rootfs.service \
322 units/printer.target \
324 units/bluetooth.target \
325 units/smartcard.target \
326 units/systemd-readahead-done.timer \
327 units/systemd-tmpfiles-clean.timer \
328 units/quotaon.service \
329 units/systemd-ask-password-wall.path \
330 units/systemd-ask-password-console.path \
334 dist_systemunit_DATA += \
339 dist_systemunit_DATA += \
340 units/proc-sys-fs-binfmt_misc.automount \
341 units/proc-sys-fs-binfmt_misc.mount
344 nodist_systemunit_DATA = \
345 units/getty@.service \
346 units/serial-getty@.service \
347 units/console-shell.service \
348 units/systemd-initctl.service \
349 units/systemd-logger.service \
350 units/systemd-shutdownd.service \
351 units/systemd-hostnamed.service \
352 units/systemd-localed.service \
353 units/systemd-timedated.service \
354 units/systemd-logind.service \
355 units/systemd-kmsg-syslogd.service \
356 units/systemd-modules-load.service \
357 units/systemd-vconsole-setup.service \
358 units/systemd-remount-api-vfs.service \
359 units/systemd-update-utmp-runlevel.service \
360 units/systemd-update-utmp-shutdown.service \
361 units/systemd-random-seed-save.service \
362 units/systemd-random-seed-load.service \
363 units/systemd-readahead-collect.service \
364 units/systemd-readahead-replay.service \
365 units/systemd-readahead-done.service \
366 units/systemd-tmpfiles-setup.service \
367 units/systemd-tmpfiles-clean.service \
368 units/systemd-user-sessions.service \
369 units/systemd-ask-password-wall.service \
370 units/systemd-ask-password-console.service \
371 units/systemd-sysctl.service \
373 units/poweroff.service \
374 units/reboot.service \
375 units/kexec.service \
376 units/fsck@.service \
377 units/fsck-root.service \
378 units/quotacheck.service \
379 units/rescue.service \
383 nodist_systemunit_DATA += \
384 units/systemd-binfmt.service
387 dist_userunit_DATA = \
388 units/user/default.target \
389 units/user/exit.target
391 nodist_userunit_DATA = \
392 units/user/exit.service
395 units/getty@.service.m4 \
396 units/serial-getty@.service.m4 \
397 units/console-shell.service.m4 \
398 units/rescue.service.m4 \
399 units/systemd-initctl.service.in \
400 units/systemd-logger.service.in \
401 units/systemd-shutdownd.service.in \
402 units/systemd-hostnamed.service.in \
403 units/systemd-localed.service.in \
404 units/systemd-timedated.service.in \
405 units/systemd-logind.service.in \
406 units/systemd-kmsg-syslogd.service.in \
407 units/systemd-modules-load.service.in \
408 units/systemd-vconsole-setup.service.in \
409 units/systemd-remount-api-vfs.service.in \
410 units/systemd-update-utmp-runlevel.service.in \
411 units/systemd-update-utmp-shutdown.service.in \
412 units/systemd-random-seed-save.service.in \
413 units/systemd-random-seed-load.service.in \
414 units/systemd-readahead-collect.service.in \
415 units/systemd-readahead-replay.service.in \
416 units/systemd-readahead-done.service.in \
417 units/systemd-tmpfiles-setup.service.in \
418 units/systemd-tmpfiles-clean.service.in \
419 units/systemd-user-sessions.service.in \
420 units/systemd-ask-password-wall.service.in \
421 units/systemd-ask-password-console.service.in \
422 units/systemd-sysctl.service.in \
423 units/halt.service.in \
424 units/poweroff.service.in \
425 units/reboot.service.in \
426 units/kexec.service.in \
427 units/user/exit.service.in \
428 units/fsck@.service.in \
429 units/fsck-root.service.in \
430 units/quotacheck.service.in \
431 units/user@.service.in \
433 libsystemd-daemon.pc.in \
434 libsystemd-login.pc.in \
435 src/libsystemd-daemon.sym \
436 src/libsystemd-login.sym \
438 src/73-seat-late.rules.in \
439 src/99-systemd.rules.in
443 units/systemd-binfmt.service.in
447 dist_systemunit_DATA += \
448 units/fedora/prefdm.service \
449 units/fedora/rc-local.service \
450 units/fedora/halt-local.service
454 dist_systemunit_DATA += \
455 units/mandriva/prefdm.service \
456 units/fedora/rc-local.service \
457 units/fedora/halt-local.service
461 dist_systemunit_DATA += \
462 units/frugalware/display-manager.service
466 dist_systemunit_DATA += \
467 units/suse/rc-local.service \
468 units/suse/halt-local.service
472 dist_systemunit_DATA += \
473 units/plymouth-start.service \
474 units/plymouth-read-write.service \
475 units/plymouth-quit.service \
476 units/plymouth-quit-wait.service \
477 units/plymouth-reboot.service \
478 units/plymouth-kexec.service \
479 units/plymouth-poweroff.service \
480 units/plymouth-halt.service \
481 units/systemd-ask-password-plymouth.path
483 nodist_systemunit_DATA += \
484 units/systemd-ask-password-plymouth.service
487 units/systemd-ask-password-plymouth.service.in
499 pkgconfigdata_DATA = \
502 pkgconfiglib_DATA = \
503 libsystemd-daemon.pc \
506 # Passed through intltool only
507 polkitpolicy_in_files = \
508 src/org.freedesktop.hostname1.policy.in \
509 src/org.freedesktop.locale1.policy.in \
510 src/org.freedesktop.timedate1.policy.in \
511 src/org.freedesktop.login1.policy.in
513 # First passed through sed, followed by intltool
514 polkitpolicy_in_in_files = \
515 src/org.freedesktop.systemd1.policy.in.in
517 nodist_polkitpolicy_DATA = \
518 $(polkitpolicy_in_files:.policy.in=.policy) \
519 $(polkitpolicy_in_in_files:.policy.in.in=.policy)
522 $(polkitpolicy_in_files) \
523 $(polkitpolicy_in_in_files)
525 @INTLTOOL_POLICY_RULE@
527 noinst_LTLIBRARIES = \
528 libsystemd-basic.la \
531 libsystemd_basic_la_SOURCES = \
543 libsystemd_basic_la_CFLAGS = \
547 libsystemd_basic_la_LIBADD = \
551 libsystemd_core_la_SOURCES = \
556 src/load-fragment.c \
579 src/dbus-automount.c \
581 src/dbus-snapshot.c \
587 src/hostname-setup.c \
588 src/selinux-setup.c \
589 src/loopback-setup.c \
592 src/machine-id-setup.c \
604 nodist_libsystemd_core_la_SOURCES = \
605 src/load-fragment-gperf.c \
606 src/load-fragment-gperf-nulstr.c
608 libsystemd_core_la_CFLAGS = \
616 libsystemd_core_la_LIBADD = \
617 libsystemd-basic.la \
625 # This is needed because automake is buggy in how it generates the
626 # rules for C programs, but not Vala programs. We therefore can't
627 # list the .h files as dependencies if we want make dist to work.
630 ${libsystemd_basic_la_SOURCES:.c=.h} \
631 ${libsystemd_core_la_SOURCES:.c=.h} \
632 ${libsystemd_daemon_la_SOURCES:.c=.h} \
639 src/linux/auto_dev-ioctl.h \
640 src/linux/fanotify.h \
650 src/readahead-common.h \
651 src/ask-password-api.h \
656 src/logind-device.h \
658 src/logind-session.h \
669 man/systemd-nspawn.1 \
670 man/systemd-tmpfiles.8 \
671 man/systemd-notify.1 \
675 man/sd_listen_fds.3 \
678 man/systemd.service.5 \
679 man/systemd.socket.5 \
680 man/systemd.mount.5 \
681 man/systemd.automount.5 \
683 man/systemd.timer.5 \
685 man/systemd.target.5 \
686 man/systemd.device.5 \
687 man/systemd.snapshot.5 \
698 man/systemd-logind.conf.5 \
702 man/vconsole.conf.5 \
706 man/modules-load.d.5 \
708 man/systemd-ask-password.1 \
709 man/systemd-loginctl.1
720 man/sd_is_socket_unix.3 \
721 man/sd_is_socket_inet.3 \
725 man/reboot.8: man/halt.8
726 man/poweroff.8: man/halt.8
727 man/sd_is_socket.3: man/sd_is_fifo.3
728 man/sd_is_socket_unix.3: man/sd_is_fifo.3
729 man/sd_is_socket_inet.3: man/sd_is_fifo.3
730 man/sd_notifyf.3: man/sd_notify.3
731 man/init.1: man/systemd.1
738 man/systemd.special.7
741 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
744 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
747 ${XML_FILES:.xml=.html}
749 nodist_noinst_DATA = \
750 ${XML_IN_FILES:.xml.in=.html}
755 ${nodist_man_MANS:=.in} \
756 ${XML_IN_FILES:.xml.in=.html.in}
769 test_engine_SOURCES = \
772 test_engine_CFLAGS = $(systemd_CFLAGS)
773 test_engine_LDADD = $(systemd_LDADD)
775 test_job_type_SOURCES = \
778 test_job_type_CFLAGS = $(systemd_CFLAGS)
779 test_job_type_LDADD = $(systemd_LDADD)
784 test_ns_CFLAGS = $(systemd_CFLAGS)
785 test_ns_LDADD = $(systemd_LDADD)
787 test_loopback_SOURCES = \
788 src/test-loopback.c \
791 test_loopback_LDADD = \
794 test_hostname_SOURCES = \
795 src/test-hostname.c \
798 test_hostname_LDADD = \
801 test_daemon_SOURCES = \
804 test_daemon_LDADD = \
805 libsystemd-basic.la \
808 test_cgroup_SOURCES = \
812 test_cgroup_CFLAGS = \
815 test_cgroup_LDADD = \
818 test_env_replace_SOURCES = \
819 src/test-env-replace.c
821 test_env_replace_CFLAGS = \
824 test_env_replace_LDADD = \
827 test_strv_SOURCES = \
837 test_login_SOURCES = \
840 test_login_CFLAGS = \
844 libsystemd-basic.la \
847 test_install_SOURCES = \
853 test_install_CFLAGS = \
857 test_install_LDADD = \
860 systemd_logger_SOURCES = \
864 systemd_logger_LDADD = \
865 libsystemd-basic.la \
866 libsystemd-daemon.la \
869 systemd_initctl_SOURCES = \
873 systemd_initctl_CFLAGS = \
877 systemd_initctl_LDADD = \
878 libsystemd-basic.la \
879 libsystemd-daemon.la \
882 systemd_update_utmp_SOURCES = \
887 systemd_update_utmp_CFLAGS = \
892 systemd_update_utmp_LDADD = \
893 libsystemd-basic.la \
897 systemd_random_seed_SOURCES = \
900 systemd_random_seed_CFLAGS = \
903 systemd_random_seed_LDADD = \
906 systemd_shutdownd_SOURCES = \
910 systemd_shutdownd_CFLAGS = \
913 systemd_shutdownd_LDADD = \
914 libsystemd-basic.la \
917 systemd_hostnamed_SOURCES = \
922 systemd_hostnamed_CFLAGS = \
926 systemd_hostnamed_LDADD = \
927 libsystemd-basic.la \
928 libsystemd-daemon.la \
931 systemd_localed_SOURCES = \
936 systemd_localed_CFLAGS = \
940 systemd_localed_LDADD = \
941 libsystemd-basic.la \
942 libsystemd-daemon.la \
945 systemd_timedated_SOURCES = \
950 systemd_timedated_CFLAGS = \
954 systemd_timedated_LDADD = \
955 libsystemd-basic.la \
956 libsystemd-daemon.la \
959 systemd_logind_SOURCES = \
962 src/logind-device.c \
964 src/logind-seat-dbus.c \
965 src/logind-session.c \
966 src/logind-session-dbus.c \
968 src/logind-user-dbus.c \
974 nodist_systemd_logind_SOURCES = \
977 systemd_logind_CFLAGS = \
983 systemd_logind_LDADD = \
984 libsystemd-basic.la \
985 libsystemd-daemon.la \
990 systemd_uaccess_SOURCES = \
994 systemd_logind_SOURCES += \
997 systemd_uaccess_SOURCES += \
1001 systemd_uaccess_CFLAGS = \
1006 systemd_uaccess_LDADD = \
1007 libsystemd-basic.la \
1008 libsystemd-daemon.la \
1009 libsystemd-login.la \
1013 systemd_shutdown_SOURCES = \
1018 systemd_shutdown_CFLAGS = \
1022 systemd_shutdown_LDADD = \
1023 libsystemd-basic.la \
1026 systemd_modules_load_SOURCES = \
1029 systemd_modules_load_CFLAGS = \
1032 systemd_modules_load_LDADD = \
1035 systemd_tmpfiles_SOURCES = \
1038 systemd_tmpfiles_CFLAGS = \
1041 systemd_tmpfiles_LDADD = \
1044 systemd_machine_id_setup_SOURCES = \
1045 src/machine-id-setup.c \
1046 src/machine-id-main.c
1048 systemd_machine_id_setup_CFLAGS = \
1051 systemd_machine_id_setup_LDADD = \
1054 systemd_sysctl_SOURCES = \
1057 systemd_sysctl_CFLAGS = \
1060 systemd_sysctl_LDADD = \
1063 systemd_binfmt_SOURCES = \
1066 systemd_binfmt_CFLAGS = \
1069 systemd_binfmt_LDADD = \
1072 systemd_fsck_SOURCES = \
1076 systemd_fsck_CFLAGS = \
1081 systemd_fsck_LDADD = \
1082 libsystemd-basic.la \
1086 systemd_quotacheck_SOURCES = \
1089 systemd_quotacheck_CFLAGS = \
1092 systemd_quotacheck_LDADD = \
1095 systemd_timestamp_SOURCES = \
1098 systemd_timestamp_CFLAGS = \
1101 systemd_timestamp_LDADD = \
1104 systemd_ac_power_SOURCES = \
1107 systemd_ac_power_CFLAGS = \
1111 systemd_ac_power_LDADD = \
1112 libsystemd-basic.la \
1115 systemd_detect_virt_SOURCES = \
1118 systemd_detect_virt_CFLAGS = \
1121 systemd_detect_virt_LDADD = \
1124 systemd_cryptsetup_SOURCES = \
1126 src/ask-password-api.c
1128 systemd_cryptsetup_CFLAGS = \
1129 $(LIBCRYPTSETUP_CFLAGS) \
1133 systemd_cryptsetup_LDADD = \
1134 $(LIBCRYPTSETUP_LIBS) \
1138 systemd_cryptsetup_generator_SOURCES = \
1139 src/cryptsetup-generator.c \
1142 systemd_cryptsetup_generator_CFLAGS = \
1145 systemd_cryptsetup_generator_LDADD = \
1148 systemd_getty_generator_SOURCES = \
1149 src/getty-generator.c \
1152 systemd_getty_generator_CFLAGS = \
1155 systemd_getty_generator_LDADD = \
1158 systemd_user_sessions_SOURCES = \
1159 src/user-sessions.c \
1162 systemd_user_sessions_CFLAGS = \
1165 systemd_user_sessions_LDADD = \
1168 systemd_vconsole_setup_SOURCES = \
1169 src/vconsole-setup.c
1171 systemd_vconsole_setup_CFLAGS = \
1174 systemd_vconsole_setup_LDADD = \
1177 systemd_remount_api_vfs_SOURCES = \
1178 src/remount-api-vfs.c \
1182 systemd_remount_api_vfs_CFLAGS = \
1185 systemd_remount_api_vfs_LDADD = \
1188 systemd_cgroups_agent_SOURCES = \
1189 src/cgroups-agent.c \
1192 systemd_cgroups_agent_CFLAGS = \
1196 systemd_cgroups_agent_LDADD = \
1197 libsystemd-basic.la \
1200 systemd_kmsg_syslogd_SOURCES = \
1201 src/kmsg-syslogd.c \
1204 systemd_kmsg_syslogd_CFLAGS = \
1207 systemd_kmsg_syslogd_LDADD = \
1208 libsystemd-basic.la \
1209 libsystemd-daemon.la
1211 systemctl_SOURCES = \
1224 systemctl_CFLAGS = \
1229 libsystemd-basic.la \
1230 libsystemd-daemon.la \
1233 systemd_loginctl_SOURCES = \
1241 systemd_loginctl_CFLAGS = \
1246 systemd_loginctl_LDADD = \
1247 libsystemd-basic.la \
1251 systemd_notify_SOURCES = \
1255 systemd_notify_LDADD = \
1256 libsystemd-basic.la \
1257 libsystemd-daemon.la
1259 systemd_ask_password_SOURCES = \
1260 src/ask-password.c \
1261 src/ask-password-api.c
1263 systemd_ask_password_LDADD = \
1266 systemd_reply_password_SOURCES = \
1267 src/reply-password.c
1269 systemd_reply_password_LDADD = \
1272 systemd_readahead_collect_SOURCES = \
1273 src/readahead-collect.c \
1274 src/readahead-common.c
1276 systemd_readahead_collect_CFLAGS = \
1279 systemd_readahead_collect_LDADD = \
1280 libsystemd-basic.la \
1281 libsystemd-daemon.la \
1284 systemd_readahead_replay_SOURCES = \
1285 src/readahead-replay.c \
1286 src/readahead-common.c
1288 systemd_readahead_replay_CFLAGS = \
1291 systemd_readahead_replay_LDADD = \
1292 libsystemd-basic.la \
1293 libsystemd-daemon.la \
1296 systemd_cgls_SOURCES = \
1302 systemd_cgls_CFLAGS = \
1305 systemd_cgls_LDADD = \
1308 systemd_nspawn_SOURCES = \
1312 systemd_nspawn_CFLAGS = \
1315 systemd_nspawn_LDADD = \
1316 libsystemd-basic.la \
1317 libsystemd-daemon.la
1319 systemd_stdio_bridge_SOURCES = \
1322 systemd_stdio_bridge_LDADD = \
1325 systemadm_SOURCES = \
1326 src/systemadm.vala \
1327 src/systemd-interfaces.vala
1329 systemadm_CFLAGS = \
1332 -Wno-unused-variable \
1333 -Wno-unused-function \
1335 -Wno-format-nonliteral
1337 systemadm_VALAFLAGS = \
1345 systemd_gnome_ask_password_agent_SOURCES = \
1346 src/gnome-ask-password-agent.vala
1348 systemd_gnome_ask_password_agent_CFLAGS = \
1350 $(LIBNOTIFY_CFLAGS) \
1352 -Wno-unused-variable \
1353 -Wno-unused-function \
1355 -Wno-format-nonliteral
1357 systemd_gnome_ask_password_agent_VALAFLAGS = \
1361 --pkg=gio-unix-2.0 \
1364 systemd_gnome_ask_password_agent_VALAFLAGS += \
1367 systemd_gnome_ask_password_agent_VALAFLAGS += \
1370 systemd_gnome_ask_password_agent_LDADD = \
1374 systemd_tty_ask_password_agent_SOURCES = \
1375 src/tty-ask-password-agent.c \
1376 src/ask-password-api.c \
1379 systemd_tty_ask_password_agent_LDADD = \
1382 pam_systemd_la_SOURCES = \
1386 pam_systemd_la_CFLAGS = \
1392 pam_systemd_la_LDFLAGS = \
1397 -export-symbols-regex '^pam_sm_.*'
1399 pam_systemd_la_LIBADD = \
1400 libsystemd-basic.la \
1401 libsystemd-daemon.la \
1405 libsystemd_daemon_la_SOURCES = \
1408 libsystemd_daemon_la_CFLAGS = \
1410 -fvisibility=hidden \
1413 libsystemd_daemon_la_LDFLAGS = \
1415 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1416 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1418 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1419 libsystemd-daemon-install-hook:
1420 if test "$(libdir)" != "$(rootlibdir)"; then \
1421 mkdir -p $(DESTDIR)$(rootlibdir) && \
1422 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1423 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1424 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1425 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1428 libsystemd-daemon-uninstall-hook:
1429 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1431 libsystemd_login_la_SOURCES = \
1435 libsystemd_login_la_CFLAGS = \
1439 libsystemd_login_la_LDFLAGS = \
1441 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1442 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1444 libsystemd_login_la_LIBADD = \
1447 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1448 libsystemd-login-install-hook:
1449 if test "$(libdir)" != "$(rootlibdir)"; then \
1450 mkdir -p $(DESTDIR)$(rootlibdir) && \
1451 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \
1452 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1453 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \
1454 mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \
1457 libsystemd-login-uninstall-hook:
1458 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so*
1461 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1462 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1463 -e 's,@rootbindir\@,$(rootbindir),g' \
1464 -e 's,@bindir\@,$(bindir),g' \
1465 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1466 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1467 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1468 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1469 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1470 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1471 -e 's,@userunitdir\@,$(userunitdir),g' \
1472 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1473 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1474 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1475 -e 's,@prefix\@,$(prefix),g' \
1476 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1477 -e 's,@libdir\@,$(libdir),g' \
1478 -e 's,@includedir\@,$(includedir),g' \
1481 units/%: units/%.in Makefile
1484 man/%: man/%.in Makefile
1487 %.pc: %.pc.in Makefile
1490 src/%.policy.in: src/%.policy.in.in Makefile
1493 src/%.rules: src/%.rules.in Makefile
1496 src/%.c: src/%.gperf
1497 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1501 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1502 $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@
1504 src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf
1505 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1506 $(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 $@
1508 M4_PROCESS_SYSTEM = \
1509 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1510 $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1513 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1514 $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@
1516 units/%: units/%.m4 Makefile
1517 $(M4_PROCESS_SYSTEM)
1519 units/user/%: units/%.m4 Makefile
1523 $(nodist_systemunit_DATA) \
1524 $(nodist_userunit_DATA) \
1525 $(nodist_man_MANS) \
1526 ${XML_IN_FILES:.xml.in=.html} \
1527 $(pkgconfigdata_DATA) \
1528 $(pkgconfiglib_DATA) \
1529 $(nodist_polkitpolicy_DATA) \
1530 src/73-seat-late.rules \
1531 src/99-systemd.rules
1535 ${systemadm_SOURCES:.vala=.c}
1541 --param funcsynopsis.style "'ansi'"
1543 XSLTPROC_PROCESS_MAN = \
1544 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1545 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1547 XSLTPROC_PROCESS_MAN_IN = \
1548 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1549 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1552 XSLTPROC_PROCESS_HTML = \
1553 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1554 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1556 XSLTPROC_PROCESS_HTML_IN = \
1557 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1558 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1562 $(XSLTPROC_PROCESS_MAN)
1564 man/%.1.in: man/%.xml.in
1565 $(XSLTPROC_PROCESS_MAN)
1568 $(XSLTPROC_PROCESS_MAN)
1570 man/%.3.in: man/%.xml.in
1571 $(XSLTPROC_PROCESS_MAN)
1574 $(XSLTPROC_PROCESS_MAN)
1576 man/%.5.in: man/%.xml.in
1577 $(XSLTPROC_PROCESS_MAN)
1580 $(XSLTPROC_PROCESS_MAN)
1582 man/%.7.in: man/%.xml.in
1583 $(XSLTPROC_PROCESS_MAN_IN)
1586 $(XSLTPROC_PROCESS_MAN)
1588 man/%.8.in: man/%.xml.in
1589 $(XSLTPROC_PROCESS_MAN_IN)
1591 man/%.html: man/%.xml
1592 $(XSLTPROC_PROCESS_HTML)
1594 man/%.html.in: man/%.xml.in
1595 $(XSLTPROC_PROCESS_HTML_IN)
1599 ${nodist_man_MANS:=.in} \
1600 ${XML_FILES:.xml=.html} \
1601 ${XML_IN_FILES:.xml.in=.html.in}
1604 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1606 org.freedesktop.systemd1.%.xml: systemd
1607 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1608 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1609 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1611 org.freedesktop.hostname1.xml: systemd-hostnamed
1612 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1613 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1614 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1616 org.freedesktop.locale1.xml: systemd-localed
1617 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1618 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1619 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1621 org.freedesktop.timedate1.xml: systemd-timedated
1622 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1623 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1624 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1627 $(dbusinterface_DATA)
1630 $(MKDIR_P) -m 0755 \
1631 $(DESTDIR)$(tmpfilesdir) \
1632 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1633 $(DESTDIR)$(prefix)/lib/modules-load.d \
1634 $(DESTDIR)$(sysconfdir)/modules-load.d \
1635 $(DESTDIR)$(prefix)/lib/sysctl.d \
1636 $(DESTDIR)$(sysconfdir)/sysctl.d \
1637 $(DESTDIR)$(systemshutdowndir) \
1638 $(DESTDIR)$(systemgeneratordir) \
1639 $(DESTDIR)$(usergeneratordir)
1641 $(MKDIR_P) -m 0755 \
1642 $(DESTDIR)$(prefix)/lib/binfmt.d \
1643 $(DESTDIR)$(sysconfdir)/binfmt.d
1645 $(MKDIR_P) -m 0755 \
1646 $(DESTDIR)$(systemunitdir) \
1647 $(DESTDIR)$(userunitdir) \
1648 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1649 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1650 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1651 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1652 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1653 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1654 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1655 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1656 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1657 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1658 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1659 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1660 $(DESTDIR)$(pkgsysconfdir)/system \
1661 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1662 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1663 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1664 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1665 $(DESTDIR)$(pkgsysconfdir)/user \
1666 $(DESTDIR)$(dbussessionservicedir) \
1667 $(DESTDIR)$(sysconfdir)/xdg/systemd
1668 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1670 $(LN_S) $(pkgsysconfdir)/user user )
1671 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1672 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1673 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1674 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1675 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1676 $(LN_S) ../syslog.socket syslog.socket )
1677 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1678 rm -f systemd-update-utmp-runlevel.service && \
1679 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1680 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1681 rm -f systemd-update-utmp-runlevel.service && \
1682 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1683 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1684 rm -f systemd-update-utmp-runlevel.service && \
1685 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1686 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1687 rm -f systemd-update-utmp-runlevel.service && \
1688 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1689 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1690 rm -f systemd-update-utmp-runlevel.service && \
1691 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1692 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1693 rm -f systemd-update-utmp-shutdown.service \
1694 systemd-random-seed-save.service && \
1695 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1696 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1697 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1698 rm -f systemd-remount-api-vfs.service \
1700 remount-rootfs.service \
1703 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1704 $(LN_S) ../fsck-root.service fsck-root.service && \
1705 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1706 $(LN_S) ../var-run.mount var-run.mount && \
1707 $(LN_S) ../media.mount media.mount )
1708 ( cd $(DESTDIR)$(userunitdir) && \
1709 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1710 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1711 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1712 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1713 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1714 $(LN_S) $(systemunitdir)/sound.target sound.target )
1715 ( cd $(DESTDIR)$(systemunitdir) && \
1716 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1717 $(LN_S) poweroff.target runlevel0.target && \
1718 $(LN_S) rescue.target runlevel1.target && \
1719 $(LN_S) multi-user.target runlevel2.target && \
1720 $(LN_S) multi-user.target runlevel3.target && \
1721 $(LN_S) multi-user.target runlevel4.target && \
1722 $(LN_S) graphical.target runlevel5.target && \
1723 $(LN_S) reboot.target runlevel6.target )
1724 ( cd $(DESTDIR)$(systemunitdir) && \
1725 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 && \
1726 $(LN_S) graphical.target default.target && \
1727 $(LN_S) reboot.target ctrl-alt-del.target && \
1728 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1729 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1730 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1731 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1732 $(LN_S) getty@.service autovt@.service )
1733 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1734 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1735 $(LN_S) ../getty.target getty.target && \
1736 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1737 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1738 $(LN_S) ../systemd-logind.service systemd-logind.service )
1739 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1740 rm -f getty@tty1.service && \
1741 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1742 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1743 rm -f remote-fs.target && \
1744 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1745 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1746 rm -f dev-hugepages.automount \
1747 dev-mqueue.automount \
1748 sys-kernel-debug.automount \
1749 sys-kernel-security.automount \
1750 systemd-vconsole-setup.service \
1751 systemd-modules-load.service \
1752 systemd-random-seed-load.service \
1753 systemd-tmpfiles-setup.service \
1754 systemd-sysctl.service \
1755 systemd-ask-password-console.path \
1756 systemd-kmsg-syslogd.service \
1757 cryptsetup.target && \
1758 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1759 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1760 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1761 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1762 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1763 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1764 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1765 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1766 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1767 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1768 $(LN_S) ../systemd-kmsg-syslogd.service && \
1769 $(LN_S) ../cryptsetup.target cryptsetup.target )
1771 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1772 rm -f systemd-binfmt.service \
1773 proc-sys-fs-binfmt_misc.automount && \
1774 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1775 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1777 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1778 rm -f systemd-tmpfiles-clean.timer && \
1779 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1780 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1781 rm -f org.freedesktop.systemd1.service && \
1782 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1784 $(MKDIR_P) -m 0755 \
1785 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1786 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1787 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1788 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1789 $(DESTDIR)$(systemunitdir)/halt.target.wants
1790 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1791 rm -f plymouth-start.service plymouth-read-write.service && \
1792 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1793 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1794 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1795 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1796 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1797 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1798 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1799 rm -f plymouth-reboot.service && \
1800 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1801 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1802 rm -f plymouth-kexec.service && \
1803 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1804 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1805 rm -f plymouth-poweroff.service && \
1806 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1807 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1808 rm -f plymouth-halt.service && \
1809 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1812 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1813 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1814 rm -f network.target && \
1815 $(LN_S) $(systemunitdir)/network.target network.target )
1816 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1818 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1820 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1822 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1827 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1828 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1829 rm -f rc-local.service && \
1830 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1831 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1832 rm -f halt-local.service && \
1833 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1834 ( cd $(DESTDIR)$(systemunitdir) && \
1835 rm -f display-manager.service single.service && \
1836 $(LN_S) prefdm.service display-manager.service && \
1837 $(LN_S) rescue.service single.service )
1838 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1839 rm -f display-manager.service && \
1840 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1844 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1845 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1846 rm -f rc-local.service && \
1847 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1848 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1849 rm -f halt-local.service && \
1850 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1851 ( cd $(DESTDIR)$(systemunitdir) && \
1852 rm -f display-manager.service dm.service single.service && \
1853 $(LN_S) prefdm.service display-manager.service && \
1854 $(LN_S) prefdm.service dm.service && \
1855 $(LN_S) rescue.service single.service )
1856 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1857 rm -f display-manager.service && \
1858 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1861 if TARGET_DEBIAN_OR_UBUNTU
1862 ( cd $(DESTDIR)$(systemunitdir) && \
1863 rm -f runlevel5.target && \
1864 $(LN_S) multi-user.target runlevel5.target )
1868 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1869 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1870 rm -f rc-local.service && \
1871 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1872 ( cd $(DESTDIR)$(systemunitdir) && \
1873 rm -f local.service && \
1874 $(LN_S) rc-local.service local.service )
1875 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1876 rm -f halt-local.service && \
1877 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1881 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1882 rm -f var-lock.mount && \
1883 $(LN_S) ../var-lock.mount var-lock.mount )
1886 install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook
1888 uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook
1890 DISTCHECK_CONFIGURE_FLAGS = \
1891 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1892 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1893 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1894 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1895 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1896 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1897 --with-rootdir=$$dc_install_base/$(rootdir)
1899 upload: all distcheck
1900 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1901 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1902 scp man/*.html tango:public/systemd-man/
1905 git tag "v$(VERSION)" -m "systemd $(VERSION)"