X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=a79e94e893eeb00dcb7ce9c0aca0b315df650994;hb=83d8b7c1798ac66212ed34bc823df86515df9867;hp=0a33c0635b150a1948bb4f4820bcfc4824d90839;hpb=c7b508592b28ee1e62350f0d249856811371f631;p=elogind.git diff --git a/Makefile.am b/Makefile.am index 0a33c0635..a79e94e89 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,6 +35,7 @@ tmpfilesdir=$(sysconfdir)/tmpfiles.d # And these are the special ones for / rootdir=@rootdir@ rootbindir=$(rootdir)/bin +rootsbindir=$(rootdir)/sbin rootlibexecdir=$(rootdir)/lib/systemd systemunitdir=$(rootdir)/lib/systemd/system @@ -50,9 +51,11 @@ AM_CPPFLAGS = \ -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \ -DCGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ + -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ -DRUNTIME_DIR=\"$(localstatedir)/run\" \ -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ + -DKEXEC_BINARY_PATH=\"$(rootsbindir)/kexec\" \ -I $(top_srcdir)/src if TARGET_GENTOO @@ -61,11 +64,18 @@ AM_CPPFLAGS += \ -DKBD_SETFONT=\"/usr/bin/setfont\" \ -DDEFAULT_FONT=\"LatArCyrHeb-16\" else +if TARGET_ARCH +AM_CPPFLAGS += \ + -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ + -DKBD_SETFONT=\"/usr/bin/setfont\" \ + -DDEFAULT_FONT=\"LatArCyrHeb-16\" +else AM_CPPFLAGS += \ -DKBD_LOADKEYS=\"/bin/loadkeys\" \ -DKBD_SETFONT=\"/bin/setfont\" \ -DDEFAULT_FONT=\"latarcyrheb-sun16\" endif +endif rootbin_PROGRAMS = \ systemd \ @@ -89,6 +99,7 @@ rootlibexec_PROGRAMS = \ systemd-update-utmp \ systemd-random-seed \ systemd-shutdownd \ + systemd-shutdown \ systemd-modules-load \ systemd-remount-api-vfs \ systemd-kmsg-syslogd \ @@ -310,7 +321,9 @@ dist_doc_DATA = \ LICENSE \ DISTRO_PORTING \ src/sd-daemon.h \ - src/sd-daemon.c + src/sd-daemon.c \ + src/sd-readahead.h \ + src/sd-readahead.c pkgconfigdata_DATA = \ systemd.pc @@ -419,6 +432,7 @@ EXTRA_DIST += \ src/linux/fanotify.h \ src/initreq.h \ src/sd-daemon.h \ + src/sd-readahead.h \ src/special.h \ src/dbus-common.h \ src/bus-errors.h \ @@ -453,6 +467,7 @@ MANPAGES = \ man/systemd.exec.5 \ man/daemon.7 \ man/sd-daemon.7 \ + man/sd-readahead.7 \ man/runlevel.8 \ man/telinit.8 \ man/halt.8 \ @@ -628,6 +643,19 @@ systemd_shutdownd_CFLAGS = \ systemd_shutdownd_LDADD = \ libsystemd-basic.la +systemd_shutdown_SOURCES = \ + src/mount-setup.c \ + src/umount.c \ + src/shutdown.c + +systemd_shutdown_CFLAGS = \ + $(AM_CFLAGS) \ + $(UDEV_CFLAGS) + +systemd_shutdown_LDADD = \ + libsystemd-basic.la \ + $(UDEV_LIBS) + systemd_modules_load_SOURCES = \ src/modules-load.c @@ -696,7 +724,8 @@ systemctl_SOURCES = \ src/sd-daemon.c \ src/cgroup-show.c \ src/cgroup-util.c \ - src/exit-status.c + src/exit-status.c \ + src/unit-name.c systemctl_CFLAGS = \ $(AM_CFLAGS) \ @@ -708,7 +737,8 @@ systemctl_LDADD = \ systemd_notify_SOURCES = \ src/notify.c \ - src/sd-daemon.c + src/sd-daemon.c \ + src/sd-readahead.c systemd_notify_LDADD = \ libsystemd-basic.la