From: Jérémie Galarneau Date: Wed, 7 May 2014 15:41:46 +0000 (-0400) Subject: Fix: Move generated headers to the BUILT_SOURCES target X-Git-Tag: v2.4.2~10 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=inline;h=025907937f0f5aa689385a575e8cebb7e9381a1e;hp=025907937f0f5aa689385a575e8cebb7e9381a1e;p=lttng-ust.git 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 Signed-off-by: Jérémie Galarneau Signed-off-by: Mathieu Desnoyers ---