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:56:45 +0000 (15:56 -0400)
commit025907937f0f5aa689385a575e8cebb7e9381a1e
treee14fbdcc0c687c91e905c54fec8271b67d279822
parent0ee4a237c6848d65d3233edbc1a16051fa6dd027
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.026101 seconds and 4 git commands to generate.