X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=7d0ca9a954fd8fb98040d7496599748c56306908;hb=e92787416c691c3f34f47349e5eae3fa68eae856;hp=4307db1a69e377e498a713f49b218cf95ac54c9e;hpb=71fad6751434f06485a744d41be2d807303c1184;p=elogind.git diff --git a/Makefile.am b/Makefile.am index 4307db1a6..7d0ca9a95 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 \ @@ -96,7 +107,8 @@ rootlibexec_PROGRAMS = \ systemd-reply-password \ systemd-readahead-collect \ systemd-readahead-replay \ - systemd-tmpfiles + systemd-tmpfiles \ + systemd-user-sessions noinst_PROGRAMS = \ test-engine \ @@ -632,6 +644,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 @@ -647,6 +672,16 @@ systemd_tmpfiles_SOURCES = \ systemd_tmpfiles_CFLAGS = \ $(AM_CFLAGS) +systemd_user_sessions_LDADD = \ + libsystemd-basic.la + +systemd_user_sessions_SOURCES = \ + src/user-sessions.c \ + src/cgroup-util.c + +systemd_user_sessions_CFLAGS = \ + $(AM_CFLAGS) + systemd_modules_load_LDADD = \ libsystemd-basic.la