From ea6659d3c682088a6831dab567d14bbe65d05216 Mon Sep 17 00:00:00 2001 From: Juan Pablo Ugarte Date: Mon, 27 Jun 2016 14:01:47 -0300 Subject: Added -I$(builddir)/endless to AM_CPPFLAGS for out of tree builds to work https://phabricator.endlessm.com/T12150 --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 52f610d..707f883 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,8 @@ dist_noinst_DATA = # Compiler flags DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -AM_CFLAGS = @STRICT_CFLAGS@ +AM_CPPFLAGS = -I$(builddir)/endless # needed for eosversion.h include to work in out of tree builds +AM_CFLAGS = @STRICT_CFLAGS@ # Make sure to run Gtk-doc tests and build the documentation when doing # 'make distcheck' @@ -146,6 +147,7 @@ Endless_@EOS_SDK_API_VERSION@_gir_INCLUDES = \ Endless_@EOS_SDK_API_VERSION@_gir_SCANNERFLAGS = \ --identifier-prefix=Eos \ --symbol-prefix=eos \ + -I$(builddir)/endless \ -DCOMPILING_EOS_SDK # Endless_@EOS_SDK_API_VERSION@_gir_CFLAGS = $(INCLUDES) Endless_@EOS_SDK_API_VERSION@_gir_LIBS = libendless-@EOS_SDK_API_VERSION@.la -- cgit v1.2.3