Fix: Move generated headers to the BUILT_SOURCES target
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 May 2014 15:41:46 +0000 (11:41 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 7 May 2014 19:55:15 +0000 (15:55 -0400)
commitd099b3340db2a8cad810a2c096592df6d2bed75e
tree106f0de403bc849e8e42bd9ec708939a34a08c05
parent6c2125aff1c8d8217072931ee6223be80112dcb2
Fix: Move generated headers to the BUILT_SOURCES target

This fixes the out of tree build when enabling Java support. The
problem in using an LTTngUst.c target is that automake will then
assume the file is generated and thus be found in the builddir.

Using the BUILT_SOURCES target will ensure the
org_lttng_ust_LTTngUst.h and org_lttng_ust_jul_LTTngUst.h headers
are generated before LTTngUst.c is compiled.

Tested-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java/Makefile.am
liblttng-ust-jul/Makefile.am
This page took 0.025801 seconds and 4 git commands to generate.