[gssdp] Fix out-of-tree builds
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Fix out-of-tree builds
- Date: Sat, 15 Oct 2016 18:43:53 +0000 (UTC)
commit 71f69cf8886332f7677ffdb67eecc24c90b0e7b7
Author: Jens Georg <mail jensge org>
Date: Sat Oct 15 20:42:44 2016 +0200
Fix out-of-tree builds
Signed-off-by: Jens Georg <mail jensge org>
examples/Makefile.am | 2 +-
libgssdp/Makefile.am | 6 +++---
libgssdp/gssdp.h | 10 +++++-----
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index bc68d46..2b23cb6 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS = $(LIBGSSDP_CFLAGS) -I$(top_srcdir)
+AM_CFLAGS = $(LIBGSSDP_CFLAGS) -I$(top_srcdir) -I$(top_builddir)
noinst_PROGRAMS = test-browser test-publish
diff --git a/libgssdp/Makefile.am b/libgssdp/Makefile.am
index b37e691..c888f0e 100644
--- a/libgssdp/Makefile.am
+++ b/libgssdp/Makefile.am
@@ -10,7 +10,7 @@
LTVERSION = 0:0:0
-AM_CFLAGS = $(LIBGSSDP_CFLAGS) -I$(top_srcdir) $(WARN_CFLAGS)
+AM_CFLAGS = $(LIBGSSDP_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(WARN_CFLAGS)
libgssdpincdir = $(includedir)/gssdp-1.2/libgssdp
@@ -110,13 +110,13 @@ INTROSPECTION_SCANNER_ARGS = \
--add-include-path=$(top_srcdir) \
--pkg-export=gssdp-1.2 \
$(WARN_SCANNERFLAGS)
-INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
+INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir) --includedir=$(top_builddir)
if HAVE_INTROSPECTION
GSSDP-1.2.gir: libgssdp-1.2.la
GSSDP_1_2_gir_INCLUDES = GObject-2.0 Gio-2.0 Soup-2.4
-GSSDP_1_2_gir_CFLAGS = $(INCLUDES)
+GSSDP_1_2_gir_CFLAGS = $(AM_CFLAGS)
GSSDP_1_2_gir_LIBS = libgssdp-1.2.la
GSSDP_1_2_gir_FILES = $(introspection_sources)
GSSDP_1_2_gir_NAMESPACE = GSSDP
diff --git a/libgssdp/gssdp.h b/libgssdp/gssdp.h
index 4c35d11..2cd9087 100644
--- a/libgssdp/gssdp.h
+++ b/libgssdp/gssdp.h
@@ -19,8 +19,8 @@
* Boston, MA 02110-1301, USA.
*/
-#include "gssdp-client.h"
-#include "gssdp-error.h"
-#include "gssdp-resource-browser.h"
-#include "gssdp-resource-group.h"
-#include "gssdp-enums.h"
+#include <libgssdp/gssdp-client.h>
+#include <libgssdp/gssdp-error.h>
+#include <libgssdp/gssdp-resource-browser.h>
+#include <libgssdp/gssdp-resource-group.h>
+#include <libgssdp/gssdp-enums.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]