Fix: missing includes break the out-of-tree build
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 16 Oct 2015 19:31:28 +0000 (15:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 16 Oct 2015 20:50:03 +0000 (16:50 -0400)
Addresses out-of-tree build breakage introduced by
commit 3842465694945829d76452ff83924aa0103c6293

Reported-by: Nathan Lynch <Nathan_Lynch@mentor.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/Makefile.am
formats/ctf/Makefile.am
formats/ctf/metadata/Makefile.am

index 0d967000efdf75c7b27ce5b38d5479288a5adc2f..ea11e91d42cdec6e047154ce7ec642f9c670430b 100644 (file)
@@ -3,7 +3,8 @@ babeltrace.i: babeltrace.i.in
                $(top_srcdir)/bindings/python/babeltrace.i.in > \
                $(top_builddir)/bindings/python/babeltrace.i
 
-AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/
+AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ \
+               -I$(top_srcdir)/bindings/python
 
 EXTRA_DIST = babeltrace.i.in
 nodist_python_PYTHON = babeltrace.py
index 094cb36dd5eedb00d4b406d01cb2b4b9d3602c32..2267ce5731fa08f8dca10a7bfd6b8979cac0ba37 100644 (file)
@@ -1,4 +1,5 @@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include \
+               -I$(top_builddir)/formats/ctf
 
 SUBDIRS = types metadata writer .
 
index 85db70647c3a1595daddbacffe882667376c10eb..1f8e76e3a0e80b9947e79289837a00f76294d2d3 100644 (file)
@@ -1,4 +1,5 @@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include \
+               -I$(top_srcdir)/formats/ctf/metadata
 BUILT_SOURCES = ctf-parser.h
 AM_YFLAGS = -t -d -v
 
@@ -11,13 +12,13 @@ noinst_HEADERS = \
        objstack.h
 
 libctf_parser_la_SOURCES = ctf-lexer.l ctf-parser.y objstack.c
-libctf_parser_la_CFLAGS = $(AM_CFLAGS) -include ctf-scanner-symbols.h
+libctf_parser_la_CFLAGS = $(AM_CFLAGS)
 
+libctf_ast_la_CFLAGS = $(AM_CFLAGS) -I$(top_builddir)/formats/ctf/metadata
 libctf_ast_la_SOURCES = ctf-visitor-xml.c \
                ctf-visitor-parent-links.c \
                ctf-visitor-semantic-validator.c \
                ctf-visitor-generate-io-struct.c
-
 libctf_ast_la_LIBADD = \
        $(top_builddir)/lib/libbabeltrace.la
 
@@ -33,7 +34,7 @@ endif
 
 noinst_PROGRAMS = ctf-parser-test
 ctf_parser_test_SOURCES = ctf-parser-test.c
-
+ctf_parser_test_CFLAGS = $(AM_CFLAGS) -I$(top_builddir)/formats/ctf/metadata
 ctf_parser_test_LDADD = \
                libctf-parser.la \
                libctf-ast.la
This page took 0.026124 seconds and 4 git commands to generate.