From: Adam Crume Date: Fri, 15 Aug 2014 19:42:18 +0000 (-0700) Subject: lttng: Don't build trace headers when lttng is disabled X-Git-Tag: v0.86~231^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a35b5d2c1b837157ecea8b1cfeaaa374eca53af5;p=ceph.git lttng: Don't build trace headers when lttng is disabled Signed-off-by: Adam Crume --- diff --git a/src/tracing/Makefile.am b/src/tracing/Makefile.am index fb601fe9f7ad..a37b0457ac28 100644 --- a/src/tracing/Makefile.am +++ b/src/tracing/Makefile.am @@ -54,6 +54,7 @@ noinst_LTLIBRARIES = \ librbd_tp.la \ libos_tp.la +if WITH_LTTNG BUILT_SOURCES = \ librados.h \ librbd.h \ @@ -61,6 +62,7 @@ BUILT_SOURCES = \ osd.h \ pg.h \ objectstore.h +endif CLEANFILES = \ $(nodist_libosd_tp_la_SOURCES) \