build: Fix missing includes

Include $(top_builddir) when building so that we can find the newly
generated D-Bus helper files. Note that, because we ship generated files
in the tarball, we'll also need to include $(top_srcdir).
This commit is contained in:
Bastien Nocera 2015-09-23 16:09:50 +02:00
parent 0825c162d3
commit b6dfa473f8
6 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,7 @@ endif
AM_CPPFLAGS = \
$(PIE_CFLAGS) \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-I$(top_builddir)/ -I$(top_srcdir)/ \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \

View file

@ -2,6 +2,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-I$(top_builddir)/ -I$(top_srcdir)/ \
-DUP_COMPILATION \
-DG_LOG_DOMAIN=\"UPower-Unix\" \
-I$(top_srcdir)/libupower-glib \

View file

@ -2,6 +2,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-I$(top_builddir)/ -I$(top_srcdir)/ \
-DUP_COMPILATION \
-DG_LOG_DOMAIN=\"UPower-Dummy\" \
-I$(top_srcdir)/libupower-glib \

View file

@ -2,6 +2,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-I$(top_builddir)/ -I$(top_srcdir)/ \
-DUP_COMPILATION \
-DG_LOG_DOMAIN=\"UPower-Freebsd\" \
-I$(top_srcdir)/libupower-glib \

View file

@ -2,6 +2,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-I$(top_builddir)/ -I$(top_srcdir) \
-DUP_COMPILATION \
-DG_LOG_DOMAIN=\"UPower-Linux\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \

View file

@ -2,6 +2,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-I$(top_builddir)/ -I$(top_srcdir)/ \
-DUP_COMPILATION \
-DG_LOG_DOMAIN=\"UPower-Openbsd\" \
-I$(top_srcdir)/libupower-glib \