summaryrefslogtreecommitdiff
path: root/src/libshared
diff options
context:
space:
mode:
Diffstat (limited to 'src/libshared')
-rw-r--r--src/libshared/Makefile18
-rw-r--r--src/libshared/bus-unit-util.c2
-rw-r--r--src/libshared/bus-util.c4
-rw-r--r--src/libshared/logs-show.c2
4 files changed, 21 insertions, 5 deletions
diff --git a/src/libshared/Makefile b/src/libshared/Makefile
index 1d5dbd394d..66000b782c 100644
--- a/src/libshared/Makefile
+++ b/src/libshared/Makefile
@@ -134,10 +134,26 @@ libshared_la_CFLAGS = \
libshared_la_LIBADD = \
libsystemd-internal.la \
- libsystemd-journal-internal.la \
libudev-internal.la \
$(ACL_LIBS) \
$(LIBIDN_LIBS) \
$(SECCOMP_LIBS)
+systemd.CPPFLAGS += -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\"
+systemd.CPPFLAGS += -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\"
+systemd.CPPFLAGS += -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\"
+systemd.CPPFLAGS += -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\"
+systemd.CPPFLAGS += -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\"
+systemd.CPPFLAGS += -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\"
+systemd.CPPFLAGS += -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\"
+
+systemd.CPPFLAGS += -DSYSTEMD_FSCK_PATH=\"$(libexecdir)/systemd-fsck\"
+
+systemd.CPPFLAGS += -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(bindir)/systemd-tty-ask-password-agent\"
+
+systemd.CPPFLAGS += -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\"
+systemd.CPPFLAGS += -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\"
+
+systemd.CPPFLAGS += -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/libshared/bus-unit-util.c b/src/libshared/bus-unit-util.c
index f68c4a41ac..dcd045eddd 100644
--- a/src/libshared/bus-unit-util.c
+++ b/src/libshared/bus-unit-util.c
@@ -18,7 +18,7 @@
***/
#include "alloc-util.h"
-#include "bus-internal.h"
+#include "sd-bus/bus-internal.h"
#include "bus-unit-util.h"
#include "bus-util.h"
#include "cgroup-util.h"
diff --git a/src/libshared/bus-util.c b/src/libshared/bus-util.c
index 62b5585e84..62c77a565a 100644
--- a/src/libshared/bus-util.c
+++ b/src/libshared/bus-util.c
@@ -35,9 +35,9 @@
#include <systemd/sd-id128.h>
#include "alloc-util.h"
-#include "bus-internal.h"
+#include "sd-bus/bus-internal.h"
#include "bus-label.h"
-#include "bus-message.h"
+#include "sd-bus/bus-message.h"
#include "bus-util.h"
#include "def.h"
#include "escape.h"
diff --git a/src/libshared/logs-show.c b/src/libshared/logs-show.c
index 294fa3bede..97d0d2ffe4 100644
--- a/src/libshared/logs-show.c
+++ b/src/libshared/logs-show.c
@@ -37,7 +37,7 @@
#include "hashmap.h"
#include "hostname-util.h"
#include "io-util.h"
-#include "journal-internal.h"
+#include "sd-journal/journal-internal.h"
#include "log.h"
#include "logs-show.h"
#include "macro.h"