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 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 = \
550 libsystemd_core_la_SOURCES = \
555 src/load-fragment.c \
578 src/dbus-automount.c \
580 src/dbus-snapshot.c \
586 src/hostname-setup.c \
587 src/selinux-setup.c \
588 src/loopback-setup.c \
591 src/machine-id-setup.c \
603 libsystemd_core_la_CFLAGS = \
611 libsystemd_core_la_LIBADD = \
612 libsystemd-basic.la \
619 # This is needed because automake is buggy in how it generates the
620 # rules for C programs, but not Vala programs. We therefore can't
621 # list the .h files as dependencies if we want make dist to work.
624 ${libsystemd_basic_la_SOURCES:.c=.h} \
625 ${libsystemd_core_la_SOURCES:.c=.h} \
626 ${libsystemd_daemon_la_SOURCES:.c=.h} \
633 src/linux/auto_dev-ioctl.h \
634 src/linux/fanotify.h \
644 src/readahead-common.h \
645 src/ask-password-api.h \
650 src/logind-device.h \
652 src/logind-session.h \
662 man/systemd-nspawn.1 \
663 man/systemd-tmpfiles.8 \
664 man/systemd-notify.1 \
668 man/sd_listen_fds.3 \
671 man/systemd.service.5 \
672 man/systemd.socket.5 \
673 man/systemd.mount.5 \
674 man/systemd.automount.5 \
676 man/systemd.timer.5 \
678 man/systemd.target.5 \
679 man/systemd.device.5 \
680 man/systemd.snapshot.5 \
691 man/systemd-logind.conf.5 \
695 man/vconsole.conf.5 \
699 man/modules-load.d.5 \
701 man/systemd-ask-password.1 \
702 man/systemd-loginctl.1
713 man/sd_is_socket_unix.3 \
714 man/sd_is_socket_inet.3 \
718 man/reboot.8: man/halt.8
719 man/poweroff.8: man/halt.8
720 man/sd_is_socket.3: man/sd_is_fifo.3
721 man/sd_is_socket_unix.3: man/sd_is_fifo.3
722 man/sd_is_socket_inet.3: man/sd_is_fifo.3
723 man/sd_notifyf.3: man/sd_notify.3
724 man/init.1: man/systemd.1
731 man/systemd.special.7
734 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
737 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
740 ${XML_FILES:.xml=.html}
742 nodist_noinst_DATA = \
743 ${XML_IN_FILES:.xml.in=.html}
748 ${nodist_man_MANS:=.in} \
749 ${XML_IN_FILES:.xml.in=.html.in}
762 test_engine_SOURCES = \
765 test_engine_CFLAGS = $(systemd_CFLAGS)
766 test_engine_LDADD = $(systemd_LDADD)
768 test_job_type_SOURCES = \
771 test_job_type_CFLAGS = $(systemd_CFLAGS)
772 test_job_type_LDADD = $(systemd_LDADD)
777 test_ns_CFLAGS = $(systemd_CFLAGS)
778 test_ns_LDADD = $(systemd_LDADD)
780 test_loopback_SOURCES = \
781 src/test-loopback.c \
784 test_loopback_LDADD = \
787 test_hostname_SOURCES = \
788 src/test-hostname.c \
791 test_hostname_LDADD = \
794 test_daemon_SOURCES = \
797 test_daemon_LDADD = \
798 libsystemd-basic.la \
801 test_cgroup_SOURCES = \
805 test_cgroup_CFLAGS = \
808 test_cgroup_LDADD = \
811 test_env_replace_SOURCES = \
812 src/test-env-replace.c
814 test_env_replace_CFLAGS = \
817 test_env_replace_LDADD = \
820 test_strv_SOURCES = \
830 test_login_SOURCES = \
833 test_login_CFLAGS = \
837 libsystemd-basic.la \
840 test_install_SOURCES = \
846 test_install_CFLAGS = \
850 test_install_LDADD = \
853 systemd_logger_SOURCES = \
857 systemd_logger_LDADD = \
858 libsystemd-basic.la \
859 libsystemd-daemon.la \
862 systemd_initctl_SOURCES = \
866 systemd_initctl_CFLAGS = \
870 systemd_initctl_LDADD = \
871 libsystemd-basic.la \
872 libsystemd-daemon.la \
875 systemd_update_utmp_SOURCES = \
880 systemd_update_utmp_CFLAGS = \
885 systemd_update_utmp_LDADD = \
886 libsystemd-basic.la \
890 systemd_random_seed_SOURCES = \
893 systemd_random_seed_CFLAGS = \
896 systemd_random_seed_LDADD = \
899 systemd_shutdownd_SOURCES = \
903 systemd_shutdownd_CFLAGS = \
906 systemd_shutdownd_LDADD = \
907 libsystemd-basic.la \
910 systemd_hostnamed_SOURCES = \
915 systemd_hostnamed_CFLAGS = \
919 systemd_hostnamed_LDADD = \
920 libsystemd-basic.la \
921 libsystemd-daemon.la \
924 systemd_localed_SOURCES = \
929 systemd_localed_CFLAGS = \
933 systemd_localed_LDADD = \
934 libsystemd-basic.la \
935 libsystemd-daemon.la \
938 systemd_timedated_SOURCES = \
943 systemd_timedated_CFLAGS = \
947 systemd_timedated_LDADD = \
948 libsystemd-basic.la \
949 libsystemd-daemon.la \
952 systemd_logind_SOURCES = \
955 src/logind-device.c \
957 src/logind-seat-dbus.c \
958 src/logind-session.c \
959 src/logind-session-dbus.c \
961 src/logind-user-dbus.c \
967 systemd_logind_CFLAGS = \
973 systemd_logind_LDADD = \
974 libsystemd-basic.la \
975 libsystemd-daemon.la \
980 systemd_uaccess_SOURCES = \
984 systemd_logind_SOURCES += \
987 systemd_uaccess_SOURCES += \
991 systemd_uaccess_CFLAGS = \
996 systemd_uaccess_LDADD = \
997 libsystemd-basic.la \
998 libsystemd-daemon.la \
999 libsystemd-login.la \
1003 systemd_shutdown_SOURCES = \
1008 systemd_shutdown_CFLAGS = \
1012 systemd_shutdown_LDADD = \
1013 libsystemd-basic.la \
1016 systemd_modules_load_SOURCES = \
1019 systemd_modules_load_CFLAGS = \
1022 systemd_modules_load_LDADD = \
1025 systemd_tmpfiles_SOURCES = \
1028 systemd_tmpfiles_CFLAGS = \
1031 systemd_tmpfiles_LDADD = \
1034 systemd_machine_id_setup_SOURCES = \
1035 src/machine-id-setup.c \
1036 src/machine-id-main.c
1038 systemd_machine_id_setup_CFLAGS = \
1041 systemd_machine_id_setup_LDADD = \
1044 systemd_sysctl_SOURCES = \
1047 systemd_sysctl_CFLAGS = \
1050 systemd_sysctl_LDADD = \
1053 systemd_binfmt_SOURCES = \
1056 systemd_binfmt_CFLAGS = \
1059 systemd_binfmt_LDADD = \
1062 systemd_fsck_SOURCES = \
1066 systemd_fsck_CFLAGS = \
1071 systemd_fsck_LDADD = \
1072 libsystemd-basic.la \
1076 systemd_quotacheck_SOURCES = \
1079 systemd_quotacheck_CFLAGS = \
1082 systemd_quotacheck_LDADD = \
1085 systemd_timestamp_SOURCES = \
1088 systemd_timestamp_CFLAGS = \
1091 systemd_timestamp_LDADD = \
1094 systemd_ac_power_SOURCES = \
1097 systemd_ac_power_CFLAGS = \
1101 systemd_ac_power_LDADD = \
1102 libsystemd-basic.la \
1105 systemd_detect_virt_SOURCES = \
1108 systemd_detect_virt_CFLAGS = \
1111 systemd_detect_virt_LDADD = \
1114 systemd_cryptsetup_SOURCES = \
1116 src/ask-password-api.c
1118 systemd_cryptsetup_CFLAGS = \
1119 $(LIBCRYPTSETUP_CFLAGS) \
1123 systemd_cryptsetup_LDADD = \
1124 $(LIBCRYPTSETUP_LIBS) \
1128 systemd_cryptsetup_generator_SOURCES = \
1129 src/cryptsetup-generator.c \
1132 systemd_cryptsetup_generator_CFLAGS = \
1135 systemd_cryptsetup_generator_LDADD = \
1138 systemd_getty_generator_SOURCES = \
1139 src/getty-generator.c \
1142 systemd_getty_generator_CFLAGS = \
1145 systemd_getty_generator_LDADD = \
1148 systemd_user_sessions_SOURCES = \
1149 src/user-sessions.c \
1152 systemd_user_sessions_CFLAGS = \
1155 systemd_user_sessions_LDADD = \
1158 systemd_vconsole_setup_SOURCES = \
1159 src/vconsole-setup.c
1161 systemd_vconsole_setup_CFLAGS = \
1164 systemd_vconsole_setup_LDADD = \
1167 systemd_remount_api_vfs_SOURCES = \
1168 src/remount-api-vfs.c \
1172 systemd_remount_api_vfs_CFLAGS = \
1175 systemd_remount_api_vfs_LDADD = \
1178 systemd_cgroups_agent_SOURCES = \
1179 src/cgroups-agent.c \
1182 systemd_cgroups_agent_CFLAGS = \
1186 systemd_cgroups_agent_LDADD = \
1187 libsystemd-basic.la \
1190 systemd_kmsg_syslogd_SOURCES = \
1191 src/kmsg-syslogd.c \
1194 systemd_kmsg_syslogd_CFLAGS = \
1197 systemd_kmsg_syslogd_LDADD = \
1198 libsystemd-basic.la \
1199 libsystemd-daemon.la
1201 systemctl_SOURCES = \
1214 systemctl_CFLAGS = \
1219 libsystemd-basic.la \
1220 libsystemd-daemon.la \
1223 systemd_loginctl_SOURCES = \
1231 systemd_loginctl_CFLAGS = \
1236 systemd_loginctl_LDADD = \
1237 libsystemd-basic.la \
1241 systemd_notify_SOURCES = \
1245 systemd_notify_LDADD = \
1246 libsystemd-basic.la \
1247 libsystemd-daemon.la
1249 systemd_ask_password_SOURCES = \
1250 src/ask-password.c \
1251 src/ask-password-api.c
1253 systemd_ask_password_LDADD = \
1256 systemd_reply_password_SOURCES = \
1257 src/reply-password.c
1259 systemd_reply_password_LDADD = \
1262 systemd_readahead_collect_SOURCES = \
1263 src/readahead-collect.c \
1264 src/readahead-common.c
1266 systemd_readahead_collect_CFLAGS = \
1269 systemd_readahead_collect_LDADD = \
1270 libsystemd-basic.la \
1271 libsystemd-daemon.la \
1274 systemd_readahead_replay_SOURCES = \
1275 src/readahead-replay.c \
1276 src/readahead-common.c
1278 systemd_readahead_replay_CFLAGS = \
1281 systemd_readahead_replay_LDADD = \
1282 libsystemd-basic.la \
1283 libsystemd-daemon.la \
1286 systemd_cgls_SOURCES = \
1292 systemd_cgls_CFLAGS = \
1295 systemd_cgls_LDADD = \
1298 systemd_nspawn_SOURCES = \
1302 systemd_nspawn_CFLAGS = \
1305 systemd_nspawn_LDADD = \
1306 libsystemd-basic.la \
1307 libsystemd-daemon.la
1309 systemd_stdio_bridge_SOURCES = \
1312 systemd_stdio_bridge_LDADD = \
1315 systemadm_SOURCES = \
1316 src/systemadm.vala \
1317 src/systemd-interfaces.vala
1319 systemadm_CFLAGS = \
1322 -Wno-unused-variable \
1323 -Wno-unused-function \
1325 -Wno-format-nonliteral
1327 systemadm_VALAFLAGS = \
1335 systemd_gnome_ask_password_agent_SOURCES = \
1336 src/gnome-ask-password-agent.vala
1338 systemd_gnome_ask_password_agent_CFLAGS = \
1340 $(LIBNOTIFY_CFLAGS) \
1342 -Wno-unused-variable \
1343 -Wno-unused-function \
1345 -Wno-format-nonliteral
1347 systemd_gnome_ask_password_agent_VALAFLAGS = \
1351 --pkg=gio-unix-2.0 \
1354 systemd_gnome_ask_password_agent_VALAFLAGS += \
1357 systemd_gnome_ask_password_agent_VALAFLAGS += \
1360 systemd_gnome_ask_password_agent_LDADD = \
1364 systemd_tty_ask_password_agent_SOURCES = \
1365 src/tty-ask-password-agent.c \
1366 src/ask-password-api.c \
1369 systemd_tty_ask_password_agent_LDADD = \
1372 pam_systemd_la_SOURCES = \
1376 pam_systemd_la_CFLAGS = \
1382 pam_systemd_la_LDFLAGS = \
1387 -export-symbols-regex '^pam_sm_.*'
1389 pam_systemd_la_LIBADD = \
1390 libsystemd-basic.la \
1391 libsystemd-daemon.la \
1395 libsystemd_daemon_la_SOURCES = \
1398 libsystemd_daemon_la_CFLAGS = \
1400 -fvisibility=hidden \
1403 libsystemd_daemon_la_LDFLAGS = \
1405 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1406 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1408 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1409 libsystemd-daemon-install-hook:
1410 if test "$(libdir)" != "$(rootlibdir)"; then \
1411 mkdir -p $(DESTDIR)$(rootlibdir) && \
1412 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1413 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1414 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1415 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1418 libsystemd-daemon-uninstall-hook:
1419 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1421 libsystemd_login_la_SOURCES = \
1425 libsystemd_login_la_CFLAGS = \
1429 libsystemd_login_la_LDFLAGS = \
1431 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1432 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1434 libsystemd_login_la_LIBADD = \
1438 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1439 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1440 -e 's,@rootbindir\@,$(rootbindir),g' \
1441 -e 's,@bindir\@,$(bindir),g' \
1442 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1443 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1444 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1445 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1446 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1447 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1448 -e 's,@userunitdir\@,$(userunitdir),g' \
1449 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1450 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1451 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1452 -e 's,@prefix\@,$(prefix),g' \
1453 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1454 -e 's,@libdir\@,$(libdir),g' \
1455 -e 's,@includedir\@,$(includedir),g' \
1458 units/%: units/%.in Makefile
1461 man/%: man/%.in Makefile
1464 %.pc: %.pc.in Makefile
1467 src/%.policy.in: src/%.policy.in.in Makefile
1470 src/%.rules: src/%.rules.in Makefile
1473 M4_PROCESS_SYSTEM = \
1474 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1475 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1478 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1479 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1481 units/%: units/%.m4 Makefile
1482 $(M4_PROCESS_SYSTEM)
1484 units/user/%: units/%.m4 Makefile
1488 $(nodist_systemunit_DATA) \
1489 $(nodist_userunit_DATA) \
1490 $(nodist_man_MANS) \
1491 ${XML_IN_FILES:.xml.in=.html} \
1492 $(pkgconfigdata_DATA) \
1493 $(nodist_polkitpolicy_DATA) \
1494 src/73-seat-late.rules \
1495 src/99-systemd.rules
1499 ${systemadm_SOURCES:.vala=.c}
1505 --param funcsynopsis.style "'ansi'"
1507 XSLTPROC_PROCESS_MAN = \
1508 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1509 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1511 XSLTPROC_PROCESS_MAN_IN = \
1512 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1513 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1516 XSLTPROC_PROCESS_HTML = \
1517 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1518 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1520 XSLTPROC_PROCESS_HTML_IN = \
1521 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1522 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1526 $(XSLTPROC_PROCESS_MAN)
1528 man/%.1.in: man/%.xml.in
1529 $(XSLTPROC_PROCESS_MAN)
1532 $(XSLTPROC_PROCESS_MAN)
1534 man/%.3.in: man/%.xml.in
1535 $(XSLTPROC_PROCESS_MAN)
1538 $(XSLTPROC_PROCESS_MAN)
1540 man/%.5.in: man/%.xml.in
1541 $(XSLTPROC_PROCESS_MAN)
1544 $(XSLTPROC_PROCESS_MAN)
1546 man/%.7.in: man/%.xml.in
1547 $(XSLTPROC_PROCESS_MAN_IN)
1550 $(XSLTPROC_PROCESS_MAN)
1552 man/%.8.in: man/%.xml.in
1553 $(XSLTPROC_PROCESS_MAN_IN)
1555 man/%.html: man/%.xml
1556 $(XSLTPROC_PROCESS_HTML)
1558 man/%.html.in: man/%.xml.in
1559 $(XSLTPROC_PROCESS_HTML_IN)
1563 ${nodist_man_MANS:=.in} \
1564 ${XML_FILES:.xml=.html} \
1565 ${XML_IN_FILES:.xml.in=.html.in}
1568 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1570 org.freedesktop.systemd1.%.xml: systemd
1571 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1572 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1573 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1575 org.freedesktop.hostname1.xml: systemd-hostnamed
1576 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1577 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1578 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1580 org.freedesktop.locale1.xml: systemd-localed
1581 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1582 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1583 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1585 org.freedesktop.timedate1.xml: systemd-timedated
1586 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1587 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1588 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1591 $(dbusinterface_DATA)
1594 $(MKDIR_P) -m 0755 \
1595 $(DESTDIR)$(tmpfilesdir) \
1596 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1597 $(DESTDIR)$(prefix)/lib/modules-load.d \
1598 $(DESTDIR)$(sysconfdir)/modules-load.d \
1599 $(DESTDIR)$(prefix)/lib/sysctl.d \
1600 $(DESTDIR)$(sysconfdir)/sysctl.d \
1601 $(DESTDIR)$(systemshutdowndir) \
1602 $(DESTDIR)$(systemgeneratordir) \
1603 $(DESTDIR)$(usergeneratordir)
1605 $(MKDIR_P) -m 0755 \
1606 $(DESTDIR)$(prefix)/lib/binfmt.d \
1607 $(DESTDIR)$(sysconfdir)/binfmt.d
1609 $(MKDIR_P) -m 0755 \
1610 $(DESTDIR)$(systemunitdir) \
1611 $(DESTDIR)$(userunitdir) \
1612 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1613 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1614 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1615 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1616 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1617 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1618 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1619 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1620 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1621 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1622 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1623 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1624 $(DESTDIR)$(pkgsysconfdir)/system \
1625 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1626 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1627 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1628 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1629 $(DESTDIR)$(pkgsysconfdir)/user \
1630 $(DESTDIR)$(dbussessionservicedir) \
1631 $(DESTDIR)$(sysconfdir)/xdg/systemd
1632 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1634 $(LN_S) $(pkgsysconfdir)/user user )
1635 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1636 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1637 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1638 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1639 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1640 $(LN_S) ../syslog.socket syslog.socket )
1641 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1642 rm -f systemd-update-utmp-runlevel.service && \
1643 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1644 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1645 rm -f systemd-update-utmp-runlevel.service && \
1646 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1647 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1648 rm -f systemd-update-utmp-runlevel.service && \
1649 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1650 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1651 rm -f systemd-update-utmp-runlevel.service && \
1652 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1653 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1654 rm -f systemd-update-utmp-runlevel.service && \
1655 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1656 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1657 rm -f systemd-update-utmp-shutdown.service \
1658 systemd-random-seed-save.service && \
1659 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1660 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1661 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1662 rm -f systemd-remount-api-vfs.service \
1664 remount-rootfs.service \
1667 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1668 $(LN_S) ../fsck-root.service fsck-root.service && \
1669 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1670 $(LN_S) ../var-run.mount var-run.mount && \
1671 $(LN_S) ../media.mount media.mount )
1672 ( cd $(DESTDIR)$(userunitdir) && \
1673 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1674 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1675 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1676 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1677 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1678 $(LN_S) $(systemunitdir)/sound.target sound.target )
1679 ( cd $(DESTDIR)$(systemunitdir) && \
1680 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1681 $(LN_S) poweroff.target runlevel0.target && \
1682 $(LN_S) rescue.target runlevel1.target && \
1683 $(LN_S) multi-user.target runlevel2.target && \
1684 $(LN_S) multi-user.target runlevel3.target && \
1685 $(LN_S) multi-user.target runlevel4.target && \
1686 $(LN_S) graphical.target runlevel5.target && \
1687 $(LN_S) reboot.target runlevel6.target )
1688 ( cd $(DESTDIR)$(systemunitdir) && \
1689 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 && \
1690 $(LN_S) graphical.target default.target && \
1691 $(LN_S) reboot.target ctrl-alt-del.target && \
1692 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1693 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1694 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1695 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1696 $(LN_S) getty@.service autovt@.service )
1697 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1698 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1699 $(LN_S) ../getty.target getty.target && \
1700 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1701 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1702 $(LN_S) ../systemd-logind.service systemd-logind.service )
1703 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1704 rm -f getty@tty1.service && \
1705 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1706 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1707 rm -f remote-fs.target && \
1708 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1709 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1710 rm -f dev-hugepages.automount \
1711 dev-mqueue.automount \
1712 sys-kernel-debug.automount \
1713 sys-kernel-security.automount \
1714 systemd-vconsole-setup.service \
1715 systemd-modules-load.service \
1716 systemd-random-seed-load.service \
1717 systemd-tmpfiles-setup.service \
1718 systemd-sysctl.service \
1719 systemd-ask-password-console.path \
1720 systemd-kmsg-syslogd.service \
1721 cryptsetup.target && \
1722 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1723 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1724 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1725 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1726 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1727 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1728 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1729 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1730 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1731 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1732 $(LN_S) ../systemd-kmsg-syslogd.service && \
1733 $(LN_S) ../cryptsetup.target cryptsetup.target )
1735 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1736 rm -f systemd-binfmt.service \
1737 proc-sys-fs-binfmt_misc.automount && \
1738 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1739 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1741 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1742 rm -f systemd-tmpfiles-clean.timer && \
1743 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1744 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1745 rm -f org.freedesktop.systemd1.service && \
1746 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1748 $(MKDIR_P) -m 0755 \
1749 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1750 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1751 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1752 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1753 $(DESTDIR)$(systemunitdir)/halt.target.wants
1754 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1755 rm -f plymouth-start.service plymouth-read-write.service && \
1756 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1757 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1758 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1759 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1760 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1761 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1762 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1763 rm -f plymouth-reboot.service && \
1764 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1765 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1766 rm -f plymouth-kexec.service && \
1767 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1768 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1769 rm -f plymouth-poweroff.service && \
1770 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1771 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1772 rm -f plymouth-halt.service && \
1773 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1776 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1777 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1778 rm -f network.target && \
1779 $(LN_S) $(systemunitdir)/network.target network.target )
1780 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1782 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1784 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1786 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
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)/final.target.wants && \
1796 rm -f halt-local.service && \
1797 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1798 ( cd $(DESTDIR)$(systemunitdir) && \
1799 rm -f display-manager.service single.service && \
1800 $(LN_S) prefdm.service display-manager.service && \
1801 $(LN_S) rescue.service single.service )
1802 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1803 rm -f display-manager.service && \
1804 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1808 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1809 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1810 rm -f rc-local.service && \
1811 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1812 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1813 rm -f halt-local.service && \
1814 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1815 ( cd $(DESTDIR)$(systemunitdir) && \
1816 rm -f display-manager.service dm.service single.service && \
1817 $(LN_S) prefdm.service display-manager.service && \
1818 $(LN_S) prefdm.service dm.service && \
1819 $(LN_S) rescue.service single.service )
1820 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1821 rm -f display-manager.service && \
1822 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1825 if TARGET_DEBIAN_OR_UBUNTU
1826 ( cd $(DESTDIR)$(systemunitdir) && \
1827 rm -f runlevel5.target && \
1828 $(LN_S) multi-user.target runlevel5.target )
1832 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1833 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1834 rm -f rc-local.service && \
1835 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1836 ( cd $(DESTDIR)$(systemunitdir) && \
1837 rm -f local.service && \
1838 $(LN_S) rc-local.service local.service )
1839 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1840 rm -f halt-local.service && \
1841 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1845 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1846 rm -f var-lock.mount && \
1847 $(LN_S) ../var-lock.mount var-lock.mount )
1850 install-exec-hook: libsystemd-daemon-install-hook
1852 uninstall-hook: libsystemd-daemon-uninstall-hook
1854 DISTCHECK_CONFIGURE_FLAGS = \
1855 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1856 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1857 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1858 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1859 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1860 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1861 --with-rootdir=$$dc_install_base/$(rootdir)
1863 upload: all distcheck
1864 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1865 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1866 scp man/*.html tango:public/systemd-man/
1869 git tag "v$(VERSION)" -m "systemd $(VERSION)"