X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2FMakefile.am;h=0d284efb1ee4cc27f6155a24cdf29a7c8d3ca9d4;hp=cdcdfc60e83dad3430cfc85375d711432265aa5f;hb=3bd1e0819b577ffcb44acd7c2f8e02ff09654b7b;hpb=f84efadf55274918ca038a4e06e0a8af1a320654 diff --git a/ltt-sessiond/Makefile.am b/ltt-sessiond/Makefile.am index cdcdfc60e..0d284efb1 100644 --- a/ltt-sessiond/Makefile.am +++ b/ltt-sessiond/Makefile.am @@ -14,11 +14,8 @@ endif ltt_sessiond_SOURCES = utils.c utils.h \ compat/poll.h $(COMPAT) \ trace-kernel.c trace-kernel.h \ - trace-ust.c trace-ust.h \ - ust-app.c ust-app.h \ - ust-comm.c ust-comm.h \ - ust-ctl.c ust-ctl.h \ kernel-ctl.c kernel-ctl.h \ + ust-ctl.h ust-app.h trace-ust.h \ context.c context.h \ channel.c channel.h \ event.c event.h \ @@ -29,9 +26,16 @@ ltt_sessiond_SOURCES = utils.c utils.h \ ../hashtable/rculfhash.c \ ../hashtable/rculfhash.h +if LTTNG_TOOLS_HAVE_UST +ltt_sessiond_SOURCES += \ + trace-ust.c \ + ust-app.c \ + ust-comm.c ust-comm.h \ + ust-ctl.c +endif + # link on liblttngctl for check if sessiond is already alive. ltt_sessiond_LDADD = -lrt \ $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \ $(top_builddir)/libkernelctl/libkernelctl.la \ - $(top_builddir)/libustctl/libustctl.la \ $(top_builddir)/liblttngctl/liblttngctl.la