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 \
663 man/systemd-nspawn.1 \
664 man/systemd-tmpfiles.8 \
665 man/systemd-notify.1 \
669 man/sd_listen_fds.3 \
672 man/systemd.service.5 \
673 man/systemd.socket.5 \
674 man/systemd.mount.5 \
675 man/systemd.automount.5 \
677 man/systemd.timer.5 \
679 man/systemd.target.5 \
680 man/systemd.device.5 \
681 man/systemd.snapshot.5 \
692 man/systemd-logind.conf.5 \
696 man/vconsole.conf.5 \
700 man/modules-load.d.5 \
702 man/systemd-ask-password.1 \
703 man/systemd-loginctl.1
714 man/sd_is_socket_unix.3 \
715 man/sd_is_socket_inet.3 \
719 man/reboot.8: man/halt.8
720 man/poweroff.8: man/halt.8
721 man/sd_is_socket.3: man/sd_is_fifo.3
722 man/sd_is_socket_unix.3: man/sd_is_fifo.3
723 man/sd_is_socket_inet.3: man/sd_is_fifo.3
724 man/sd_notifyf.3: man/sd_notify.3
725 man/init.1: man/systemd.1
732 man/systemd.special.7
735 ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
738 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
741 ${XML_FILES:.xml=.html}
743 nodist_noinst_DATA = \
744 ${XML_IN_FILES:.xml.in=.html}
749 ${nodist_man_MANS:=.in} \
750 ${XML_IN_FILES:.xml.in=.html.in}
763 test_engine_SOURCES = \
766 test_engine_CFLAGS = $(systemd_CFLAGS)
767 test_engine_LDADD = $(systemd_LDADD)
769 test_job_type_SOURCES = \
772 test_job_type_CFLAGS = $(systemd_CFLAGS)
773 test_job_type_LDADD = $(systemd_LDADD)
778 test_ns_CFLAGS = $(systemd_CFLAGS)
779 test_ns_LDADD = $(systemd_LDADD)
781 test_loopback_SOURCES = \
782 src/test-loopback.c \
785 test_loopback_LDADD = \
788 test_hostname_SOURCES = \
789 src/test-hostname.c \
792 test_hostname_LDADD = \
795 test_daemon_SOURCES = \
798 test_daemon_LDADD = \
799 libsystemd-basic.la \
802 test_cgroup_SOURCES = \
806 test_cgroup_CFLAGS = \
809 test_cgroup_LDADD = \
812 test_env_replace_SOURCES = \
813 src/test-env-replace.c
815 test_env_replace_CFLAGS = \
818 test_env_replace_LDADD = \
821 test_strv_SOURCES = \
831 test_login_SOURCES = \
834 test_login_CFLAGS = \
838 libsystemd-basic.la \
841 test_install_SOURCES = \
847 test_install_CFLAGS = \
851 test_install_LDADD = \
854 systemd_logger_SOURCES = \
858 systemd_logger_LDADD = \
859 libsystemd-basic.la \
860 libsystemd-daemon.la \
863 systemd_initctl_SOURCES = \
867 systemd_initctl_CFLAGS = \
871 systemd_initctl_LDADD = \
872 libsystemd-basic.la \
873 libsystemd-daemon.la \
876 systemd_update_utmp_SOURCES = \
881 systemd_update_utmp_CFLAGS = \
886 systemd_update_utmp_LDADD = \
887 libsystemd-basic.la \
891 systemd_random_seed_SOURCES = \
894 systemd_random_seed_CFLAGS = \
897 systemd_random_seed_LDADD = \
900 systemd_shutdownd_SOURCES = \
904 systemd_shutdownd_CFLAGS = \
907 systemd_shutdownd_LDADD = \
908 libsystemd-basic.la \
911 systemd_hostnamed_SOURCES = \
916 systemd_hostnamed_CFLAGS = \
920 systemd_hostnamed_LDADD = \
921 libsystemd-basic.la \
922 libsystemd-daemon.la \
925 systemd_localed_SOURCES = \
930 systemd_localed_CFLAGS = \
934 systemd_localed_LDADD = \
935 libsystemd-basic.la \
936 libsystemd-daemon.la \
939 systemd_timedated_SOURCES = \
944 systemd_timedated_CFLAGS = \
948 systemd_timedated_LDADD = \
949 libsystemd-basic.la \
950 libsystemd-daemon.la \
953 systemd_logind_SOURCES = \
956 src/logind-device.c \
958 src/logind-seat-dbus.c \
959 src/logind-session.c \
960 src/logind-session-dbus.c \
962 src/logind-user-dbus.c \
968 systemd_logind_CFLAGS = \
974 systemd_logind_LDADD = \
975 libsystemd-basic.la \
976 libsystemd-daemon.la \
981 systemd_uaccess_SOURCES = \
985 systemd_logind_SOURCES += \
988 systemd_uaccess_SOURCES += \
992 systemd_uaccess_CFLAGS = \
997 systemd_uaccess_LDADD = \
998 libsystemd-basic.la \
999 libsystemd-daemon.la \
1000 libsystemd-login.la \
1004 systemd_shutdown_SOURCES = \
1009 systemd_shutdown_CFLAGS = \
1013 systemd_shutdown_LDADD = \
1014 libsystemd-basic.la \
1017 systemd_modules_load_SOURCES = \
1020 systemd_modules_load_CFLAGS = \
1023 systemd_modules_load_LDADD = \
1026 systemd_tmpfiles_SOURCES = \
1029 systemd_tmpfiles_CFLAGS = \
1032 systemd_tmpfiles_LDADD = \
1035 systemd_machine_id_setup_SOURCES = \
1036 src/machine-id-setup.c \
1037 src/machine-id-main.c
1039 systemd_machine_id_setup_CFLAGS = \
1042 systemd_machine_id_setup_LDADD = \
1045 systemd_sysctl_SOURCES = \
1048 systemd_sysctl_CFLAGS = \
1051 systemd_sysctl_LDADD = \
1054 systemd_binfmt_SOURCES = \
1057 systemd_binfmt_CFLAGS = \
1060 systemd_binfmt_LDADD = \
1063 systemd_fsck_SOURCES = \
1067 systemd_fsck_CFLAGS = \
1072 systemd_fsck_LDADD = \
1073 libsystemd-basic.la \
1077 systemd_quotacheck_SOURCES = \
1080 systemd_quotacheck_CFLAGS = \
1083 systemd_quotacheck_LDADD = \
1086 systemd_timestamp_SOURCES = \
1089 systemd_timestamp_CFLAGS = \
1092 systemd_timestamp_LDADD = \
1095 systemd_ac_power_SOURCES = \
1098 systemd_ac_power_CFLAGS = \
1102 systemd_ac_power_LDADD = \
1103 libsystemd-basic.la \
1106 systemd_detect_virt_SOURCES = \
1109 systemd_detect_virt_CFLAGS = \
1112 systemd_detect_virt_LDADD = \
1115 systemd_cryptsetup_SOURCES = \
1117 src/ask-password-api.c
1119 systemd_cryptsetup_CFLAGS = \
1120 $(LIBCRYPTSETUP_CFLAGS) \
1124 systemd_cryptsetup_LDADD = \
1125 $(LIBCRYPTSETUP_LIBS) \
1129 systemd_cryptsetup_generator_SOURCES = \
1130 src/cryptsetup-generator.c \
1133 systemd_cryptsetup_generator_CFLAGS = \
1136 systemd_cryptsetup_generator_LDADD = \
1139 systemd_getty_generator_SOURCES = \
1140 src/getty-generator.c \
1143 systemd_getty_generator_CFLAGS = \
1146 systemd_getty_generator_LDADD = \
1149 systemd_user_sessions_SOURCES = \
1150 src/user-sessions.c \
1153 systemd_user_sessions_CFLAGS = \
1156 systemd_user_sessions_LDADD = \
1159 systemd_vconsole_setup_SOURCES = \
1160 src/vconsole-setup.c
1162 systemd_vconsole_setup_CFLAGS = \
1165 systemd_vconsole_setup_LDADD = \
1168 systemd_remount_api_vfs_SOURCES = \
1169 src/remount-api-vfs.c \
1173 systemd_remount_api_vfs_CFLAGS = \
1176 systemd_remount_api_vfs_LDADD = \
1179 systemd_cgroups_agent_SOURCES = \
1180 src/cgroups-agent.c \
1183 systemd_cgroups_agent_CFLAGS = \
1187 systemd_cgroups_agent_LDADD = \
1188 libsystemd-basic.la \
1191 systemd_kmsg_syslogd_SOURCES = \
1192 src/kmsg-syslogd.c \
1195 systemd_kmsg_syslogd_CFLAGS = \
1198 systemd_kmsg_syslogd_LDADD = \
1199 libsystemd-basic.la \
1200 libsystemd-daemon.la
1202 systemctl_SOURCES = \
1215 systemctl_CFLAGS = \
1220 libsystemd-basic.la \
1221 libsystemd-daemon.la \
1224 systemd_loginctl_SOURCES = \
1232 systemd_loginctl_CFLAGS = \
1237 systemd_loginctl_LDADD = \
1238 libsystemd-basic.la \
1242 systemd_notify_SOURCES = \
1246 systemd_notify_LDADD = \
1247 libsystemd-basic.la \
1248 libsystemd-daemon.la
1250 systemd_ask_password_SOURCES = \
1251 src/ask-password.c \
1252 src/ask-password-api.c
1254 systemd_ask_password_LDADD = \
1257 systemd_reply_password_SOURCES = \
1258 src/reply-password.c
1260 systemd_reply_password_LDADD = \
1263 systemd_readahead_collect_SOURCES = \
1264 src/readahead-collect.c \
1265 src/readahead-common.c
1267 systemd_readahead_collect_CFLAGS = \
1270 systemd_readahead_collect_LDADD = \
1271 libsystemd-basic.la \
1272 libsystemd-daemon.la \
1275 systemd_readahead_replay_SOURCES = \
1276 src/readahead-replay.c \
1277 src/readahead-common.c
1279 systemd_readahead_replay_CFLAGS = \
1282 systemd_readahead_replay_LDADD = \
1283 libsystemd-basic.la \
1284 libsystemd-daemon.la \
1287 systemd_cgls_SOURCES = \
1293 systemd_cgls_CFLAGS = \
1296 systemd_cgls_LDADD = \
1299 systemd_nspawn_SOURCES = \
1303 systemd_nspawn_CFLAGS = \
1306 systemd_nspawn_LDADD = \
1307 libsystemd-basic.la \
1308 libsystemd-daemon.la
1310 systemd_stdio_bridge_SOURCES = \
1313 systemd_stdio_bridge_LDADD = \
1316 systemadm_SOURCES = \
1317 src/systemadm.vala \
1318 src/systemd-interfaces.vala
1320 systemadm_CFLAGS = \
1323 -Wno-unused-variable \
1324 -Wno-unused-function \
1326 -Wno-format-nonliteral
1328 systemadm_VALAFLAGS = \
1336 systemd_gnome_ask_password_agent_SOURCES = \
1337 src/gnome-ask-password-agent.vala
1339 systemd_gnome_ask_password_agent_CFLAGS = \
1341 $(LIBNOTIFY_CFLAGS) \
1343 -Wno-unused-variable \
1344 -Wno-unused-function \
1346 -Wno-format-nonliteral
1348 systemd_gnome_ask_password_agent_VALAFLAGS = \
1352 --pkg=gio-unix-2.0 \
1355 systemd_gnome_ask_password_agent_VALAFLAGS += \
1358 systemd_gnome_ask_password_agent_VALAFLAGS += \
1361 systemd_gnome_ask_password_agent_LDADD = \
1365 systemd_tty_ask_password_agent_SOURCES = \
1366 src/tty-ask-password-agent.c \
1367 src/ask-password-api.c \
1370 systemd_tty_ask_password_agent_LDADD = \
1373 pam_systemd_la_SOURCES = \
1377 pam_systemd_la_CFLAGS = \
1383 pam_systemd_la_LDFLAGS = \
1388 -export-symbols-regex '^pam_sm_.*'
1390 pam_systemd_la_LIBADD = \
1391 libsystemd-basic.la \
1392 libsystemd-daemon.la \
1396 libsystemd_daemon_la_SOURCES = \
1399 libsystemd_daemon_la_CFLAGS = \
1401 -fvisibility=hidden \
1404 libsystemd_daemon_la_LDFLAGS = \
1406 -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \
1407 -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
1409 # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
1410 libsystemd-daemon-install-hook:
1411 if test "$(libdir)" != "$(rootlibdir)"; then \
1412 mkdir -p $(DESTDIR)$(rootlibdir) && \
1413 so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \
1414 so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
1415 ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \
1416 mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \
1419 libsystemd-daemon-uninstall-hook:
1420 rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so*
1422 libsystemd_login_la_SOURCES = \
1426 libsystemd_login_la_CFLAGS = \
1430 libsystemd_login_la_LDFLAGS = \
1432 -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \
1433 -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym
1435 libsystemd_login_la_LIBADD = \
1439 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1440 $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \
1441 -e 's,@rootbindir\@,$(rootbindir),g' \
1442 -e 's,@bindir\@,$(bindir),g' \
1443 -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \
1444 -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \
1445 -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
1446 -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
1447 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
1448 -e 's,@systemunitdir\@,$(systemunitdir),g' \
1449 -e 's,@userunitdir\@,$(userunitdir),g' \
1450 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1451 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1452 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
1453 -e 's,@prefix\@,$(prefix),g' \
1454 -e 's,@exec_prefix\@,$(exec_prefix),g' \
1455 -e 's,@libdir\@,$(libdir),g' \
1456 -e 's,@includedir\@,$(includedir),g' \
1459 units/%: units/%.in Makefile
1462 man/%: man/%.in Makefile
1465 %.pc: %.pc.in Makefile
1468 src/%.policy.in: src/%.policy.in.in Makefile
1471 src/%.rules: src/%.rules.in Makefile
1474 M4_PROCESS_SYSTEM = \
1475 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1476 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@
1479 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1480 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@
1482 units/%: units/%.m4 Makefile
1483 $(M4_PROCESS_SYSTEM)
1485 units/user/%: units/%.m4 Makefile
1489 $(nodist_systemunit_DATA) \
1490 $(nodist_userunit_DATA) \
1491 $(nodist_man_MANS) \
1492 ${XML_IN_FILES:.xml.in=.html} \
1493 $(pkgconfigdata_DATA) \
1494 $(pkgconfiglib_DATA) \
1495 $(nodist_polkitpolicy_DATA) \
1496 src/73-seat-late.rules \
1497 src/99-systemd.rules
1501 ${systemadm_SOURCES:.vala=.c}
1507 --param funcsynopsis.style "'ansi'"
1509 XSLTPROC_PROCESS_MAN = \
1510 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1511 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
1513 XSLTPROC_PROCESS_MAN_IN = \
1514 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1515 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
1518 XSLTPROC_PROCESS_HTML = \
1519 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1520 $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
1522 XSLTPROC_PROCESS_HTML_IN = \
1523 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
1524 $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
1528 $(XSLTPROC_PROCESS_MAN)
1530 man/%.1.in: man/%.xml.in
1531 $(XSLTPROC_PROCESS_MAN)
1534 $(XSLTPROC_PROCESS_MAN)
1536 man/%.3.in: man/%.xml.in
1537 $(XSLTPROC_PROCESS_MAN)
1540 $(XSLTPROC_PROCESS_MAN)
1542 man/%.5.in: man/%.xml.in
1543 $(XSLTPROC_PROCESS_MAN)
1546 $(XSLTPROC_PROCESS_MAN)
1548 man/%.7.in: man/%.xml.in
1549 $(XSLTPROC_PROCESS_MAN_IN)
1552 $(XSLTPROC_PROCESS_MAN)
1554 man/%.8.in: man/%.xml.in
1555 $(XSLTPROC_PROCESS_MAN_IN)
1557 man/%.html: man/%.xml
1558 $(XSLTPROC_PROCESS_HTML)
1560 man/%.html.in: man/%.xml.in
1561 $(XSLTPROC_PROCESS_HTML_IN)
1565 ${nodist_man_MANS:=.in} \
1566 ${XML_FILES:.xml=.html} \
1567 ${XML_IN_FILES:.xml.in=.html.in}
1570 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
1572 org.freedesktop.systemd1.%.xml: systemd
1573 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
1574 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1575 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1577 org.freedesktop.hostname1.xml: systemd-hostnamed
1578 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \
1579 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1580 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1582 org.freedesktop.locale1.xml: systemd-localed
1583 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \
1584 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1585 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1587 org.freedesktop.timedate1.xml: systemd-timedated
1588 $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \
1589 $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
1590 $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
1593 $(dbusinterface_DATA)
1596 $(MKDIR_P) -m 0755 \
1597 $(DESTDIR)$(tmpfilesdir) \
1598 $(DESTDIR)$(sysconfdir)/tmpfiles.d \
1599 $(DESTDIR)$(prefix)/lib/modules-load.d \
1600 $(DESTDIR)$(sysconfdir)/modules-load.d \
1601 $(DESTDIR)$(prefix)/lib/sysctl.d \
1602 $(DESTDIR)$(sysconfdir)/sysctl.d \
1603 $(DESTDIR)$(systemshutdowndir) \
1604 $(DESTDIR)$(systemgeneratordir) \
1605 $(DESTDIR)$(usergeneratordir)
1607 $(MKDIR_P) -m 0755 \
1608 $(DESTDIR)$(prefix)/lib/binfmt.d \
1609 $(DESTDIR)$(sysconfdir)/binfmt.d
1611 $(MKDIR_P) -m 0755 \
1612 $(DESTDIR)$(systemunitdir) \
1613 $(DESTDIR)$(userunitdir) \
1614 $(DESTDIR)$(systemunitdir)/sysinit.target.wants \
1615 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
1616 $(DESTDIR)$(systemunitdir)/basic.target.wants \
1617 $(DESTDIR)$(systemunitdir)/shutdown.target.wants \
1618 $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
1619 $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
1620 $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
1621 $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
1622 $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
1623 $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
1624 $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
1625 $(DESTDIR)$(systemunitdir)/graphical.target.wants \
1626 $(DESTDIR)$(pkgsysconfdir)/system \
1627 $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \
1628 $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \
1629 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
1630 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
1631 $(DESTDIR)$(pkgsysconfdir)/user \
1632 $(DESTDIR)$(dbussessionservicedir) \
1633 $(DESTDIR)$(sysconfdir)/xdg/systemd
1634 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
1636 $(LN_S) $(pkgsysconfdir)/user user )
1637 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
1638 rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \
1639 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
1640 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \
1641 $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \
1642 $(LN_S) ../syslog.socket syslog.socket )
1643 ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
1644 rm -f systemd-update-utmp-runlevel.service && \
1645 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1646 ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
1647 rm -f systemd-update-utmp-runlevel.service && \
1648 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1649 ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
1650 rm -f systemd-update-utmp-runlevel.service && \
1651 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1652 ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
1653 rm -f systemd-update-utmp-runlevel.service && \
1654 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1655 ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
1656 rm -f systemd-update-utmp-runlevel.service && \
1657 $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
1658 ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
1659 rm -f systemd-update-utmp-shutdown.service \
1660 systemd-random-seed-save.service && \
1661 $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
1662 $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
1663 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1664 rm -f systemd-remount-api-vfs.service \
1666 remount-rootfs.service \
1669 $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
1670 $(LN_S) ../fsck-root.service fsck-root.service && \
1671 $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
1672 $(LN_S) ../var-run.mount var-run.mount && \
1673 $(LN_S) ../media.mount media.mount )
1674 ( cd $(DESTDIR)$(userunitdir) && \
1675 rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
1676 $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
1677 $(LN_S) $(systemunitdir)/sockets.target sockets.target && \
1678 $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \
1679 $(LN_S) $(systemunitdir)/printer.target printer.target && \
1680 $(LN_S) $(systemunitdir)/sound.target sound.target )
1681 ( cd $(DESTDIR)$(systemunitdir) && \
1682 rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \
1683 $(LN_S) poweroff.target runlevel0.target && \
1684 $(LN_S) rescue.target runlevel1.target && \
1685 $(LN_S) multi-user.target runlevel2.target && \
1686 $(LN_S) multi-user.target runlevel3.target && \
1687 $(LN_S) multi-user.target runlevel4.target && \
1688 $(LN_S) graphical.target runlevel5.target && \
1689 $(LN_S) reboot.target runlevel6.target )
1690 ( cd $(DESTDIR)$(systemunitdir) && \
1691 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 && \
1692 $(LN_S) graphical.target default.target && \
1693 $(LN_S) reboot.target ctrl-alt-del.target && \
1694 $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service && \
1695 $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \
1696 $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service && \
1697 $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \
1698 $(LN_S) getty@.service autovt@.service )
1699 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1700 rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \
1701 $(LN_S) ../getty.target getty.target && \
1702 $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \
1703 $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \
1704 $(LN_S) ../systemd-logind.service systemd-logind.service )
1705 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1706 rm -f getty@tty1.service && \
1707 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service )
1708 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1709 rm -f remote-fs.target && \
1710 $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
1711 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1712 rm -f dev-hugepages.automount \
1713 dev-mqueue.automount \
1714 sys-kernel-debug.automount \
1715 sys-kernel-security.automount \
1716 systemd-vconsole-setup.service \
1717 systemd-modules-load.service \
1718 systemd-random-seed-load.service \
1719 systemd-tmpfiles-setup.service \
1720 systemd-sysctl.service \
1721 systemd-ask-password-console.path \
1722 systemd-kmsg-syslogd.service \
1723 cryptsetup.target && \
1724 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
1725 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
1726 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
1727 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
1728 $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
1729 $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
1730 $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \
1731 $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \
1732 $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \
1733 $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \
1734 $(LN_S) ../systemd-kmsg-syslogd.service && \
1735 $(LN_S) ../cryptsetup.target cryptsetup.target )
1737 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1738 rm -f systemd-binfmt.service \
1739 proc-sys-fs-binfmt_misc.automount && \
1740 $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \
1741 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount )
1743 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
1744 rm -f systemd-tmpfiles-clean.timer && \
1745 $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer )
1746 ( cd $(DESTDIR)$(dbussessionservicedir) && \
1747 rm -f org.freedesktop.systemd1.service && \
1748 $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
1750 $(MKDIR_P) -m 0755 \
1751 $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \
1752 $(DESTDIR)$(systemunitdir)/reboot.target.wants \
1753 $(DESTDIR)$(systemunitdir)/kexec.target.wants \
1754 $(DESTDIR)$(systemunitdir)/poweroff.target.wants \
1755 $(DESTDIR)$(systemunitdir)/halt.target.wants
1756 ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
1757 rm -f plymouth-start.service plymouth-read-write.service && \
1758 $(LN_S) ../plymouth-start.service plymouth-start.service && \
1759 $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
1760 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1761 rm -f plymouth-quit.service plymouth-quit-wait.service && \
1762 $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
1763 $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
1764 ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \
1765 rm -f plymouth-reboot.service && \
1766 $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
1767 ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \
1768 rm -f plymouth-kexec.service && \
1769 $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
1770 ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \
1771 rm -f plymouth-poweroff.service && \
1772 $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
1773 ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \
1774 rm -f plymouth-halt.service && \
1775 $(LN_S) ../plymouth-halt.service plymouth-halt.service )
1778 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1779 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1780 rm -f network.target && \
1781 $(LN_S) $(systemunitdir)/network.target network.target )
1782 ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \
1784 ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \
1786 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
1788 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
1793 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1794 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1795 rm -f rc-local.service && \
1796 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1797 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1798 rm -f halt-local.service && \
1799 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1800 ( cd $(DESTDIR)$(systemunitdir) && \
1801 rm -f display-manager.service single.service && \
1802 $(LN_S) prefdm.service display-manager.service && \
1803 $(LN_S) rescue.service single.service )
1804 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1805 rm -f display-manager.service && \
1806 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1810 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1811 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1812 rm -f rc-local.service && \
1813 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1814 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1815 rm -f halt-local.service && \
1816 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1817 ( cd $(DESTDIR)$(systemunitdir) && \
1818 rm -f display-manager.service dm.service single.service && \
1819 $(LN_S) prefdm.service display-manager.service && \
1820 $(LN_S) prefdm.service dm.service && \
1821 $(LN_S) rescue.service single.service )
1822 ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
1823 rm -f display-manager.service && \
1824 $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
1827 if TARGET_DEBIAN_OR_UBUNTU
1828 ( cd $(DESTDIR)$(systemunitdir) && \
1829 rm -f runlevel5.target && \
1830 $(LN_S) multi-user.target runlevel5.target )
1834 $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants
1835 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
1836 rm -f rc-local.service && \
1837 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
1838 ( cd $(DESTDIR)$(systemunitdir) && \
1839 rm -f local.service && \
1840 $(LN_S) rc-local.service local.service )
1841 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
1842 rm -f halt-local.service && \
1843 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1847 ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
1848 rm -f var-lock.mount && \
1849 $(LN_S) ../var-lock.mount var-lock.mount )
1852 install-exec-hook: libsystemd-daemon-install-hook
1854 uninstall-hook: libsystemd-daemon-uninstall-hook
1856 DISTCHECK_CONFIGURE_FLAGS = \
1857 --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \
1858 --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \
1859 --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \
1860 --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
1861 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
1862 --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
1863 --with-rootdir=$$dc_install_base/$(rootdir)
1865 upload: all distcheck
1866 cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/
1867 scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
1868 scp man/*.html tango:public/systemd-man/
1871 git tag "v$(VERSION)" -m "systemd $(VERSION)"