X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2FMakefile.am;h=f9301896e5df0f50fd95bd83969cb154989b49aa;hb=9674ce7a9c5218066b395d1f6d1f19f277849f95;hp=5b70933719d356940386549c442bf463353374a7;hpb=f9a766898970db1576a9b042d5fe1d1ef7496453;p=lttng-tools.git diff --git a/ltt-sessiond/Makefile.am b/ltt-sessiond/Makefile.am index 5b7093371..f9301896e 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 \ - traceable-app.c traceable-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,18 @@ 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 +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 + +if LTTNG_TOOLS_HAVE_UST +ltt_sessiond_LDADD += -llttng-ust-comm -lustctl +endif