X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-sdt-binary%2FMakefile.am;fp=tests%2Futils%2Ftestapp%2Fuserspace-probe-sdt-binary%2FMakefile.am;h=73bf3a23503783ad4086a3b0097db60f6ac027a7;hp=591f4aa6c1928054f088d9d7ab1c5e6805cd67dd;hb=f9e096dbb498a409814d95258220a342160cdf46;hpb=a648b489f7a1f8ab2505c4139ba14a6442d08675 diff --git a/tests/utils/testapp/userspace-probe-sdt-binary/Makefile.am b/tests/utils/testapp/userspace-probe-sdt-binary/Makefile.am index 591f4aa6c..73bf3a235 100644 --- a/tests/utils/testapp/userspace-probe-sdt-binary/Makefile.am +++ b/tests/utils/testapp/userspace-probe-sdt-binary/Makefile.am @@ -1,5 +1,14 @@ EXTRA_DIST = foobar_provider.d + +# Although this is redundant with the check performed in the parent +# Makefile.am, this is needed for autotools v1.16+ as BUILT_SOURCES is +# evaluated for the 'dist' target. +# +# It is fine to generate this header in the 'dist' target (when +# enabled) as it won't be distributed anyhow (it is marked as nodist). +if TEST_SDT_UPROBE BUILT_SOURCES = foobar_provider.h +endif noinst_PROGRAMS = userspace-probe-sdt-binary userspace_probe_sdt_binary_SOURCES = userspace-probe-sdt-binary.c sema.h sema.c