summaryrefslogtreecommitdiff
path: root/src/grp-coredump/coredumpctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-coredump/coredumpctl/Makefile')
-rw-r--r--src/grp-coredump/coredumpctl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/grp-coredump/coredumpctl/Makefile b/src/grp-coredump/coredumpctl/Makefile
index c300710492..ca992c9850 100644
--- a/src/grp-coredump/coredumpctl/Makefile
+++ b/src/grp-coredump/coredumpctl/Makefile
@@ -20,14 +20,14 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
coredumpctl_SOURCES = \
src/coredump/coredumpctl.c
coredumpctl_LDADD = \
- libshared.la
+ $(topoutdir)/src/libshared/libshared.la
bin_PROGRAMS += \
coredumpctl
@@ -39,4 +39,7 @@ dist_zshcompletion_data += \
shell-completion/zsh/_coredumpctl
$(eval $(value automake2autothing))
+AM_CPPFLAGS += $(libbasic.CPPFLAGS)
+AM_CPPFLAGS += $(libshared.CPPFLAGS)
+AM_CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-journal-internal
include $(topsrcdir)/build-aux/Makefile.tail.mk